Object Anchors Account
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
Properties
Link copied to clipboard
Correspond domain name of certain Spatial Anchors Account
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
Link copied to clipboard
The kind of account, if supported
Link copied to clipboard
The plan associated with this account
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The sku associated with this account
Link copied to clipboard
The name of the storage account associated with this accountId
Link copied to clipboard
The system metadata related to an object anchors account.