Documentation ¶
Index ¶
- type LookupSpatialAnchorsAccountArgs
- type LookupSpatialAnchorsAccountOutputArgs
- type LookupSpatialAnchorsAccountResult
- type LookupSpatialAnchorsAccountResultOutput
- func (o LookupSpatialAnchorsAccountResultOutput) AccountDomain() pulumi.StringOutput
- func (o LookupSpatialAnchorsAccountResultOutput) AccountId() pulumi.StringOutput
- func (LookupSpatialAnchorsAccountResultOutput) ElementType() reflect.Type
- func (o LookupSpatialAnchorsAccountResultOutput) Id() pulumi.StringOutput
- func (o LookupSpatialAnchorsAccountResultOutput) Location() pulumi.StringOutput
- func (o LookupSpatialAnchorsAccountResultOutput) Name() pulumi.StringOutput
- func (o LookupSpatialAnchorsAccountResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupSpatialAnchorsAccountResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutput() LookupSpatialAnchorsAccountResultOutput
- func (o LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutputWithContext(ctx context.Context) LookupSpatialAnchorsAccountResultOutput
- type SpatialAnchorsAccount
- type SpatialAnchorsAccountArgs
- type SpatialAnchorsAccountArray
- func (SpatialAnchorsAccountArray) ElementType() reflect.Type
- func (i SpatialAnchorsAccountArray) ToSpatialAnchorsAccountArrayOutput() SpatialAnchorsAccountArrayOutput
- func (i SpatialAnchorsAccountArray) ToSpatialAnchorsAccountArrayOutputWithContext(ctx context.Context) SpatialAnchorsAccountArrayOutput
- type SpatialAnchorsAccountArrayInput
- type SpatialAnchorsAccountArrayOutput
- func (SpatialAnchorsAccountArrayOutput) ElementType() reflect.Type
- func (o SpatialAnchorsAccountArrayOutput) Index(i pulumi.IntInput) SpatialAnchorsAccountOutput
- func (o SpatialAnchorsAccountArrayOutput) ToSpatialAnchorsAccountArrayOutput() SpatialAnchorsAccountArrayOutput
- func (o SpatialAnchorsAccountArrayOutput) ToSpatialAnchorsAccountArrayOutputWithContext(ctx context.Context) SpatialAnchorsAccountArrayOutput
- type SpatialAnchorsAccountInput
- type SpatialAnchorsAccountMap
- type SpatialAnchorsAccountMapInput
- type SpatialAnchorsAccountMapOutput
- func (SpatialAnchorsAccountMapOutput) ElementType() reflect.Type
- func (o SpatialAnchorsAccountMapOutput) MapIndex(k pulumi.StringInput) SpatialAnchorsAccountOutput
- func (o SpatialAnchorsAccountMapOutput) ToSpatialAnchorsAccountMapOutput() SpatialAnchorsAccountMapOutput
- func (o SpatialAnchorsAccountMapOutput) ToSpatialAnchorsAccountMapOutputWithContext(ctx context.Context) SpatialAnchorsAccountMapOutput
- type SpatialAnchorsAccountOutput
- func (o SpatialAnchorsAccountOutput) AccountDomain() pulumi.StringOutput
- func (o SpatialAnchorsAccountOutput) AccountId() pulumi.StringOutput
- func (SpatialAnchorsAccountOutput) ElementType() reflect.Type
- func (o SpatialAnchorsAccountOutput) Location() pulumi.StringOutput
- func (o SpatialAnchorsAccountOutput) Name() pulumi.StringOutput
- func (o SpatialAnchorsAccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o SpatialAnchorsAccountOutput) Tags() pulumi.StringMapOutput
- func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput
- func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput
- type SpatialAnchorsAccountState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupSpatialAnchorsAccountArgs ¶
type LookupSpatialAnchorsAccountArgs struct { // Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique. Name string `pulumi:"name"` // The name of the resource group in which to create the Spatial Anchors Account. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getSpatialAnchorsAccount.
type LookupSpatialAnchorsAccountOutputArgs ¶
type LookupSpatialAnchorsAccountOutputArgs struct { // Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique. Name pulumi.StringInput `pulumi:"name"` // The name of the resource group in which to create the Spatial Anchors Account. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getSpatialAnchorsAccount.
func (LookupSpatialAnchorsAccountOutputArgs) ElementType ¶
func (LookupSpatialAnchorsAccountOutputArgs) ElementType() reflect.Type
type LookupSpatialAnchorsAccountResult ¶
type LookupSpatialAnchorsAccountResult struct { // The domain of the Spatial Anchors Account. AccountDomain string `pulumi:"accountDomain"` // The account ID of the Spatial Anchors Account. AccountId string `pulumi:"accountId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Tags assigned to this Spatial Anchors Account. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getSpatialAnchorsAccount.
func LookupSpatialAnchorsAccount ¶
func LookupSpatialAnchorsAccount(ctx *pulumi.Context, args *LookupSpatialAnchorsAccountArgs, opts ...pulumi.InvokeOption) (*LookupSpatialAnchorsAccountResult, error)
Get information about an Azure Spatial Anchors Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mixedreality" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mixedreality.LookupSpatialAnchorsAccount(ctx, &mixedreality.LookupSpatialAnchorsAccountArgs{ Name: "example", ResourceGroupName: exampleAzurermResourceGroup.Name, }, nil) if err != nil { return err } ctx.Export("accountDomain", accountDomainAzurermSpatialAnchorsAccount) return nil }) }
```
type LookupSpatialAnchorsAccountResultOutput ¶
type LookupSpatialAnchorsAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSpatialAnchorsAccount.
func LookupSpatialAnchorsAccountOutput ¶
func LookupSpatialAnchorsAccountOutput(ctx *pulumi.Context, args LookupSpatialAnchorsAccountOutputArgs, opts ...pulumi.InvokeOption) LookupSpatialAnchorsAccountResultOutput
func (LookupSpatialAnchorsAccountResultOutput) AccountDomain ¶
func (o LookupSpatialAnchorsAccountResultOutput) AccountDomain() pulumi.StringOutput
The domain of the Spatial Anchors Account.
func (LookupSpatialAnchorsAccountResultOutput) AccountId ¶
func (o LookupSpatialAnchorsAccountResultOutput) AccountId() pulumi.StringOutput
The account ID of the Spatial Anchors Account.
func (LookupSpatialAnchorsAccountResultOutput) ElementType ¶
func (LookupSpatialAnchorsAccountResultOutput) ElementType() reflect.Type
func (LookupSpatialAnchorsAccountResultOutput) Id ¶
func (o LookupSpatialAnchorsAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSpatialAnchorsAccountResultOutput) Location ¶
func (o LookupSpatialAnchorsAccountResultOutput) Location() pulumi.StringOutput
func (LookupSpatialAnchorsAccountResultOutput) Name ¶
func (o LookupSpatialAnchorsAccountResultOutput) Name() pulumi.StringOutput
func (LookupSpatialAnchorsAccountResultOutput) ResourceGroupName ¶
func (o LookupSpatialAnchorsAccountResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupSpatialAnchorsAccountResultOutput) Tags ¶ added in v5.12.0
func (o LookupSpatialAnchorsAccountResultOutput) Tags() pulumi.StringMapOutput
The Tags assigned to this Spatial Anchors Account.
func (LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutput ¶
func (o LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutput() LookupSpatialAnchorsAccountResultOutput
func (LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutputWithContext ¶
func (o LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutputWithContext(ctx context.Context) LookupSpatialAnchorsAccountResultOutput
type SpatialAnchorsAccount ¶
type SpatialAnchorsAccount struct { pulumi.CustomResourceState // The domain of the Spatial Anchors Account. AccountDomain pulumi.StringOutput `pulumi:"accountDomain"` // The account ID of the Spatial Anchors Account. AccountId pulumi.StringOutput `pulumi:"accountId"` // 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. Changing this forces a new resource to be created. 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/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mixedreality" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = mixedreality.NewSpatialAnchorsAccount(ctx, "example", &mixedreality.SpatialAnchorsAccountArgs{ Name: pulumi.String("example"), Location: example.Location, ResourceGroupName: example.Name, }) if err != nil { return err } return nil }) }
```
## Import
Spatial Anchors Account can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:mixedreality/spatialAnchorsAccount:SpatialAnchorsAccount example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.MixedReality/spatialAnchorsAccounts/example ```
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.
func (*SpatialAnchorsAccount) ElementType ¶
func (*SpatialAnchorsAccount) ElementType() reflect.Type
func (*SpatialAnchorsAccount) ToSpatialAnchorsAccountOutput ¶
func (i *SpatialAnchorsAccount) ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput
func (*SpatialAnchorsAccount) ToSpatialAnchorsAccountOutputWithContext ¶
func (i *SpatialAnchorsAccount) ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput
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. Changing this forces a new resource to be created. 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 SpatialAnchorsAccountArray ¶
type SpatialAnchorsAccountArray []SpatialAnchorsAccountInput
func (SpatialAnchorsAccountArray) ElementType ¶
func (SpatialAnchorsAccountArray) ElementType() reflect.Type
func (SpatialAnchorsAccountArray) ToSpatialAnchorsAccountArrayOutput ¶
func (i SpatialAnchorsAccountArray) ToSpatialAnchorsAccountArrayOutput() SpatialAnchorsAccountArrayOutput
func (SpatialAnchorsAccountArray) ToSpatialAnchorsAccountArrayOutputWithContext ¶
func (i SpatialAnchorsAccountArray) ToSpatialAnchorsAccountArrayOutputWithContext(ctx context.Context) SpatialAnchorsAccountArrayOutput
type SpatialAnchorsAccountArrayInput ¶
type SpatialAnchorsAccountArrayInput interface { pulumi.Input ToSpatialAnchorsAccountArrayOutput() SpatialAnchorsAccountArrayOutput ToSpatialAnchorsAccountArrayOutputWithContext(context.Context) SpatialAnchorsAccountArrayOutput }
SpatialAnchorsAccountArrayInput is an input type that accepts SpatialAnchorsAccountArray and SpatialAnchorsAccountArrayOutput values. You can construct a concrete instance of `SpatialAnchorsAccountArrayInput` via:
SpatialAnchorsAccountArray{ SpatialAnchorsAccountArgs{...} }
type SpatialAnchorsAccountArrayOutput ¶
type SpatialAnchorsAccountArrayOutput struct{ *pulumi.OutputState }
func (SpatialAnchorsAccountArrayOutput) ElementType ¶
func (SpatialAnchorsAccountArrayOutput) ElementType() reflect.Type
func (SpatialAnchorsAccountArrayOutput) Index ¶
func (o SpatialAnchorsAccountArrayOutput) Index(i pulumi.IntInput) SpatialAnchorsAccountOutput
func (SpatialAnchorsAccountArrayOutput) ToSpatialAnchorsAccountArrayOutput ¶
func (o SpatialAnchorsAccountArrayOutput) ToSpatialAnchorsAccountArrayOutput() SpatialAnchorsAccountArrayOutput
func (SpatialAnchorsAccountArrayOutput) ToSpatialAnchorsAccountArrayOutputWithContext ¶
func (o SpatialAnchorsAccountArrayOutput) ToSpatialAnchorsAccountArrayOutputWithContext(ctx context.Context) SpatialAnchorsAccountArrayOutput
type SpatialAnchorsAccountInput ¶
type SpatialAnchorsAccountInput interface { pulumi.Input ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput }
type SpatialAnchorsAccountMap ¶
type SpatialAnchorsAccountMap map[string]SpatialAnchorsAccountInput
func (SpatialAnchorsAccountMap) ElementType ¶
func (SpatialAnchorsAccountMap) ElementType() reflect.Type
func (SpatialAnchorsAccountMap) ToSpatialAnchorsAccountMapOutput ¶
func (i SpatialAnchorsAccountMap) ToSpatialAnchorsAccountMapOutput() SpatialAnchorsAccountMapOutput
func (SpatialAnchorsAccountMap) ToSpatialAnchorsAccountMapOutputWithContext ¶
func (i SpatialAnchorsAccountMap) ToSpatialAnchorsAccountMapOutputWithContext(ctx context.Context) SpatialAnchorsAccountMapOutput
type SpatialAnchorsAccountMapInput ¶
type SpatialAnchorsAccountMapInput interface { pulumi.Input ToSpatialAnchorsAccountMapOutput() SpatialAnchorsAccountMapOutput ToSpatialAnchorsAccountMapOutputWithContext(context.Context) SpatialAnchorsAccountMapOutput }
SpatialAnchorsAccountMapInput is an input type that accepts SpatialAnchorsAccountMap and SpatialAnchorsAccountMapOutput values. You can construct a concrete instance of `SpatialAnchorsAccountMapInput` via:
SpatialAnchorsAccountMap{ "key": SpatialAnchorsAccountArgs{...} }
type SpatialAnchorsAccountMapOutput ¶
type SpatialAnchorsAccountMapOutput struct{ *pulumi.OutputState }
func (SpatialAnchorsAccountMapOutput) ElementType ¶
func (SpatialAnchorsAccountMapOutput) ElementType() reflect.Type
func (SpatialAnchorsAccountMapOutput) MapIndex ¶
func (o SpatialAnchorsAccountMapOutput) MapIndex(k pulumi.StringInput) SpatialAnchorsAccountOutput
func (SpatialAnchorsAccountMapOutput) ToSpatialAnchorsAccountMapOutput ¶
func (o SpatialAnchorsAccountMapOutput) ToSpatialAnchorsAccountMapOutput() SpatialAnchorsAccountMapOutput
func (SpatialAnchorsAccountMapOutput) ToSpatialAnchorsAccountMapOutputWithContext ¶
func (o SpatialAnchorsAccountMapOutput) ToSpatialAnchorsAccountMapOutputWithContext(ctx context.Context) SpatialAnchorsAccountMapOutput
type SpatialAnchorsAccountOutput ¶
type SpatialAnchorsAccountOutput struct{ *pulumi.OutputState }
func (SpatialAnchorsAccountOutput) AccountDomain ¶ added in v5.5.0
func (o SpatialAnchorsAccountOutput) AccountDomain() pulumi.StringOutput
The domain of the Spatial Anchors Account.
func (SpatialAnchorsAccountOutput) AccountId ¶ added in v5.5.0
func (o SpatialAnchorsAccountOutput) AccountId() pulumi.StringOutput
The account ID of the Spatial Anchors Account.
func (SpatialAnchorsAccountOutput) ElementType ¶
func (SpatialAnchorsAccountOutput) ElementType() reflect.Type
func (SpatialAnchorsAccountOutput) Location ¶ added in v5.5.0
func (o SpatialAnchorsAccountOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (SpatialAnchorsAccountOutput) Name ¶ added in v5.5.0
func (o SpatialAnchorsAccountOutput) Name() pulumi.StringOutput
Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique.
func (SpatialAnchorsAccountOutput) ResourceGroupName ¶ added in v5.5.0
func (o SpatialAnchorsAccountOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the Spatial Anchors Account. Changing this forces a new resource to be created.
func (SpatialAnchorsAccountOutput) Tags ¶ added in v5.5.0
func (o SpatialAnchorsAccountOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutput ¶
func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput
func (SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutputWithContext ¶
func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput
type SpatialAnchorsAccountState ¶
type SpatialAnchorsAccountState struct { // The domain of the Spatial Anchors Account. AccountDomain pulumi.StringPtrInput // The account ID of the Spatial Anchors Account. AccountId pulumi.StringPtrInput // 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. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (SpatialAnchorsAccountState) ElementType ¶
func (SpatialAnchorsAccountState) ElementType() reflect.Type