azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/mixedreality/mgmt/2019-02-28/mixedreality Index | Files | Directories

package mixedreality

import "github.com/Azure/azure-sdk-for-go/services/preview/mixedreality/mgmt/2019-02-28/mixedreality"

Package mixedreality implements the Azure ARM Mixedreality service API version 2019-02-28-preview.

Mixed Reality Client

Index

Package Files

client.go models.go operations.go spatialanchorsaccounts.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AzureEntityResource Uses

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

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

type BaseClient Uses

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

BaseClient is the base client for Mixedreality.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CheckNameAvailabilityLocal Uses

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

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

func (BaseClient) CheckNameAvailabilityLocalPreparer Uses

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

CheckNameAvailabilityLocalPreparer prepares the CheckNameAvailabilityLocal request.

func (BaseClient) CheckNameAvailabilityLocalResponder Uses

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 Uses

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 Uses

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 Uses

type CheckNameAvailabilityResponse struct {
    autorest.Response `json:"-"`
    // NameAvailable - if name Available. Possible values include: 'True', 'False'
    NameAvailable NameAvailability `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 ErrorResponse Uses

type ErrorResponse struct {
    // Message - Describes the error in detail and provides debugging information
    Message *string `json:"message,omitempty"`
    // Code - String that can be used to programmatically identify the error.
    Code *string `json:"code,omitempty"`
    // Target - The target of the particular error
    Target *string `json:"target,omitempty"`
    // Details - An array of JSON objects that MUST contain name/value pairs for code and message, and MAY contain a name/value pair for target, as described above.The contents of this section are service-defined but must adhere to the aforementioned schema.
    Details *string `json:"details,omitempty"`
}

ErrorResponse response on Error

type NameAvailability Uses

type NameAvailability string

NameAvailability enumerates the values for name availability.

const (
    // False ...
    False NameAvailability = "false"
    // True ...
    True NameAvailability = "true"
)

func PossibleNameAvailabilityValues Uses

func PossibleNameAvailabilityValues() []NameAvailability

PossibleNameAvailabilityValues returns an array of possible values for the NameAvailability const type.

type NameUnavailableReason Uses

type NameUnavailableReason string

NameUnavailableReason enumerates the values for name unavailable reason.

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

func PossibleNameUnavailableReasonValues Uses

func PossibleNameUnavailableReasonValues() []NameUnavailableReason

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

type Operation Uses

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

Operation REST API operation

type OperationDisplay Uses

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 OperationList Uses

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

OperationList 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 (OperationList) IsEmpty Uses

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListIterator Uses

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

OperationListIterator provides access to a complete listing of Operation values.

func NewOperationListIterator Uses

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next Uses

func (iter *OperationListIterator) 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 (*OperationListIterator) NextWithContext Uses

func (iter *OperationListIterator) 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 (OperationListIterator) NotDone Uses

func (iter OperationListIterator) NotDone() bool

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

func (OperationListIterator) Response Uses

func (iter OperationListIterator) Response() OperationList

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

func (OperationListIterator) Value Uses

func (iter OperationListIterator) Value() Operation

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

type OperationListPage Uses

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

OperationListPage contains a page of Operation values.

func NewOperationListPage Uses

func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next Uses

func (page *OperationListPage) 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 (*OperationListPage) NextWithContext Uses

func (page *OperationListPage) 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 (OperationListPage) NotDone Uses

func (page OperationListPage) NotDone() bool

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

func (OperationListPage) Response Uses

func (page OperationListPage) Response() OperationList

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

func (OperationListPage) Values Uses

func (page OperationListPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the mixed Reality Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List exposing Available Operations

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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

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

func (OperationsClient) ListSender Uses

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 ProxyResource Uses

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type Resource Uses

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

Resource ...

type SpatialAnchorsAccount Uses

type SpatialAnchorsAccount struct {
    autorest.Response `json:"-"`
    // SpatialAnchorsAccountProperties - Property bag.
    *SpatialAnchorsAccountProperties `json:"properties,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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

SpatialAnchorsAccount spatialAnchorsAccount Response.

func (SpatialAnchorsAccount) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SpatialAnchorsAccount.

func (*SpatialAnchorsAccount) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SpatialAnchorsAccount struct.

type SpatialAnchorsAccountKeyRegenerateRequest Uses

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

SpatialAnchorsAccountKeyRegenerateRequest spatial Anchors Account Regenerate Key

type SpatialAnchorsAccountKeys Uses

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

SpatialAnchorsAccountKeys spatial Anchors Account Keys

type SpatialAnchorsAccountList Uses

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

SpatialAnchorsAccountList 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 (SpatialAnchorsAccountList) IsEmpty Uses

func (saal SpatialAnchorsAccountList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SpatialAnchorsAccountListIterator Uses

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

SpatialAnchorsAccountListIterator provides access to a complete listing of SpatialAnchorsAccount values.

func NewSpatialAnchorsAccountListIterator Uses

func NewSpatialAnchorsAccountListIterator(page SpatialAnchorsAccountListPage) SpatialAnchorsAccountListIterator

Creates a new instance of the SpatialAnchorsAccountListIterator type.

func (*SpatialAnchorsAccountListIterator) Next Uses

func (iter *SpatialAnchorsAccountListIterator) 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 (*SpatialAnchorsAccountListIterator) NextWithContext Uses

func (iter *SpatialAnchorsAccountListIterator) 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 (SpatialAnchorsAccountListIterator) NotDone Uses

func (iter SpatialAnchorsAccountListIterator) NotDone() bool

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

func (SpatialAnchorsAccountListIterator) Response Uses

func (iter SpatialAnchorsAccountListIterator) Response() SpatialAnchorsAccountList

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

func (SpatialAnchorsAccountListIterator) Value Uses

func (iter SpatialAnchorsAccountListIterator) Value() SpatialAnchorsAccount

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

type SpatialAnchorsAccountListPage Uses

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

SpatialAnchorsAccountListPage contains a page of SpatialAnchorsAccount values.

func NewSpatialAnchorsAccountListPage Uses

func NewSpatialAnchorsAccountListPage(getNextPage func(context.Context, SpatialAnchorsAccountList) (SpatialAnchorsAccountList, error)) SpatialAnchorsAccountListPage

Creates a new instance of the SpatialAnchorsAccountListPage type.

func (*SpatialAnchorsAccountListPage) Next Uses

func (page *SpatialAnchorsAccountListPage) 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 (*SpatialAnchorsAccountListPage) NextWithContext Uses

func (page *SpatialAnchorsAccountListPage) 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 (SpatialAnchorsAccountListPage) NotDone Uses

func (page SpatialAnchorsAccountListPage) NotDone() bool

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

func (SpatialAnchorsAccountListPage) Response Uses

func (page SpatialAnchorsAccountListPage) Response() SpatialAnchorsAccountList

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

func (SpatialAnchorsAccountListPage) Values Uses

func (page SpatialAnchorsAccountListPage) Values() []SpatialAnchorsAccount

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

type SpatialAnchorsAccountProperties Uses

type SpatialAnchorsAccountProperties struct {
    // AccountID - READ-ONLY; unique id of certain Spatial Anchors Account data contract.
    AccountID *string `json:"accountId,omitempty"`
    // AccountDomain - READ-ONLY; Correspond domain name of certain Spatial Anchors Account
    AccountDomain *string `json:"accountDomain,omitempty"`
}

SpatialAnchorsAccountProperties spatial Anchors Account Customize Properties

type SpatialAnchorsAccountsClient Uses

type SpatialAnchorsAccountsClient struct {
    BaseClient
}

SpatialAnchorsAccountsClient is the mixed Reality Client

func NewSpatialAnchorsAccountsClient Uses

func NewSpatialAnchorsAccountsClient(subscriptionID string) SpatialAnchorsAccountsClient

NewSpatialAnchorsAccountsClient creates an instance of the SpatialAnchorsAccountsClient client.

func NewSpatialAnchorsAccountsClientWithBaseURI Uses

func NewSpatialAnchorsAccountsClientWithBaseURI(baseURI string, subscriptionID string) SpatialAnchorsAccountsClient

NewSpatialAnchorsAccountsClientWithBaseURI creates an instance of the SpatialAnchorsAccountsClient client.

func (SpatialAnchorsAccountsClient) Create Uses

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

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

func (SpatialAnchorsAccountsClient) CreatePreparer Uses

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

CreatePreparer prepares the Create request.

func (SpatialAnchorsAccountsClient) CreateResponder Uses

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 Uses

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 Uses

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

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

func (SpatialAnchorsAccountsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (SpatialAnchorsAccountsClient) DeleteResponder Uses

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 Uses

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 Uses

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

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

func (SpatialAnchorsAccountsClient) GetKeys Uses

func (client SpatialAnchorsAccountsClient) GetKeys(ctx context.Context, resourceGroupName string, spatialAnchorsAccountName string) (result SpatialAnchorsAccountKeys, err error)

GetKeys get Both of the 2 Keys of a Spatial Anchors Account Parameters: resourceGroupName - name of an Azure resource group. spatialAnchorsAccountName - name of an Mixed Reality Spatial Anchors Account.

func (SpatialAnchorsAccountsClient) GetKeysPreparer Uses

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

GetKeysPreparer prepares the GetKeys request.

func (SpatialAnchorsAccountsClient) GetKeysResponder Uses

func (client SpatialAnchorsAccountsClient) GetKeysResponder(resp *http.Response) (result SpatialAnchorsAccountKeys, err error)

GetKeysResponder handles the response to the GetKeys request. The method always closes the http.Response Body.

func (SpatialAnchorsAccountsClient) GetKeysSender Uses

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

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

func (SpatialAnchorsAccountsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (SpatialAnchorsAccountsClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (SpatialAnchorsAccountsClient) ListByResourceGroupComplete Uses

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

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

func (SpatialAnchorsAccountsClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SpatialAnchorsAccountsClient) ListByResourceGroupResponder Uses

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

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

func (SpatialAnchorsAccountsClient) ListByResourceGroupSender Uses

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 Uses

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

ListBySubscription list Spatial Anchors Accounts by Subscription

func (SpatialAnchorsAccountsClient) ListBySubscriptionComplete Uses

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

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

func (SpatialAnchorsAccountsClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SpatialAnchorsAccountsClient) ListBySubscriptionResponder Uses

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

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

func (SpatialAnchorsAccountsClient) ListBySubscriptionSender Uses

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) RegenerateKeys Uses

func (client SpatialAnchorsAccountsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, spatialAnchorsAccountName string, spatialAnchorsAccountKeyRegenerate SpatialAnchorsAccountKeyRegenerateRequest) (result SpatialAnchorsAccountKeys, err error)

RegenerateKeys regenerate 1 Key of a Spatial Anchors Account Parameters: resourceGroupName - name of an Azure resource group. spatialAnchorsAccountName - name of an Mixed Reality Spatial Anchors Account. spatialAnchorsAccountKeyRegenerate - specifying which key to be regenerated.

func (SpatialAnchorsAccountsClient) RegenerateKeysPreparer Uses

func (client SpatialAnchorsAccountsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, spatialAnchorsAccountName string, spatialAnchorsAccountKeyRegenerate SpatialAnchorsAccountKeyRegenerateRequest) (*http.Request, error)

RegenerateKeysPreparer prepares the RegenerateKeys request.

func (SpatialAnchorsAccountsClient) RegenerateKeysResponder Uses

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

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

func (SpatialAnchorsAccountsClient) RegenerateKeysSender Uses

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 Uses

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

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

func (SpatialAnchorsAccountsClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (SpatialAnchorsAccountsClient) UpdateResponder Uses

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 Uses

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 TrackedResource Uses

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

Directories

PathSynopsis
mixedrealityapi

Package mixedreality imports 9 packages (graph) and is imported by 4 packages. Updated 2019-08-10. Refresh now. Tools for package owners.