mixedreality

package
v4.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 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 added in v4.7.0

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 added in v4.20.0

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 added in v4.20.0

type LookupSpatialAnchorsAccountResult added in v4.7.0

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"`
}

A collection of values returned by getSpatialAnchorsAccount.

func LookupSpatialAnchorsAccount added in v4.7.0

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/v4/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 added in v4.20.0

type LookupSpatialAnchorsAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSpatialAnchorsAccount.

func (LookupSpatialAnchorsAccountResultOutput) AccountDomain added in v4.20.0

The domain of the Spatial Anchors Account.

func (LookupSpatialAnchorsAccountResultOutput) AccountId added in v4.20.0

The account ID of the Spatial Anchors Account.

func (LookupSpatialAnchorsAccountResultOutput) ElementType added in v4.20.0

func (LookupSpatialAnchorsAccountResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupSpatialAnchorsAccountResultOutput) Location added in v4.20.0

func (LookupSpatialAnchorsAccountResultOutput) Name added in v4.20.0

func (LookupSpatialAnchorsAccountResultOutput) ResourceGroupName added in v4.20.0

func (LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutput added in v4.20.0

func (o LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutput() LookupSpatialAnchorsAccountResultOutput

func (LookupSpatialAnchorsAccountResultOutput) ToLookupSpatialAnchorsAccountResultOutputWithContext added in v4.20.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/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

func (*SpatialAnchorsAccount) ToSpatialAnchorsAccountPtrOutput

func (i *SpatialAnchorsAccount) ToSpatialAnchorsAccountPtrOutput() SpatialAnchorsAccountPtrOutput

func (*SpatialAnchorsAccount) ToSpatialAnchorsAccountPtrOutputWithContext

func (i *SpatialAnchorsAccount) ToSpatialAnchorsAccountPtrOutputWithContext(ctx context.Context) SpatialAnchorsAccountPtrOutput

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

func (SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutput

func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutput() SpatialAnchorsAccountOutput

func (SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutputWithContext

func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountOutputWithContext(ctx context.Context) SpatialAnchorsAccountOutput

func (SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountPtrOutput

func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountPtrOutput() SpatialAnchorsAccountPtrOutput

func (SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountPtrOutputWithContext

func (o SpatialAnchorsAccountOutput) ToSpatialAnchorsAccountPtrOutputWithContext(ctx context.Context) SpatialAnchorsAccountPtrOutput

type SpatialAnchorsAccountPtrInput

type SpatialAnchorsAccountPtrInput interface {
	pulumi.Input

	ToSpatialAnchorsAccountPtrOutput() SpatialAnchorsAccountPtrOutput
	ToSpatialAnchorsAccountPtrOutputWithContext(ctx context.Context) SpatialAnchorsAccountPtrOutput
}

type SpatialAnchorsAccountPtrOutput

type SpatialAnchorsAccountPtrOutput struct{ *pulumi.OutputState }

func (SpatialAnchorsAccountPtrOutput) Elem added in v4.20.0

func (SpatialAnchorsAccountPtrOutput) ElementType

func (SpatialAnchorsAccountPtrOutput) ToSpatialAnchorsAccountPtrOutput

func (o SpatialAnchorsAccountPtrOutput) ToSpatialAnchorsAccountPtrOutput() SpatialAnchorsAccountPtrOutput

func (SpatialAnchorsAccountPtrOutput) ToSpatialAnchorsAccountPtrOutputWithContext

func (o SpatialAnchorsAccountPtrOutput) ToSpatialAnchorsAccountPtrOutputWithContext(ctx context.Context) SpatialAnchorsAccountPtrOutput

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