Documentation ¶
Overview ¶
Package resources implements the Azure ARM Resources service API version 2015-11-01.
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 DeploymentOperationsClient
- func (client DeploymentOperationsClient) Get(resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error)
- func (client DeploymentOperationsClient) GetPreparer(resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)
- func (client DeploymentOperationsClient) GetResponder(resp *http.Response) (result DeploymentOperation, err error)
- func (client DeploymentOperationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeploymentOperationsClient) List(resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResult, err error)
- func (client DeploymentOperationsClient) ListComplete(resourceGroupName string, deploymentName string, top *int32, ...) (<-chan DeploymentOperation, <-chan error)
- func (client DeploymentOperationsClient) ListNextResults(lastResults DeploymentOperationsListResult) (result DeploymentOperationsListResult, err error)
- func (client DeploymentOperationsClient) ListPreparer(resourceGroupName string, deploymentName string, top *int32) (*http.Request, error)
- func (client DeploymentOperationsClient) ListResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
- func (client DeploymentOperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type DeploymentOperationsListResult
- type DeploymentProperties
- type DeploymentPropertiesExtended
- type DeploymentValidateResult
- type DeploymentsClient
- func (client DeploymentsClient) Cancel(resourceGroupName string, deploymentName string) (result autorest.Response, err error)
- func (client DeploymentsClient) CancelPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeploymentsClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsClient) CheckExistence(resourceGroupName string, deploymentName string) (result autorest.Response, err error)
- func (client DeploymentsClient) CheckExistencePreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeploymentsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsClient) CreateOrUpdate(resourceGroupName string, deploymentName string, parameters Deployment, ...) (<-chan DeploymentExtended, <-chan error)
- func (client DeploymentsClient) CreateOrUpdatePreparer(resourceGroupName string, deploymentName string, parameters Deployment, ...) (*http.Request, error)
- func (client DeploymentsClient) CreateOrUpdateResponder(resp *http.Response) (result DeploymentExtended, err error)
- func (client DeploymentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsClient) Delete(resourceGroupName string, deploymentName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client DeploymentsClient) DeletePreparer(resourceGroupName string, deploymentName string, cancel <-chan struct{}) (*http.Request, error)
- func (client DeploymentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeploymentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsClient) Get(resourceGroupName string, deploymentName string) (result DeploymentExtended, err error)
- func (client DeploymentsClient) GetPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
- func (client DeploymentsClient) GetResponder(resp *http.Response) (result DeploymentExtended, err error)
- func (client DeploymentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsClient) List(resourceGroupName string, filter string, top *int32) (result DeploymentListResult, err error)
- func (client DeploymentsClient) ListComplete(resourceGroupName string, filter string, top *int32, cancel <-chan struct{}) (<-chan DeploymentExtended, <-chan error)
- func (client DeploymentsClient) ListNextResults(lastResults DeploymentListResult) (result DeploymentListResult, err error)
- func (client DeploymentsClient) ListPreparer(resourceGroupName string, filter string, top *int32) (*http.Request, error)
- func (client DeploymentsClient) ListResponder(resp *http.Response) (result DeploymentListResult, err error)
- func (client DeploymentsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client DeploymentsClient) Validate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)
- func (client DeploymentsClient) ValidatePreparer(resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
- func (client DeploymentsClient) ValidateResponder(resp *http.Response) (result DeploymentValidateResult, err error)
- func (client DeploymentsClient) ValidateSender(req *http.Request) (*http.Response, error)
- type GenericResource
- type GenericResourceFilter
- type Group
- type GroupClient
- func (client GroupClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, ...) (result autorest.Response, err error)
- func (client GroupClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client GroupClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, ...) (result GenericResource, err error)
- func (client GroupClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client GroupClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)
- func (client GroupClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Delete(resourceGroupName string, resourceProviderNamespace string, ...) (result autorest.Response, err error)
- func (client GroupClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client GroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Get(resourceGroupName string, resourceProviderNamespace string, ...) (result GenericResource, err error)
- func (client GroupClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client GroupClient) GetResponder(resp *http.Response) (result GenericResource, err error)
- func (client GroupClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) List(filter string, top *int32) (result ListResult, err error)
- func (client GroupClient) ListComplete(filter string, top *int32, cancel <-chan struct{}) (<-chan GenericResource, <-chan error)
- func (client GroupClient) ListNextResults(lastResults ListResult) (result ListResult, err error)
- func (client GroupClient) ListPreparer(filter string, top *int32) (*http.Request, error)
- func (client GroupClient) ListResponder(resp *http.Response) (result ListResult, err error)
- func (client GroupClient) ListSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client GroupClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (*http.Request, error)
- func (client GroupClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) MoveResourcesSender(req *http.Request) (*http.Response, error)
- type GroupFilter
- type GroupListResult
- type GroupProperties
- type GroupsClient
- func (client GroupsClient) CheckExistence(resourceGroupName string) (result autorest.Response, err error)
- func (client GroupsClient) CheckExistencePreparer(resourceGroupName string) (*http.Request, error)
- func (client GroupsClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
- func (client GroupsClient) CreateOrUpdate(resourceGroupName string, parameters Group) (result Group, err error)
- func (client GroupsClient) CreateOrUpdatePreparer(resourceGroupName string, parameters Group) (*http.Request, error)
- func (client GroupsClient) CreateOrUpdateResponder(resp *http.Response) (result Group, err error)
- func (client GroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client GroupsClient) Delete(resourceGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client GroupsClient) DeletePreparer(resourceGroupName string, cancel <-chan struct{}) (*http.Request, error)
- func (client GroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client GroupsClient) Get(resourceGroupName string) (result Group, err error)
- func (client GroupsClient) GetPreparer(resourceGroupName string) (*http.Request, error)
- func (client GroupsClient) GetResponder(resp *http.Response) (result Group, err error)
- func (client GroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GroupsClient) List(filter string, top *int32) (result GroupListResult, err error)
- func (client GroupsClient) ListComplete(filter string, top *int32, cancel <-chan struct{}) (<-chan Group, <-chan error)
- func (client GroupsClient) ListNextResults(lastResults GroupListResult) (result GroupListResult, err error)
- func (client GroupsClient) ListPreparer(filter string, top *int32) (*http.Request, error)
- func (client GroupsClient) ListResources(resourceGroupName string, filter string, top *int32) (result ListResult, err error)
- func (client GroupsClient) ListResourcesComplete(resourceGroupName string, filter string, top *int32, cancel <-chan struct{}) (<-chan GenericResource, <-chan error)
- func (client GroupsClient) ListResourcesNextResults(lastResults ListResult) (result ListResult, err error)
- func (client GroupsClient) ListResourcesPreparer(resourceGroupName string, filter string, top *int32) (*http.Request, error)
- func (client GroupsClient) ListResourcesResponder(resp *http.Response) (result ListResult, err error)
- func (client GroupsClient) ListResourcesSender(req *http.Request) (*http.Response, error)
- func (client GroupsClient) ListResponder(resp *http.Response) (result GroupListResult, err error)
- func (client GroupsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client GroupsClient) Patch(resourceGroupName string, parameters Group) (result Group, err error)
- func (client GroupsClient) PatchPreparer(resourceGroupName string, parameters Group) (*http.Request, error)
- func (client GroupsClient) PatchResponder(resp *http.Response) (result Group, err error)
- func (client GroupsClient) PatchSender(req *http.Request) (*http.Response, error)
- type ListResult
- type ManagementClient
- type ManagementError
- type ManagementErrorWithDetails
- type MoveInfo
- type ParametersLink
- type Plan
- type PolicyAssignment
- type PolicyAssignmentListResult
- type PolicyAssignmentProperties
- type PolicyAssignmentsClient
- func (client PolicyAssignmentsClient) Create(scope string, policyAssignmentName string, parameters PolicyAssignment) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) CreateByID(policyAssignmentID string, parameters PolicyAssignment) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) CreateByIDPreparer(policyAssignmentID string, parameters PolicyAssignment) (*http.Request, error)
- func (client PolicyAssignmentsClient) CreateByIDResponder(resp *http.Response) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) CreateByIDSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) CreatePreparer(scope string, policyAssignmentName string, parameters PolicyAssignment) (*http.Request, error)
- func (client PolicyAssignmentsClient) CreateResponder(resp *http.Response) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) Delete(scope string, policyAssignmentName string) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) DeleteByID(policyAssignmentID string) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) DeleteByIDPreparer(policyAssignmentID string) (*http.Request, error)
- func (client PolicyAssignmentsClient) DeleteByIDResponder(resp *http.Response) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) DeleteByIDSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) DeletePreparer(scope string, policyAssignmentName string) (*http.Request, error)
- func (client PolicyAssignmentsClient) DeleteResponder(resp *http.Response) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) Get(scope string, policyAssignmentName string) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) GetByID(policyAssignmentID string) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) GetByIDPreparer(policyAssignmentID string) (*http.Request, error)
- func (client PolicyAssignmentsClient) GetByIDResponder(resp *http.Response) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) GetByIDSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) GetPreparer(scope string, policyAssignmentName string) (*http.Request, error)
- func (client PolicyAssignmentsClient) GetResponder(resp *http.Response) (result PolicyAssignment, err error)
- func (client PolicyAssignmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) List(filter string) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListComplete(filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
- func (client PolicyAssignmentsClient) ListForResource(resourceGroupName string, resourceProviderNamespace string, ...) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForResourceComplete(resourceGroupName string, resourceProviderNamespace string, ...) (<-chan PolicyAssignment, <-chan error)
- func (client PolicyAssignmentsClient) ListForResourceGroup(resourceGroupName string, filter string) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForResourceGroupComplete(resourceGroupName string, filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
- func (client PolicyAssignmentsClient) ListForResourceGroupNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForResourceGroupPreparer(resourceGroupName string, filter string) (*http.Request, error)
- func (client PolicyAssignmentsClient) ListForResourceGroupResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) ListForResourceNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForResourcePreparer(resourceGroupName string, resourceProviderNamespace string, ...) (*http.Request, error)
- func (client PolicyAssignmentsClient) ListForResourceResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForResourceSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) ListForScope(scope string, filter string) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForScopeComplete(scope string, filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
- func (client PolicyAssignmentsClient) ListForScopeNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForScopePreparer(scope string, filter string) (*http.Request, error)
- func (client PolicyAssignmentsClient) ListForScopeResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListForScopeSender(req *http.Request) (*http.Response, error)
- func (client PolicyAssignmentsClient) ListNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListPreparer(filter string) (*http.Request, error)
- func (client PolicyAssignmentsClient) ListResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
- func (client PolicyAssignmentsClient) ListSender(req *http.Request) (*http.Response, error)
- type PolicyDefinition
- type PolicyDefinitionProperties
- type PolicyDefinitionsClient
- func (client PolicyDefinitionsClient) CreateOrUpdate(policyDefinitionName string, parameters PolicyDefinition) (result PolicyDefinition, err error)
- func (client PolicyDefinitionsClient) CreateOrUpdatePreparer(policyDefinitionName string, parameters PolicyDefinition) (*http.Request, error)
- func (client PolicyDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result PolicyDefinition, err error)
- func (client PolicyDefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client PolicyDefinitionsClient) Delete(policyDefinitionName string) (result autorest.Response, err error)
- func (client PolicyDefinitionsClient) DeletePreparer(policyDefinitionName string) (*http.Request, error)
- func (client PolicyDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PolicyDefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PolicyDefinitionsClient) Get(policyDefinitionName string) (result PolicyDefinition, err error)
- func (client PolicyDefinitionsClient) GetPreparer(policyDefinitionName string) (*http.Request, error)
- func (client PolicyDefinitionsClient) GetResponder(resp *http.Response) (result PolicyDefinition, err error)
- func (client PolicyDefinitionsClient) GetSender(req *http.Request) (*http.Response, error)
- type Provider
- type ProviderListResult
- type ProviderOperationDefinition
- type ProviderOperationDetailListResult
- type ProviderOperationDetailsClient
- func (client ProviderOperationDetailsClient) List(resourceProviderNamespace string) (result ProviderOperationDetailListResult, err error)
- func (client ProviderOperationDetailsClient) ListComplete(resourceProviderNamespace string, cancel <-chan struct{}) (<-chan ProviderOperationDefinition, <-chan error)
- func (client ProviderOperationDetailsClient) ListNextResults(lastResults ProviderOperationDetailListResult) (result ProviderOperationDetailListResult, err error)
- func (client ProviderOperationDetailsClient) ListPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProviderOperationDetailsClient) ListResponder(resp *http.Response) (result ProviderOperationDetailListResult, err error)
- func (client ProviderOperationDetailsClient) ListSender(req *http.Request) (*http.Response, error)
- type ProviderOperationDisplayProperties
- type ProviderResourceType
- type ProvidersClient
- func (client ProvidersClient) Get(resourceProviderNamespace string) (result Provider, err error)
- func (client ProvidersClient) GetPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProvidersClient) GetResponder(resp *http.Response) (result Provider, err error)
- func (client ProvidersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProvidersClient) List(top *int32) (result ProviderListResult, err error)
- func (client ProvidersClient) ListComplete(top *int32, cancel <-chan struct{}) (<-chan Provider, <-chan error)
- func (client ProvidersClient) ListNextResults(lastResults ProviderListResult) (result ProviderListResult, err error)
- func (client ProvidersClient) ListPreparer(top *int32) (*http.Request, error)
- func (client ProvidersClient) ListResponder(resp *http.Response) (result ProviderListResult, err error)
- func (client ProvidersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ProvidersClient) Register(resourceProviderNamespace string) (result Provider, err error)
- func (client ProvidersClient) RegisterPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProvidersClient) RegisterResponder(resp *http.Response) (result Provider, err error)
- func (client ProvidersClient) RegisterSender(req *http.Request) (*http.Response, error)
- func (client ProvidersClient) Unregister(resourceProviderNamespace string) (result Provider, err error)
- func (client ProvidersClient) UnregisterPreparer(resourceProviderNamespace string) (*http.Request, error)
- func (client ProvidersClient) UnregisterResponder(resp *http.Response) (result Provider, err error)
- func (client ProvidersClient) UnregisterSender(req *http.Request) (*http.Response, error)
- type Resource
- type SubResource
- type TagCount
- type TagDetails
- type TagValue
- type TagsClient
- func (client TagsClient) CreateOrUpdate(tagName string) (result TagDetails, err error)
- func (client TagsClient) CreateOrUpdatePreparer(tagName string) (*http.Request, error)
- func (client TagsClient) CreateOrUpdateResponder(resp *http.Response) (result TagDetails, err error)
- func (client TagsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TagsClient) CreateOrUpdateValue(tagName string, tagValue string) (result TagValue, err error)
- func (client TagsClient) CreateOrUpdateValuePreparer(tagName string, tagValue string) (*http.Request, error)
- func (client TagsClient) CreateOrUpdateValueResponder(resp *http.Response) (result TagValue, err error)
- func (client TagsClient) CreateOrUpdateValueSender(req *http.Request) (*http.Response, error)
- func (client TagsClient) Delete(tagName string) (result autorest.Response, err error)
- func (client TagsClient) DeletePreparer(tagName string) (*http.Request, error)
- func (client TagsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TagsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client TagsClient) DeleteValue(tagName string, tagValue string) (result autorest.Response, err error)
- func (client TagsClient) DeleteValuePreparer(tagName string, tagValue string) (*http.Request, error)
- func (client TagsClient) DeleteValueResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TagsClient) DeleteValueSender(req *http.Request) (*http.Response, error)
- func (client TagsClient) List() (result TagsListResult, err error)
- func (client TagsClient) ListComplete(cancel <-chan struct{}) (<-chan TagDetails, <-chan error)
- func (client TagsClient) ListNextResults(lastResults TagsListResult) (result TagsListResult, err error)
- func (client TagsClient) ListPreparer() (*http.Request, error)
- func (client TagsClient) ListResponder(resp *http.Response) (result TagsListResult, err error)
- func (client TagsClient) ListSender(req *http.Request) (*http.Response, error)
- type TagsListResult
- type TargetResource
- type TemplateLink
Constants ¶
const (
// 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 DeploymentOperationsClient ¶
type DeploymentOperationsClient struct {
ManagementClient
}
DeploymentOperationsClient is the client for the DeploymentOperations methods of the Resources service.
func NewDeploymentOperationsClient ¶
func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient
NewDeploymentOperationsClient creates an instance of the DeploymentOperationsClient client.
func NewDeploymentOperationsClientWithBaseURI ¶
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient
NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient client.
func (DeploymentOperationsClient) Get ¶
func (client DeploymentOperationsClient) Get(resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err 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 (DeploymentOperationsClient) GetPreparer ¶
func (client DeploymentOperationsClient) GetPreparer(resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeploymentOperationsClient) GetResponder ¶
func (client DeploymentOperationsClient) 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 (DeploymentOperationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DeploymentOperationsClient) List ¶
func (client DeploymentOperationsClient) List(resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResult, err 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 (DeploymentOperationsClient) ListComplete ¶
func (client DeploymentOperationsClient) ListComplete(resourceGroupName string, deploymentName string, top *int32, cancel <-chan struct{}) (<-chan DeploymentOperation, <-chan error)
ListComplete gets all elements from the list without paging.
func (DeploymentOperationsClient) ListNextResults ¶
func (client DeploymentOperationsClient) ListNextResults(lastResults DeploymentOperationsListResult) (result DeploymentOperationsListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (DeploymentOperationsClient) ListPreparer ¶
func (client DeploymentOperationsClient) ListPreparer(resourceGroupName string, deploymentName string, top *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (DeploymentOperationsClient) ListResponder ¶
func (client DeploymentOperationsClient) 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 (DeploymentOperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
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 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 *ManagementErrorWithDetails `json:"error,omitempty"` Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` }
DeploymentValidateResult is information from validate template deployment response.
type DeploymentsClient ¶
type DeploymentsClient struct {
ManagementClient
}
DeploymentsClient is the client for the Deployments methods of the Resources service.
func NewDeploymentsClient ¶
func NewDeploymentsClient(subscriptionID string) DeploymentsClient
NewDeploymentsClient creates an instance of the DeploymentsClient client.
func NewDeploymentsClientWithBaseURI ¶
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient
NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client.
func (DeploymentsClient) Cancel ¶
func (client DeploymentsClient) Cancel(resourceGroupName string, deploymentName string) (result autorest.Response, err 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 (DeploymentsClient) CancelPreparer ¶
func (client DeploymentsClient) CancelPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (DeploymentsClient) CancelResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (DeploymentsClient) CheckExistence ¶
func (client DeploymentsClient) CheckExistence(resourceGroupName string, deploymentName string) (result autorest.Response, err 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 (DeploymentsClient) CheckExistencePreparer ¶
func (client DeploymentsClient) CheckExistencePreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (DeploymentsClient) CheckExistenceResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) CheckExistenceSender ¶
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (DeploymentsClient) CreateOrUpdate ¶
func (client DeploymentsClient) CreateOrUpdate(resourceGroupName string, deploymentName string, parameters Deployment, cancel <-chan struct{}) (<-chan DeploymentExtended, <-chan error)
CreateOrUpdate create a named template deployment using a template. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
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 (DeploymentsClient) CreateOrUpdatePreparer ¶
func (client DeploymentsClient) CreateOrUpdatePreparer(resourceGroupName string, deploymentName string, parameters Deployment, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DeploymentsClient) CreateOrUpdateResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DeploymentsClient) Delete ¶
func (client DeploymentsClient) Delete(resourceGroupName string, deploymentName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete begin deleting deployment.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of the deployment to be deleted.
func (DeploymentsClient) DeletePreparer ¶
func (client DeploymentsClient) DeletePreparer(resourceGroupName string, deploymentName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DeploymentsClient) DeleteResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DeploymentsClient) Get ¶
func (client DeploymentsClient) Get(resourceGroupName string, deploymentName string) (result DeploymentExtended, err 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 (DeploymentsClient) GetPreparer ¶
func (client DeploymentsClient) GetPreparer(resourceGroupName string, deploymentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeploymentsClient) GetResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DeploymentsClient) List ¶
func (client DeploymentsClient) List(resourceGroupName string, filter string, top *int32) (result DeploymentListResult, err 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 (DeploymentsClient) ListComplete ¶
func (client DeploymentsClient) ListComplete(resourceGroupName string, filter string, top *int32, cancel <-chan struct{}) (<-chan DeploymentExtended, <-chan error)
ListComplete gets all elements from the list without paging.
func (DeploymentsClient) ListNextResults ¶
func (client DeploymentsClient) ListNextResults(lastResults DeploymentListResult) (result DeploymentListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (DeploymentsClient) ListPreparer ¶
func (client DeploymentsClient) ListPreparer(resourceGroupName string, filter string, top *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (DeploymentsClient) ListResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DeploymentsClient) Validate ¶
func (client DeploymentsClient) Validate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err 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 (DeploymentsClient) ValidatePreparer ¶
func (client DeploymentsClient) ValidatePreparer(resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
ValidatePreparer prepares the Validate request.
func (DeploymentsClient) ValidateResponder ¶
func (client DeploymentsClient) 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 (DeploymentsClient) 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 Group ¶
type Group struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupProperties `json:"properties,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
Group is resource group information.
type GroupClient ¶
type GroupClient struct {
ManagementClient
}
GroupClient is the client for the Group methods of the Resources service.
func NewGroupClient ¶
func NewGroupClient(subscriptionID string) GroupClient
NewGroupClient creates an instance of the GroupClient client.
func NewGroupClientWithBaseURI ¶
func NewGroupClientWithBaseURI(baseURI string, subscriptionID string) GroupClient
NewGroupClientWithBaseURI creates an instance of the GroupClient client.
func (GroupClient) CheckExistence ¶
func (client GroupClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err 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 (GroupClient) CheckExistencePreparer ¶
func (client GroupClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (GroupClient) CheckExistenceResponder ¶
func (client GroupClient) 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 (GroupClient) CheckExistenceSender ¶
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (GroupClient) CreateOrUpdate ¶
func (client GroupClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result GenericResource, err 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 (GroupClient) CreateOrUpdatePreparer ¶
func (client GroupClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (GroupClient) CreateOrUpdateResponder ¶
func (client GroupClient) 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 (GroupClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Delete ¶
func (client GroupClient) Delete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err 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 (GroupClient) DeletePreparer ¶
func (client GroupClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (GroupClient) DeleteResponder ¶
func (client GroupClient) 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 (GroupClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Get ¶
func (client GroupClient) Get(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result GenericResource, err 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 (GroupClient) GetPreparer ¶
func (client GroupClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GroupClient) GetResponder ¶
func (client GroupClient) 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 (GroupClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GroupClient) List ¶
func (client GroupClient) List(filter string, top *int32) (result ListResult, err 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 (GroupClient) ListComplete ¶
func (client GroupClient) ListComplete(filter string, top *int32, cancel <-chan struct{}) (<-chan GenericResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (GroupClient) ListNextResults ¶
func (client GroupClient) ListNextResults(lastResults ListResult) (result ListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (GroupClient) ListPreparer ¶
ListPreparer prepares the List request.
func (GroupClient) ListResponder ¶
func (client GroupClient) ListResponder(resp *http.Response) (result ListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (GroupClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (GroupClient) MoveResources ¶
func (client GroupClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
MoveResources begin moving resources.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
sourceResourceGroupName is source resource group name. parameters is move resources' parameters.
func (GroupClient) MoveResourcesPreparer ¶
func (client GroupClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (*http.Request, error)
MoveResourcesPreparer prepares the MoveResources request.
func (GroupClient) MoveResourcesResponder ¶
func (client GroupClient) 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 (GroupClient) MoveResourcesSender ¶
MoveResourcesSender sends the MoveResources request. The method will close the http.Response Body if it receives an error.
type GroupFilter ¶
type GroupFilter struct { TagName *string `json:"tagName,omitempty"` TagValue *string `json:"tagValue,omitempty"` }
GroupFilter is resource group filter.
type GroupListResult ¶
type GroupListResult struct { autorest.Response `json:"-"` Value *[]Group `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
GroupListResult is list of resource groups.
func (GroupListResult) GroupListResultPreparer ¶
func (client GroupListResult) GroupListResultPreparer() (*http.Request, error)
GroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type GroupProperties ¶
type GroupProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
GroupProperties is the resource group properties.
type GroupsClient ¶
type GroupsClient struct {
ManagementClient
}
GroupsClient is the client for the Groups methods of the Resources service.
func NewGroupsClient ¶
func NewGroupsClient(subscriptionID string) GroupsClient
NewGroupsClient creates an instance of the GroupsClient client.
func NewGroupsClientWithBaseURI ¶
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient
NewGroupsClientWithBaseURI creates an instance of the GroupsClient client.
func (GroupsClient) CheckExistence ¶
func (client GroupsClient) CheckExistence(resourceGroupName string) (result autorest.Response, err error)
CheckExistence checks whether resource group exists.
resourceGroupName is the name of the resource group to check. The name is case insensitive.
func (GroupsClient) CheckExistencePreparer ¶
func (client GroupsClient) CheckExistencePreparer(resourceGroupName string) (*http.Request, error)
CheckExistencePreparer prepares the CheckExistence request.
func (GroupsClient) CheckExistenceResponder ¶
func (client GroupsClient) 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 (GroupsClient) CheckExistenceSender ¶
CheckExistenceSender sends the CheckExistence request. The method will close the http.Response Body if it receives an error.
func (GroupsClient) CreateOrUpdate ¶
func (client GroupsClient) CreateOrUpdate(resourceGroupName string, parameters Group) (result Group, err 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 (GroupsClient) CreateOrUpdatePreparer ¶
func (client GroupsClient) CreateOrUpdatePreparer(resourceGroupName string, parameters Group) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (GroupsClient) CreateOrUpdateResponder ¶
func (client GroupsClient) CreateOrUpdateResponder(resp *http.Response) (result Group, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (GroupsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (GroupsClient) Delete ¶
func (client GroupsClient) Delete(resourceGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete begin deleting resource group.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group to be deleted. The name is case insensitive.
func (GroupsClient) DeletePreparer ¶
func (client GroupsClient) DeletePreparer(resourceGroupName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (GroupsClient) DeleteResponder ¶
func (client GroupsClient) 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 (GroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (GroupsClient) Get ¶
func (client GroupsClient) Get(resourceGroupName string) (result Group, err error)
Get get a resource group.
resourceGroupName is the name of the resource group to get. The name is case insensitive.
func (GroupsClient) GetPreparer ¶
func (client GroupsClient) GetPreparer(resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GroupsClient) GetResponder ¶
func (client GroupsClient) GetResponder(resp *http.Response) (result Group, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (GroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GroupsClient) List ¶
func (client GroupsClient) List(filter string, top *int32) (result GroupListResult, err 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 (GroupsClient) ListComplete ¶
func (client GroupsClient) ListComplete(filter string, top *int32, cancel <-chan struct{}) (<-chan Group, <-chan error)
ListComplete gets all elements from the list without paging.
func (GroupsClient) ListNextResults ¶
func (client GroupsClient) ListNextResults(lastResults GroupListResult) (result GroupListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (GroupsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (GroupsClient) ListResources ¶
func (client GroupsClient) ListResources(resourceGroupName string, filter string, top *int32) (result ListResult, err 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 (GroupsClient) ListResourcesComplete ¶
func (client GroupsClient) ListResourcesComplete(resourceGroupName string, filter string, top *int32, cancel <-chan struct{}) (<-chan GenericResource, <-chan error)
ListResourcesComplete gets all elements from the list without paging.
func (GroupsClient) ListResourcesNextResults ¶
func (client GroupsClient) ListResourcesNextResults(lastResults ListResult) (result ListResult, err error)
ListResourcesNextResults retrieves the next set of results, if any.
func (GroupsClient) ListResourcesPreparer ¶
func (client GroupsClient) ListResourcesPreparer(resourceGroupName string, filter string, top *int32) (*http.Request, error)
ListResourcesPreparer prepares the ListResources request.
func (GroupsClient) ListResourcesResponder ¶
func (client GroupsClient) ListResourcesResponder(resp *http.Response) (result ListResult, err error)
ListResourcesResponder handles the response to the ListResources request. The method always closes the http.Response Body.
func (GroupsClient) ListResourcesSender ¶
ListResourcesSender sends the ListResources request. The method will close the http.Response Body if it receives an error.
func (GroupsClient) ListResponder ¶
func (client GroupsClient) ListResponder(resp *http.Response) (result GroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (GroupsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (GroupsClient) Patch ¶
func (client GroupsClient) Patch(resourceGroupName string, parameters Group) (result Group, err 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 (GroupsClient) PatchPreparer ¶
func (client GroupsClient) PatchPreparer(resourceGroupName string, parameters Group) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (GroupsClient) PatchResponder ¶
func (client GroupsClient) PatchResponder(resp *http.Response) (result Group, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (GroupsClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
type ListResult ¶
type ListResult struct { autorest.Response `json:"-"` Value *[]GenericResource `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListResult is list of resource groups.
func (ListResult) ListResultPreparer ¶
func (client ListResult) ListResultPreparer() (*http.Request, error)
ListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
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.
type ManagementError ¶
type ManagementError struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
ManagementError is
type ManagementErrorWithDetails ¶
type ManagementErrorWithDetails struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` Details *[]ManagementError `json:"details,omitempty"` }
ManagementErrorWithDetails is
type MoveInfo ¶
type MoveInfo struct { ResourcesProperty *[]string `json:"resources,omitempty"` TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` }
MoveInfo is parameters of move resources.
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 PolicyAssignment ¶
type PolicyAssignment struct { autorest.Response `json:"-"` Properties *PolicyAssignmentProperties `json:"properties,omitempty"` Name *string `json:"name,omitempty"` }
PolicyAssignment is policy assignment.
type PolicyAssignmentListResult ¶
type PolicyAssignmentListResult struct { autorest.Response `json:"-"` Value *[]PolicyAssignment `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
PolicyAssignmentListResult is policy assignment list operation result.
func (PolicyAssignmentListResult) PolicyAssignmentListResultPreparer ¶
func (client PolicyAssignmentListResult) PolicyAssignmentListResultPreparer() (*http.Request, error)
PolicyAssignmentListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type PolicyAssignmentProperties ¶
type PolicyAssignmentProperties struct { Scope *string `json:"scope,omitempty"` DisplayName *string `json:"displayName,omitempty"` PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"` }
PolicyAssignmentProperties is policy Assignment properties.
type PolicyAssignmentsClient ¶
type PolicyAssignmentsClient struct {
ManagementClient
}
PolicyAssignmentsClient is the client for the PolicyAssignments methods of the Resources service.
func NewPolicyAssignmentsClient ¶
func NewPolicyAssignmentsClient(subscriptionID string) PolicyAssignmentsClient
NewPolicyAssignmentsClient creates an instance of the PolicyAssignmentsClient client.
func NewPolicyAssignmentsClientWithBaseURI ¶
func NewPolicyAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) PolicyAssignmentsClient
NewPolicyAssignmentsClientWithBaseURI creates an instance of the PolicyAssignmentsClient client.
func (PolicyAssignmentsClient) Create ¶
func (client PolicyAssignmentsClient) Create(scope string, policyAssignmentName string, parameters PolicyAssignment) (result PolicyAssignment, err error)
Create create policy assignment.
scope is scope. policyAssignmentName is policy assignment name. parameters is policy assignment.
func (PolicyAssignmentsClient) CreateByID ¶
func (client PolicyAssignmentsClient) CreateByID(policyAssignmentID string, parameters PolicyAssignment) (result PolicyAssignment, err error)
CreateByID create policy assignment by Id.
policyAssignmentID is policy assignment Id parameters is policy assignment.
func (PolicyAssignmentsClient) CreateByIDPreparer ¶
func (client PolicyAssignmentsClient) CreateByIDPreparer(policyAssignmentID string, parameters PolicyAssignment) (*http.Request, error)
CreateByIDPreparer prepares the CreateByID request.
func (PolicyAssignmentsClient) CreateByIDResponder ¶
func (client PolicyAssignmentsClient) CreateByIDResponder(resp *http.Response) (result PolicyAssignment, err error)
CreateByIDResponder handles the response to the CreateByID request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) CreateByIDSender ¶
CreateByIDSender sends the CreateByID request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) CreatePreparer ¶
func (client PolicyAssignmentsClient) CreatePreparer(scope string, policyAssignmentName string, parameters PolicyAssignment) (*http.Request, error)
CreatePreparer prepares the Create request.
func (PolicyAssignmentsClient) CreateResponder ¶
func (client PolicyAssignmentsClient) CreateResponder(resp *http.Response) (result PolicyAssignment, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) Delete ¶
func (client PolicyAssignmentsClient) Delete(scope string, policyAssignmentName string) (result PolicyAssignment, err error)
Delete delete policy assignment.
scope is scope. policyAssignmentName is policy assignment name.
func (PolicyAssignmentsClient) DeleteByID ¶
func (client PolicyAssignmentsClient) DeleteByID(policyAssignmentID string) (result PolicyAssignment, err error)
DeleteByID delete policy assignment.
policyAssignmentID is policy assignment Id
func (PolicyAssignmentsClient) DeleteByIDPreparer ¶
func (client PolicyAssignmentsClient) DeleteByIDPreparer(policyAssignmentID string) (*http.Request, error)
DeleteByIDPreparer prepares the DeleteByID request.
func (PolicyAssignmentsClient) DeleteByIDResponder ¶
func (client PolicyAssignmentsClient) DeleteByIDResponder(resp *http.Response) (result PolicyAssignment, err error)
DeleteByIDResponder handles the response to the DeleteByID request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) DeleteByIDSender ¶
DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) DeletePreparer ¶
func (client PolicyAssignmentsClient) DeletePreparer(scope string, policyAssignmentName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PolicyAssignmentsClient) DeleteResponder ¶
func (client PolicyAssignmentsClient) DeleteResponder(resp *http.Response) (result PolicyAssignment, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) Get ¶
func (client PolicyAssignmentsClient) Get(scope string, policyAssignmentName string) (result PolicyAssignment, err error)
Get get single policy assignment.
scope is scope. policyAssignmentName is policy assignment name.
func (PolicyAssignmentsClient) GetByID ¶
func (client PolicyAssignmentsClient) GetByID(policyAssignmentID string) (result PolicyAssignment, err error)
GetByID get single policy assignment.
policyAssignmentID is policy assignment Id
func (PolicyAssignmentsClient) GetByIDPreparer ¶
func (client PolicyAssignmentsClient) GetByIDPreparer(policyAssignmentID string) (*http.Request, error)
GetByIDPreparer prepares the GetByID request.
func (PolicyAssignmentsClient) GetByIDResponder ¶
func (client PolicyAssignmentsClient) GetByIDResponder(resp *http.Response) (result PolicyAssignment, err error)
GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) GetByIDSender ¶
GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) GetPreparer ¶
func (client PolicyAssignmentsClient) GetPreparer(scope string, policyAssignmentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PolicyAssignmentsClient) GetResponder ¶
func (client PolicyAssignmentsClient) GetResponder(resp *http.Response) (result PolicyAssignment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) List ¶
func (client PolicyAssignmentsClient) List(filter string) (result PolicyAssignmentListResult, err error)
List gets policy assignments of the subscription.
filter is the filter to apply on the operation.
func (PolicyAssignmentsClient) ListComplete ¶
func (client PolicyAssignmentsClient) ListComplete(filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
ListComplete gets all elements from the list without paging.
func (PolicyAssignmentsClient) ListForResource ¶
func (client PolicyAssignmentsClient) ListForResource(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result PolicyAssignmentListResult, err error)
ListForResource gets policy assignments of the resource.
resourceGroupName is the name of the resource group. resourceProviderNamespace is the name of the resource provider. parentResourcePath is the parent resource path. resourceType is the resource type. resourceName is the resource name. filter is the filter to apply on the operation.
func (PolicyAssignmentsClient) ListForResourceComplete ¶
func (client PolicyAssignmentsClient) ListForResourceComplete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
ListForResourceComplete gets all elements from the list without paging.
func (PolicyAssignmentsClient) ListForResourceGroup ¶
func (client PolicyAssignmentsClient) ListForResourceGroup(resourceGroupName string, filter string) (result PolicyAssignmentListResult, err error)
ListForResourceGroup gets policy assignments of the resource group.
resourceGroupName is resource group name. filter is the filter to apply on the operation.
func (PolicyAssignmentsClient) ListForResourceGroupComplete ¶
func (client PolicyAssignmentsClient) ListForResourceGroupComplete(resourceGroupName string, filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
ListForResourceGroupComplete gets all elements from the list without paging.
func (PolicyAssignmentsClient) ListForResourceGroupNextResults ¶
func (client PolicyAssignmentsClient) ListForResourceGroupNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
ListForResourceGroupNextResults retrieves the next set of results, if any.
func (PolicyAssignmentsClient) ListForResourceGroupPreparer ¶
func (client PolicyAssignmentsClient) ListForResourceGroupPreparer(resourceGroupName string, filter string) (*http.Request, error)
ListForResourceGroupPreparer prepares the ListForResourceGroup request.
func (PolicyAssignmentsClient) ListForResourceGroupResponder ¶
func (client PolicyAssignmentsClient) ListForResourceGroupResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
ListForResourceGroupResponder handles the response to the ListForResourceGroup request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) ListForResourceGroupSender ¶
func (client PolicyAssignmentsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error)
ListForResourceGroupSender sends the ListForResourceGroup request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) ListForResourceNextResults ¶
func (client PolicyAssignmentsClient) ListForResourceNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
ListForResourceNextResults retrieves the next set of results, if any.
func (PolicyAssignmentsClient) ListForResourcePreparer ¶
func (client PolicyAssignmentsClient) ListForResourcePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (*http.Request, error)
ListForResourcePreparer prepares the ListForResource request.
func (PolicyAssignmentsClient) ListForResourceResponder ¶
func (client PolicyAssignmentsClient) ListForResourceResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
ListForResourceResponder handles the response to the ListForResource request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) ListForResourceSender ¶
func (client PolicyAssignmentsClient) ListForResourceSender(req *http.Request) (*http.Response, error)
ListForResourceSender sends the ListForResource request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) ListForScope ¶
func (client PolicyAssignmentsClient) ListForScope(scope string, filter string) (result PolicyAssignmentListResult, err error)
ListForScope gets policy assignments of the scope.
scope is scope. filter is the filter to apply on the operation.
func (PolicyAssignmentsClient) ListForScopeComplete ¶
func (client PolicyAssignmentsClient) ListForScopeComplete(scope string, filter string, cancel <-chan struct{}) (<-chan PolicyAssignment, <-chan error)
ListForScopeComplete gets all elements from the list without paging.
func (PolicyAssignmentsClient) ListForScopeNextResults ¶
func (client PolicyAssignmentsClient) ListForScopeNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
ListForScopeNextResults retrieves the next set of results, if any.
func (PolicyAssignmentsClient) ListForScopePreparer ¶
func (client PolicyAssignmentsClient) ListForScopePreparer(scope string, filter string) (*http.Request, error)
ListForScopePreparer prepares the ListForScope request.
func (PolicyAssignmentsClient) ListForScopeResponder ¶
func (client PolicyAssignmentsClient) ListForScopeResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
ListForScopeResponder handles the response to the ListForScope request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) ListForScopeSender ¶
ListForScopeSender sends the ListForScope request. The method will close the http.Response Body if it receives an error.
func (PolicyAssignmentsClient) ListNextResults ¶
func (client PolicyAssignmentsClient) ListNextResults(lastResults PolicyAssignmentListResult) (result PolicyAssignmentListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (PolicyAssignmentsClient) ListPreparer ¶
func (client PolicyAssignmentsClient) ListPreparer(filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (PolicyAssignmentsClient) ListResponder ¶
func (client PolicyAssignmentsClient) ListResponder(resp *http.Response) (result PolicyAssignmentListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PolicyAssignmentsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PolicyDefinition ¶
type PolicyDefinition struct { autorest.Response `json:"-"` Properties *PolicyDefinitionProperties `json:"properties,omitempty"` Name *string `json:"name,omitempty"` }
PolicyDefinition is policy definition.
type PolicyDefinitionProperties ¶
type PolicyDefinitionProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` PolicyRule *map[string]interface{} `json:"policyRule,omitempty"` }
PolicyDefinitionProperties is policy definition properties.
type PolicyDefinitionsClient ¶
type PolicyDefinitionsClient struct {
ManagementClient
}
PolicyDefinitionsClient is the client for the PolicyDefinitions methods of the Resources service.
func NewPolicyDefinitionsClient ¶
func NewPolicyDefinitionsClient(subscriptionID string) PolicyDefinitionsClient
NewPolicyDefinitionsClient creates an instance of the PolicyDefinitionsClient client.
func NewPolicyDefinitionsClientWithBaseURI ¶
func NewPolicyDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) PolicyDefinitionsClient
NewPolicyDefinitionsClientWithBaseURI creates an instance of the PolicyDefinitionsClient client.
func (PolicyDefinitionsClient) CreateOrUpdate ¶
func (client PolicyDefinitionsClient) CreateOrUpdate(policyDefinitionName string, parameters PolicyDefinition) (result PolicyDefinition, err error)
CreateOrUpdate create or update policy definition.
policyDefinitionName is the policy definition name. parameters is the policy definition properties
func (PolicyDefinitionsClient) CreateOrUpdatePreparer ¶
func (client PolicyDefinitionsClient) CreateOrUpdatePreparer(policyDefinitionName string, parameters PolicyDefinition) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PolicyDefinitionsClient) CreateOrUpdateResponder ¶
func (client PolicyDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result PolicyDefinition, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PolicyDefinitionsClient) CreateOrUpdateSender ¶
func (client PolicyDefinitionsClient) 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 (PolicyDefinitionsClient) Delete ¶
func (client PolicyDefinitionsClient) Delete(policyDefinitionName string) (result autorest.Response, err error)
Delete deletes policy definition.
policyDefinitionName is the policy definition name.
func (PolicyDefinitionsClient) DeletePreparer ¶
func (client PolicyDefinitionsClient) DeletePreparer(policyDefinitionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PolicyDefinitionsClient) DeleteResponder ¶
func (client PolicyDefinitionsClient) 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 (PolicyDefinitionsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PolicyDefinitionsClient) Get ¶
func (client PolicyDefinitionsClient) Get(policyDefinitionName string) (result PolicyDefinition, err error)
Get gets policy definition.
policyDefinitionName is the policy definition name.
func (PolicyDefinitionsClient) GetPreparer ¶
func (client PolicyDefinitionsClient) GetPreparer(policyDefinitionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PolicyDefinitionsClient) GetResponder ¶
func (client PolicyDefinitionsClient) GetResponder(resp *http.Response) (result PolicyDefinition, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
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 ProviderOperationDefinition ¶
type ProviderOperationDefinition struct { Name *string `json:"name,omitempty"` Display *ProviderOperationDisplayProperties `json:"display,omitempty"` }
ProviderOperationDefinition is resource provider operation information.
type ProviderOperationDetailListResult ¶
type ProviderOperationDetailListResult struct { autorest.Response `json:"-"` Value *[]ProviderOperationDefinition `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ProviderOperationDetailListResult is list of resource provider operations.
func (ProviderOperationDetailListResult) ProviderOperationDetailListResultPreparer ¶
func (client ProviderOperationDetailListResult) ProviderOperationDetailListResultPreparer() (*http.Request, error)
ProviderOperationDetailListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ProviderOperationDetailsClient ¶
type ProviderOperationDetailsClient struct {
ManagementClient
}
ProviderOperationDetailsClient is the client for the ProviderOperationDetails methods of the Resources service.
func NewProviderOperationDetailsClient ¶
func NewProviderOperationDetailsClient(subscriptionID string) ProviderOperationDetailsClient
NewProviderOperationDetailsClient creates an instance of the ProviderOperationDetailsClient client.
func NewProviderOperationDetailsClientWithBaseURI ¶
func NewProviderOperationDetailsClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationDetailsClient
NewProviderOperationDetailsClientWithBaseURI creates an instance of the ProviderOperationDetailsClient client.
func (ProviderOperationDetailsClient) List ¶
func (client ProviderOperationDetailsClient) List(resourceProviderNamespace string) (result ProviderOperationDetailListResult, err error)
List gets a list of resource providers.
resourceProviderNamespace is resource identity.
func (ProviderOperationDetailsClient) ListComplete ¶
func (client ProviderOperationDetailsClient) ListComplete(resourceProviderNamespace string, cancel <-chan struct{}) (<-chan ProviderOperationDefinition, <-chan error)
ListComplete gets all elements from the list without paging.
func (ProviderOperationDetailsClient) ListNextResults ¶
func (client ProviderOperationDetailsClient) ListNextResults(lastResults ProviderOperationDetailListResult) (result ProviderOperationDetailListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (ProviderOperationDetailsClient) ListPreparer ¶
func (client ProviderOperationDetailsClient) ListPreparer(resourceProviderNamespace string) (*http.Request, error)
ListPreparer prepares the List request.
func (ProviderOperationDetailsClient) ListResponder ¶
func (client ProviderOperationDetailsClient) ListResponder(resp *http.Response) (result ProviderOperationDetailListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ProviderOperationDetailsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ProviderOperationDisplayProperties ¶
type ProviderOperationDisplayProperties 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"` }
ProviderOperationDisplayProperties is resource provider operation's display properties.
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 ProvidersClient ¶
type ProvidersClient struct {
ManagementClient
}
ProvidersClient is the client for the Providers methods of the Resources service.
func NewProvidersClient ¶
func NewProvidersClient(subscriptionID string) ProvidersClient
NewProvidersClient creates an instance of the ProvidersClient client.
func NewProvidersClientWithBaseURI ¶
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient
NewProvidersClientWithBaseURI creates an instance of the ProvidersClient client.
func (ProvidersClient) Get ¶
func (client ProvidersClient) Get(resourceProviderNamespace string) (result Provider, err error)
Get gets a resource provider.
resourceProviderNamespace is namespace of the resource provider.
func (ProvidersClient) GetPreparer ¶
func (client ProvidersClient) GetPreparer(resourceProviderNamespace string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProvidersClient) GetResponder ¶
func (client ProvidersClient) 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 (ProvidersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ProvidersClient) List ¶
func (client ProvidersClient) List(top *int32) (result ProviderListResult, err error)
List gets a list of resource providers.
top is query parameters. If null is passed returns all deployments.
func (ProvidersClient) ListComplete ¶
func (client ProvidersClient) ListComplete(top *int32, cancel <-chan struct{}) (<-chan Provider, <-chan error)
ListComplete gets all elements from the list without paging.
func (ProvidersClient) ListNextResults ¶
func (client ProvidersClient) ListNextResults(lastResults ProviderListResult) (result ProviderListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (ProvidersClient) ListPreparer ¶
func (client ProvidersClient) ListPreparer(top *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (ProvidersClient) ListResponder ¶
func (client ProvidersClient) 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 (ProvidersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ProvidersClient) Register ¶
func (client ProvidersClient) Register(resourceProviderNamespace string) (result Provider, err error)
Register registers provider to be used with a subscription.
resourceProviderNamespace is namespace of the resource provider.
func (ProvidersClient) RegisterPreparer ¶
func (client ProvidersClient) RegisterPreparer(resourceProviderNamespace string) (*http.Request, error)
RegisterPreparer prepares the Register request.
func (ProvidersClient) RegisterResponder ¶
func (client ProvidersClient) 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 (ProvidersClient) RegisterSender ¶
RegisterSender sends the Register request. The method will close the http.Response Body if it receives an error.
func (ProvidersClient) Unregister ¶
func (client ProvidersClient) Unregister(resourceProviderNamespace string) (result Provider, err error)
Unregister unregisters provider from a subscription.
resourceProviderNamespace is namespace of the resource provider.
func (ProvidersClient) UnregisterPreparer ¶
func (client ProvidersClient) UnregisterPreparer(resourceProviderNamespace string) (*http.Request, error)
UnregisterPreparer prepares the Unregister request.
func (ProvidersClient) UnregisterResponder ¶
func (client ProvidersClient) 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 (ProvidersClient) 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 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"` TagValue *string `json:"tagValue,omitempty"` Count *TagCount `json:"count,omitempty"` }
TagValue is tag information.
type TagsClient ¶
type TagsClient struct {
ManagementClient
}
TagsClient is the client for the Tags methods of the Resources service.
func NewTagsClient ¶
func NewTagsClient(subscriptionID string) TagsClient
NewTagsClient creates an instance of the TagsClient client.
func NewTagsClientWithBaseURI ¶
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient
NewTagsClientWithBaseURI creates an instance of the TagsClient client.
func (TagsClient) CreateOrUpdate ¶
func (client TagsClient) CreateOrUpdate(tagName string) (result TagDetails, err error)
CreateOrUpdate create a subscription resource tag.
tagName is the name of the tag.
func (TagsClient) CreateOrUpdatePreparer ¶
func (client TagsClient) CreateOrUpdatePreparer(tagName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (TagsClient) CreateOrUpdateResponder ¶
func (client TagsClient) 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 (TagsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (TagsClient) CreateOrUpdateValue ¶
func (client TagsClient) CreateOrUpdateValue(tagName string, tagValue string) (result TagValue, err error)
CreateOrUpdateValue create a subscription resource tag value.
tagName is the name of the tag. tagValue is the value of the tag.
func (TagsClient) CreateOrUpdateValuePreparer ¶
func (client TagsClient) CreateOrUpdateValuePreparer(tagName string, tagValue string) (*http.Request, error)
CreateOrUpdateValuePreparer prepares the CreateOrUpdateValue request.
func (TagsClient) CreateOrUpdateValueResponder ¶
func (client TagsClient) 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 (TagsClient) CreateOrUpdateValueSender ¶
CreateOrUpdateValueSender sends the CreateOrUpdateValue request. The method will close the http.Response Body if it receives an error.
func (TagsClient) Delete ¶
func (client TagsClient) Delete(tagName string) (result autorest.Response, err error)
Delete delete a subscription resource tag.
tagName is the name of the tag.
func (TagsClient) DeletePreparer ¶
func (client TagsClient) DeletePreparer(tagName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (TagsClient) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (TagsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (TagsClient) DeleteValue ¶
func (client TagsClient) DeleteValue(tagName string, tagValue string) (result autorest.Response, err error)
DeleteValue delete a subscription resource tag value.
tagName is the name of the tag. tagValue is the value of the tag.
func (TagsClient) DeleteValuePreparer ¶
func (client TagsClient) DeleteValuePreparer(tagName string, tagValue string) (*http.Request, error)
DeleteValuePreparer prepares the DeleteValue request.
func (TagsClient) DeleteValueResponder ¶
func (client TagsClient) 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 (TagsClient) DeleteValueSender ¶
DeleteValueSender sends the DeleteValue request. The method will close the http.Response Body if it receives an error.
func (TagsClient) List ¶
func (client TagsClient) List() (result TagsListResult, err error)
List get a list of subscription resource tags.
func (TagsClient) ListComplete ¶
func (client TagsClient) ListComplete(cancel <-chan struct{}) (<-chan TagDetails, <-chan error)
ListComplete gets all elements from the list without paging.
func (TagsClient) ListNextResults ¶
func (client TagsClient) ListNextResults(lastResults TagsListResult) (result TagsListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (TagsClient) ListPreparer ¶
func (client TagsClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (TagsClient) ListResponder ¶
func (client TagsClient) 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 (TagsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
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 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.