Documentation ¶
Overview ¶
Package location implements the Azure ARM Location service API version 2017-01-01-preview.
Resource Provider
Index ¶
- Constants
- func UserAgent() string
- func Version() stringdeprecated
- type AccountsClientdeprecated
- func (client AccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result BasedServicesAccount, err error)deprecated
- func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)deprecated
- func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result BasedServicesAccount, err error)deprecated
- func (client AccountsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)deprecated
- func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)deprecated
- func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)deprecated
- func (client AccountsClient) DeleteSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result BasedServicesAccount, err error)deprecated
- func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)deprecated
- func (client AccountsClient) GetResponder(resp *http.Response) (result BasedServicesAccount, err error)deprecated
- func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BasedServicesAccounts, err error)deprecated
- func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result BasedServicesAccounts, err error)deprecated
- func (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) ListBySubscription(ctx context.Context) (result BasedServicesAccounts, err error)deprecated
- func (client AccountsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client AccountsClient) ListBySubscriptionResponder(resp *http.Response) (result BasedServicesAccounts, err error)deprecated
- func (client AccountsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result BasedServicesAccountKeys, err error)deprecated
- func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)deprecated
- func (client AccountsClient) ListKeysResponder(resp *http.Response) (result BasedServicesAccountKeys, err error)deprecated
- func (client AccountsClient) ListKeysSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) ListOperations(ctx context.Context) (result BasedServicesOperations, err error)deprecated
- func (client AccountsClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client AccountsClient) ListOperationsResponder(resp *http.Response) (result BasedServicesOperations, err error)deprecated
- func (client AccountsClient) ListOperationsSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) Move(ctx context.Context, resourceGroupName string, ...) (result autorest.Response, err error)deprecated
- func (client AccountsClient) MovePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)deprecated
- func (client AccountsClient) MoveResponder(resp *http.Response) (result autorest.Response, err error)deprecated
- func (client AccountsClient) MoveSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, accountName string, ...) (result BasedServicesAccountKeys, err error)deprecated
- func (client AccountsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)deprecated
- func (client AccountsClient) RegenerateKeysResponder(resp *http.Response) (result BasedServicesAccountKeys, err error)deprecated
- func (client AccountsClient) RegenerateKeysSender(req *http.Request) (*http.Response, error)deprecated
- func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result BasedServicesAccount, err error)deprecated
- func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)deprecated
- func (client AccountsClient) UpdateResponder(resp *http.Response) (result BasedServicesAccount, err error)deprecated
- func (client AccountsClient) UpdateSender(req *http.Request) (*http.Response, error)deprecated
- type BaseClientdeprecated
- type BasedServicesAccountdeprecated
- type BasedServicesAccountCreateParametersdeprecated
- type BasedServicesAccountKeysdeprecated
- type BasedServicesAccountUpdateParametersdeprecated
- type BasedServicesAccountsdeprecated
- type BasedServicesAccountsMoveRequestdeprecated
- type BasedServicesKeySpecificationdeprecated
- type BasedServicesOperationsdeprecated
- type BasedServicesOperationsValueItemdeprecated
- type BasedServicesOperationsValueItemDisplaydeprecated
- type Errordeprecated
- type ErrorDetailsItemdeprecated
- type KeyTypedeprecated
- func PossibleKeyTypeValues() []KeyTypedeprecated
- type Resourcedeprecated
- type Skudeprecated
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Location
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
Copyright (c) Microsoft and contributors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. UserAgent returns the UserAgent string to use when sending http.Requests.
func Version
deprecated
func Version() string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccountsClient
deprecated
type AccountsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. AccountsClient is the resource Provider
func NewAccountsClient
deprecated
func NewAccountsClient(subscriptionID string) AccountsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. NewAccountsClient creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI
deprecated
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func (AccountsClient) CreateOrUpdate
deprecated
func (client AccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, locationBasedServicesAccountCreateParameters BasedServicesAccountCreateParameters) (result BasedServicesAccount, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. CreateOrUpdate create or update a Location Based Services Account. A Location Based Services Account holds the keys which allow access to the Location Based Services REST APIs.
resourceGroupName is the name of the Azure Resource Group. accountName is the name of the Location Based Services Account. locationBasedServicesAccountCreateParameters is the new or updated parameters for the Location Based Services Account.
func (AccountsClient) CreateOrUpdatePreparer
deprecated
func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, locationBasedServicesAccountCreateParameters BasedServicesAccountCreateParameters) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AccountsClient) CreateOrUpdateResponder
deprecated
func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result BasedServicesAccount, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AccountsClient) CreateOrUpdateSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Delete
deprecated
func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Delete delete a Location Based Services Account
resourceGroupName is the name of the Azure Resource Group. accountName is the name of the Location Based Services Account.
func (AccountsClient) DeletePreparer
deprecated
func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. DeletePreparer prepares the Delete request.
func (AccountsClient) DeleteResponder
deprecated
func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AccountsClient) DeleteSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Get
deprecated
func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result BasedServicesAccount, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Get get a Location Based Services Account
resourceGroupName is the name of the Azure Resource Group. accountName is the name of the Location Based Services Account.
func (AccountsClient) GetPreparer
deprecated
func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. GetPreparer prepares the Get request.
func (AccountsClient) GetResponder
deprecated
func (client AccountsClient) GetResponder(resp *http.Response) (result BasedServicesAccount, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AccountsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListByResourceGroup
deprecated
func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BasedServicesAccounts, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListByResourceGroup get all Location Based Services Accounts in a Resource Group
resourceGroupName is the name of the Azure Resource Group.
func (AccountsClient) ListByResourceGroupPreparer
deprecated
func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (AccountsClient) ListByResourceGroupResponder
deprecated
func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result BasedServicesAccounts, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (AccountsClient) ListByResourceGroupSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListBySubscription
deprecated
func (client AccountsClient) ListBySubscription(ctx context.Context) (result BasedServicesAccounts, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListBySubscription get all Location Based Services Accounts in a Subscription
func (AccountsClient) ListBySubscriptionPreparer
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListBySubscriptionPreparer prepares the ListBySubscription request.
func (AccountsClient) ListBySubscriptionResponder
deprecated
func (client AccountsClient) ListBySubscriptionResponder(resp *http.Response) (result BasedServicesAccounts, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (AccountsClient) ListBySubscriptionSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListKeys
deprecated
func (client AccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result BasedServicesAccountKeys, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListKeys get the keys to use with the Location Based Services APIs. A key is used to authenticate and authorize access to the Location Based Services REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
resourceGroupName is the name of the Azure Resource Group. accountName is the name of the Location Based Services Account.
func (AccountsClient) ListKeysPreparer
deprecated
func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListKeysPreparer prepares the ListKeys request.
func (AccountsClient) ListKeysResponder
deprecated
func (client AccountsClient) ListKeysResponder(resp *http.Response) (result BasedServicesAccountKeys, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (AccountsClient) ListKeysSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListOperations
deprecated
func (client AccountsClient) ListOperations(ctx context.Context) (result BasedServicesOperations, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListOperations list operations available for the Location Based Services Resource Provider
func (AccountsClient) ListOperationsPreparer
deprecated
func (AccountsClient) ListOperationsResponder
deprecated
func (client AccountsClient) ListOperationsResponder(resp *http.Response) (result BasedServicesOperations, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.
func (AccountsClient) ListOperationsSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Move
deprecated
func (client AccountsClient) Move(ctx context.Context, resourceGroupName string, moveRequest BasedServicesAccountsMoveRequest) (result autorest.Response, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Move moves Location Based Services Accounts from one ResourceGroup (or Subscription) to another
resourceGroupName is the name of the resource group that contains Location Based Services Account to move. moveRequest is the details of the Location Based Services Account move.
func (AccountsClient) MovePreparer
deprecated
func (client AccountsClient) MovePreparer(ctx context.Context, resourceGroupName string, moveRequest BasedServicesAccountsMoveRequest) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. MovePreparer prepares the Move request.
func (AccountsClient) MoveResponder
deprecated
func (client AccountsClient) MoveResponder(resp *http.Response) (result autorest.Response, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. MoveResponder handles the response to the Move request. The method always closes the http.Response Body.
func (AccountsClient) MoveSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. MoveSender sends the Move request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) RegenerateKeys
deprecated
func (client AccountsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, accountName string, keySpecification BasedServicesKeySpecification) (result BasedServicesAccountKeys, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. RegenerateKeys regenerate either the primary or secondary key for use with the Location Based Services APIs. The old key will stop working immediately.
resourceGroupName is the name of the Azure Resource Group. accountName is the name of the Location Based Services Account. keySpecification is which key to regenerate: primary or secondary.
func (AccountsClient) RegenerateKeysPreparer
deprecated
func (client AccountsClient) RegenerateKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, keySpecification BasedServicesKeySpecification) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. RegenerateKeysPreparer prepares the RegenerateKeys request.
func (AccountsClient) RegenerateKeysResponder
deprecated
func (client AccountsClient) RegenerateKeysResponder(resp *http.Response) (result BasedServicesAccountKeys, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. RegenerateKeysResponder handles the response to the RegenerateKeys request. The method always closes the http.Response Body.
func (AccountsClient) RegenerateKeysSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. RegenerateKeysSender sends the RegenerateKeys request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Update
deprecated
func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, locationBasedServicesAccountUpdateParameters BasedServicesAccountUpdateParameters) (result BasedServicesAccount, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Update updates a Location Based Services Account. Only a subset of the parameters may be updated after creation, such as Sku and Tags.
resourceGroupName is the name of the Azure Resource Group. accountName is the name of the Location Based Services Account. locationBasedServicesAccountUpdateParameters is the updated parameters for the Location Based Services Account.
func (AccountsClient) UpdatePreparer
deprecated
func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, locationBasedServicesAccountUpdateParameters BasedServicesAccountUpdateParameters) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. UpdatePreparer prepares the Update request.
func (AccountsClient) UpdateResponder
deprecated
func (client AccountsClient) UpdateResponder(resp *http.Response) (result BasedServicesAccount, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (AccountsClient) UpdateSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type BaseClient
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BaseClient is the base client for Location.
func New
deprecated
func New(subscriptionID string) BaseClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. New creates an instance of the BaseClient client.
func NewWithBaseURI
deprecated
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. NewWithBaseURI creates an instance of the BaseClient client.
type BasedServicesAccount
deprecated
type BasedServicesAccount struct { autorest.Response `json:"-"` // LocationProperty - The location of the resource. LocationProperty *string `json:"location,omitempty"` // Tags - Gets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags map[string]*string `json:"tags"` // Sku - The SKU of this account. Sku *Sku `json:"sku,omitempty"` // ID - The fully qualified Location Based Services Account resource identifier. ID *string `json:"id,omitempty"` // Name - The name of the Location Based Services Account, which is unique within a Resource Group. Name *string `json:"name,omitempty"` // Type - Azure resource type. Type *string `json:"type,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesAccount an Azure resource which represents access to a suite of Location Based Services REST APIs.
func (BasedServicesAccount) MarshalJSON
deprecated
func (bsa BasedServicesAccount) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. MarshalJSON is the custom marshaler for BasedServicesAccount.
type BasedServicesAccountCreateParameters
deprecated
type BasedServicesAccountCreateParameters struct { // LocationProperty - The location of the resource. LocationProperty *string `json:"location,omitempty"` // Tags - Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags map[string]*string `json:"tags"` // Sku - The SKU of this account. Sku *Sku `json:"sku,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesAccountCreateParameters parameters used to create a new Location Based Services Account.
func (BasedServicesAccountCreateParameters) MarshalJSON
deprecated
func (bsacp BasedServicesAccountCreateParameters) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. MarshalJSON is the custom marshaler for BasedServicesAccountCreateParameters.
type BasedServicesAccountKeys
deprecated
type BasedServicesAccountKeys struct { autorest.Response `json:"-"` // ID - The full Azure resource identifier of the Location Based Services Account. ID *string `json:"id,omitempty"` // PrimaryKey - The primary key for accessing the Location Based Services REST APIs. PrimaryKey *string `json:"primaryKey,omitempty"` // SecondaryKey - The secondary key for accessing the Location Based Services REST APIs. SecondaryKey *string `json:"secondaryKey,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesAccountKeys the set of keys which can be used to access the Location Based Services REST APIs. Two keys are provided for key rotation without interruption.
type BasedServicesAccountUpdateParameters
deprecated
type BasedServicesAccountUpdateParameters struct { // Tags - Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. Tags map[string]*string `json:"tags"` // Sku - The SKU of this account. Sku *Sku `json:"sku,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesAccountUpdateParameters parameters used to update an existing Location Based Services Account.
func (BasedServicesAccountUpdateParameters) MarshalJSON
deprecated
func (bsaup BasedServicesAccountUpdateParameters) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. MarshalJSON is the custom marshaler for BasedServicesAccountUpdateParameters.
type BasedServicesAccounts
deprecated
type BasedServicesAccounts struct { autorest.Response `json:"-"` // Value - A Location Based Services Account. Value *[]BasedServicesAccount `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesAccounts a list of Location Based Services Accounts.
type BasedServicesAccountsMoveRequest
deprecated
type BasedServicesAccountsMoveRequest struct { // TargetResourceGroup - The name of the destination resource group. TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` // ResourceIds - A list of resource names to move from the source resource group. ResourceIds *[]string `json:"resourceIds,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesAccountsMoveRequest the description of what resources to move between resource groups.
type BasedServicesKeySpecification
deprecated
type BasedServicesKeySpecification struct { // KeyType - Whether the operation refers to the primary or secondary key. Possible values include: 'Primary', 'Secondary' KeyType KeyType `json:"keyType,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesKeySpecification whether the operation refers to the primary or secondary key.
type BasedServicesOperations
deprecated
type BasedServicesOperations struct { autorest.Response `json:"-"` // Value - An operation available for Location Based Services. Value *[]BasedServicesOperationsValueItem `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesOperations the set of operations available for Location Based Services.
type BasedServicesOperationsValueItem
deprecated
type BasedServicesOperationsValueItem struct { // Name - Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // Display - The human-readable description of the operation. Display *BasedServicesOperationsValueItemDisplay `json:"display,omitempty"` // Origin - The origin of the operation. Origin *string `json:"origin,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesOperationsValueItem ...
type BasedServicesOperationsValueItemDisplay
deprecated
type BasedServicesOperationsValueItemDisplay struct { // Provider - Service provider: Microsoft Location Based Services. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` // Operation - The action that users can perform, based on their permission level. Operation *string `json:"operation,omitempty"` // Description - The description of the operation. Description *string `json:"description,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. BasedServicesOperationsValueItemDisplay the human-readable description of the operation.
type Error
deprecated
type Error struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - If available, a human readable description of the error. Message *string `json:"message,omitempty"` // Target - If available, the component generating the error. Target *string `json:"target,omitempty"` // Details - If available, a list of additional details about the error. Details *[]ErrorDetailsItem `json:"details,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Error this object is returned when an error occurs in the Location Based Service API
type ErrorDetailsItem
deprecated
type ErrorDetailsItem struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - If available, a human readable description of the error. Message *string `json:"message,omitempty"` // Target - If available, the component generating the error. Target *string `json:"target,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. ErrorDetailsItem ...
type KeyType
deprecated
type KeyType string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. KeyType enumerates the values for key type.
func PossibleKeyTypeValues
deprecated
func PossibleKeyTypeValues() []KeyType
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. PossibleKeyTypeValues returns an array of possible values for the KeyType const type.
type Resource
deprecated
type Resource struct { // ID - The fully qualified Location Based Services Account resource identifier. ID *string `json:"id,omitempty"` // Name - The name of the Location Based Services Account, which is unique within a Resource Group. Name *string `json:"name,omitempty"` // Type - Azure resource type. Type *string `json:"type,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Resource an Azure resource
type Sku
deprecated
type Sku struct { // Name - The name of the SKU, in standard format (such as S0). Name *string `json:"name,omitempty"` // Tier - Gets the sku tier. This is based on the SKU name. Tier *string `json:"tier,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/location/mgmt/2017-01-01-preview/location instead. Sku the SKU of the Location Based Services Account.