Service

class Service : KotlinCustomResource

The description of the Windows IoT Device Service. Uses Azure REST API version 2019-06-01. In version 2.x of the Azure Native provider, it used API version 2019-06-01.

Example Usage

Service_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var service = new AzureNative.WindowsIoT.Service("service", new()
{
AdminDomainName = "d.e.f",
BillingDomainName = "a.b.c",
DeviceName = "service4445",
Location = "East US",
Notes = "blah",
Quantity = 1000000,
ResourceGroupName = "res9101",
});
});
package main
import (
windowsiot "github.com/pulumi/pulumi-azure-native-sdk/windowsiot/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := windowsiot.NewService(ctx, "service", &windowsiot.ServiceArgs{
AdminDomainName: pulumi.String("d.e.f"),
BillingDomainName: pulumi.String("a.b.c"),
DeviceName: pulumi.String("service4445"),
Location: pulumi.String("East US"),
Notes: pulumi.String("blah"),
Quantity: pulumi.Float64(1000000),
ResourceGroupName: pulumi.String("res9101"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.windowsiot.Service;
import com.pulumi.azurenative.windowsiot.ServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var service = new Service("service", ServiceArgs.builder()
.adminDomainName("d.e.f")
.billingDomainName("a.b.c")
.deviceName("service4445")
.location("East US")
.notes("blah")
.quantity(1000000)
.resourceGroupName("res9101")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:windowsiot:Service myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}

Properties

Link copied to clipboard
val adminDomainName: Output<String>?

Windows IoT Device Service OEM AAD domain

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Windows IoT Device Service ODM AAD domain

Link copied to clipboard
val etag: Output<String>?

The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

The Azure Region where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val notes: Output<String>?

Windows IoT Device Service notes.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val quantity: Output<Double>?

Windows IoT Device Service device allocation,

Link copied to clipboard
val startDate: Output<String>

Windows IoT Device Service start date,

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>