Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpatialAnchorsAccount ¶
type SpatialAnchorsAccount struct { pulumi.CustomResourceState // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the Spatial Anchors Account. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an Azure Spatial Anchors Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mixedreality" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("northeurope"), }) if err != nil { return err } _, err = mixedreality.NewSpatialAnchorsAccount(ctx, "exampleSpatialAnchorsAccount", &mixedreality.SpatialAnchorsAccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
```
func GetSpatialAnchorsAccount ¶
func GetSpatialAnchorsAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpatialAnchorsAccountState, opts ...pulumi.ResourceOption) (*SpatialAnchorsAccount, error)
GetSpatialAnchorsAccount gets an existing SpatialAnchorsAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSpatialAnchorsAccount ¶
func NewSpatialAnchorsAccount(ctx *pulumi.Context, name string, args *SpatialAnchorsAccountArgs, opts ...pulumi.ResourceOption) (*SpatialAnchorsAccount, error)
NewSpatialAnchorsAccount registers a new resource with the given unique name, arguments, and options.
type SpatialAnchorsAccountArgs ¶
type SpatialAnchorsAccountArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Spatial Anchors Account. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a SpatialAnchorsAccount resource.
func (SpatialAnchorsAccountArgs) ElementType ¶
func (SpatialAnchorsAccountArgs) ElementType() reflect.Type
type SpatialAnchorsAccountState ¶
type SpatialAnchorsAccountState struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringPtrInput // The name of the resource group in which to create the Spatial Anchors Account. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (SpatialAnchorsAccountState) ElementType ¶
func (SpatialAnchorsAccountState) ElementType() reflect.Type
Click to show internal directories.
Click to hide internal directories.