Documentation ¶
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BasicDependency
- type Dependency
- type Deployment
- type DeploymentExtended
- type DeploymentExtendedFilter
- type DeploymentListResult
- type DeploymentMode
- type DeploymentOperation
- type DeploymentOperationProperties
- type DeploymentOperationsListResult
- type DeploymentOperationsManagementClient
- func (client DeploymentOperationsManagementClient) Get(resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, ae error)
- func (client DeploymentOperationsManagementClient) GetPreparer(resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)
- func (client DeploymentOperationsManagementClient) GetResponder(resp *http.Response) (result DeploymentOperation, err error)
- func (client DeploymentOperationsManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeploymentOperationsManagementClient) List(resourceGroupName string, deploymentName string, top *int) (result DeploymentOperationsListResult, ae error)
- func (client DeploymentOperationsManagementClient) ListNextResults(lastResults DeploymentOperationsListResult) (result DeploymentOperationsListResult, ae error)
- func (client DeploymentOperationsManagementClient) ListPreparer(resourceGroupName string, deploymentName string, top *int) (*http.Request, error)
- func (client DeploymentOperationsManagementClient) ListResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
- func (client DeploymentOperationsManagementClient) ListSender(req *http.Request) (*http.Response, error)
- type DeploymentProperties
- type DeploymentPropertiesExtended
- type DeploymentValidateResult
- type DeploymentsManagementClient
- func (client DeploymentsManagementClient) Cancel(resourceGroupName string, deploymentName string) (result autorest.Response, ae error)
- func (client DeploymentsManagementClient) CancelPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsManagementClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeploymentsManagementClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsManagementClient) CheckExistence(resourceGroupName string, deploymentName string) (result autorest.Response, ae error)
- func (client DeploymentsManagementClient) CheckExistencePreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeploymentsManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsManagementClient) CreateOrUpdate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentExtended, ae error)
- func (client DeploymentsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
- func (client DeploymentsManagementClient) CreateOrUpdateResponder(resp *http.Response) (result DeploymentExtended, err error)
- func (client DeploymentsManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsManagementClient) Delete(resourceGroupName string, deploymentName string) (result autorest.Response, ae error)
- func (client DeploymentsManagementClient) DeletePreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeploymentsManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsManagementClient) Get(resourceGroupName string, deploymentName string) (result DeploymentExtended, ae error)
- func (client DeploymentsManagementClient) GetPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsManagementClient) GetResponder(resp *http.Response) (result DeploymentExtended, err error)
- func (client DeploymentsManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsManagementClient) List(resourceGroupName string, filter string, top *int) (result DeploymentListResult, ae error)
- func (client DeploymentsManagementClient) ListNextResults(lastResults DeploymentListResult) (result DeploymentListResult, ae error)
- func (client DeploymentsManagementClient) ListPreparer(resourceGroupName string, filter string, top *int) (*http.Request, error)
- func (client DeploymentsManagementClient) ListResponder(resp *http.Response) (result DeploymentListResult, err error)
- func (client DeploymentsManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsManagementClient) Validate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, ae error)
- func (client DeploymentsManagementClient) ValidatePreparer(resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
- func (client DeploymentsManagementClient) ValidateResponder(resp *http.Response) (result DeploymentValidateResult, err error)
- func (client DeploymentsManagementClient) ValidateSender(req *http.Request) (*http.Response, error)
- type GenericResource
- type GenericResourceFilter
- type GroupsManagementClient
- func (client GroupsManagementClient) CheckExistence(resourceGroupName string) (result autorest.Response, ae error)
- func (client GroupsManagementClient) CheckExistencePreparer(resourceGroupName string) (*http.Request, error)
- func (client GroupsManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupsManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client GroupsManagementClient) CreateOrUpdate(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, ae error)
- func (client GroupsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, parameters ResourceGroup) (*http.Request, error)
- func (client GroupsManagementClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceGroup, err error)
- func (client GroupsManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client GroupsManagementClient) Delete(resourceGroupName string) (result autorest.Response, ae error)
- func (client GroupsManagementClient) DeletePreparer(resourceGroupName string) (*http.Request, error)
- func (client GroupsManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupsManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client GroupsManagementClient) Get(resourceGroupName string) (result ResourceGroup, ae error)
- func (client GroupsManagementClient) GetPreparer(resourceGroupName string) (*http.Request, error)
- func (client GroupsManagementClient) GetResponder(resp *http.Response) (result ResourceGroup, err error)
- func (client GroupsManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GroupsManagementClient) List(filter string, top *int) (result ResourceGroupListResult, ae error)
- func (client GroupsManagementClient) ListNextResults(lastResults ResourceGroupListResult) (result ResourceGroupListResult, ae error)
- func (client GroupsManagementClient) ListPreparer(filter string, top *int) (*http.Request, error)
- func (client GroupsManagementClient) ListResources(resourceGroupName string, filter string, top *int) (result ResourceListResult, ae error)
- func (client GroupsManagementClient) ListResourcesNextResults(lastResults ResourceListResult) (result ResourceListResult, ae error)
- func (client GroupsManagementClient) ListResourcesPreparer(resourceGroupName string, filter string, top *int) (*http.Request, error)
- func (client GroupsManagementClient) ListResourcesResponder(resp *http.Response) (result ResourceListResult, err error)
- func (client GroupsManagementClient) ListResourcesSender(req *http.Request) (*http.Response, error)
- func (client GroupsManagementClient) ListResponder(resp *http.Response) (result ResourceGroupListResult, err error)
- func (client GroupsManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client GroupsManagementClient) Patch(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, ae error)
- func (client GroupsManagementClient) PatchPreparer(resourceGroupName string, parameters ResourceGroup) (*http.Request, error)
- func (client GroupsManagementClient) PatchResponder(resp *http.Response) (result ResourceGroup, err error)
- func (client GroupsManagementClient) PatchSender(req *http.Request) (*http.Response, error)
- type ManagementClient
- func (client ManagementClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, ...) (result autorest.Response, ae error)
- func (client ManagementClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, ...) (result GenericResource, ae error)
- func (client ManagementClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ManagementClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)
- func (client ManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Delete(resourceGroupName string, resourceProviderNamespace string, ...) (result autorest.Response, ae error)
- func (client ManagementClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Get(resourceGroupName string, resourceProviderNamespace string, ...) (result GenericResource, ae error)
- func (client ManagementClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ManagementClient) GetResponder(resp *http.Response) (result GenericResource, err error)
- func (client ManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) List(filter string, top *int) (result ResourceListResult, ae error)
- func (client ManagementClient) ListNextResults(lastResults ResourceListResult) (result ResourceListResult, ae error)
- func (client ManagementClient) ListPreparer(filter string, top *int) (*http.Request, error)
- func (client ManagementClient) ListResponder(resp *http.Response) (result ResourceListResult, err error)
- func (client ManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo) (result autorest.Response, ae error)
- func (client ManagementClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo) (*http.Request, error)
- func (client ManagementClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) MoveResourcesSender(req *http.Request) (*http.Response, error)
- type MoveInfo
- type Operation
- type ParametersLink
- type Plan
- type Provider
- type ProviderListResult
- type ProviderOperationDetailsManagementClient
- func (client ProviderOperationDetailsManagementClient) List(resourceProviderNamespace string, apiVersion string) (result ResourceProviderOperationDetailListResult, ae error)
- func (client ProviderOperationDetailsManagementClient) ListPreparer(resourceProviderNamespace string, apiVersion string) (*http.Request, error)
- func (client ProviderOperationDetailsManagementClient) ListResponder(resp *http.Response) (result ResourceProviderOperationDetailListResult, err error)
- func (client ProviderOperationDetailsManagementClient) ListSender(req *http.Request) (*http.Response, error)
- type ProviderOperationsMetadata
- type ProviderOperationsMetadataListResult
- type ProviderOperationsMetadataOperationsManagementClient
- func NewProviderOperationsMetadataOperationsManagementClient(subscriptionID string) ProviderOperationsMetadataOperationsManagementClient
- func NewProviderOperationsMetadataOperationsManagementClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsMetadataOperationsManagementClient
- func (client ProviderOperationsMetadataOperationsManagementClient) Get(resourceProviderNamespace string, apiVersion string, expand string) (result ProviderOperationsMetadata, ae error)
- func (client ProviderOperationsMetadataOperationsManagementClient) GetPreparer(resourceProviderNamespace string, apiVersion string, expand string) (*http.Request, error)
- func (client ProviderOperationsMetadataOperationsManagementClient) GetResponder(resp *http.Response) (result ProviderOperationsMetadata, err error)
- func (client ProviderOperationsMetadataOperationsManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProviderOperationsMetadataOperationsManagementClient) List(apiVersion string, expand string) (result ProviderOperationsMetadataListResult, ae error)
- func (client ProviderOperationsMetadataOperationsManagementClient) ListPreparer(apiVersion string, expand string) (*http.Request, error)
- func (client ProviderOperationsMetadataOperationsManagementClient) ListResponder(resp *http.Response) (result ProviderOperationsMetadataListResult, err error)
- func (client ProviderOperationsMetadataOperationsManagementClient) ListSender(req *http.Request) (*http.Response, error)
- type ProviderResourceType
- type ProvidersManagementClient
- func (client ProvidersManagementClient) Get(resourceProviderNamespace string) (result Provider, ae error)
- func (client ProvidersManagementClient) GetPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProvidersManagementClient) GetResponder(resp *http.Response) (result Provider, err error)
- func (client ProvidersManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProvidersManagementClient) List(top *int) (result ProviderListResult, ae error)
- func (client ProvidersManagementClient) ListNextResults(lastResults ProviderListResult) (result ProviderListResult, ae error)
- func (client ProvidersManagementClient) ListPreparer(top *int) (*http.Request, error)
- func (client ProvidersManagementClient) ListResponder(resp *http.Response) (result ProviderListResult, err error)
- func (client ProvidersManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ProvidersManagementClient) Register(resourceProviderNamespace string) (result Provider, ae error)
- func (client ProvidersManagementClient) RegisterPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProvidersManagementClient) RegisterResponder(resp *http.Response) (result Provider, err error)
- func (client ProvidersManagementClient) RegisterSender(req *http.Request) (*http.Response, error)
- func (client ProvidersManagementClient) Unregister(resourceProviderNamespace string) (result Provider, ae error)
- func (client ProvidersManagementClient) UnregisterPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProvidersManagementClient) UnregisterResponder(resp *http.Response) (result Provider, err error)
- func (client ProvidersManagementClient) UnregisterSender(req *http.Request) (*http.Response, error)
- type Resource
- type ResourceGroup
- type ResourceGroupFilter
- type ResourceGroupListResult
- type ResourceGroupProperties
- type ResourceListResult
- type ResourceManagementError
- type ResourceManagementErrorWithDetails
- type ResourceProviderOperationDefinition
- type ResourceProviderOperationDetailListResult
- type ResourceProviderOperationDisplayProperties
- type ResourceType
- type ResourcesManagementClient
- func (client ResourcesManagementClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, ...) (result autorest.Response, ae error)
- func (client ResourcesManagementClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ResourcesManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ResourcesManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client ResourcesManagementClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, ...) (result GenericResource, ae error)
- func (client ResourcesManagementClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ResourcesManagementClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)
- func (client ResourcesManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ResourcesManagementClient) Delete(resourceGroupName string, resourceProviderNamespace string, ...) (result autorest.Response, ae error)
- func (client ResourcesManagementClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ResourcesManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ResourcesManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ResourcesManagementClient) Get(resourceGroupName string, resourceProviderNamespace string, ...) (result GenericResource, ae error)
- func (client ResourcesManagementClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client ResourcesManagementClient) GetResponder(resp *http.Response) (result GenericResource, err error)
- func (client ResourcesManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ResourcesManagementClient) List(filter string, top *int) (result ResourceListResult, ae error)
- func (client ResourcesManagementClient) ListNextResults(lastResults ResourceListResult) (result ResourceListResult, ae error)
- func (client ResourcesManagementClient) ListPreparer(filter string, top *int) (*http.Request, error)
- func (client ResourcesManagementClient) ListResponder(resp *http.Response) (result ResourceListResult, err error)
- func (client ResourcesManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ResourcesManagementClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo) (result autorest.Response, ae error)
- func (client ResourcesManagementClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo) (*http.Request, error)
- func (client ResourcesManagementClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ResourcesManagementClient) MoveResourcesSender(req *http.Request) (*http.Response, error)
- type SubResource
- type TagCount
- type TagDetails
- type TagValue
- type TagsListResult
- type TagsManagementClient
- func (client TagsManagementClient) CreateOrUpdate(tagName string) (result TagDetails, ae error)
- func (client TagsManagementClient) CreateOrUpdatePreparer(tagName string) (*http.Request, error)
- func (client TagsManagementClient) CreateOrUpdateResponder(resp *http.Response) (result TagDetails, err error)
- func (client TagsManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TagsManagementClient) CreateOrUpdateValue(tagName string, tagValue string) (result TagValue, ae error)
- func (client TagsManagementClient) CreateOrUpdateValuePreparer(tagName string, tagValue string) (*http.Request, error)
- func (client TagsManagementClient) CreateOrUpdateValueResponder(resp *http.Response) (result TagValue, err error)
- func (client TagsManagementClient) CreateOrUpdateValueSender(req *http.Request) (*http.Response, error)
- func (client TagsManagementClient) Delete(tagName string) (result autorest.Response, ae error)
- func (client TagsManagementClient) DeletePreparer(tagName string) (*http.Request, error)
- func (client TagsManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TagsManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client TagsManagementClient) DeleteValue(tagName string, tagValue string) (result autorest.Response, ae error)
- func (client TagsManagementClient) DeleteValuePreparer(tagName string, tagValue string) (*http.Request, error)
- func (client TagsManagementClient) DeleteValueResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TagsManagementClient) DeleteValueSender(req *http.Request) (*http.Response, error)
- func (client TagsManagementClient) List() (result TagsListResult, ae error)
- func (client TagsManagementClient) ListNextResults(lastResults TagsListResult) (result TagsListResult, ae error)
- func (client TagsManagementClient) ListPreparer() (*http.Request, error)
- func (client TagsManagementClient) ListResponder(resp *http.Response) (result TagsListResult, err error)
- func (client TagsManagementClient) ListSender(req *http.Request) (*http.Response, error)
- type TargetResource
- type TemplateLink
Constants ¶
const ( // APIVersion is the version of the Resources APIVersion = "2014-04-01-preview" // DefaultBaseURI is the default URI used for the service Resources 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 BasicDependency ¶
type BasicDependency struct { ID *string `json:"id,omitempty"` ResourceType *string `json:"resourceType,omitempty"` ResourceName *string `json:"resourceName,omitempty"` }
BasicDependency is deployment dependency information.
type Dependency ¶
type Dependency struct { DependsOn *[]BasicDependency `json:"dependsOn,omitempty"` ID *string `json:"id,omitempty"` ResourceType *string `json:"resourceType,omitempty"` ResourceName *string `json:"resourceName,omitempty"` }
Dependency is deployment dependency information.
type Deployment ¶
type Deployment struct {
Properties *DeploymentProperties `json:"properties,omitempty"`
}
Deployment is deployment operation parameters.
type DeploymentExtended ¶
type DeploymentExtended struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` }
DeploymentExtended is deployment information.
type DeploymentExtendedFilter ¶
type DeploymentExtendedFilter struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
DeploymentExtendedFilter is deployment filter.
type DeploymentListResult ¶
type DeploymentListResult struct { autorest.Response `json:"-"` Value *[]DeploymentExtended `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DeploymentListResult is list of deployments.
func (DeploymentListResult) DeploymentListResultPreparer ¶
func (client DeploymentListResult) DeploymentListResultPreparer() (*http.Request, error)
DeploymentListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DeploymentMode ¶
type DeploymentMode string
DeploymentMode enumerates the values for deployment mode.
const ( // Complete specifies the complete state for deployment mode. Complete DeploymentMode = "Complete" // Incremental specifies the incremental state for deployment mode. Incremental DeploymentMode = "Incremental" )
type DeploymentOperation ¶
type DeploymentOperation struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` OperationID *string `json:"operationId,omitempty"` Properties *DeploymentOperationProperties `json:"properties,omitempty"` }
DeploymentOperation is deployment operation information.
type DeploymentOperationProperties ¶
type DeploymentOperationProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` Timestamp *date.Time `json:"timestamp,omitempty"` StatusCode *string `json:"statusCode,omitempty"` StatusMessage *map[string]interface{} `json:"statusMessage,omitempty"` TargetResource *TargetResource `json:"targetResource,omitempty"` }
DeploymentOperationProperties is deployment operation properties.
type DeploymentOperationsListResult ¶
type DeploymentOperationsListResult struct { autorest.Response `json:"-"` Value *[]DeploymentOperation `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DeploymentOperationsListResult is list of deployment operations.
func (DeploymentOperationsListResult) DeploymentOperationsListResultPreparer ¶
func (client DeploymentOperationsListResult) DeploymentOperationsListResultPreparer() (*http.Request, error)
DeploymentOperationsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DeploymentOperationsManagementClient ¶
type DeploymentOperationsManagementClient struct {
ManagementClient
}
DeploymentOperationsManagementClient is the client for the DeploymentOperations methods of the Resources service.
func NewDeploymentOperationsManagementClient ¶
func NewDeploymentOperationsManagementClient(subscriptionID string) DeploymentOperationsManagementClient
NewDeploymentOperationsManagementClient creates an instance of the DeploymentOperationsManagementClient client.
func NewDeploymentOperationsManagementClientWithBaseURI ¶
func NewDeploymentOperationsManagementClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsManagementClient
NewDeploymentOperationsManagementClientWithBaseURI creates an instance of the DeploymentOperationsManagementClient client.
func (DeploymentOperationsManagementClient) Get ¶
func (client DeploymentOperationsManagementClient) Get(resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, ae error)
Get get a list of deployments operations.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment. operationID is operation Id.
func (DeploymentOperationsManagementClient) GetPreparer ¶
func (client DeploymentOperationsManagementClient) GetPreparer(resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeploymentOperationsManagementClient) GetResponder ¶
func (client DeploymentOperationsManagementClient) GetResponder(resp *http.Response) (result DeploymentOperation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DeploymentOperationsManagementClient) GetSender ¶
func (client DeploymentOperationsManagementClient) 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 (DeploymentOperationsManagementClient) List ¶
func (client DeploymentOperationsManagementClient) List(resourceGroupName string, deploymentName string, top *int) (result DeploymentOperationsListResult, ae error)
List gets a list of deployments operations.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment. top is query parameters.
func (DeploymentOperationsManagementClient) ListNextResults ¶
func (client DeploymentOperationsManagementClient) ListNextResults(lastResults DeploymentOperationsListResult) (result DeploymentOperationsListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (DeploymentOperationsManagementClient) ListPreparer ¶
func (client DeploymentOperationsManagementClient) ListPreparer(resourceGroupName string, deploymentName string, top *int) (*http.Request, error)
ListPreparer prepares the List request.
func (DeploymentOperationsManagementClient) ListResponder ¶
func (client DeploymentOperationsManagementClient) ListResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DeploymentOperationsManagementClient) ListSender ¶
func (client DeploymentOperationsManagementClient) 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 DeploymentProperties ¶
type DeploymentProperties struct { Template *map[string]interface{} `json:"template,omitempty"` TemplateLink *TemplateLink `json:"templateLink,omitempty"` Parameters *map[string]interface{} `json:"parameters,omitempty"` ParametersLink *ParametersLink `json:"parametersLink,omitempty"` Mode DeploymentMode `json:"mode,omitempty"` }
DeploymentProperties is deployment properties.
type DeploymentPropertiesExtended ¶
type DeploymentPropertiesExtended struct { ProvisioningState *string `json:"provisioningState,omitempty"` CorrelationID *string `json:"correlationId,omitempty"` Timestamp *date.Time `json:"timestamp,omitempty"` Outputs *map[string]interface{} `json:"outputs,omitempty"` Providers *[]Provider `json:"providers,omitempty"` Dependencies *[]Dependency `json:"dependencies,omitempty"` Template *map[string]interface{} `json:"template,omitempty"` TemplateLink *TemplateLink `json:"templateLink,omitempty"` Parameters *map[string]interface{} `json:"parameters,omitempty"` ParametersLink *ParametersLink `json:"parametersLink,omitempty"` Mode DeploymentMode `json:"mode,omitempty"` }
DeploymentPropertiesExtended is deployment properties with additional details.
type DeploymentValidateResult ¶
type DeploymentValidateResult struct { autorest.Response `json:"-"` Error *ResourceManagementErrorWithDetails `json:"error,omitempty"` Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` }
DeploymentValidateResult is information from validate template deployment response.
type DeploymentsManagementClient ¶
type DeploymentsManagementClient struct {
ManagementClient
}
DeploymentsManagementClient is the client for the Deployments methods of the Resources service.
func NewDeploymentsManagementClient ¶
func NewDeploymentsManagementClient(subscriptionID string) DeploymentsManagementClient
NewDeploymentsManagementClient creates an instance of the DeploymentsManagementClient client.
func NewDeploymentsManagementClientWithBaseURI ¶
func NewDeploymentsManagementClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsManagementClient
NewDeploymentsManagementClientWithBaseURI creates an instance of the DeploymentsManagementClient client.
func (DeploymentsManagementClient) Cancel ¶
func (client DeploymentsManagementClient) Cancel(resourceGroupName string, deploymentName string) (result autorest.Response, ae error)
Cancel cancel a currently running template deployment.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment.
func (DeploymentsManagementClient) CancelPreparer ¶
func (client DeploymentsManagementClient) CancelPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (DeploymentsManagementClient) CancelResponder ¶
func (client DeploymentsManagementClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.
func (DeploymentsManagementClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (DeploymentsManagementClient) CheckExistence ¶
func (client DeploymentsManagementClient) CheckExistence(resourceGroupName string, deploymentName string) (result autorest.Response, ae error)
CheckExistence checks whether deployment exists.
resourceGroupName is the name of the resource group to check. The name is case insensitive. deploymentName is the name of the deployment.
func (DeploymentsManagementClient) CheckExistencePreparer ¶
func (client DeploymentsManagementClient) CheckExistencePreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (DeploymentsManagementClient) CheckExistenceResponder ¶
func (client DeploymentsManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.
func (DeploymentsManagementClient) CheckExistenceSender ¶
func (client DeploymentsManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (DeploymentsManagementClient) CreateOrUpdate ¶
func (client DeploymentsManagementClient) CreateOrUpdate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentExtended, ae error)
CreateOrUpdate create a named template deployment using a template.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment. parameters is additional parameters supplied to the operation.
func (DeploymentsManagementClient) CreateOrUpdatePreparer ¶
func (client DeploymentsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DeploymentsManagementClient) CreateOrUpdateResponder ¶
func (client DeploymentsManagementClient) CreateOrUpdateResponder(resp *http.Response) (result DeploymentExtended, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DeploymentsManagementClient) CreateOrUpdateSender ¶
func (client DeploymentsManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DeploymentsManagementClient) Delete ¶
func (client DeploymentsManagementClient) Delete(resourceGroupName string, deploymentName string) (result autorest.Response, ae error)
Delete begin deleting deployment.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment to be deleted.
func (DeploymentsManagementClient) DeletePreparer ¶
func (client DeploymentsManagementClient) DeletePreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DeploymentsManagementClient) DeleteResponder ¶
func (client DeploymentsManagementClient) 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 (DeploymentsManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DeploymentsManagementClient) Get ¶
func (client DeploymentsManagementClient) Get(resourceGroupName string, deploymentName string) (result DeploymentExtended, ae error)
Get get a deployment.
resourceGroupName is the name of the resource group to get. The name is case insensitive. deploymentName is the name of the deployment.
func (DeploymentsManagementClient) GetPreparer ¶
func (client DeploymentsManagementClient) GetPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeploymentsManagementClient) GetResponder ¶
func (client DeploymentsManagementClient) GetResponder(resp *http.Response) (result DeploymentExtended, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DeploymentsManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DeploymentsManagementClient) List ¶
func (client DeploymentsManagementClient) List(resourceGroupName string, filter string, top *int) (result DeploymentListResult, ae error)
List get a list of deployments.
resourceGroupName is the name of the resource group to filter by. The name is case insensitive. filter is the filter to apply on the operation. top is query parameters. If null is passed returns all deployments.
func (DeploymentsManagementClient) ListNextResults ¶
func (client DeploymentsManagementClient) ListNextResults(lastResults DeploymentListResult) (result DeploymentListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (DeploymentsManagementClient) ListPreparer ¶
func (client DeploymentsManagementClient) ListPreparer(resourceGroupName string, filter string, top *int) (*http.Request, error)
ListPreparer prepares the List request.
func (DeploymentsManagementClient) ListResponder ¶
func (client DeploymentsManagementClient) ListResponder(resp *http.Response) (result DeploymentListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DeploymentsManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DeploymentsManagementClient) Validate ¶
func (client DeploymentsManagementClient) Validate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, ae error)
Validate validate a deployment template.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment. parameters is deployment to validate.
func (DeploymentsManagementClient) ValidatePreparer ¶
func (client DeploymentsManagementClient) ValidatePreparer(resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
ValidatePreparer prepares the Validate request.
func (DeploymentsManagementClient) ValidateResponder ¶
func (client DeploymentsManagementClient) ValidateResponder(resp *http.Response) (result DeploymentValidateResult, err error)
ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.
func (DeploymentsManagementClient) ValidateSender ¶
ValidateSender sends the Validate request. The method will close the http.Response Body if it receives an error.
type GenericResource ¶
type GenericResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *map[string]interface{} `json:"properties,omitempty"` }
GenericResource is resource information.
type GenericResourceFilter ¶
type GenericResourceFilter struct { ResourceType *string `json:"resourceType,omitempty"` Tagname *string `json:"tagname,omitempty"` Tagvalue *string `json:"tagvalue,omitempty"` }
GenericResourceFilter is resource filter.
type GroupsManagementClient ¶
type GroupsManagementClient struct {
ManagementClient
}
GroupsManagementClient is the client for the Groups methods of the Resources service.
func NewGroupsManagementClient ¶
func NewGroupsManagementClient(subscriptionID string) GroupsManagementClient
NewGroupsManagementClient creates an instance of the GroupsManagementClient client.
func NewGroupsManagementClientWithBaseURI ¶
func NewGroupsManagementClientWithBaseURI(baseURI string, subscriptionID string) GroupsManagementClient
NewGroupsManagementClientWithBaseURI creates an instance of the GroupsManagementClient client.
func (GroupsManagementClient) CheckExistence ¶
func (client GroupsManagementClient) CheckExistence(resourceGroupName string) (result autorest.Response, ae error)
CheckExistence checks whether resource group exists.
resourceGroupName is the name of the resource group to check. The name is case insensitive.
func (GroupsManagementClient) CheckExistencePreparer ¶
func (client GroupsManagementClient) CheckExistencePreparer(resourceGroupName string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (GroupsManagementClient) CheckExistenceResponder ¶
func (client GroupsManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.
func (GroupsManagementClient) CheckExistenceSender ¶
func (client GroupsManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (GroupsManagementClient) CreateOrUpdate ¶
func (client GroupsManagementClient) CreateOrUpdate(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, ae error)
CreateOrUpdate create a resource group.
resourceGroupName is the name of the resource group to be created or updated. parameters is parameters supplied to the create or update resource group service operation.
func (GroupsManagementClient) CreateOrUpdatePreparer ¶
func (client GroupsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, parameters ResourceGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (GroupsManagementClient) CreateOrUpdateResponder ¶
func (client GroupsManagementClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (GroupsManagementClient) CreateOrUpdateSender ¶
func (client GroupsManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (GroupsManagementClient) Delete ¶
func (client GroupsManagementClient) Delete(resourceGroupName string) (result autorest.Response, ae error)
Delete begin deleting resource group.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus.
resourceGroupName is the name of the resource group to be deleted. The name is case insensitive.
func (GroupsManagementClient) DeletePreparer ¶
func (client GroupsManagementClient) DeletePreparer(resourceGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (GroupsManagementClient) DeleteResponder ¶
func (client GroupsManagementClient) 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 (GroupsManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (GroupsManagementClient) Get ¶
func (client GroupsManagementClient) Get(resourceGroupName string) (result ResourceGroup, ae error)
Get get a resource group.
resourceGroupName is the name of the resource group to get. The name is case insensitive.
func (GroupsManagementClient) GetPreparer ¶
func (client GroupsManagementClient) GetPreparer(resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GroupsManagementClient) GetResponder ¶
func (client GroupsManagementClient) GetResponder(resp *http.Response) (result ResourceGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (GroupsManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GroupsManagementClient) List ¶
func (client GroupsManagementClient) List(filter string, top *int) (result ResourceGroupListResult, ae error)
List gets a collection of resource groups.
filter is the filter to apply on the operation. top is query parameters. If null is passed returns all resource groups.
func (GroupsManagementClient) ListNextResults ¶
func (client GroupsManagementClient) ListNextResults(lastResults ResourceGroupListResult) (result ResourceGroupListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (GroupsManagementClient) ListPreparer ¶
ListPreparer prepares the List request.
func (GroupsManagementClient) ListResources ¶
func (client GroupsManagementClient) ListResources(resourceGroupName string, filter string, top *int) (result ResourceListResult, ae error)
ListResources get all of the resources under a subscription.
resourceGroupName is query parameters. If null is passed returns all resource groups. filter is the filter to apply on the operation. top is query parameters. If null is passed returns all resource groups.
func (GroupsManagementClient) ListResourcesNextResults ¶
func (client GroupsManagementClient) ListResourcesNextResults(lastResults ResourceListResult) (result ResourceListResult, ae error)
ListResourcesNextResults retrieves the next set of results, if any.
func (GroupsManagementClient) ListResourcesPreparer ¶
func (client GroupsManagementClient) ListResourcesPreparer(resourceGroupName string, filter string, top *int) (*http.Request, error)
ListResourcesPreparer prepares the ListResources request.
func (GroupsManagementClient) ListResourcesResponder ¶
func (client GroupsManagementClient) ListResourcesResponder(resp *http.Response) (result ResourceListResult, err error)
ListResourcesResponder handles the response to the ListResources request. The method always closes the http.Response Body.
func (GroupsManagementClient) ListResourcesSender ¶
ListResourcesSender sends the ListResources request. The method will close the http.Response Body if it receives an error.
func (GroupsManagementClient) ListResponder ¶
func (client GroupsManagementClient) ListResponder(resp *http.Response) (result ResourceGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (GroupsManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (GroupsManagementClient) Patch ¶
func (client GroupsManagementClient) Patch(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, ae error)
Patch resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource groups, though if a field is unspecified current value will be carried over.
resourceGroupName is the name of the resource group to be created or updated. The name is case insensitive. parameters is parameters supplied to the update state resource group service operation.
func (GroupsManagementClient) PatchPreparer ¶
func (client GroupsManagementClient) PatchPreparer(resourceGroupName string, parameters ResourceGroup) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (GroupsManagementClient) PatchResponder ¶
func (client GroupsManagementClient) PatchResponder(resp *http.Response) (result ResourceGroup, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (GroupsManagementClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
type ManagementClient ¶
ManagementClient is the base client for Resources.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
func (ManagementClient) CheckExistence ¶
func (client ManagementClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (result autorest.Response, ae error)
CheckExistence checks whether resource exists.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity.
func (ManagementClient) CheckExistencePreparer ¶
func (client ManagementClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (ManagementClient) CheckExistenceResponder ¶
func (client ManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.
func (ManagementClient) CheckExistenceSender ¶
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) CreateOrUpdate ¶
func (client ManagementClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters GenericResource) (result GenericResource, ae error)
CreateOrUpdate create a resource.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity. parameters is create or update resource parameters.
func (ManagementClient) CreateOrUpdatePreparer ¶
func (client ManagementClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters GenericResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagementClient) CreateOrUpdateResponder ¶
func (client ManagementClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagementClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Delete ¶
func (client ManagementClient) Delete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (result autorest.Response, ae error)
Delete delete resource and all of its resources.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity.
func (ManagementClient) DeletePreparer ¶
func (client ManagementClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagementClient) DeleteResponder ¶
func (client ManagementClient) 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 (ManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Get ¶
func (client ManagementClient) Get(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (result GenericResource, ae error)
Get returns a resource belonging to a resource group.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity.
func (ManagementClient) GetPreparer ¶
func (client ManagementClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagementClient) GetResponder ¶
func (client ManagementClient) GetResponder(resp *http.Response) (result GenericResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) List ¶
func (client ManagementClient) List(filter string, top *int) (result ResourceListResult, ae error)
List get all of the resources under a subscription.
filter is the filter to apply on the operation. top is query parameters. If null is passed returns all resource groups.
func (ManagementClient) ListNextResults ¶
func (client ManagementClient) ListNextResults(lastResults ResourceListResult) (result ResourceListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (ManagementClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ManagementClient) ListResponder ¶
func (client ManagementClient) ListResponder(resp *http.Response) (result ResourceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) MoveResources ¶
func (client ManagementClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo) (result autorest.Response, ae error)
MoveResources begin moving resources.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus.
sourceResourceGroupName is source resource group name. parameters is move resources' parameters.
func (ManagementClient) MoveResourcesPreparer ¶
func (client ManagementClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo) (*http.Request, error)
MoveResourcesPreparer prepares the MoveResources request.
func (ManagementClient) MoveResourcesResponder ¶
func (client ManagementClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
MoveResourcesResponder handles the response to the MoveResources request. The method always closes the http.Response Body.
func (ManagementClient) MoveResourcesSender ¶
MoveResourcesSender sends the MoveResources request. The method will close the http.Response Body if it receives an error.
type MoveInfo ¶
type MoveInfo struct { Resources *[]string `json:"resources,omitempty"` TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` }
MoveInfo is parameters of move resources.
type Operation ¶
type Operation struct { Name *string `json:"name,omitempty"` DisplayName *string `json:"displayName,omitempty"` Description *string `json:"description,omitempty"` Origin *string `json:"origin,omitempty"` Properties *map[string]interface{} `json:"properties,omitempty"` }
Operation is operation
type ParametersLink ¶
type ParametersLink struct { URI *string `json:"uri,omitempty"` ContentVersion *string `json:"contentVersion,omitempty"` }
ParametersLink is entity representing the reference to the deployment paramaters.
type Plan ¶
type Plan struct { Name *string `json:"name,omitempty"` Publisher *string `json:"publisher,omitempty"` Product *string `json:"product,omitempty"` PromotionCode *string `json:"promotionCode,omitempty"` }
Plan is plan for the resource.
type Provider ¶
type Provider struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Namespace *string `json:"namespace,omitempty"` RegistrationState *string `json:"registrationState,omitempty"` ResourceTypes *[]ProviderResourceType `json:"resourceTypes,omitempty"` }
Provider is resource provider information.
type ProviderListResult ¶
type ProviderListResult struct { autorest.Response `json:"-"` Value *[]Provider `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ProviderListResult is list of resource providers.
func (ProviderListResult) ProviderListResultPreparer ¶
func (client ProviderListResult) ProviderListResultPreparer() (*http.Request, error)
ProviderListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ProviderOperationDetailsManagementClient ¶
type ProviderOperationDetailsManagementClient struct {
ManagementClient
}
ProviderOperationDetailsManagementClient is the client for the ProviderOperationDetails methods of the Resources service.
func NewProviderOperationDetailsManagementClient ¶
func NewProviderOperationDetailsManagementClient(subscriptionID string) ProviderOperationDetailsManagementClient
NewProviderOperationDetailsManagementClient creates an instance of the ProviderOperationDetailsManagementClient client.
func NewProviderOperationDetailsManagementClientWithBaseURI ¶
func NewProviderOperationDetailsManagementClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationDetailsManagementClient
NewProviderOperationDetailsManagementClientWithBaseURI creates an instance of the ProviderOperationDetailsManagementClient client.
func (ProviderOperationDetailsManagementClient) List ¶
func (client ProviderOperationDetailsManagementClient) List(resourceProviderNamespace string, apiVersion string) (result ResourceProviderOperationDetailListResult, ae error)
List gets a list of resource providers.
resourceProviderNamespace is resource identity.
func (ProviderOperationDetailsManagementClient) ListPreparer ¶
func (client ProviderOperationDetailsManagementClient) ListPreparer(resourceProviderNamespace string, apiVersion string) (*http.Request, error)
ListPreparer prepares the List request.
func (ProviderOperationDetailsManagementClient) ListResponder ¶
func (client ProviderOperationDetailsManagementClient) ListResponder(resp *http.Response) (result ResourceProviderOperationDetailListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ProviderOperationDetailsManagementClient) ListSender ¶
func (client ProviderOperationDetailsManagementClient) 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 ProviderOperationsMetadata ¶
type ProviderOperationsMetadata struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` DisplayName *string `json:"displayName,omitempty"` ResourceTypes *[]ResourceType `json:"resourceTypes,omitempty"` Operations *[]Operation `json:"operations,omitempty"` }
ProviderOperationsMetadata is provider Operations metadata
type ProviderOperationsMetadataListResult ¶
type ProviderOperationsMetadataListResult struct { autorest.Response `json:"-"` Value *[]ProviderOperationsMetadata `json:"value,omitempty"` }
ProviderOperationsMetadataListResult is provider operations metadata list
type ProviderOperationsMetadataOperationsManagementClient ¶
type ProviderOperationsMetadataOperationsManagementClient struct {
ManagementClient
}
ProviderOperationsMetadataOperationsManagementClient is the client for the ProviderOperationsMetadataOperations methods of the Resources service.
func NewProviderOperationsMetadataOperationsManagementClient ¶
func NewProviderOperationsMetadataOperationsManagementClient(subscriptionID string) ProviderOperationsMetadataOperationsManagementClient
NewProviderOperationsMetadataOperationsManagementClient creates an instance of the ProviderOperationsMetadataOperationsManagementClient client.
func NewProviderOperationsMetadataOperationsManagementClientWithBaseURI ¶
func NewProviderOperationsMetadataOperationsManagementClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsMetadataOperationsManagementClient
NewProviderOperationsMetadataOperationsManagementClientWithBaseURI creates an instance of the ProviderOperationsMetadataOperationsManagementClient client.
func (ProviderOperationsMetadataOperationsManagementClient) Get ¶
func (client ProviderOperationsMetadataOperationsManagementClient) Get(resourceProviderNamespace string, apiVersion string, expand string) (result ProviderOperationsMetadata, ae error)
Get gets provider operations metadata
resourceProviderNamespace is namespace of the resource provider.
func (ProviderOperationsMetadataOperationsManagementClient) GetPreparer ¶
func (client ProviderOperationsMetadataOperationsManagementClient) GetPreparer(resourceProviderNamespace string, apiVersion string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProviderOperationsMetadataOperationsManagementClient) GetResponder ¶
func (client ProviderOperationsMetadataOperationsManagementClient) GetResponder(resp *http.Response) (result ProviderOperationsMetadata, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ProviderOperationsMetadataOperationsManagementClient) GetSender ¶
func (client ProviderOperationsMetadataOperationsManagementClient) 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 (ProviderOperationsMetadataOperationsManagementClient) List ¶
func (client ProviderOperationsMetadataOperationsManagementClient) List(apiVersion string, expand string) (result ProviderOperationsMetadataListResult, ae error)
List gets provider operations metadata list
func (ProviderOperationsMetadataOperationsManagementClient) ListPreparer ¶
func (client ProviderOperationsMetadataOperationsManagementClient) ListPreparer(apiVersion string, expand string) (*http.Request, error)
ListPreparer prepares the List request.
func (ProviderOperationsMetadataOperationsManagementClient) ListResponder ¶
func (client ProviderOperationsMetadataOperationsManagementClient) ListResponder(resp *http.Response) (result ProviderOperationsMetadataListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ProviderOperationsMetadataOperationsManagementClient) ListSender ¶
func (client ProviderOperationsMetadataOperationsManagementClient) 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 ProviderResourceType ¶
type ProviderResourceType struct { ResourceType *string `json:"resourceType,omitempty"` Locations *[]string `json:"locations,omitempty"` APIVersions *[]string `json:"apiVersions,omitempty"` Properties *map[string]*string `json:"properties,omitempty"` }
ProviderResourceType is resource type managed by the resource provider.
type ProvidersManagementClient ¶
type ProvidersManagementClient struct {
ManagementClient
}
ProvidersManagementClient is the client for the Providers methods of the Resources service.
func NewProvidersManagementClient ¶
func NewProvidersManagementClient(subscriptionID string) ProvidersManagementClient
NewProvidersManagementClient creates an instance of the ProvidersManagementClient client.
func NewProvidersManagementClientWithBaseURI ¶
func NewProvidersManagementClientWithBaseURI(baseURI string, subscriptionID string) ProvidersManagementClient
NewProvidersManagementClientWithBaseURI creates an instance of the ProvidersManagementClient client.
func (ProvidersManagementClient) Get ¶
func (client ProvidersManagementClient) Get(resourceProviderNamespace string) (result Provider, ae error)
Get gets a resource provider.
resourceProviderNamespace is namespace of the resource provider.
func (ProvidersManagementClient) GetPreparer ¶
func (client ProvidersManagementClient) GetPreparer(resourceProviderNamespace string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProvidersManagementClient) GetResponder ¶
func (client ProvidersManagementClient) GetResponder(resp *http.Response) (result Provider, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ProvidersManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ProvidersManagementClient) List ¶
func (client ProvidersManagementClient) List(top *int) (result ProviderListResult, ae error)
List gets a list of resource providers.
top is query parameters. If null is passed returns all deployments.
func (ProvidersManagementClient) ListNextResults ¶
func (client ProvidersManagementClient) ListNextResults(lastResults ProviderListResult) (result ProviderListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (ProvidersManagementClient) ListPreparer ¶
func (client ProvidersManagementClient) ListPreparer(top *int) (*http.Request, error)
ListPreparer prepares the List request.
func (ProvidersManagementClient) ListResponder ¶
func (client ProvidersManagementClient) ListResponder(resp *http.Response) (result ProviderListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ProvidersManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ProvidersManagementClient) Register ¶
func (client ProvidersManagementClient) Register(resourceProviderNamespace string) (result Provider, ae error)
Register registers provider to be used with a subscription.
resourceProviderNamespace is namespace of the resource provider.
func (ProvidersManagementClient) RegisterPreparer ¶
func (client ProvidersManagementClient) RegisterPreparer(resourceProviderNamespace string) (*http.Request, error)
RegisterPreparer prepares the Register request.
func (ProvidersManagementClient) RegisterResponder ¶
func (client ProvidersManagementClient) RegisterResponder(resp *http.Response) (result Provider, err error)
RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.
func (ProvidersManagementClient) RegisterSender ¶
RegisterSender sends the Register request. The method will close the http.Response Body if it receives an error.
func (ProvidersManagementClient) Unregister ¶
func (client ProvidersManagementClient) Unregister(resourceProviderNamespace string) (result Provider, ae error)
Unregister unregisters provider from a subscription.
resourceProviderNamespace is namespace of the resource provider.
func (ProvidersManagementClient) UnregisterPreparer ¶
func (client ProvidersManagementClient) UnregisterPreparer(resourceProviderNamespace string) (*http.Request, error)
UnregisterPreparer prepares the Unregister request.
func (ProvidersManagementClient) UnregisterResponder ¶
func (client ProvidersManagementClient) UnregisterResponder(resp *http.Response) (result Provider, err error)
UnregisterResponder handles the response to the Unregister request. The method always closes the http.Response Body.
func (ProvidersManagementClient) UnregisterSender ¶
UnregisterSender sends the Unregister request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
Resource is
type ResourceGroup ¶
type ResourceGroup struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ResourceGroupProperties `json:"properties,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
ResourceGroup is resource group information.
type ResourceGroupFilter ¶
type ResourceGroupFilter struct { TagName *string `json:"tagName,omitempty"` TagValue *string `json:"tagValue,omitempty"` }
ResourceGroupFilter is resource group filter.
type ResourceGroupListResult ¶
type ResourceGroupListResult struct { autorest.Response `json:"-"` Value *[]ResourceGroup `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ResourceGroupListResult is list of resource groups.
func (ResourceGroupListResult) ResourceGroupListResultPreparer ¶
func (client ResourceGroupListResult) ResourceGroupListResultPreparer() (*http.Request, error)
ResourceGroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ResourceGroupProperties ¶
type ResourceGroupProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
ResourceGroupProperties is the resource group properties.
type ResourceListResult ¶
type ResourceListResult struct { autorest.Response `json:"-"` Value *[]GenericResource `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ResourceListResult is list of resource groups.
func (ResourceListResult) ResourceListResultPreparer ¶
func (client ResourceListResult) ResourceListResultPreparer() (*http.Request, error)
ResourceListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ResourceManagementError ¶
type ResourceManagementError struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
ResourceManagementError is
type ResourceManagementErrorWithDetails ¶
type ResourceManagementErrorWithDetails struct { Details *[]ResourceManagementError `json:"details,omitempty"` Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
ResourceManagementErrorWithDetails is
type ResourceProviderOperationDefinition ¶
type ResourceProviderOperationDefinition struct { Name *string `json:"name,omitempty"` Display *ResourceProviderOperationDisplayProperties `json:"display,omitempty"` }
ResourceProviderOperationDefinition is resource provider operation information.
type ResourceProviderOperationDetailListResult ¶
type ResourceProviderOperationDetailListResult struct { autorest.Response `json:"-"` Value *[]ResourceProviderOperationDefinition `json:"value,omitempty"` }
ResourceProviderOperationDetailListResult is list of resource provider operations.
type ResourceProviderOperationDisplayProperties ¶
type ResourceProviderOperationDisplayProperties struct { Publisher *string `json:"publisher,omitempty"` Provider *string `json:"provider,omitempty"` Resource *string `json:"resource,omitempty"` Operation *string `json:"operation,omitempty"` Description *string `json:"description,omitempty"` }
ResourceProviderOperationDisplayProperties is resource provider operation's display properties.
type ResourceType ¶
type ResourceType struct { Name *string `json:"name,omitempty"` DisplayName *string `json:"displayName,omitempty"` Operations *[]Operation `json:"operations,omitempty"` }
ResourceType is resource Type
type ResourcesManagementClient ¶
type ResourcesManagementClient struct {
ManagementClient
}
ResourcesManagementClient is the client for the Resources methods of the Resources service.
func NewResourcesManagementClient ¶
func NewResourcesManagementClient(subscriptionID string) ResourcesManagementClient
NewResourcesManagementClient creates an instance of the ResourcesManagementClient client.
func NewResourcesManagementClientWithBaseURI ¶
func NewResourcesManagementClientWithBaseURI(baseURI string, subscriptionID string) ResourcesManagementClient
NewResourcesManagementClientWithBaseURI creates an instance of the ResourcesManagementClient client.
func (ResourcesManagementClient) CheckExistence ¶
func (client ResourcesManagementClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (result autorest.Response, ae error)
CheckExistence checks whether resource exists.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity.
func (ResourcesManagementClient) CheckExistencePreparer ¶
func (client ResourcesManagementClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (ResourcesManagementClient) CheckExistenceResponder ¶
func (client ResourcesManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.
func (ResourcesManagementClient) CheckExistenceSender ¶
func (client ResourcesManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (ResourcesManagementClient) CreateOrUpdate ¶
func (client ResourcesManagementClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters GenericResource) (result GenericResource, ae error)
CreateOrUpdate create a resource.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity. parameters is create or update resource parameters.
func (ResourcesManagementClient) CreateOrUpdatePreparer ¶
func (client ResourcesManagementClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters GenericResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ResourcesManagementClient) CreateOrUpdateResponder ¶
func (client ResourcesManagementClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ResourcesManagementClient) CreateOrUpdateSender ¶
func (client ResourcesManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ResourcesManagementClient) Delete ¶
func (client ResourcesManagementClient) Delete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (result autorest.Response, ae error)
Delete delete resource and all of its resources.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity.
func (ResourcesManagementClient) DeletePreparer ¶
func (client ResourcesManagementClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ResourcesManagementClient) DeleteResponder ¶
func (client ResourcesManagementClient) 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 (ResourcesManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ResourcesManagementClient) Get ¶
func (client ResourcesManagementClient) Get(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (result GenericResource, ae error)
Get returns a resource belonging to a resource group.
resourceGroupName is the name of the resource group. The name is case insensitive. resourceProviderNamespace is resource identity. parentResourcePath is resource identity. resourceType is resource identity. resourceName is resource identity.
func (ResourcesManagementClient) GetPreparer ¶
func (client ResourcesManagementClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ResourcesManagementClient) GetResponder ¶
func (client ResourcesManagementClient) GetResponder(resp *http.Response) (result GenericResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ResourcesManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ResourcesManagementClient) List ¶
func (client ResourcesManagementClient) List(filter string, top *int) (result ResourceListResult, ae error)
List get all of the resources under a subscription.
filter is the filter to apply on the operation. top is query parameters. If null is passed returns all resource groups.
func (ResourcesManagementClient) ListNextResults ¶
func (client ResourcesManagementClient) ListNextResults(lastResults ResourceListResult) (result ResourceListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (ResourcesManagementClient) ListPreparer ¶
func (client ResourcesManagementClient) ListPreparer(filter string, top *int) (*http.Request, error)
ListPreparer prepares the List request.
func (ResourcesManagementClient) ListResponder ¶
func (client ResourcesManagementClient) ListResponder(resp *http.Response) (result ResourceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ResourcesManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ResourcesManagementClient) MoveResources ¶
func (client ResourcesManagementClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo) (result autorest.Response, ae error)
MoveResources begin moving resources.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus.
sourceResourceGroupName is source resource group name. parameters is move resources' parameters.
func (ResourcesManagementClient) MoveResourcesPreparer ¶
func (client ResourcesManagementClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo) (*http.Request, error)
MoveResourcesPreparer prepares the MoveResources request.
func (ResourcesManagementClient) MoveResourcesResponder ¶
func (client ResourcesManagementClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
MoveResourcesResponder handles the response to the MoveResources request. The method always closes the http.Response Body.
func (ResourcesManagementClient) MoveResourcesSender ¶
func (client ResourcesManagementClient) MoveResourcesSender(req *http.Request) (*http.Response, error)
MoveResourcesSender sends the MoveResources request. The method will close the http.Response Body if it receives an error.
type TagCount ¶
type TagCount struct { Type *string `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
TagCount is tag count.
type TagDetails ¶
type TagDetails struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` TagName *string `json:"tagName,omitempty"` Count *TagCount `json:"count,omitempty"` Values *[]TagValue `json:"values,omitempty"` }
TagDetails is tag details.
type TagValue ¶
type TagValue struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` TagValueProperty *string `json:"tagValue,omitempty"` Count *TagCount `json:"count,omitempty"` }
TagValue is tag information.
type TagsListResult ¶
type TagsListResult struct { autorest.Response `json:"-"` Value *[]TagDetails `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
TagsListResult is list of subscription tags.
func (TagsListResult) TagsListResultPreparer ¶
func (client TagsListResult) TagsListResultPreparer() (*http.Request, error)
TagsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type TagsManagementClient ¶
type TagsManagementClient struct {
ManagementClient
}
TagsManagementClient is the client for the Tags methods of the Resources service.
func NewTagsManagementClient ¶
func NewTagsManagementClient(subscriptionID string) TagsManagementClient
NewTagsManagementClient creates an instance of the TagsManagementClient client.
func NewTagsManagementClientWithBaseURI ¶
func NewTagsManagementClientWithBaseURI(baseURI string, subscriptionID string) TagsManagementClient
NewTagsManagementClientWithBaseURI creates an instance of the TagsManagementClient client.
func (TagsManagementClient) CreateOrUpdate ¶
func (client TagsManagementClient) CreateOrUpdate(tagName string) (result TagDetails, ae error)
CreateOrUpdate create a subscription resource tag.
tagName is the name of the tag.
func (TagsManagementClient) CreateOrUpdatePreparer ¶
func (client TagsManagementClient) CreateOrUpdatePreparer(tagName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TagsManagementClient) CreateOrUpdateResponder ¶
func (client TagsManagementClient) CreateOrUpdateResponder(resp *http.Response) (result TagDetails, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (TagsManagementClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TagsManagementClient) CreateOrUpdateValue ¶
func (client TagsManagementClient) CreateOrUpdateValue(tagName string, tagValue string) (result TagValue, ae error)
CreateOrUpdateValue create a subscription resource tag value.
tagName is the name of the tag. tagValue is the value of the tag.
func (TagsManagementClient) CreateOrUpdateValuePreparer ¶
func (client TagsManagementClient) CreateOrUpdateValuePreparer(tagName string, tagValue string) (*http.Request, error)
CreateOrUpdateValuePreparer prepares the CreateOrUpdateValue request.
func (TagsManagementClient) CreateOrUpdateValueResponder ¶
func (client TagsManagementClient) CreateOrUpdateValueResponder(resp *http.Response) (result TagValue, err error)
CreateOrUpdateValueResponder handles the response to the CreateOrUpdateValue request. The method always closes the http.Response Body.
func (TagsManagementClient) CreateOrUpdateValueSender ¶
func (client TagsManagementClient) CreateOrUpdateValueSender(req *http.Request) (*http.Response, error)
CreateOrUpdateValueSender sends the CreateOrUpdateValue request. The method will close the http.Response Body if it receives an error.
func (TagsManagementClient) Delete ¶
func (client TagsManagementClient) Delete(tagName string) (result autorest.Response, ae error)
Delete delete a subscription resource tag.
tagName is the name of the tag.
func (TagsManagementClient) DeletePreparer ¶
func (client TagsManagementClient) DeletePreparer(tagName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (TagsManagementClient) DeleteResponder ¶
func (client TagsManagementClient) 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 (TagsManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (TagsManagementClient) DeleteValue ¶
func (client TagsManagementClient) DeleteValue(tagName string, tagValue string) (result autorest.Response, ae error)
DeleteValue delete a subscription resource tag value.
tagName is the name of the tag. tagValue is the value of the tag.
func (TagsManagementClient) DeleteValuePreparer ¶
func (client TagsManagementClient) DeleteValuePreparer(tagName string, tagValue string) (*http.Request, error)
DeleteValuePreparer prepares the DeleteValue request.
func (TagsManagementClient) DeleteValueResponder ¶
func (client TagsManagementClient) DeleteValueResponder(resp *http.Response) (result autorest.Response, err error)
DeleteValueResponder handles the response to the DeleteValue request. The method always closes the http.Response Body.
func (TagsManagementClient) DeleteValueSender ¶
DeleteValueSender sends the DeleteValue request. The method will close the http.Response Body if it receives an error.
func (TagsManagementClient) List ¶
func (client TagsManagementClient) List() (result TagsListResult, ae error)
List get a list of subscription resource tags.
func (TagsManagementClient) ListNextResults ¶
func (client TagsManagementClient) ListNextResults(lastResults TagsListResult) (result TagsListResult, ae error)
ListNextResults retrieves the next set of results, if any.
func (TagsManagementClient) ListPreparer ¶
func (client TagsManagementClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (TagsManagementClient) ListResponder ¶
func (client TagsManagementClient) ListResponder(resp *http.Response) (result TagsListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TagsManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type TargetResource ¶
type TargetResource struct { ID *string `json:"id,omitempty"` ResourceName *string `json:"resourceName,omitempty"` ResourceType *string `json:"resourceType,omitempty"` }
TargetResource is target resource.
type TemplateLink ¶
type TemplateLink struct { URI *string `json:"uri,omitempty"` ContentVersion *string `json:"contentVersion,omitempty"` }
TemplateLink is entity representing the reference to the template.