Device Group Args
data class DeviceGroupArgs(val allowCrashDumpsCollection: Output<Either<String, AllowCrashDumpCollection>>? = null, val catalogName: Output<String>? = null, val description: Output<String>? = null, val deviceGroupName: Output<String>? = null, val osFeedType: Output<Either<String, OSFeedType>>? = null, val productName: Output<String>? = null, val regionalDataBoundary: Output<Either<String, RegionalDataBoundary>>? = null, val resourceGroupName: Output<String>? = null, val updatePolicy: Output<Either<String, UpdatePolicy>>? = null) : ConvertibleToJava<DeviceGroupArgs>
An device group resource belonging to a product resource. API Version: 2022-09-01-preview.
Example Usage
DeviceGroups_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deviceGroup = new AzureNative.AzureSphere.DeviceGroup("deviceGroup", new()
{
CatalogName = "MyCatalog1",
Description = "Description for MyDeviceGroup1",
DeviceGroupName = "MyDeviceGroup1",
OsFeedType = "Retail",
ProductName = "MyProduct1",
ResourceGroupName = "MyResourceGroup1",
UpdatePolicy = "UpdateAll",
});
});
Content copied to clipboard
package main
import (
azuresphere "github.com/pulumi/pulumi-azure-native-sdk/azuresphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuresphere.NewDeviceGroup(ctx, "deviceGroup", &azuresphere.DeviceGroupArgs{
CatalogName: pulumi.String("MyCatalog1"),
Description: pulumi.String("Description for MyDeviceGroup1"),
DeviceGroupName: pulumi.String("MyDeviceGroup1"),
OsFeedType: pulumi.String("Retail"),
ProductName: pulumi.String("MyProduct1"),
ResourceGroupName: pulumi.String("MyResourceGroup1"),
UpdatePolicy: pulumi.String("UpdateAll"),
})
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.azuresphere.DeviceGroup;
import com.pulumi.azurenative.azuresphere.DeviceGroupArgs;
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 deviceGroup = new DeviceGroup("deviceGroup", DeviceGroupArgs.builder()
.catalogName("MyCatalog1")
.description("Description for MyDeviceGroup1")
.deviceGroupName("MyDeviceGroup1")
.osFeedType("Retail")
.productName("MyProduct1")
.resourceGroupName("MyResourceGroup1")
.updatePolicy("UpdateAll")
.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:azuresphere:DeviceGroup MyDeviceId1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/myProduct1/deviceGroups/myDeviceGroup1
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(allowCrashDumpsCollection: Output<Either<String, AllowCrashDumpCollection>>? = null, catalogName: Output<String>? = null, description: Output<String>? = null, deviceGroupName: Output<String>? = null, osFeedType: Output<Either<String, OSFeedType>>? = null, productName: Output<String>? = null, regionalDataBoundary: Output<Either<String, RegionalDataBoundary>>? = null, resourceGroupName: Output<String>? = null, updatePolicy: Output<Either<String, UpdatePolicy>>? = null)
Properties
Link copied to clipboard
Flag to define if the user allows for crash dump collection.
Link copied to clipboard
Name of catalog
Link copied to clipboard
Description of the device group.
Link copied to clipboard
Name of device group.
Link copied to clipboard
Operating system feed type of the device group.
Link copied to clipboard
Name of product.
Link copied to clipboard
Regional data boundary for the device group.
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
Update policy of the device group.