azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-07-01/resources Index | Files | Directories

package resources

import "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-07-01/resources"

Package resources implements the Azure ARM Resources service API version 2016-07-01.

Index

Package Files

client.go deploymentoperations.go deployments.go groups.go models.go providers.go resources.go tags.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AliasPathType Uses

type AliasPathType struct {
    // Path - The path of an alias.
    Path *string `json:"path,omitempty"`
    // APIVersions - The api versions.
    APIVersions *[]string `json:"apiVersions,omitempty"`
}

AliasPathType the type of the paths for alias.

type AliasType Uses

type AliasType struct {
    // Name - The alias name.
    Name *string `json:"name,omitempty"`
    // Paths - The paths for an alias.
    Paths *[]AliasPathType `json:"paths,omitempty"`
}

AliasType the alias type.

type BaseClient Uses

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

BaseClient is the base client for Resources.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicDependency Uses

type BasicDependency struct {
    // ID - The ID of the dependency.
    ID  *string `json:"id,omitempty"`
    // ResourceType - The dependency resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // ResourceName - The dependency resource name.
    ResourceName *string `json:"resourceName,omitempty"`
}

BasicDependency deployment dependency information.

type Client Uses

type Client struct {
    BaseClient
}

Client is the client for the Resources methods of the Resources service.

func NewClient Uses

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI Uses

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client.

func (Client) CheckExistence Uses

func (client Client) CheckExistence(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error)

CheckExistence checks whether resource exists. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceProviderNamespace - resource identity. parentResourcePath - resource identity. resourceType - resource identity. resourceName - resource identity.

func (Client) CheckExistencePreparer Uses

func (client Client) CheckExistencePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)

CheckExistencePreparer prepares the CheckExistence request.

func (Client) CheckExistenceResponder Uses

func (client Client) 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 (Client) CheckExistenceSender Uses

func (client Client) CheckExistenceSender(req *http.Request) (*http.Response, error)

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

func (Client) CreateOrUpdate Uses

func (client Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result GenericResource, err error)

CreateOrUpdate create a resource. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceProviderNamespace - resource identity. parentResourcePath - resource identity. resourceType - resource identity. resourceName - resource identity. parameters - create or update resource parameters.

func (Client) CreateOrUpdatePreparer Uses

func (client Client) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (Client) CreateOrUpdateResponder Uses

func (client Client) 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 (Client) CreateOrUpdateSender Uses

func (client Client) 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 (Client) Delete Uses

func (client Client) Delete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error)

Delete delete resource and all of its resources. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceProviderNamespace - resource identity. parentResourcePath - resource identity. resourceType - resource identity. resourceName - resource identity.

func (Client) DeletePreparer Uses

func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder Uses

func (client Client) 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 (Client) DeleteSender Uses

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

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

func (Client) Get Uses

func (client Client) Get(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result GenericResource, err error)

Get returns a resource belonging to a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceProviderNamespace - resource identity. parentResourcePath - resource identity. resourceType - resource identity. resourceName - resource identity.

func (Client) GetPreparer Uses

func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (Client) GetResponder Uses

func (client Client) 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 (Client) GetSender Uses

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

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

func (Client) List Uses

func (client Client) List(ctx context.Context, filter string, expand string, top *int32) (result ListResultPage, err error)

List get all of the resources under a subscription. Parameters: filter - the filter to apply on the operation. expand - the $expand query parameter. top - query parameters. If null is passed returns all resource groups.

func (Client) ListComplete Uses

func (client Client) ListComplete(ctx context.Context, filter string, expand string, top *int32) (result ListResultIterator, err error)

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

func (Client) ListPreparer Uses

func (client Client) ListPreparer(ctx context.Context, filter string, expand string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (Client) ListResponder Uses

func (client Client) 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 (Client) ListSender Uses

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

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

func (Client) MoveResources Uses

func (client Client) MoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo) (result MoveResourcesFuture, err error)

MoveResources move resources from one resource group to another. The resources being moved should all be in the same resource group. Parameters: sourceResourceGroupName - source resource group name. parameters - move resources' parameters.

func (Client) MoveResourcesPreparer Uses

func (client Client) MoveResourcesPreparer(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo) (*http.Request, error)

MoveResourcesPreparer prepares the MoveResources request.

func (Client) MoveResourcesResponder Uses

func (client Client) 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 (Client) MoveResourcesSender Uses

func (client Client) MoveResourcesSender(req *http.Request) (future MoveResourcesFuture, err error)

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

func (Client) Update Uses

func (client Client) Update(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result UpdateFuture, err error)

Update updates a resource. Parameters: resourceGroupName - the name of the resource group for the resource. The name is case insensitive. resourceProviderNamespace - the namespace of the resource provider. parentResourcePath - the parent resource identity. resourceType - the resource type of the resource to update. resourceName - the name of the resource to update. parameters - parameters for updating the resource.

func (Client) UpdatePreparer Uses

func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder Uses

func (client Client) UpdateResponder(resp *http.Response) (result GenericResource, err error)

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

func (Client) UpdateSender Uses

func (client Client) UpdateSender(req *http.Request) (future UpdateFuture, err error)

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

type CloudError Uses

type CloudError struct {
    Error *ErrorResponse `json:"error,omitempty"`
}

CloudError an error response for a resource management request.

type DebugSetting Uses

type DebugSetting struct {
    // DetailLevel - The debug detail level.
    DetailLevel *string `json:"detailLevel,omitempty"`
}

DebugSetting ...

type Dependency Uses

type Dependency struct {
    // DependsOn - The list of dependencies.
    DependsOn *[]BasicDependency `json:"dependsOn,omitempty"`
    // ID - The ID of the dependency.
    ID  *string `json:"id,omitempty"`
    // ResourceType - The dependency resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // ResourceName - The dependency resource name.
    ResourceName *string `json:"resourceName,omitempty"`
}

Dependency deployment dependency information.

type Deployment Uses

type Deployment struct {
    // Properties - The deployment properties.
    Properties *DeploymentProperties `json:"properties,omitempty"`
}

Deployment deployment operation parameters.

type DeploymentExportResult Uses

type DeploymentExportResult struct {
    autorest.Response `json:"-"`
    // Template - The template content.
    Template interface{} `json:"template,omitempty"`
}

DeploymentExportResult the deployment export result.

type DeploymentExtended Uses

type DeploymentExtended struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The ID of the deployment.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the deployment.
    Name *string `json:"name,omitempty"`
    // Properties - Deployment properties.
    Properties *DeploymentPropertiesExtended `json:"properties,omitempty"`
}

DeploymentExtended deployment information.

type DeploymentExtendedFilter Uses

type DeploymentExtendedFilter struct {
    // ProvisioningState - The provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

DeploymentExtendedFilter deployment filter.

type DeploymentListResult Uses

type DeploymentListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of deployments.
    Value *[]DeploymentExtended `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

DeploymentListResult list of deployments.

func (DeploymentListResult) IsEmpty Uses

func (dlr DeploymentListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DeploymentListResultIterator Uses

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

DeploymentListResultIterator provides access to a complete listing of DeploymentExtended values.

func NewDeploymentListResultIterator Uses

func NewDeploymentListResultIterator(page DeploymentListResultPage) DeploymentListResultIterator

Creates a new instance of the DeploymentListResultIterator type.

func (*DeploymentListResultIterator) Next Uses

func (iter *DeploymentListResultIterator) Next() error

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

func (*DeploymentListResultIterator) NextWithContext Uses

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

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

func (DeploymentListResultIterator) NotDone Uses

func (iter DeploymentListResultIterator) NotDone() bool

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

func (DeploymentListResultIterator) Response Uses

func (iter DeploymentListResultIterator) Response() DeploymentListResult

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

func (DeploymentListResultIterator) Value Uses

func (iter DeploymentListResultIterator) Value() DeploymentExtended

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

type DeploymentListResultPage Uses

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

DeploymentListResultPage contains a page of DeploymentExtended values.

func NewDeploymentListResultPage Uses

func NewDeploymentListResultPage(getNextPage func(context.Context, DeploymentListResult) (DeploymentListResult, error)) DeploymentListResultPage

Creates a new instance of the DeploymentListResultPage type.

func (*DeploymentListResultPage) Next Uses

func (page *DeploymentListResultPage) Next() error

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

func (*DeploymentListResultPage) NextWithContext Uses

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

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

func (DeploymentListResultPage) NotDone Uses

func (page DeploymentListResultPage) NotDone() bool

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

func (DeploymentListResultPage) Response Uses

func (page DeploymentListResultPage) Response() DeploymentListResult

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

func (DeploymentListResultPage) Values Uses

func (page DeploymentListResultPage) Values() []DeploymentExtended

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

type DeploymentMode Uses

type DeploymentMode string

DeploymentMode enumerates the values for deployment mode.

const (
    // Complete ...
    Complete DeploymentMode = "Complete"
    // Incremental ...
    Incremental DeploymentMode = "Incremental"
)

func PossibleDeploymentModeValues Uses

func PossibleDeploymentModeValues() []DeploymentMode

PossibleDeploymentModeValues returns an array of possible values for the DeploymentMode const type.

type DeploymentOperation Uses

type DeploymentOperation struct {
    autorest.Response `json:"-"`
    // ID - Full deployment operation id.
    ID  *string `json:"id,omitempty"`
    // OperationID - Deployment operation id.
    OperationID *string `json:"operationId,omitempty"`
    // Properties - Deployment properties.
    Properties *DeploymentOperationProperties `json:"properties,omitempty"`
}

DeploymentOperation deployment operation information.

type DeploymentOperationProperties Uses

type DeploymentOperationProperties struct {
    // ProvisioningState - The state of the provisioning.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Timestamp - The date and time of the operation.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // ServiceRequestID - Deployment operation service request id.
    ServiceRequestID *string `json:"serviceRequestId,omitempty"`
    // StatusCode - Operation status code.
    StatusCode *string `json:"statusCode,omitempty"`
    // StatusMessage - Operation status message.
    StatusMessage interface{} `json:"statusMessage,omitempty"`
    // TargetResource - The target resource.
    TargetResource *TargetResource `json:"targetResource,omitempty"`
    // Request - The HTTP request message.
    Request *HTTPMessage `json:"request,omitempty"`
    // Response - The HTTP response message.
    Response *HTTPMessage `json:"response,omitempty"`
}

DeploymentOperationProperties deployment operation properties.

type DeploymentOperationsClient Uses

type DeploymentOperationsClient struct {
    BaseClient
}

DeploymentOperationsClient is the client for the DeploymentOperations methods of the Resources service.

func NewDeploymentOperationsClient Uses

func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient

NewDeploymentOperationsClient creates an instance of the DeploymentOperationsClient client.

func NewDeploymentOperationsClientWithBaseURI Uses

func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient

NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient client.

func (DeploymentOperationsClient) Get Uses

func (client DeploymentOperationsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error)

Get get a list of deployments operations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment. operationID - operation Id.

func (DeploymentOperationsClient) GetPreparer Uses

func (client DeploymentOperationsClient) GetPreparer(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeploymentOperationsClient) GetResponder Uses

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 Uses

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

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

func (DeploymentOperationsClient) List Uses

func (client DeploymentOperationsClient) List(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)

List gets a list of deployments operations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment. top - query parameters.

func (DeploymentOperationsClient) ListComplete Uses

func (client DeploymentOperationsClient) ListComplete(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)

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

func (DeploymentOperationsClient) ListPreparer Uses

func (client DeploymentOperationsClient) ListPreparer(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (DeploymentOperationsClient) ListResponder Uses

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 Uses

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

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

type DeploymentOperationsListResult Uses

type DeploymentOperationsListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of deployments.
    Value *[]DeploymentOperation `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

DeploymentOperationsListResult list of deployment operations.

func (DeploymentOperationsListResult) IsEmpty Uses

func (dolr DeploymentOperationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DeploymentOperationsListResultIterator Uses

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

DeploymentOperationsListResultIterator provides access to a complete listing of DeploymentOperation values.

func NewDeploymentOperationsListResultIterator Uses

func NewDeploymentOperationsListResultIterator(page DeploymentOperationsListResultPage) DeploymentOperationsListResultIterator

Creates a new instance of the DeploymentOperationsListResultIterator type.

func (*DeploymentOperationsListResultIterator) Next Uses

func (iter *DeploymentOperationsListResultIterator) Next() error

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

func (*DeploymentOperationsListResultIterator) NextWithContext Uses

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

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

func (DeploymentOperationsListResultIterator) NotDone Uses

func (iter DeploymentOperationsListResultIterator) NotDone() bool

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

func (DeploymentOperationsListResultIterator) Response Uses

func (iter DeploymentOperationsListResultIterator) Response() DeploymentOperationsListResult

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

func (DeploymentOperationsListResultIterator) Value Uses

func (iter DeploymentOperationsListResultIterator) Value() DeploymentOperation

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

type DeploymentOperationsListResultPage Uses

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

DeploymentOperationsListResultPage contains a page of DeploymentOperation values.

func NewDeploymentOperationsListResultPage Uses

func NewDeploymentOperationsListResultPage(getNextPage func(context.Context, DeploymentOperationsListResult) (DeploymentOperationsListResult, error)) DeploymentOperationsListResultPage

Creates a new instance of the DeploymentOperationsListResultPage type.

func (*DeploymentOperationsListResultPage) Next Uses

func (page *DeploymentOperationsListResultPage) Next() error

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

func (*DeploymentOperationsListResultPage) NextWithContext Uses

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

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

func (DeploymentOperationsListResultPage) NotDone Uses

func (page DeploymentOperationsListResultPage) NotDone() bool

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

func (DeploymentOperationsListResultPage) Response Uses

func (page DeploymentOperationsListResultPage) Response() DeploymentOperationsListResult

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

func (DeploymentOperationsListResultPage) Values Uses

func (page DeploymentOperationsListResultPage) Values() []DeploymentOperation

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

type DeploymentProperties Uses

type DeploymentProperties struct {
    // Template - The template content. It can be a JObject or a well formed JSON string. Use only one of Template or TemplateLink.
    Template interface{} `json:"template,omitempty"`
    // TemplateLink - The template URI. Use only one of Template or TemplateLink.
    TemplateLink *TemplateLink `json:"templateLink,omitempty"`
    // Parameters - Deployment parameters. It can be a JObject or a well formed JSON string. Use only one of Parameters or ParametersLink.
    Parameters interface{} `json:"parameters,omitempty"`
    // ParametersLink - The parameters URI. Use only one of Parameters or ParametersLink.
    ParametersLink *ParametersLink `json:"parametersLink,omitempty"`
    // Mode - The deployment mode. Possible values include: 'Incremental', 'Complete'
    Mode DeploymentMode `json:"mode,omitempty"`
    // DebugSetting - The debug setting of the deployment.
    DebugSetting *DebugSetting `json:"debugSetting,omitempty"`
}

DeploymentProperties deployment properties.

type DeploymentPropertiesExtended Uses

type DeploymentPropertiesExtended struct {
    // ProvisioningState - The state of the provisioning.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // CorrelationID - The correlation ID of the deployment.
    CorrelationID *string `json:"correlationId,omitempty"`
    // Timestamp - The timestamp of the template deployment.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Outputs - Key/value pairs that represent deployment output.
    Outputs interface{} `json:"outputs,omitempty"`
    // Providers - The list of resource providers needed for the deployment.
    Providers *[]Provider `json:"providers,omitempty"`
    // Dependencies - The list of deployment dependencies.
    Dependencies *[]Dependency `json:"dependencies,omitempty"`
    // Template - The template content. Use only one of Template or TemplateLink.
    Template interface{} `json:"template,omitempty"`
    // TemplateLink - The URI referencing the template. Use only one of Template or TemplateLink.
    TemplateLink *TemplateLink `json:"templateLink,omitempty"`
    // Parameters - Deployment parameters. Use only one of Parameters or ParametersLink.
    Parameters interface{} `json:"parameters,omitempty"`
    // ParametersLink - The URI referencing the parameters. Use only one of Parameters or ParametersLink.
    ParametersLink *ParametersLink `json:"parametersLink,omitempty"`
    // Mode - The deployment mode. Possible values include: 'Incremental', 'Complete'
    Mode DeploymentMode `json:"mode,omitempty"`
    // DebugSetting - The debug setting of the deployment.
    DebugSetting *DebugSetting `json:"debugSetting,omitempty"`
}

DeploymentPropertiesExtended deployment properties with additional details.

type DeploymentValidateResult Uses

type DeploymentValidateResult struct {
    autorest.Response `json:"-"`
    // Error - Validation error.
    Error *ManagementErrorWithDetails `json:"error,omitempty"`
    // Properties - The template deployment properties.
    Properties *DeploymentPropertiesExtended `json:"properties,omitempty"`
}

DeploymentValidateResult information from validate template deployment response.

type DeploymentsClient Uses

type DeploymentsClient struct {
    BaseClient
}

DeploymentsClient is the client for the Deployments methods of the Resources service.

func NewDeploymentsClient Uses

func NewDeploymentsClient(subscriptionID string) DeploymentsClient

NewDeploymentsClient creates an instance of the DeploymentsClient client.

func NewDeploymentsClientWithBaseURI Uses

func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient

NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client.

func (DeploymentsClient) CalculateTemplateHash Uses

func (client DeploymentsClient) CalculateTemplateHash(ctx context.Context, templateParameter interface{}) (result TemplateHashResult, err error)

CalculateTemplateHash calculate the hash of the given template. Parameters: templateParameter - the template provided to calculate hash.

func (DeploymentsClient) CalculateTemplateHashPreparer Uses

func (client DeploymentsClient) CalculateTemplateHashPreparer(ctx context.Context, templateParameter interface{}) (*http.Request, error)

CalculateTemplateHashPreparer prepares the CalculateTemplateHash request.

func (DeploymentsClient) CalculateTemplateHashResponder Uses

func (client DeploymentsClient) CalculateTemplateHashResponder(resp *http.Response) (result TemplateHashResult, err error)

CalculateTemplateHashResponder handles the response to the CalculateTemplateHash request. The method always closes the http.Response Body.

func (DeploymentsClient) CalculateTemplateHashSender Uses

func (client DeploymentsClient) CalculateTemplateHashSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) Cancel Uses

func (client DeploymentsClient) Cancel(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error)

Cancel cancel a currently running template deployment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) CancelPreparer Uses

func (client DeploymentsClient) CancelPreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (DeploymentsClient) CancelResponder Uses

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 Uses

func (client DeploymentsClient) CancelSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CheckExistence Uses

func (client DeploymentsClient) CheckExistence(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error)

CheckExistence checks whether deployment exists. Parameters: resourceGroupName - the name of the resource group to check. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) CheckExistencePreparer Uses

func (client DeploymentsClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

CheckExistencePreparer prepares the CheckExistence request.

func (DeploymentsClient) CheckExistenceResponder Uses

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 Uses

func (client DeploymentsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CreateOrUpdate Uses

func (client DeploymentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateFuture, err error)

CreateOrUpdate create a named template deployment using a template. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment. parameters - additional parameters supplied to the operation.

func (DeploymentsClient) CreateOrUpdatePreparer Uses

func (client DeploymentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DeploymentsClient) CreateOrUpdateResponder Uses

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 Uses

func (client DeploymentsClient) CreateOrUpdateSender(req *http.Request) (future DeploymentsCreateOrUpdateFuture, err error)

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

func (DeploymentsClient) Delete Uses

func (client DeploymentsClient) Delete(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentsDeleteFuture, err error)

Delete delete deployment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment to be deleted.

func (DeploymentsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (DeploymentsClient) DeleteResponder Uses

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 Uses

func (client DeploymentsClient) DeleteSender(req *http.Request) (future DeploymentsDeleteFuture, err error)

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

func (DeploymentsClient) ExportTemplate Uses

func (client DeploymentsClient) ExportTemplate(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExportResult, err error)

ExportTemplate exports a deployment template. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) ExportTemplatePreparer Uses

func (client DeploymentsClient) ExportTemplatePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

ExportTemplatePreparer prepares the ExportTemplate request.

func (DeploymentsClient) ExportTemplateResponder Uses

func (client DeploymentsClient) ExportTemplateResponder(resp *http.Response) (result DeploymentExportResult, err error)

ExportTemplateResponder handles the response to the ExportTemplate request. The method always closes the http.Response Body.

func (DeploymentsClient) ExportTemplateSender Uses

func (client DeploymentsClient) ExportTemplateSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) Get Uses

func (client DeploymentsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExtended, err error)

Get get a deployment. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (DeploymentsClient) GetResponder Uses

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 Uses

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

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

func (DeploymentsClient) List Uses

func (client DeploymentsClient) List(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultPage, err error)

List get a list of deployments. Parameters: resourceGroupName - the name of the resource group to filter by. The name is case insensitive. filter - the filter to apply on the operation. top - query parameters. If null is passed returns all deployments.

func (DeploymentsClient) ListComplete Uses

func (client DeploymentsClient) ListComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultIterator, err error)

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

func (DeploymentsClient) ListPreparer Uses

func (client DeploymentsClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (DeploymentsClient) ListResponder Uses

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 Uses

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

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

func (DeploymentsClient) Validate Uses

func (client DeploymentsClient) Validate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)

Validate validate a deployment template. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment. parameters - deployment to validate.

func (DeploymentsClient) ValidatePreparer Uses

func (client DeploymentsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)

ValidatePreparer prepares the Validate request.

func (DeploymentsClient) ValidateResponder Uses

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 Uses

func (client DeploymentsClient) ValidateSender(req *http.Request) (*http.Response, error)

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

type DeploymentsCreateOrUpdateFuture Uses

type DeploymentsCreateOrUpdateFuture struct {
    azure.Future
}

DeploymentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsCreateOrUpdateFuture) Result Uses

func (future *DeploymentsCreateOrUpdateFuture) Result(client DeploymentsClient) (de DeploymentExtended, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DeploymentsDeleteFuture Uses

type DeploymentsDeleteFuture struct {
    azure.Future
}

DeploymentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeploymentsDeleteFuture) Result Uses

func (future *DeploymentsDeleteFuture) Result(client DeploymentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ErrorAdditionalInfo Uses

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

type ErrorResponse Uses

type ErrorResponse struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorResponse `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorResponse the resource management error response.

type ExportTemplateRequest Uses

type ExportTemplateRequest struct {
    // ResourcesProperty - The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
    ResourcesProperty *[]string `json:"resources,omitempty"`
    // Options - The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'
    Options *string `json:"options,omitempty"`
}

ExportTemplateRequest export resource group template request parameters.

type GenericResource Uses

type GenericResource struct {
    autorest.Response `json:"-"`
    // Plan - The plan of the resource.
    Plan *Plan `json:"plan,omitempty"`
    // Properties - The resource properties.
    Properties interface{} `json:"properties,omitempty"`
    // Kind - The kind of the resource.
    Kind *string `json:"kind,omitempty"`
    // ManagedBy - Id of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The sku of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Identity - The identity of the resource.
    Identity *Identity `json:"identity,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

GenericResource resource information.

func (GenericResource) MarshalJSON Uses

func (gr GenericResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GenericResource.

type GenericResourceFilter Uses

type GenericResourceFilter struct {
    // ResourceType - The resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // Tagname - The tag name.
    Tagname *string `json:"tagname,omitempty"`
    // Tagvalue - The tag value.
    Tagvalue *string `json:"tagvalue,omitempty"`
}

GenericResourceFilter resource filter.

type Group Uses

type Group struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The ID of the resource group.
    ID  *string `json:"id,omitempty"`
    // Name - The Name of the resource group.
    Name       *string          `json:"name,omitempty"`
    Properties *GroupProperties `json:"properties,omitempty"`
    // Location - The location of the resource group. It cannot be changed after the resource group has been created. Has to be one of the supported Azure Locations, such as West US, East US, West Europe, East Asia, etc.
    Location *string `json:"location,omitempty"`
    // Tags - The tags attached to the resource group.
    Tags map[string]*string `json:"tags"`
}

Group resource group information.

func (Group) MarshalJSON Uses

func (g Group) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Group.

type GroupExportResult Uses

type GroupExportResult struct {
    autorest.Response `json:"-"`
    // Template - The template content.
    Template interface{} `json:"template,omitempty"`
    // Error - The error.
    Error *ManagementErrorWithDetails `json:"error,omitempty"`
}

GroupExportResult ...

type GroupFilter Uses

type GroupFilter struct {
    // TagName - The tag name.
    TagName *string `json:"tagName,omitempty"`
    // TagValue - The tag value.
    TagValue *string `json:"tagValue,omitempty"`
}

GroupFilter resource group filter.

type GroupListResult Uses

type GroupListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of resource groups.
    Value *[]Group `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

GroupListResult list of resource groups.

func (GroupListResult) IsEmpty Uses

func (glr GroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GroupListResultIterator Uses

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

GroupListResultIterator provides access to a complete listing of Group values.

func NewGroupListResultIterator Uses

func NewGroupListResultIterator(page GroupListResultPage) GroupListResultIterator

Creates a new instance of the GroupListResultIterator type.

func (*GroupListResultIterator) Next Uses

func (iter *GroupListResultIterator) Next() error

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

func (*GroupListResultIterator) NextWithContext Uses

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

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

func (GroupListResultIterator) NotDone Uses

func (iter GroupListResultIterator) NotDone() bool

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

func (GroupListResultIterator) Response Uses

func (iter GroupListResultIterator) Response() GroupListResult

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

func (GroupListResultIterator) Value Uses

func (iter GroupListResultIterator) Value() Group

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

type GroupListResultPage Uses

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

GroupListResultPage contains a page of Group values.

func NewGroupListResultPage Uses

func NewGroupListResultPage(getNextPage func(context.Context, GroupListResult) (GroupListResult, error)) GroupListResultPage

Creates a new instance of the GroupListResultPage type.

func (*GroupListResultPage) Next Uses

func (page *GroupListResultPage) Next() error

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

func (*GroupListResultPage) NextWithContext Uses

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

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

func (GroupListResultPage) NotDone Uses

func (page GroupListResultPage) NotDone() bool

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

func (GroupListResultPage) Response Uses

func (page GroupListResultPage) Response() GroupListResult

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

func (GroupListResultPage) Values Uses

func (page GroupListResultPage) Values() []Group

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

type GroupProperties Uses

type GroupProperties struct {
    // ProvisioningState - READ-ONLY; The provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

GroupProperties the resource group properties.

type GroupsClient Uses

type GroupsClient struct {
    BaseClient
}

GroupsClient is the client for the Groups methods of the Resources service.

func NewGroupsClient Uses

func NewGroupsClient(subscriptionID string) GroupsClient

NewGroupsClient creates an instance of the GroupsClient client.

func NewGroupsClientWithBaseURI Uses

func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient

NewGroupsClientWithBaseURI creates an instance of the GroupsClient client.

func (GroupsClient) CheckExistence Uses

func (client GroupsClient) CheckExistence(ctx context.Context, resourceGroupName string) (result autorest.Response, err error)

CheckExistence checks whether resource group exists. Parameters: resourceGroupName - the name of the resource group to check. The name is case insensitive.

func (GroupsClient) CheckExistencePreparer Uses

func (client GroupsClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

CheckExistencePreparer prepares the CheckExistence request.

func (GroupsClient) CheckExistenceResponder Uses

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 Uses

func (client GroupsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)

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

func (GroupsClient) CreateOrUpdate Uses

func (client GroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters Group) (result Group, err error)

CreateOrUpdate create a resource group. Parameters: resourceGroupName - the name of the resource group to be created or updated. parameters - parameters supplied to the create or update resource group service operation.

func (GroupsClient) CreateOrUpdatePreparer Uses

func (client GroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, parameters Group) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GroupsClient) CreateOrUpdateResponder Uses

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 Uses

func (client GroupsClient) 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 (GroupsClient) Delete Uses

func (client GroupsClient) Delete(ctx context.Context, resourceGroupName string) (result GroupsDeleteFuture, err error)

Delete delete resource group. Parameters: resourceGroupName - the name of the resource group to be deleted. The name is case insensitive.

func (GroupsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (GroupsClient) DeleteResponder Uses

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 Uses

func (client GroupsClient) DeleteSender(req *http.Request) (future GroupsDeleteFuture, err error)

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

func (GroupsClient) ExportTemplate Uses

func (client GroupsClient) ExportTemplate(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (result GroupExportResult, err error)

ExportTemplate captures the specified resource group as a template. Parameters: resourceGroupName - the name of the resource group to be created or updated. parameters - parameters supplied to the export template resource group operation.

func (GroupsClient) ExportTemplatePreparer Uses

func (client GroupsClient) ExportTemplatePreparer(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (*http.Request, error)

ExportTemplatePreparer prepares the ExportTemplate request.

func (GroupsClient) ExportTemplateResponder Uses

func (client GroupsClient) ExportTemplateResponder(resp *http.Response) (result GroupExportResult, err error)

ExportTemplateResponder handles the response to the ExportTemplate request. The method always closes the http.Response Body.

func (GroupsClient) ExportTemplateSender Uses

func (client GroupsClient) ExportTemplateSender(req *http.Request) (*http.Response, error)

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

func (GroupsClient) Get Uses

func (client GroupsClient) Get(ctx context.Context, resourceGroupName string) (result Group, err error)

Get get a resource group. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive.

func (GroupsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (GroupsClient) GetResponder Uses

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 Uses

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

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

func (GroupsClient) List Uses

func (client GroupsClient) List(ctx context.Context, filter string, top *int32) (result GroupListResultPage, err error)

List gets a collection of resource groups. Parameters: filter - the filter to apply on the operation. top - query parameters. If null is passed returns all resource groups.

func (GroupsClient) ListComplete Uses

func (client GroupsClient) ListComplete(ctx context.Context, filter string, top *int32) (result GroupListResultIterator, err error)

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

func (GroupsClient) ListPreparer Uses

func (client GroupsClient) ListPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (GroupsClient) ListResources Uses

func (client GroupsClient) ListResources(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (result ListResultPage, err error)

ListResources get all of the resources under a subscription. Parameters: resourceGroupName - query parameters. If null is passed returns all resource groups. filter - the filter to apply on the operation. expand - the $expand query parameter top - query parameters. If null is passed returns all resource groups.

func (GroupsClient) ListResourcesComplete Uses

func (client GroupsClient) ListResourcesComplete(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (result ListResultIterator, err error)

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

func (GroupsClient) ListResourcesPreparer Uses

func (client GroupsClient) ListResourcesPreparer(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (*http.Request, error)

ListResourcesPreparer prepares the ListResources request.

func (GroupsClient) ListResourcesResponder Uses

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 Uses

func (client GroupsClient) ListResourcesSender(req *http.Request) (*http.Response, error)

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

func (GroupsClient) ListResponder Uses

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 Uses

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

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

func (GroupsClient) Patch Uses

func (client GroupsClient) Patch(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group to be created or updated. The name is case insensitive. parameters - parameters supplied to the update state resource group service operation.

func (GroupsClient) PatchPreparer Uses

func (client GroupsClient) PatchPreparer(ctx context.Context, resourceGroupName string, parameters Group) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (GroupsClient) PatchResponder Uses

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 Uses

func (client GroupsClient) PatchSender(req *http.Request) (*http.Response, error)

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

type GroupsDeleteFuture Uses

type GroupsDeleteFuture struct {
    azure.Future
}

GroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GroupsDeleteFuture) Result Uses

func (future *GroupsDeleteFuture) Result(client GroupsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type HTTPMessage Uses

type HTTPMessage struct {
    // Content - HTTP message content.
    Content interface{} `json:"content,omitempty"`
}

HTTPMessage ...

type Identity Uses

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

Identity identity for the resource.

type ListResult Uses

type ListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of resources.
    Value *[]GenericResource `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ListResult list of resource groups.

func (ListResult) IsEmpty Uses

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListResultIterator Uses

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

ListResultIterator provides access to a complete listing of GenericResource values.

func NewListResultIterator Uses

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next Uses

func (iter *ListResultIterator) Next() error

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

func (*ListResultIterator) NextWithContext Uses

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

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

func (ListResultIterator) NotDone Uses

func (iter ListResultIterator) NotDone() bool

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

func (ListResultIterator) Response Uses

func (iter ListResultIterator) Response() ListResult

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

func (ListResultIterator) Value Uses

func (iter ListResultIterator) Value() GenericResource

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

type ListResultPage Uses

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

ListResultPage contains a page of GenericResource values.

func NewListResultPage Uses

func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next Uses

func (page *ListResultPage) Next() error

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

func (*ListResultPage) NextWithContext Uses

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

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

func (ListResultPage) NotDone Uses

func (page ListResultPage) NotDone() bool

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

func (ListResultPage) Response Uses

func (page ListResultPage) Response() ListResult

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

func (ListResultPage) Values Uses

func (page ListResultPage) Values() []GenericResource

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

type ManagementErrorWithDetails Uses

type ManagementErrorWithDetails struct {
    // Code - The error code returned from the server.
    Code *string `json:"code,omitempty"`
    // Message - The error message returned from the server.
    Message *string `json:"message,omitempty"`
    // Target - The target of the error.
    Target *string `json:"target,omitempty"`
    // Details - Validation error.
    Details *[]ManagementErrorWithDetails `json:"details,omitempty"`
}

ManagementErrorWithDetails ...

type MoveInfo Uses

type MoveInfo struct {
    // ResourcesProperty - The ids of the resources.
    ResourcesProperty *[]string `json:"resources,omitempty"`
    // TargetResourceGroup - The target resource group.
    TargetResourceGroup *string `json:"targetResourceGroup,omitempty"`
}

MoveInfo parameters of move resources.

type MoveResourcesFuture Uses

type MoveResourcesFuture struct {
    azure.Future
}

MoveResourcesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MoveResourcesFuture) Result Uses

func (future *MoveResourcesFuture) Result(client Client) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ParametersLink struct {
    // URI - URI referencing the template.
    URI *string `json:"uri,omitempty"`
    // ContentVersion - If included it must match the ContentVersion in the template.
    ContentVersion *string `json:"contentVersion,omitempty"`
}

ParametersLink entity representing the reference to the deployment parameters.

type Plan Uses

type Plan struct {
    // Name - The plan ID.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - The offer ID.
    Product *string `json:"product,omitempty"`
    // PromotionCode - The promotion code.
    PromotionCode *string `json:"promotionCode,omitempty"`
}

Plan plan for the resource.

type Provider Uses

type Provider struct {
    autorest.Response `json:"-"`
    // ID - The provider id.
    ID  *string `json:"id,omitempty"`
    // Namespace - The namespace of the provider.
    Namespace *string `json:"namespace,omitempty"`
    // RegistrationState - The registration state of the provider.
    RegistrationState *string `json:"registrationState,omitempty"`
    // ResourceTypes - The collection of provider resource types.
    ResourceTypes *[]ProviderResourceType `json:"resourceTypes,omitempty"`
}

Provider resource provider information.

type ProviderListResult Uses

type ProviderListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of resource providers.
    Value *[]Provider `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ProviderListResult list of resource providers.

func (ProviderListResult) IsEmpty Uses

func (plr ProviderListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProviderListResultIterator Uses

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

ProviderListResultIterator provides access to a complete listing of Provider values.

func NewProviderListResultIterator Uses

func NewProviderListResultIterator(page ProviderListResultPage) ProviderListResultIterator

Creates a new instance of the ProviderListResultIterator type.

func (*ProviderListResultIterator) Next Uses

func (iter *ProviderListResultIterator) Next() error

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

func (*ProviderListResultIterator) NextWithContext Uses

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

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

func (ProviderListResultIterator) NotDone Uses

func (iter ProviderListResultIterator) NotDone() bool

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

func (ProviderListResultIterator) Response Uses

func (iter ProviderListResultIterator) Response() ProviderListResult

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

func (ProviderListResultIterator) Value Uses

func (iter ProviderListResultIterator) Value() Provider

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

type ProviderListResultPage Uses

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

ProviderListResultPage contains a page of Provider values.

func NewProviderListResultPage Uses

func NewProviderListResultPage(getNextPage func(context.Context, ProviderListResult) (ProviderListResult, error)) ProviderListResultPage

Creates a new instance of the ProviderListResultPage type.

func (*ProviderListResultPage) Next Uses

func (page *ProviderListResultPage) Next() error

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

func (*ProviderListResultPage) NextWithContext Uses

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

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

func (ProviderListResultPage) NotDone Uses

func (page ProviderListResultPage) NotDone() bool

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

func (ProviderListResultPage) Response Uses

func (page ProviderListResultPage) Response() ProviderListResult

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

func (ProviderListResultPage) Values Uses

func (page ProviderListResultPage) Values() []Provider

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

type ProviderOperationDisplayProperties Uses

type ProviderOperationDisplayProperties struct {
    // Publisher - Operation description.
    Publisher *string `json:"publisher,omitempty"`
    // Provider - Operation provider.
    Provider *string `json:"provider,omitempty"`
    // Resource - Operation resource.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation.
    Operation *string `json:"operation,omitempty"`
    // Description - Operation description.
    Description *string `json:"description,omitempty"`
}

ProviderOperationDisplayProperties resource provider operation's display properties.

type ProviderResourceType Uses

type ProviderResourceType struct {
    // ResourceType - The resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // Locations - The collection of locations where this resource type can be created in.
    Locations *[]string `json:"locations,omitempty"`
    // Aliases - The aliases that are supported by this resource type.
    Aliases *[]AliasType `json:"aliases,omitempty"`
    // APIVersions - The api version.
    APIVersions *[]string `json:"apiVersions,omitempty"`
    // Properties - The properties.
    Properties map[string]*string `json:"properties"`
}

ProviderResourceType resource type managed by the resource provider.

func (ProviderResourceType) MarshalJSON Uses

func (prt ProviderResourceType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProviderResourceType.

type ProvidersClient Uses

type ProvidersClient struct {
    BaseClient
}

ProvidersClient is the client for the Providers methods of the Resources service.

func NewProvidersClient Uses

func NewProvidersClient(subscriptionID string) ProvidersClient

NewProvidersClient creates an instance of the ProvidersClient client.

func NewProvidersClientWithBaseURI Uses

func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient

NewProvidersClientWithBaseURI creates an instance of the ProvidersClient client.

func (ProvidersClient) Get Uses

func (client ProvidersClient) Get(ctx context.Context, resourceProviderNamespace string, expand string) (result Provider, err error)

Get gets a resource provider. Parameters: resourceProviderNamespace - namespace of the resource provider. expand - the $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

func (ProvidersClient) GetPreparer Uses

func (client ProvidersClient) GetPreparer(ctx context.Context, resourceProviderNamespace string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProvidersClient) GetResponder Uses

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 Uses

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

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

func (ProvidersClient) List Uses

func (client ProvidersClient) List(ctx context.Context, top *int32, expand string) (result ProviderListResultPage, err error)

List gets a list of resource providers. Parameters: top - query parameters. If null is passed returns all deployments. expand - the $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

func (ProvidersClient) ListComplete Uses

func (client ProvidersClient) ListComplete(ctx context.Context, top *int32, expand string) (result ProviderListResultIterator, err error)

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

func (ProvidersClient) ListPreparer Uses

func (client ProvidersClient) ListPreparer(ctx context.Context, top *int32, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProvidersClient) ListResponder Uses

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 Uses

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

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

func (ProvidersClient) Register Uses

func (client ProvidersClient) Register(ctx context.Context, resourceProviderNamespace string) (result Provider, err error)

Register registers provider to be used with a subscription. Parameters: resourceProviderNamespace - namespace of the resource provider.

func (ProvidersClient) RegisterPreparer Uses

func (client ProvidersClient) RegisterPreparer(ctx context.Context, resourceProviderNamespace string) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (ProvidersClient) RegisterResponder Uses

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 Uses

func (client ProvidersClient) RegisterSender(req *http.Request) (*http.Response, error)

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

func (ProvidersClient) Unregister Uses

func (client ProvidersClient) Unregister(ctx context.Context, resourceProviderNamespace string) (result Provider, err error)

Unregister unregisters provider from a subscription. Parameters: resourceProviderNamespace - namespace of the resource provider.

func (ProvidersClient) UnregisterPreparer Uses

func (client ProvidersClient) UnregisterPreparer(ctx context.Context, resourceProviderNamespace string) (*http.Request, error)

UnregisterPreparer prepares the Unregister request.

func (ProvidersClient) UnregisterResponder Uses

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 Uses

func (client ProvidersClient) UnregisterSender(req *http.Request) (*http.Response, error)

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

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

Resource ...

func (Resource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType Uses

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

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

func PossibleResourceIdentityTypeValues Uses

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

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

type Sku Uses

type Sku struct {
    // Name - The sku name.
    Name *string `json:"name,omitempty"`
    // Tier - The sku tier.
    Tier *string `json:"tier,omitempty"`
    // Size - The sku size.
    Size *string `json:"size,omitempty"`
    // Family - The sku family.
    Family *string `json:"family,omitempty"`
    // Model - The sku model.
    Model *string `json:"model,omitempty"`
    // Capacity - The sku capacity.
    Capacity *int32 `json:"capacity,omitempty"`
}

Sku sku for the resource.

type SubResource Uses

type SubResource struct {
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

SubResource ...

type TagCount Uses

type TagCount struct {
    // Type - Type of count.
    Type *string `json:"type,omitempty"`
    // Value - Value of count.
    Value *string `json:"value,omitempty"`
}

TagCount tag count.

type TagDetails Uses

type TagDetails struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The tag ID.
    ID  *string `json:"id,omitempty"`
    // TagName - The tag name.
    TagName *string `json:"tagName,omitempty"`
    // Count - The tag count.
    Count *TagCount `json:"count,omitempty"`
    // Values - The list of tag values.
    Values *[]TagValue `json:"values,omitempty"`
}

TagDetails tag details.

type TagValue Uses

type TagValue struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The tag ID.
    ID  *string `json:"id,omitempty"`
    // TagValue - The tag value.
    TagValue *string `json:"tagValue,omitempty"`
    // Count - The tag value count.
    Count *TagCount `json:"count,omitempty"`
}

TagValue tag information.

type TagsClient Uses

type TagsClient struct {
    BaseClient
}

TagsClient is the client for the Tags methods of the Resources service.

func NewTagsClient Uses

func NewTagsClient(subscriptionID string) TagsClient

NewTagsClient creates an instance of the TagsClient client.

func NewTagsClientWithBaseURI Uses

func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient

NewTagsClientWithBaseURI creates an instance of the TagsClient client.

func (TagsClient) CreateOrUpdate Uses

func (client TagsClient) CreateOrUpdate(ctx context.Context, tagName string) (result TagDetails, err error)

CreateOrUpdate create a subscription resource tag. Parameters: tagName - the name of the tag.

func (TagsClient) CreateOrUpdatePreparer Uses

func (client TagsClient) CreateOrUpdatePreparer(ctx context.Context, tagName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TagsClient) CreateOrUpdateResponder Uses

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 Uses

func (client TagsClient) 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 (TagsClient) CreateOrUpdateValue Uses

func (client TagsClient) CreateOrUpdateValue(ctx context.Context, tagName string, tagValue string) (result TagValue, err error)

CreateOrUpdateValue create a subscription resource tag value. Parameters: tagName - the name of the tag. tagValue - the value of the tag.

func (TagsClient) CreateOrUpdateValuePreparer Uses

func (client TagsClient) CreateOrUpdateValuePreparer(ctx context.Context, tagName string, tagValue string) (*http.Request, error)

CreateOrUpdateValuePreparer prepares the CreateOrUpdateValue request.

func (TagsClient) CreateOrUpdateValueResponder Uses

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 Uses

func (client TagsClient) CreateOrUpdateValueSender(req *http.Request) (*http.Response, error)

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

func (TagsClient) Delete Uses

func (client TagsClient) Delete(ctx context.Context, tagName string) (result autorest.Response, err error)

Delete delete a subscription resource tag. Parameters: tagName - the name of the tag.

func (TagsClient) DeletePreparer Uses

func (client TagsClient) DeletePreparer(ctx context.Context, tagName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TagsClient) DeleteResponder Uses

func (client TagsClient) 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 (TagsClient) DeleteSender Uses

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

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

func (TagsClient) DeleteValue Uses

func (client TagsClient) DeleteValue(ctx context.Context, tagName string, tagValue string) (result autorest.Response, err error)

DeleteValue delete a subscription resource tag value. Parameters: tagName - the name of the tag. tagValue - the value of the tag.

func (TagsClient) DeleteValuePreparer Uses

func (client TagsClient) DeleteValuePreparer(ctx context.Context, tagName string, tagValue string) (*http.Request, error)

DeleteValuePreparer prepares the DeleteValue request.

func (TagsClient) DeleteValueResponder Uses

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 Uses

func (client TagsClient) DeleteValueSender(req *http.Request) (*http.Response, error)

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

func (TagsClient) List Uses

func (client TagsClient) List(ctx context.Context) (result TagsListResultPage, err error)

List get a list of subscription resource tags.

func (TagsClient) ListComplete Uses

func (client TagsClient) ListComplete(ctx context.Context) (result TagsListResultIterator, err error)

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

func (TagsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (TagsClient) ListResponder Uses

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 Uses

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

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

type TagsListResult Uses

type TagsListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of tags.
    Value *[]TagDetails `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

TagsListResult list of subscription tags.

func (TagsListResult) IsEmpty Uses

func (tlr TagsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TagsListResultIterator Uses

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

TagsListResultIterator provides access to a complete listing of TagDetails values.

func NewTagsListResultIterator Uses

func NewTagsListResultIterator(page TagsListResultPage) TagsListResultIterator

Creates a new instance of the TagsListResultIterator type.

func (*TagsListResultIterator) Next Uses

func (iter *TagsListResultIterator) Next() error

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

func (*TagsListResultIterator) NextWithContext Uses

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

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

func (TagsListResultIterator) NotDone Uses

func (iter TagsListResultIterator) NotDone() bool

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

func (TagsListResultIterator) Response Uses

func (iter TagsListResultIterator) Response() TagsListResult

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

func (TagsListResultIterator) Value Uses

func (iter TagsListResultIterator) Value() TagDetails

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

type TagsListResultPage Uses

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

TagsListResultPage contains a page of TagDetails values.

func NewTagsListResultPage Uses

func NewTagsListResultPage(getNextPage func(context.Context, TagsListResult) (TagsListResult, error)) TagsListResultPage

Creates a new instance of the TagsListResultPage type.

func (*TagsListResultPage) Next Uses

func (page *TagsListResultPage) Next() error

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

func (*TagsListResultPage) NextWithContext Uses

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

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

func (TagsListResultPage) NotDone Uses

func (page TagsListResultPage) NotDone() bool

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

func (TagsListResultPage) Response Uses

func (page TagsListResultPage) Response() TagsListResult

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

func (TagsListResultPage) Values Uses

func (page TagsListResultPage) Values() []TagDetails

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

type TargetResource Uses

type TargetResource struct {
    // ID - The ID of the resource.
    ID  *string `json:"id,omitempty"`
    // ResourceName - The name of the resource.
    ResourceName *string `json:"resourceName,omitempty"`
    // ResourceType - The type of the resource.
    ResourceType *string `json:"resourceType,omitempty"`
}

TargetResource target resource.

type TemplateHashResult Uses

type TemplateHashResult struct {
    autorest.Response `json:"-"`
    // MinifiedTemplate - The minified template string.
    MinifiedTemplate *string `json:"minifiedTemplate,omitempty"`
    // TemplateHash - The template hash.
    TemplateHash *string `json:"templateHash,omitempty"`
}

TemplateHashResult result of the request to calculate template hash. It contains a string of minified template and its hash.

type TemplateLink struct {
    // URI - URI referencing the template.
    URI *string `json:"uri,omitempty"`
    // ContentVersion - If included it must match the ContentVersion in the template.
    ContentVersion *string `json:"contentVersion,omitempty"`
}

TemplateLink entity representing the reference to the template.

type UpdateFuture Uses

type UpdateFuture struct {
    azure.Future
}

UpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*UpdateFuture) Result Uses

func (future *UpdateFuture) Result(client Client) (gr GenericResource, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

PathSynopsis
resourcesapi

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