mixedreality

package
v5.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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: azurerm_resource_group.Example.Name,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("accountDomain", data.Azurerm_spatial_anchors_account.Account_domain)
		return nil
	})
}

```

type LookupSpatialAnchorsAccountResultOutput

type LookupSpatialAnchorsAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSpatialAnchorsAccount.

func (LookupSpatialAnchorsAccountResultOutput) AccountDomain

The domain of the Spatial Anchors Account.

func (LookupSpatialAnchorsAccountResultOutput) AccountId

The account ID of the Spatial Anchors Account.

func (LookupSpatialAnchorsAccountResultOutput) ElementType

func (LookupSpatialAnchorsAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupSpatialAnchorsAccountResultOutput) Location

func (LookupSpatialAnchorsAccountResultOutput) Name

func (LookupSpatialAnchorsAccountResultOutput) ResourceGroupName

func (LookupSpatialAnchorsAccountResultOutput) Tags added in v5.12.0

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.
	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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		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
	})
}

```

## 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.
	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) Index

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) MapIndex

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

The domain of the Spatial Anchors Account.

func (SpatialAnchorsAccountOutput) AccountId added in v5.5.0

The account ID of the Spatial Anchors Account.

func (SpatialAnchorsAccountOutput) ElementType

func (SpatialAnchorsAccountOutput) Location added in v5.5.0

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

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.

func (SpatialAnchorsAccountOutput) Tags added in v5.5.0

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.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (SpatialAnchorsAccountState) ElementType

func (SpatialAnchorsAccountState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL