Object Anchors Account Args
data class ObjectAnchorsAccountArgs(val accountName: Output<String>? = null, val identity: Output<ObjectAnchorsAccountIdentityArgs>? = null, val kind: Output<SkuArgs>? = null, val location: Output<String>? = null, val plan: Output<IdentityArgs>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val storageAccountName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ObjectAnchorsAccountArgs>
ObjectAnchorsAccount Response. Uses Azure REST API version 2021-03-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-03-01-preview.
Example Usage
Create object anchors account
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var objectAnchorsAccount = new AzureNative.MixedReality.ObjectAnchorsAccount("objectAnchorsAccount", new()
{
AccountName = "MyAccount",
Identity = new AzureNative.MixedReality.Inputs.ObjectAnchorsAccountIdentityArgs
{
Type = AzureNative.MixedReality.ResourceIdentityType.SystemAssigned,
},
Location = "eastus2euap",
ResourceGroupName = "MyResourceGroup",
});
});
Content copied to clipboard
package main
import (
mixedreality "github.com/pulumi/pulumi-azure-native-sdk/mixedreality/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mixedreality.NewObjectAnchorsAccount(ctx, "objectAnchorsAccount", &mixedreality.ObjectAnchorsAccountArgs{
AccountName: pulumi.String("MyAccount"),
Identity: &mixedreality.ObjectAnchorsAccountIdentityArgs{
Type: mixedreality.ResourceIdentityTypeSystemAssigned,
},
Location: pulumi.String("eastus2euap"),
ResourceGroupName: pulumi.String("MyResourceGroup"),
})
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.mixedreality.ObjectAnchorsAccount;
import com.pulumi.azurenative.mixedreality.ObjectAnchorsAccountArgs;
import com.pulumi.azurenative.mixedreality.inputs.ObjectAnchorsAccountIdentityArgs;
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 objectAnchorsAccount = new ObjectAnchorsAccount("objectAnchorsAccount", ObjectAnchorsAccountArgs.builder()
.accountName("MyAccount")
.identity(ObjectAnchorsAccountIdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("eastus2euap")
.resourceGroupName("MyResourceGroup")
.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:mixedreality:ObjectAnchorsAccount MyAccount /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(accountName: Output<String>? = null, identity: Output<ObjectAnchorsAccountIdentityArgs>? = null, kind: Output<SkuArgs>? = null, location: Output<String>? = null, plan: Output<IdentityArgs>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, storageAccountName: Output<String>? = null, tags: Output<Map<String, String>>? = null)