mixedreality

package
v0.0.0-...-1f7e97a Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mixedreality implements the Azure ARM Mixedreality service API version 2021-01-01.

Mixed Reality Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Mixedreality
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AccountKeyRegenerateRequest

type AccountKeyRegenerateRequest struct {
	// Serial - serial of key to be regenerated
	Serial *int32 `json:"serial,omitempty"`
}

AccountKeyRegenerateRequest request for account key regeneration

type AccountKeys

type AccountKeys struct {
	autorest.Response `json:"-"`
	// PrimaryKey - READ-ONLY; value of primary key.
	PrimaryKey *string `json:"primaryKey,omitempty"`
	// SecondaryKey - READ-ONLY; value of secondary key.
	SecondaryKey *string `json:"secondaryKey,omitempty"`
}

AccountKeys developer Keys of account

func (AccountKeys) MarshalJSON

func (ak AccountKeys) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountKeys.

type AccountProperties

type AccountProperties struct {
	// StorageAccountName - The name of the storage account associated with this accountId
	StorageAccountName *string `json:"storageAccountName,omitempty"`
	// AccountID - READ-ONLY; unique id of certain account.
	AccountID *string `json:"accountId,omitempty"`
	// AccountDomain - READ-ONLY; Correspond domain name of certain Spatial Anchors Account
	AccountDomain *string `json:"accountDomain,omitempty"`
}

AccountProperties common Properties shared by Mixed Reality Accounts

func (AccountProperties) MarshalJSON

func (ap AccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountProperties.

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Mixedreality.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) CheckNameAvailabilityLocal

func (client BaseClient) CheckNameAvailabilityLocal(ctx context.Context, location string, checkNameAvailability CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailabilityLocal check Name Availability for local uniqueness Parameters: location - the location in which uniqueness will be verified. checkNameAvailability - check Name Availability Request.

func (BaseClient) CheckNameAvailabilityLocalPreparer

func (client BaseClient) CheckNameAvailabilityLocalPreparer(ctx context.Context, location string, checkNameAvailability CheckNameAvailabilityRequest) (*http.Request, error)

CheckNameAvailabilityLocalPreparer prepares the CheckNameAvailabilityLocal request.

func (BaseClient) CheckNameAvailabilityLocalResponder

func (client BaseClient) CheckNameAvailabilityLocalResponder(resp *http.Response) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailabilityLocalResponder handles the response to the CheckNameAvailabilityLocal request. The method always closes the http.Response Body.

func (BaseClient) CheckNameAvailabilityLocalSender

func (client BaseClient) CheckNameAvailabilityLocalSender(req *http.Request) (*http.Response, error)

CheckNameAvailabilityLocalSender sends the CheckNameAvailabilityLocal request. The method will close the http.Response Body if it receives an error.

type CheckNameAvailabilityRequest

type CheckNameAvailabilityRequest struct {
	// Name - Resource Name To Verify
	Name *string `json:"name,omitempty"`
	// Type - Fully qualified resource type which includes provider namespace
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityRequest check Name Availability Request

type CheckNameAvailabilityResponse

type CheckNameAvailabilityResponse struct {
	autorest.Response `json:"-"`
	// NameAvailable - if name Available
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - Resource Name To Verify. Possible values include: 'Invalid', 'AlreadyExists'
	Reason NameUnavailableReason `json:"reason,omitempty"`
	// Message - detail message
	Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityResponse check Name Availability Response

type CloudError

type CloudError struct {
	// Error - An Error response.
	Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an Error response.

type CloudErrorBody

type CloudErrorBody struct {
	// Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`
	// Message - A message describing the error, intended to be suitable for displaying in a user interface.
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error. For example, the name of the property in error.
	Target *string `json:"target,omitempty"`
	// Details - A list of additional details about the error.
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from Azure.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// Application ...
	Application CreatedByType = "Application"
	// Key ...
	Key CreatedByType = "Key"
	// ManagedIdentity ...
	ManagedIdentity CreatedByType = "ManagedIdentity"
	// User ...
	User CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type Identity

type Identity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'SystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

Identity identity for the resource.

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type LogSpecification

type LogSpecification struct {
	// Name - Name of the log
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the log
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Blob duration of the log
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification specifications of the Log for Azure Monitoring

type MetricDimension

type MetricDimension struct {
	// Name - Name of the dimension
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the dimension
	DisplayName *string `json:"displayName,omitempty"`
	// InternalName - Internal name of the dimension.
	InternalName *string `json:"internalName,omitempty"`
}

MetricDimension specifications of the Dimension of metrics

type MetricSpecification

type MetricSpecification struct {
	// Name - Name of the metric
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the metric
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - Localized friendly description of the metric
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - Unit that makes sense for the metric
	Unit *string `json:"unit,omitempty"`
	// AggregationType - Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
	AggregationType *string `json:"aggregationType,omitempty"`
	// InternalMetricName - Internal metric name.
	InternalMetricName *string `json:"internalMetricName,omitempty"`
	// Dimensions - Dimensions of the metric
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
}

MetricSpecification specifications of the Metrics for Azure Monitoring

type NameUnavailableReason

type NameUnavailableReason string

NameUnavailableReason enumerates the values for name unavailable reason.

const (
	// AlreadyExists ...
	AlreadyExists NameUnavailableReason = "AlreadyExists"
	// Invalid ...
	Invalid NameUnavailableReason = "Invalid"
)

func PossibleNameUnavailableReasonValues

func PossibleNameUnavailableReasonValues() []NameUnavailableReason

PossibleNameUnavailableReasonValues returns an array of possible values for the NameUnavailableReason const type.

type Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// IsDataAction - Whether or not this is a data plane operation
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Origin - The origin
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties of the operation
	Properties *OperationProperties `json:"properties,omitempty"`
}

Operation REST API operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.ResourceProvider
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Profile, endpoint, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of operation
	Description *string `json:"description,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationPage

type OperationPage struct {
	autorest.Response `json:"-"`
	// Value - List of operations supported by the Resource Provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationPage result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationPage) IsEmpty

func (op OperationPage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationPageIterator

type OperationPageIterator struct {
	// contains filtered or unexported fields
}

OperationPageIterator provides access to a complete listing of Operation values.

func NewOperationPageIterator

func NewOperationPageIterator(page OperationPagePage) OperationPageIterator

Creates a new instance of the OperationPageIterator type.

func (*OperationPageIterator) Next

func (iter *OperationPageIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationPageIterator) NextWithContext

func (iter *OperationPageIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationPageIterator) NotDone

func (iter OperationPageIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationPageIterator) Response

func (iter OperationPageIterator) Response() OperationPage

Response returns the raw server response from the last page request.

func (OperationPageIterator) Value

func (iter OperationPageIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationPagePage

type OperationPagePage struct {
	// contains filtered or unexported fields
}

OperationPagePage contains a page of Operation values.

func NewOperationPagePage

func NewOperationPagePage(cur OperationPage, getNextPage func(context.Context, OperationPage) (OperationPage, error)) OperationPagePage

Creates a new instance of the OperationPagePage type.

func (*OperationPagePage) Next

func (page *OperationPagePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationPagePage) NextWithContext

func (page *OperationPagePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationPagePage) NotDone

func (page OperationPagePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationPagePage) Response

func (page OperationPagePage) Response() OperationPage

Response returns the raw server response from the last page request.

func (OperationPagePage) Values

func (page OperationPagePage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationProperties

type OperationProperties struct {
	// ServiceSpecification - Service specification.
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties operation properties.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the mixed Reality Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationPagePage, err error)

List exposing Available Operations

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationPageIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationPage, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Plan

type Plan struct {
	// Name - A user defined name of the 3rd Party Artifact that is being procured.
	Name *string `json:"name,omitempty"`
	// Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
	Product *string `json:"product,omitempty"`
	// PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Version - The version of the desired product/artifact.
	Version *string `json:"version,omitempty"`
}

Plan plan for the resource.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type RemoteRenderingAccount

type RemoteRenderingAccount struct {
	autorest.Response `json:"-"`
	// AccountProperties - Property bag.
	*AccountProperties `json:"properties,omitempty"`
	// Identity - The identity associated with this account
	Identity *Identity `json:"identity,omitempty"`
	// Plan - The plan associated with this account
	Plan *Identity `json:"plan,omitempty"`
	// Sku - The sku associated with this account
	Sku *Sku `json:"sku,omitempty"`
	// Kind - The kind of account, if supported
	Kind *Sku `json:"kind,omitempty"`
	// SystemData - System metadata for this account
	SystemData *SystemData `json:"systemData,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

RemoteRenderingAccount remoteRenderingAccount Response.

func (RemoteRenderingAccount) MarshalJSON

func (rra RemoteRenderingAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RemoteRenderingAccount.

func (*RemoteRenderingAccount) UnmarshalJSON

func (rra *RemoteRenderingAccount) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RemoteRenderingAccount struct.

type RemoteRenderingAccountPage

type RemoteRenderingAccountPage struct {
	autorest.Response `json:"-"`
	// Value - List of resources supported by the Resource Provider.
	Value *[]RemoteRenderingAccount `json:"value,omitempty"`
	// NextLink - URL to get the next set of resource list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

RemoteRenderingAccountPage result of the request to get resource collection. It contains a list of resources and a URL link to get the next set of results.

func (RemoteRenderingAccountPage) IsEmpty

func (rrap RemoteRenderingAccountPage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RemoteRenderingAccountPageIterator

type RemoteRenderingAccountPageIterator struct {
	// contains filtered or unexported fields
}

RemoteRenderingAccountPageIterator provides access to a complete listing of RemoteRenderingAccount values.

func NewRemoteRenderingAccountPageIterator

func NewRemoteRenderingAccountPageIterator(page RemoteRenderingAccountPagePage) RemoteRenderingAccountPageIterator

Creates a new instance of the RemoteRenderingAccountPageIterator type.

func (*RemoteRenderingAccountPageIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RemoteRenderingAccountPageIterator) NextWithContext

func (iter *RemoteRenderingAccountPageIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RemoteRenderingAccountPageIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (RemoteRenderingAccountPageIterator) Response

Response returns the raw server response from the last page request.

func (RemoteRenderingAccountPageIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RemoteRenderingAccountPagePage

type RemoteRenderingAccountPagePage struct {
	// contains filtered or unexported fields
}

RemoteRenderingAccountPagePage contains a page of RemoteRenderingAccount values.

func NewRemoteRenderingAccountPagePage

Creates a new instance of the RemoteRenderingAccountPagePage type.

func (*RemoteRenderingAccountPagePage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RemoteRenderingAccountPagePage) NextWithContext

func (page *RemoteRenderingAccountPagePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RemoteRenderingAccountPagePage) NotDone

func (page RemoteRenderingAccountPagePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RemoteRenderingAccountPagePage) Response

Response returns the raw server response from the last page request.

func (RemoteRenderingAccountPagePage) Values

Values returns the slice of values for the current page or nil if there are no values.

type RemoteRenderingAccountsClient

type RemoteRenderingAccountsClient struct {
	BaseClient
}

RemoteRenderingAccountsClient is the mixed Reality Client

func NewRemoteRenderingAccountsClient

func NewRemoteRenderingAccountsClient(subscriptionID string) RemoteRenderingAccountsClient

NewRemoteRenderingAccountsClient creates an instance of the RemoteRenderingAccountsClient client.

func NewRemoteRenderingAccountsClientWithBaseURI

func NewRemoteRenderingAccountsClientWithBaseURI(baseURI string, subscriptionID string) RemoteRenderingAccountsClient

NewRemoteRenderingAccountsClientWithBaseURI creates an instance of the RemoteRenderingAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RemoteRenderingAccountsClient) Create

func (client RemoteRenderingAccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, remoteRenderingAccount RemoteRenderingAccount) (result RemoteRenderingAccount, err error)

Create creating or Updating a Remote Rendering Account. Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account. remoteRenderingAccount - remote Rendering Account parameter.

func (RemoteRenderingAccountsClient) CreatePreparer

func (client RemoteRenderingAccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, remoteRenderingAccount RemoteRenderingAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RemoteRenderingAccountsClient) CreateResponder

func (client RemoteRenderingAccountsClient) CreateResponder(resp *http.Response) (result RemoteRenderingAccount, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) CreateSender

func (client RemoteRenderingAccountsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) Delete

func (client RemoteRenderingAccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)

Delete delete a Remote Rendering Account. Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account.

func (RemoteRenderingAccountsClient) DeletePreparer

func (client RemoteRenderingAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RemoteRenderingAccountsClient) DeleteResponder

func (client RemoteRenderingAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) DeleteSender

func (client RemoteRenderingAccountsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) Get

func (client RemoteRenderingAccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result RemoteRenderingAccount, err error)

Get retrieve a Remote Rendering Account. Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account.

func (RemoteRenderingAccountsClient) GetPreparer

func (client RemoteRenderingAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RemoteRenderingAccountsClient) GetResponder

func (client RemoteRenderingAccountsClient) GetResponder(resp *http.Response) (result RemoteRenderingAccount, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) GetSender

func (client RemoteRenderingAccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) ListByResourceGroup

func (client RemoteRenderingAccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RemoteRenderingAccountPagePage, err error)

ListByResourceGroup list Resources by Resource Group Parameters: resourceGroupName - name of an Azure resource group.

func (RemoteRenderingAccountsClient) ListByResourceGroupComplete

func (client RemoteRenderingAccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RemoteRenderingAccountPageIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (RemoteRenderingAccountsClient) ListByResourceGroupPreparer

func (client RemoteRenderingAccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (RemoteRenderingAccountsClient) ListByResourceGroupResponder

func (client RemoteRenderingAccountsClient) ListByResourceGroupResponder(resp *http.Response) (result RemoteRenderingAccountPage, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) ListByResourceGroupSender

func (client RemoteRenderingAccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) ListBySubscription

func (client RemoteRenderingAccountsClient) ListBySubscription(ctx context.Context) (result RemoteRenderingAccountPagePage, err error)

ListBySubscription list Remote Rendering Accounts by Subscription

func (RemoteRenderingAccountsClient) ListBySubscriptionComplete

func (client RemoteRenderingAccountsClient) ListBySubscriptionComplete(ctx context.Context) (result RemoteRenderingAccountPageIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (RemoteRenderingAccountsClient) ListBySubscriptionPreparer

func (client RemoteRenderingAccountsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (RemoteRenderingAccountsClient) ListBySubscriptionResponder

func (client RemoteRenderingAccountsClient) ListBySubscriptionResponder(resp *http.Response) (result RemoteRenderingAccountPage, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) ListBySubscriptionSender

func (client RemoteRenderingAccountsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) ListKeys

func (client RemoteRenderingAccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result AccountKeys, err error)

ListKeys list Both of the 2 Keys of a Remote Rendering Account Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account.

func (RemoteRenderingAccountsClient) ListKeysPreparer

func (client RemoteRenderingAccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (RemoteRenderingAccountsClient) ListKeysResponder

func (client RemoteRenderingAccountsClient) ListKeysResponder(resp *http.Response) (result AccountKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) ListKeysSender

func (client RemoteRenderingAccountsClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) RegenerateKeys

func (client RemoteRenderingAccountsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, accountName string, regenerate AccountKeyRegenerateRequest) (result AccountKeys, err error)

RegenerateKeys regenerate specified Key of a Remote Rendering Account Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account. regenerate - required information for key regeneration.

func (RemoteRenderingAccountsClient) RegenerateKeysPreparer

func (client RemoteRenderingAccountsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, regenerate AccountKeyRegenerateRequest) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (RemoteRenderingAccountsClient) RegenerateKeysResponder

func (client RemoteRenderingAccountsClient) RegenerateKeysResponder(resp *http.Response) (result AccountKeys, err error)

RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) RegenerateKeysSender

func (client RemoteRenderingAccountsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)

RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.

func (RemoteRenderingAccountsClient) Update

func (client RemoteRenderingAccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, remoteRenderingAccount RemoteRenderingAccount) (result RemoteRenderingAccount, err error)

Update updating a Remote Rendering Account Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account. remoteRenderingAccount - remote Rendering Account parameter.

func (RemoteRenderingAccountsClient) UpdatePreparer

func (client RemoteRenderingAccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, remoteRenderingAccount RemoteRenderingAccount) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RemoteRenderingAccountsClient) UpdateResponder

func (client RemoteRenderingAccountsClient) UpdateResponder(resp *http.Response) (result RemoteRenderingAccount, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RemoteRenderingAccountsClient) UpdateSender

func (client RemoteRenderingAccountsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// SystemAssigned ...
	SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceModelWithAllowedPropertySet

type ResourceModelWithAllowedPropertySet struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ManagedBy - The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
	ManagedBy *string `json:"managedBy,omitempty"`
	// Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind *string `json:"kind,omitempty"`
	// Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag *string `json:"etag,omitempty"`
	// Tags - Resource tags.
	Tags     map[string]*string                           `json:"tags"`
	Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
	Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
	Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

ResourceModelWithAllowedPropertySet the resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.

func (ResourceModelWithAllowedPropertySet) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySet.

type ResourceModelWithAllowedPropertySetIdentity

type ResourceModelWithAllowedPropertySetIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'SystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

ResourceModelWithAllowedPropertySetIdentity ...

func (ResourceModelWithAllowedPropertySetIdentity) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySetIdentity.

type ResourceModelWithAllowedPropertySetPlan

type ResourceModelWithAllowedPropertySetPlan struct {
	// Name - A user defined name of the 3rd Party Artifact that is being procured.
	Name *string `json:"name,omitempty"`
	// Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
	Publisher *string `json:"publisher,omitempty"`
	// Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
	Product *string `json:"product,omitempty"`
	// PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Version - The version of the desired product/artifact.
	Version *string `json:"version,omitempty"`
}

ResourceModelWithAllowedPropertySetPlan ...

type ResourceModelWithAllowedPropertySetSku

type ResourceModelWithAllowedPropertySetSku struct {
	// Name - The name of the SKU. Ex - P3. It is typically a letter+number code
	Name *string `json:"name,omitempty"`
	// Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
	Tier SkuTier `json:"tier,omitempty"`
	// Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
	Size *string `json:"size,omitempty"`
	// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`
	// Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
	Capacity *int32 `json:"capacity,omitempty"`
}

ResourceModelWithAllowedPropertySetSku ...

type ServiceSpecification

type ServiceSpecification struct {
	// LogSpecifications - Specifications of the Log for Azure Monitoring
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
	// MetricSpecifications - Specifications of the Metrics for Azure Monitoring
	MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification service specification payload

type Sku

type Sku struct {
	// Name - The name of the SKU. Ex - P3. It is typically a letter+number code
	Name *string `json:"name,omitempty"`
	// Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
	Tier SkuTier `json:"tier,omitempty"`
	// Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
	Size *string `json:"size,omitempty"`
	// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`
	// Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
	Capacity *int32 `json:"capacity,omitempty"`
}

Sku the resource model definition representing SKU

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// Basic ...
	Basic SkuTier = "Basic"
	// Free ...
	Free SkuTier = "Free"
	// Premium ...
	Premium SkuTier = "Premium"
	// Standard ...
	Standard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SpatialAnchorsAccount

type SpatialAnchorsAccount struct {
	autorest.Response `json:"-"`
	// AccountProperties - Property bag.
	*AccountProperties `json:"properties,omitempty"`
	// Identity - The identity associated with this account
	Identity *Identity `json:"identity,omitempty"`
	// Plan - The plan associated with this account
	Plan *Identity `json:"plan,omitempty"`
	// Sku - The sku associated with this account
	Sku *Sku `json:"sku,omitempty"`
	// Kind - The kind of account, if supported
	Kind *Sku `json:"kind,omitempty"`
	// SystemData - System metadata for this account
	SystemData *SystemData `json:"systemData,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

SpatialAnchorsAccount spatialAnchorsAccount Response.

func (SpatialAnchorsAccount) MarshalJSON

func (saa SpatialAnchorsAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SpatialAnchorsAccount.

func (*SpatialAnchorsAccount) UnmarshalJSON

func (saa *SpatialAnchorsAccount) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SpatialAnchorsAccount struct.

type SpatialAnchorsAccountPage

type SpatialAnchorsAccountPage struct {
	autorest.Response `json:"-"`
	// Value - List of resources supported by the Resource Provider.
	Value *[]SpatialAnchorsAccount `json:"value,omitempty"`
	// NextLink - URL to get the next set of resource list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

SpatialAnchorsAccountPage result of the request to get resource collection. It contains a list of resources and a URL link to get the next set of results.

func (SpatialAnchorsAccountPage) IsEmpty

func (saap SpatialAnchorsAccountPage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SpatialAnchorsAccountPageIterator

type SpatialAnchorsAccountPageIterator struct {
	// contains filtered or unexported fields
}

SpatialAnchorsAccountPageIterator provides access to a complete listing of SpatialAnchorsAccount values.

func NewSpatialAnchorsAccountPageIterator

func NewSpatialAnchorsAccountPageIterator(page SpatialAnchorsAccountPagePage) SpatialAnchorsAccountPageIterator

Creates a new instance of the SpatialAnchorsAccountPageIterator type.

func (*SpatialAnchorsAccountPageIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SpatialAnchorsAccountPageIterator) NextWithContext

func (iter *SpatialAnchorsAccountPageIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SpatialAnchorsAccountPageIterator) NotDone

func (iter SpatialAnchorsAccountPageIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SpatialAnchorsAccountPageIterator) Response

Response returns the raw server response from the last page request.

func (SpatialAnchorsAccountPageIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SpatialAnchorsAccountPagePage

type SpatialAnchorsAccountPagePage struct {
	// contains filtered or unexported fields
}

SpatialAnchorsAccountPagePage contains a page of SpatialAnchorsAccount values.

func NewSpatialAnchorsAccountPagePage

Creates a new instance of the SpatialAnchorsAccountPagePage type.

func (*SpatialAnchorsAccountPagePage) Next

func (page *SpatialAnchorsAccountPagePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SpatialAnchorsAccountPagePage) NextWithContext

func (page *SpatialAnchorsAccountPagePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SpatialAnchorsAccountPagePage) NotDone

func (page SpatialAnchorsAccountPagePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SpatialAnchorsAccountPagePage) Response

Response returns the raw server response from the last page request.

func (SpatialAnchorsAccountPagePage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SpatialAnchorsAccountsClient

type SpatialAnchorsAccountsClient struct {
	BaseClient
}

SpatialAnchorsAccountsClient is the mixed Reality Client

func NewSpatialAnchorsAccountsClient

func NewSpatialAnchorsAccountsClient(subscriptionID string) SpatialAnchorsAccountsClient

NewSpatialAnchorsAccountsClient creates an instance of the SpatialAnchorsAccountsClient client.

func NewSpatialAnchorsAccountsClientWithBaseURI

func NewSpatialAnchorsAccountsClientWithBaseURI(baseURI string, subscriptionID string) SpatialAnchorsAccountsClient

NewSpatialAnchorsAccountsClientWithBaseURI creates an instance of the SpatialAnchorsAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SpatialAnchorsAccountsClient) Create

func (client SpatialAnchorsAccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, spatialAnchorsAccount SpatialAnchorsAccount) (result SpatialAnchorsAccount, err error)

Create creating or Updating a Spatial Anchors Account. Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account. spatialAnchorsAccount - spatial Anchors Account parameter.

func (SpatialAnchorsAccountsClient) CreatePreparer

func (client SpatialAnchorsAccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, spatialAnchorsAccount SpatialAnchorsAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SpatialAnchorsAccountsClient) CreateResponder

func (client SpatialAnchorsAccountsClient) CreateResponder(resp *http.Response) (result SpatialAnchorsAccount, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) CreateSender

func (client SpatialAnchorsAccountsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) Delete

func (client SpatialAnchorsAccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)

Delete delete a Spatial Anchors Account. Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account.

func (SpatialAnchorsAccountsClient) DeletePreparer

func (client SpatialAnchorsAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SpatialAnchorsAccountsClient) DeleteResponder

func (client SpatialAnchorsAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) DeleteSender

func (client SpatialAnchorsAccountsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) Get

func (client SpatialAnchorsAccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result SpatialAnchorsAccount, err error)

Get retrieve a Spatial Anchors Account. Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account.

func (SpatialAnchorsAccountsClient) GetPreparer

func (client SpatialAnchorsAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SpatialAnchorsAccountsClient) GetResponder

func (client SpatialAnchorsAccountsClient) GetResponder(resp *http.Response) (result SpatialAnchorsAccount, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) GetSender

func (client SpatialAnchorsAccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) ListByResourceGroup

func (client SpatialAnchorsAccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SpatialAnchorsAccountPagePage, err error)

ListByResourceGroup list Resources by Resource Group Parameters: resourceGroupName - name of an Azure resource group.

func (SpatialAnchorsAccountsClient) ListByResourceGroupComplete

func (client SpatialAnchorsAccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SpatialAnchorsAccountPageIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SpatialAnchorsAccountsClient) ListByResourceGroupPreparer

func (client SpatialAnchorsAccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SpatialAnchorsAccountsClient) ListByResourceGroupResponder

func (client SpatialAnchorsAccountsClient) ListByResourceGroupResponder(resp *http.Response) (result SpatialAnchorsAccountPage, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) ListByResourceGroupSender

func (client SpatialAnchorsAccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) ListBySubscription

func (client SpatialAnchorsAccountsClient) ListBySubscription(ctx context.Context) (result SpatialAnchorsAccountPagePage, err error)

ListBySubscription list Spatial Anchors Accounts by Subscription

func (SpatialAnchorsAccountsClient) ListBySubscriptionComplete

func (client SpatialAnchorsAccountsClient) ListBySubscriptionComplete(ctx context.Context) (result SpatialAnchorsAccountPageIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (SpatialAnchorsAccountsClient) ListBySubscriptionPreparer

func (client SpatialAnchorsAccountsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SpatialAnchorsAccountsClient) ListBySubscriptionResponder

func (client SpatialAnchorsAccountsClient) ListBySubscriptionResponder(resp *http.Response) (result SpatialAnchorsAccountPage, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) ListBySubscriptionSender

func (client SpatialAnchorsAccountsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) ListKeys

func (client SpatialAnchorsAccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result AccountKeys, err error)

ListKeys list Both of the 2 Keys of a Spatial Anchors Account Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account.

func (SpatialAnchorsAccountsClient) ListKeysPreparer

func (client SpatialAnchorsAccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (SpatialAnchorsAccountsClient) ListKeysResponder

func (client SpatialAnchorsAccountsClient) ListKeysResponder(resp *http.Response) (result AccountKeys, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) ListKeysSender

func (client SpatialAnchorsAccountsClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) RegenerateKeys

func (client SpatialAnchorsAccountsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, accountName string, regenerate AccountKeyRegenerateRequest) (result AccountKeys, err error)

RegenerateKeys regenerate specified Key of a Spatial Anchors Account Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account. regenerate - required information for key regeneration.

func (SpatialAnchorsAccountsClient) RegenerateKeysPreparer

func (client SpatialAnchorsAccountsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, regenerate AccountKeyRegenerateRequest) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (SpatialAnchorsAccountsClient) RegenerateKeysResponder

func (client SpatialAnchorsAccountsClient) RegenerateKeysResponder(resp *http.Response) (result AccountKeys, err error)

RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) RegenerateKeysSender

func (client SpatialAnchorsAccountsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)

RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.

func (SpatialAnchorsAccountsClient) Update

func (client SpatialAnchorsAccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, spatialAnchorsAccount SpatialAnchorsAccount) (result SpatialAnchorsAccount, err error)

Update updating a Spatial Anchors Account Parameters: resourceGroupName - name of an Azure resource group. accountName - name of an Mixed Reality Account. spatialAnchorsAccount - spatial Anchors Account parameter.

func (SpatialAnchorsAccountsClient) UpdatePreparer

func (client SpatialAnchorsAccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, spatialAnchorsAccount SpatialAnchorsAccount) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SpatialAnchorsAccountsClient) UpdateResponder

func (client SpatialAnchorsAccountsClient) UpdateResponder(resp *http.Response) (result SpatialAnchorsAccount, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) UpdateSender

func (client SpatialAnchorsAccountsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The type of identity that last modified the resource.
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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