resource

package
v0.20220803.1112156 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/mixedreality/2021-01-01/resource Documentation

The resource SDK allows for interaction with the Azure Resource Manager Service mixedreality (API Version 2021-01-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/mixedreality/2021-01-01/resource"

Client Initialization

client := resource.NewResourceClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ResourceClient.RemoteRenderingAccountsCreate

ctx := context.TODO()
id := resource.NewRemoteRenderingAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := resource.RemoteRenderingAccount{
	// ...
}


read, err := client.RemoteRenderingAccountsCreate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.RemoteRenderingAccountsDelete

ctx := context.TODO()
id := resource.NewRemoteRenderingAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

read, err := client.RemoteRenderingAccountsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.RemoteRenderingAccountsGet

ctx := context.TODO()
id := resource.NewRemoteRenderingAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

read, err := client.RemoteRenderingAccountsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.RemoteRenderingAccountsListByResourceGroup

ctx := context.TODO()
id := resource.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.RemoteRenderingAccountsListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.RemoteRenderingAccountsListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ResourceClient.RemoteRenderingAccountsListBySubscription

ctx := context.TODO()
id := resource.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.RemoteRenderingAccountsListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.RemoteRenderingAccountsListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ResourceClient.RemoteRenderingAccountsUpdate

ctx := context.TODO()
id := resource.NewRemoteRenderingAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := resource.RemoteRenderingAccount{
	// ...
}


read, err := client.RemoteRenderingAccountsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.SpatialAnchorsAccountsCreate

ctx := context.TODO()
id := resource.NewSpatialAnchorsAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := resource.SpatialAnchorsAccount{
	// ...
}


read, err := client.SpatialAnchorsAccountsCreate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.SpatialAnchorsAccountsDelete

ctx := context.TODO()
id := resource.NewSpatialAnchorsAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

read, err := client.SpatialAnchorsAccountsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.SpatialAnchorsAccountsGet

ctx := context.TODO()
id := resource.NewSpatialAnchorsAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

read, err := client.SpatialAnchorsAccountsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ResourceClient.SpatialAnchorsAccountsListByResourceGroup

ctx := context.TODO()
id := resource.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.SpatialAnchorsAccountsListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.SpatialAnchorsAccountsListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ResourceClient.SpatialAnchorsAccountsListBySubscription

ctx := context.TODO()
id := resource.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.SpatialAnchorsAccountsListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.SpatialAnchorsAccountsListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ResourceClient.SpatialAnchorsAccountsUpdate

ctx := context.TODO()
id := resource.NewSpatialAnchorsAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := resource.SpatialAnchorsAccount{
	// ...
}


read, err := client.SpatialAnchorsAccountsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

func ValidateRemoteRenderingAccountID

func ValidateRemoteRenderingAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateRemoteRenderingAccountID checks that 'input' can be parsed as a Remote Rendering Account ID

func ValidateSpatialAnchorsAccountID

func ValidateSpatialAnchorsAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateSpatialAnchorsAccountID checks that 'input' can be parsed as a Spatial Anchors Account ID

Types

type MixedRealityAccountProperties

type MixedRealityAccountProperties struct {
	AccountDomain      *string `json:"accountDomain,omitempty"`
	AccountId          *string `json:"accountId,omitempty"`
	StorageAccountName *string `json:"storageAccountName,omitempty"`
}

type RemoteRenderingAccount

type RemoteRenderingAccount struct {
	Id         *string                        `json:"id,omitempty"`
	Identity   *identity.SystemAssigned       `json:"identity,omitempty"`
	Kind       *Sku                           `json:"kind,omitempty"`
	Location   string                         `json:"location"`
	Name       *string                        `json:"name,omitempty"`
	Plan       *identity.SystemAssigned       `json:"plan,omitempty"`
	Properties *MixedRealityAccountProperties `json:"properties,omitempty"`
	Sku        *Sku                           `json:"sku,omitempty"`
	SystemData *systemdata.SystemData         `json:"systemData,omitempty"`
	Tags       *map[string]string             `json:"tags,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type RemoteRenderingAccountId

type RemoteRenderingAccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

RemoteRenderingAccountId is a struct representing the Resource ID for a Remote Rendering Account

func NewRemoteRenderingAccountID

func NewRemoteRenderingAccountID(subscriptionId string, resourceGroupName string, accountName string) RemoteRenderingAccountId

NewRemoteRenderingAccountID returns a new RemoteRenderingAccountId struct

func ParseRemoteRenderingAccountID

func ParseRemoteRenderingAccountID(input string) (*RemoteRenderingAccountId, error)

ParseRemoteRenderingAccountID parses 'input' into a RemoteRenderingAccountId

func ParseRemoteRenderingAccountIDInsensitively

func ParseRemoteRenderingAccountIDInsensitively(input string) (*RemoteRenderingAccountId, error)

ParseRemoteRenderingAccountIDInsensitively parses 'input' case-insensitively into a RemoteRenderingAccountId note: this method should only be used for API response data and not user input

func (RemoteRenderingAccountId) ID

ID returns the formatted Remote Rendering Account ID

func (RemoteRenderingAccountId) Segments

Segments returns a slice of Resource ID Segments which comprise this Remote Rendering Account ID

func (RemoteRenderingAccountId) String

func (id RemoteRenderingAccountId) String() string

String returns a human-readable description of this Remote Rendering Account ID

type RemoteRenderingAccountOperationPredicate

type RemoteRenderingAccountOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (RemoteRenderingAccountOperationPredicate) Matches

type RemoteRenderingAccountsCreateOperationResponse

type RemoteRenderingAccountsCreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *RemoteRenderingAccount
}

type RemoteRenderingAccountsDeleteOperationResponse

type RemoteRenderingAccountsDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type RemoteRenderingAccountsGetOperationResponse

type RemoteRenderingAccountsGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *RemoteRenderingAccount
}

type RemoteRenderingAccountsListByResourceGroupCompleteResult

type RemoteRenderingAccountsListByResourceGroupCompleteResult struct {
	Items []RemoteRenderingAccount
}

type RemoteRenderingAccountsListByResourceGroupOperationResponse

type RemoteRenderingAccountsListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]RemoteRenderingAccount
	// contains filtered or unexported fields
}

func (RemoteRenderingAccountsListByResourceGroupOperationResponse) HasMore

func (RemoteRenderingAccountsListByResourceGroupOperationResponse) LoadMore

type RemoteRenderingAccountsListBySubscriptionCompleteResult

type RemoteRenderingAccountsListBySubscriptionCompleteResult struct {
	Items []RemoteRenderingAccount
}

type RemoteRenderingAccountsListBySubscriptionOperationResponse

type RemoteRenderingAccountsListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]RemoteRenderingAccount
	// contains filtered or unexported fields
}

func (RemoteRenderingAccountsListBySubscriptionOperationResponse) HasMore

func (RemoteRenderingAccountsListBySubscriptionOperationResponse) LoadMore

type RemoteRenderingAccountsUpdateOperationResponse

type RemoteRenderingAccountsUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *RemoteRenderingAccount
}

type ResourceClient

type ResourceClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewResourceClientWithBaseURI

func NewResourceClientWithBaseURI(endpoint string) ResourceClient

func (ResourceClient) RemoteRenderingAccountsCreate

RemoteRenderingAccountsCreate ...

func (ResourceClient) RemoteRenderingAccountsDelete

func (c ResourceClient) RemoteRenderingAccountsDelete(ctx context.Context, id RemoteRenderingAccountId) (result RemoteRenderingAccountsDeleteOperationResponse, err error)

RemoteRenderingAccountsDelete ...

func (ResourceClient) RemoteRenderingAccountsGet

RemoteRenderingAccountsGet ...

func (ResourceClient) RemoteRenderingAccountsListByResourceGroup

func (c ResourceClient) RemoteRenderingAccountsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp RemoteRenderingAccountsListByResourceGroupOperationResponse, err error)

RemoteRenderingAccountsListByResourceGroup ...

func (ResourceClient) RemoteRenderingAccountsListByResourceGroupComplete

func (c ResourceClient) RemoteRenderingAccountsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (RemoteRenderingAccountsListByResourceGroupCompleteResult, error)

RemoteRenderingAccountsListByResourceGroupComplete retrieves all of the results into a single object

func (ResourceClient) RemoteRenderingAccountsListByResourceGroupCompleteMatchingPredicate

func (c ResourceClient) RemoteRenderingAccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate RemoteRenderingAccountOperationPredicate) (resp RemoteRenderingAccountsListByResourceGroupCompleteResult, err error)

RemoteRenderingAccountsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceClient) RemoteRenderingAccountsListBySubscription

func (c ResourceClient) RemoteRenderingAccountsListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp RemoteRenderingAccountsListBySubscriptionOperationResponse, err error)

RemoteRenderingAccountsListBySubscription ...

func (ResourceClient) RemoteRenderingAccountsListBySubscriptionComplete

func (c ResourceClient) RemoteRenderingAccountsListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (RemoteRenderingAccountsListBySubscriptionCompleteResult, error)

RemoteRenderingAccountsListBySubscriptionComplete retrieves all of the results into a single object

func (ResourceClient) RemoteRenderingAccountsListBySubscriptionCompleteMatchingPredicate

func (c ResourceClient) RemoteRenderingAccountsListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate RemoteRenderingAccountOperationPredicate) (resp RemoteRenderingAccountsListBySubscriptionCompleteResult, err error)

RemoteRenderingAccountsListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceClient) RemoteRenderingAccountsUpdate

RemoteRenderingAccountsUpdate ...

func (ResourceClient) SpatialAnchorsAccountsCreate

SpatialAnchorsAccountsCreate ...

func (ResourceClient) SpatialAnchorsAccountsDelete

func (c ResourceClient) SpatialAnchorsAccountsDelete(ctx context.Context, id SpatialAnchorsAccountId) (result SpatialAnchorsAccountsDeleteOperationResponse, err error)

SpatialAnchorsAccountsDelete ...

func (ResourceClient) SpatialAnchorsAccountsGet

SpatialAnchorsAccountsGet ...

func (ResourceClient) SpatialAnchorsAccountsListByResourceGroup

func (c ResourceClient) SpatialAnchorsAccountsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp SpatialAnchorsAccountsListByResourceGroupOperationResponse, err error)

SpatialAnchorsAccountsListByResourceGroup ...

func (ResourceClient) SpatialAnchorsAccountsListByResourceGroupComplete

func (c ResourceClient) SpatialAnchorsAccountsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (SpatialAnchorsAccountsListByResourceGroupCompleteResult, error)

SpatialAnchorsAccountsListByResourceGroupComplete retrieves all of the results into a single object

func (ResourceClient) SpatialAnchorsAccountsListByResourceGroupCompleteMatchingPredicate

func (c ResourceClient) SpatialAnchorsAccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SpatialAnchorsAccountOperationPredicate) (resp SpatialAnchorsAccountsListByResourceGroupCompleteResult, err error)

SpatialAnchorsAccountsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceClient) SpatialAnchorsAccountsListBySubscription

func (c ResourceClient) SpatialAnchorsAccountsListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp SpatialAnchorsAccountsListBySubscriptionOperationResponse, err error)

SpatialAnchorsAccountsListBySubscription ...

func (ResourceClient) SpatialAnchorsAccountsListBySubscriptionComplete

func (c ResourceClient) SpatialAnchorsAccountsListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (SpatialAnchorsAccountsListBySubscriptionCompleteResult, error)

SpatialAnchorsAccountsListBySubscriptionComplete retrieves all of the results into a single object

func (ResourceClient) SpatialAnchorsAccountsListBySubscriptionCompleteMatchingPredicate

func (c ResourceClient) SpatialAnchorsAccountsListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SpatialAnchorsAccountOperationPredicate) (resp SpatialAnchorsAccountsListBySubscriptionCompleteResult, err error)

SpatialAnchorsAccountsListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceClient) SpatialAnchorsAccountsUpdate

SpatialAnchorsAccountsUpdate ...

type Sku

type Sku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Family   *string  `json:"family,omitempty"`
	Name     string   `json:"name"`
	Size     *string  `json:"size,omitempty"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type SkuTier

type SkuTier string
const (
	SkuTierBasic    SkuTier = "Basic"
	SkuTierFree     SkuTier = "Free"
	SkuTierPremium  SkuTier = "Premium"
	SkuTierStandard SkuTier = "Standard"
)

type SpatialAnchorsAccount

type SpatialAnchorsAccount struct {
	Id         *string                        `json:"id,omitempty"`
	Identity   *identity.SystemAssigned       `json:"identity,omitempty"`
	Kind       *Sku                           `json:"kind,omitempty"`
	Location   string                         `json:"location"`
	Name       *string                        `json:"name,omitempty"`
	Plan       *identity.SystemAssigned       `json:"plan,omitempty"`
	Properties *MixedRealityAccountProperties `json:"properties,omitempty"`
	Sku        *Sku                           `json:"sku,omitempty"`
	SystemData *systemdata.SystemData         `json:"systemData,omitempty"`
	Tags       *map[string]string             `json:"tags,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type SpatialAnchorsAccountId

type SpatialAnchorsAccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

SpatialAnchorsAccountId is a struct representing the Resource ID for a Spatial Anchors Account

func NewSpatialAnchorsAccountID

func NewSpatialAnchorsAccountID(subscriptionId string, resourceGroupName string, accountName string) SpatialAnchorsAccountId

NewSpatialAnchorsAccountID returns a new SpatialAnchorsAccountId struct

func ParseSpatialAnchorsAccountID

func ParseSpatialAnchorsAccountID(input string) (*SpatialAnchorsAccountId, error)

ParseSpatialAnchorsAccountID parses 'input' into a SpatialAnchorsAccountId

func ParseSpatialAnchorsAccountIDInsensitively

func ParseSpatialAnchorsAccountIDInsensitively(input string) (*SpatialAnchorsAccountId, error)

ParseSpatialAnchorsAccountIDInsensitively parses 'input' case-insensitively into a SpatialAnchorsAccountId note: this method should only be used for API response data and not user input

func (SpatialAnchorsAccountId) ID

ID returns the formatted Spatial Anchors Account ID

func (SpatialAnchorsAccountId) Segments

Segments returns a slice of Resource ID Segments which comprise this Spatial Anchors Account ID

func (SpatialAnchorsAccountId) String

func (id SpatialAnchorsAccountId) String() string

String returns a human-readable description of this Spatial Anchors Account ID

type SpatialAnchorsAccountOperationPredicate

type SpatialAnchorsAccountOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (SpatialAnchorsAccountOperationPredicate) Matches

type SpatialAnchorsAccountsCreateOperationResponse

type SpatialAnchorsAccountsCreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *SpatialAnchorsAccount
}

type SpatialAnchorsAccountsDeleteOperationResponse

type SpatialAnchorsAccountsDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type SpatialAnchorsAccountsGetOperationResponse

type SpatialAnchorsAccountsGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *SpatialAnchorsAccount
}

type SpatialAnchorsAccountsListByResourceGroupCompleteResult

type SpatialAnchorsAccountsListByResourceGroupCompleteResult struct {
	Items []SpatialAnchorsAccount
}

type SpatialAnchorsAccountsListByResourceGroupOperationResponse

type SpatialAnchorsAccountsListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SpatialAnchorsAccount
	// contains filtered or unexported fields
}

func (SpatialAnchorsAccountsListByResourceGroupOperationResponse) HasMore

func (SpatialAnchorsAccountsListByResourceGroupOperationResponse) LoadMore

type SpatialAnchorsAccountsListBySubscriptionCompleteResult

type SpatialAnchorsAccountsListBySubscriptionCompleteResult struct {
	Items []SpatialAnchorsAccount
}

type SpatialAnchorsAccountsListBySubscriptionOperationResponse

type SpatialAnchorsAccountsListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SpatialAnchorsAccount
	// contains filtered or unexported fields
}

func (SpatialAnchorsAccountsListBySubscriptionOperationResponse) HasMore

func (SpatialAnchorsAccountsListBySubscriptionOperationResponse) LoadMore

type SpatialAnchorsAccountsUpdateOperationResponse

type SpatialAnchorsAccountsUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *SpatialAnchorsAccount
}

Jump to

Keyboard shortcuts

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