SpatialAnchorsAccountArgs

data class SpatialAnchorsAccountArgs(val accountName: Output<String>? = null, val identity: Output<IdentityArgs>? = 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<SpatialAnchorsAccountArgs>

SpatialAnchorsAccount Response. Uses Azure REST API version 2021-03-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-01-01. Other available API versions: 2021-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native mixedreality [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Create spatial anchor account

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var spatialAnchorsAccount = new AzureNative.MixedReality.SpatialAnchorsAccount("spatialAnchorsAccount", new()
{
AccountName = "MyAccount",
Location = "eastus2euap",
ResourceGroupName = "MyResourceGroup",
});
});
package main
import (
mixedreality "github.com/pulumi/pulumi-azure-native-sdk/mixedreality/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mixedreality.NewSpatialAnchorsAccount(ctx, "spatialAnchorsAccount", &mixedreality.SpatialAnchorsAccountArgs{
AccountName: pulumi.String("MyAccount"),
Location: pulumi.String("eastus2euap"),
ResourceGroupName: pulumi.String("MyResourceGroup"),
})
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.mixedreality.SpatialAnchorsAccount;
import com.pulumi.azurenative.mixedreality.SpatialAnchorsAccountArgs;
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 spatialAnchorsAccount = new SpatialAnchorsAccount("spatialAnchorsAccount", SpatialAnchorsAccountArgs.builder()
.accountName("MyAccount")
.location("eastus2euap")
.resourceGroupName("MyResourceGroup")
.build());
}
}

Import

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

$ pulumi import azure-native:mixedreality:SpatialAnchorsAccount MyAccount /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, identity: Output<IdentityArgs>? = 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)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

Name of an Mixed Reality Account.

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The identity associated with this account

Link copied to clipboard
val kind: Output<SkuArgs>? = null

The kind of account, if supported

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

The geo-location where the resource lives

Link copied to clipboard
val plan: Output<IdentityArgs>? = null

The plan associated with this account

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of an Azure resource group.

Link copied to clipboard
val sku: Output<SkuArgs>? = null

The sku associated with this account

Link copied to clipboard
val storageAccountName: Output<String>? = null

The name of the storage account associated with this accountId

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

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): SpatialAnchorsAccountArgs