Service Args
data class ServiceArgs(val adminDomainName: Output<String>? = null, val billingDomainName: Output<String>? = null, val deviceName: Output<String>? = null, val location: Output<String>? = null, val notes: Output<String>? = null, val quantity: Output<Double>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ServiceArgs>
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",
});
});
Content copied to clipboard
package main
import (
windowsiot "github.com/pulumi/pulumi-azure-native-sdk/windowsiot/v3"
"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
})
}
Content copied to clipboard
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.0)
.resourceGroupName("res9101")
.build());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(adminDomainName: Output<String>? = null, billingDomainName: Output<String>? = null, deviceName: Output<String>? = null, location: Output<String>? = null, notes: Output<String>? = null, quantity: Output<Double>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
Windows IoT Device Service OEM AAD domain
Link copied to clipboard
Windows IoT Device Service ODM AAD domain
Link copied to clipboard
The name of the Windows IoT Device Service.
Link copied to clipboard
The name of the resource group that contains the Windows IoT Device Service.