Spatial Anchors Account Args
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",
});
});
Content copied to clipboard
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
})
}
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.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());
}
}
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:SpatialAnchorsAccount MyAccount /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}
Content copied to clipboard
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
Name of an Mixed Reality Account.
Link copied to clipboard
The identity associated with this account
Link copied to clipboard
The plan associated with this account
Link copied to clipboard
Name of an Azure resource group.
Link copied to clipboard
The name of the storage account associated with this accountId