Documentation ¶
Index ¶
- type AliasPathType
- type AliasType
- type BasicDependency
- type Client
- func (client *Client) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (*runtime.Poller[ClientCreateOrUpdateResponse], error)
- func (client *Client) BeginCreateOrUpdateByID(ctx context.Context, resourceID string, apiVersion string, ...) (*runtime.Poller[ClientCreateOrUpdateByIDResponse], error)
- func (client *Client) BeginDelete(ctx context.Context, resourceGroupName string, ...) (*runtime.Poller[ClientDeleteResponse], error)
- func (client *Client) BeginDeleteByID(ctx context.Context, resourceID string, apiVersion string, ...) (*runtime.Poller[ClientDeleteByIDResponse], error)
- func (client *Client) BeginMoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo, ...) (*runtime.Poller[ClientMoveResourcesResponse], error)
- func (client *Client) BeginUpdate(ctx context.Context, resourceGroupName string, ...) (*runtime.Poller[ClientUpdateResponse], error)
- func (client *Client) BeginUpdateByID(ctx context.Context, resourceID string, apiVersion string, ...) (*runtime.Poller[ClientUpdateByIDResponse], error)
- func (client *Client) BeginValidateMoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo, ...) (*runtime.Poller[ClientValidateMoveResourcesResponse], error)
- func (client *Client) CheckExistence(ctx context.Context, resourceGroupName string, ...) (ClientCheckExistenceResponse, error)
- func (client *Client) CheckExistenceByID(ctx context.Context, resourceID string, apiVersion string, ...) (ClientCheckExistenceByIDResponse, error)
- func (client *Client) Get(ctx context.Context, resourceGroupName string, ...) (ClientGetResponse, error)
- func (client *Client) GetByID(ctx context.Context, resourceID string, apiVersion string, ...) (ClientGetByIDResponse, error)
- func (client *Client) NewListByResourceGroupPager(resourceGroupName string, options *ClientListByResourceGroupOptions) *runtime.Pager[ClientListByResourceGroupResponse]
- func (client *Client) NewListPager(options *ClientListOptions) *runtime.Pager[ClientListResponse]
- type ClientBeginCreateOrUpdateByIDOptions
- type ClientBeginCreateOrUpdateOptions
- type ClientBeginDeleteByIDOptions
- type ClientBeginDeleteOptions
- type ClientBeginMoveResourcesOptions
- type ClientBeginUpdateByIDOptions
- type ClientBeginUpdateOptions
- type ClientBeginValidateMoveResourcesOptions
- type ClientCheckExistenceByIDOptions
- type ClientCheckExistenceByIDResponse
- type ClientCheckExistenceOptions
- type ClientCheckExistenceResponse
- type ClientCreateOrUpdateByIDResponse
- type ClientCreateOrUpdateResponse
- type ClientDeleteByIDResponse
- type ClientDeleteResponse
- type ClientGetByIDOptions
- type ClientGetByIDResponse
- type ClientGetOptions
- type ClientGetResponse
- type ClientListByResourceGroupOptions
- type ClientListByResourceGroupResponse
- type ClientListOptions
- type ClientListResponse
- type ClientMoveResourcesResponse
- type ClientUpdateByIDResponse
- type ClientUpdateResponse
- type ClientValidateMoveResourcesResponse
- type CloudError
- type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties
- type DebugSetting
- type Dependency
- type Deployment
- type DeploymentExportResult
- type DeploymentExtended
- type DeploymentExtendedFilter
- type DeploymentListResult
- type DeploymentMode
- type DeploymentOperation
- type DeploymentOperationProperties
- type DeploymentOperationsClient
- func (client *DeploymentOperationsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, ...) (DeploymentOperationsClientGetResponse, error)
- func (client *DeploymentOperationsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string, operationID string, ...) (DeploymentOperationsClientGetAtSubscriptionScopeResponse, error)
- func (client *DeploymentOperationsClient) NewListAtSubscriptionScopePager(deploymentName string, ...) *runtime.Pager[DeploymentOperationsClientListAtSubscriptionScopeResponse]
- func (client *DeploymentOperationsClient) NewListPager(resourceGroupName string, deploymentName string, ...) *runtime.Pager[DeploymentOperationsClientListResponse]
- type DeploymentOperationsClientGetAtSubscriptionScopeOptions
- type DeploymentOperationsClientGetAtSubscriptionScopeResponse
- type DeploymentOperationsClientGetOptions
- type DeploymentOperationsClientGetResponse
- type DeploymentOperationsClientListAtSubscriptionScopeOptions
- type DeploymentOperationsClientListAtSubscriptionScopeResponse
- type DeploymentOperationsClientListOptions
- type DeploymentOperationsClientListResponse
- type DeploymentOperationsListResult
- type DeploymentProperties
- type DeploymentPropertiesExtended
- type DeploymentValidateResult
- type DeploymentsClient
- func (client *DeploymentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, deploymentName string, ...) (*runtime.Poller[DeploymentsClientCreateOrUpdateResponse], error)
- func (client *DeploymentsClient) BeginCreateOrUpdateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment, ...) (*runtime.Poller[DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse], ...)
- func (client *DeploymentsClient) BeginDelete(ctx context.Context, resourceGroupName string, deploymentName string, ...) (*runtime.Poller[DeploymentsClientDeleteResponse], error)
- func (client *DeploymentsClient) BeginDeleteAtSubscriptionScope(ctx context.Context, deploymentName string, ...) (*runtime.Poller[DeploymentsClientDeleteAtSubscriptionScopeResponse], error)
- func (client *DeploymentsClient) CalculateTemplateHash(ctx context.Context, templateParam interface{}, ...) (DeploymentsClientCalculateTemplateHashResponse, error)
- func (client *DeploymentsClient) Cancel(ctx context.Context, resourceGroupName string, deploymentName string, ...) (DeploymentsClientCancelResponse, error)
- func (client *DeploymentsClient) CancelAtSubscriptionScope(ctx context.Context, deploymentName string, ...) (DeploymentsClientCancelAtSubscriptionScopeResponse, error)
- func (client *DeploymentsClient) CheckExistence(ctx context.Context, resourceGroupName string, deploymentName string, ...) (DeploymentsClientCheckExistenceResponse, error)
- func (client *DeploymentsClient) CheckExistenceAtSubscriptionScope(ctx context.Context, deploymentName string, ...) (DeploymentsClientCheckExistenceAtSubscriptionScopeResponse, error)
- func (client *DeploymentsClient) ExportTemplate(ctx context.Context, resourceGroupName string, deploymentName string, ...) (DeploymentsClientExportTemplateResponse, error)
- func (client *DeploymentsClient) ExportTemplateAtSubscriptionScope(ctx context.Context, deploymentName string, ...) (DeploymentsClientExportTemplateAtSubscriptionScopeResponse, error)
- func (client *DeploymentsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, ...) (DeploymentsClientGetResponse, error)
- func (client *DeploymentsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string, ...) (DeploymentsClientGetAtSubscriptionScopeResponse, error)
- func (client *DeploymentsClient) NewListAtSubscriptionScopePager(options *DeploymentsClientListAtSubscriptionScopeOptions) *runtime.Pager[DeploymentsClientListAtSubscriptionScopeResponse]
- func (client *DeploymentsClient) NewListByResourceGroupPager(resourceGroupName string, options *DeploymentsClientListByResourceGroupOptions) *runtime.Pager[DeploymentsClientListByResourceGroupResponse]
- func (client *DeploymentsClient) Validate(ctx context.Context, resourceGroupName string, deploymentName string, ...) (DeploymentsClientValidateResponse, error)
- func (client *DeploymentsClient) ValidateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment, ...) (DeploymentsClientValidateAtSubscriptionScopeResponse, error)
- type DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions
- type DeploymentsClientBeginCreateOrUpdateOptions
- type DeploymentsClientBeginDeleteAtSubscriptionScopeOptions
- type DeploymentsClientBeginDeleteOptions
- type DeploymentsClientCalculateTemplateHashOptions
- type DeploymentsClientCalculateTemplateHashResponse
- type DeploymentsClientCancelAtSubscriptionScopeOptions
- type DeploymentsClientCancelAtSubscriptionScopeResponse
- type DeploymentsClientCancelOptions
- type DeploymentsClientCancelResponse
- type DeploymentsClientCheckExistenceAtSubscriptionScopeOptions
- type DeploymentsClientCheckExistenceAtSubscriptionScopeResponse
- type DeploymentsClientCheckExistenceOptions
- type DeploymentsClientCheckExistenceResponse
- type DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse
- type DeploymentsClientCreateOrUpdateResponse
- type DeploymentsClientDeleteAtSubscriptionScopeResponse
- type DeploymentsClientDeleteResponse
- type DeploymentsClientExportTemplateAtSubscriptionScopeOptions
- type DeploymentsClientExportTemplateAtSubscriptionScopeResponse
- type DeploymentsClientExportTemplateOptions
- type DeploymentsClientExportTemplateResponse
- type DeploymentsClientGetAtSubscriptionScopeOptions
- type DeploymentsClientGetAtSubscriptionScopeResponse
- type DeploymentsClientGetOptions
- type DeploymentsClientGetResponse
- type DeploymentsClientListAtSubscriptionScopeOptions
- type DeploymentsClientListAtSubscriptionScopeResponse
- type DeploymentsClientListByResourceGroupOptions
- type DeploymentsClientListByResourceGroupResponse
- type DeploymentsClientValidateAtSubscriptionScopeOptions
- type DeploymentsClientValidateAtSubscriptionScopeResponse
- type DeploymentsClientValidateOptions
- type DeploymentsClientValidateResponse
- type ErrorAdditionalInfo
- type ErrorResponse
- type ExportTemplateRequest
- type GenericResource
- type GenericResourceExpanded
- type GenericResourceFilter
- type HTTPMessage
- type Identity
- type MoveInfo
- type OnErrorDeployment
- type OnErrorDeploymentExtended
- type OnErrorDeploymentType
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type ParametersLink
- type Plan
- type Provider
- type ProviderListResult
- type ProviderResourceType
- type ProvidersClient
- func (client *ProvidersClient) Get(ctx context.Context, resourceProviderNamespace string, ...) (ProvidersClientGetResponse, error)
- func (client *ProvidersClient) NewListPager(options *ProvidersClientListOptions) *runtime.Pager[ProvidersClientListResponse]
- func (client *ProvidersClient) Register(ctx context.Context, resourceProviderNamespace string, ...) (ProvidersClientRegisterResponse, error)
- func (client *ProvidersClient) Unregister(ctx context.Context, resourceProviderNamespace string, ...) (ProvidersClientUnregisterResponse, error)
- type ProvidersClientGetOptions
- type ProvidersClientGetResponse
- type ProvidersClientListOptions
- type ProvidersClientListResponse
- type ProvidersClientRegisterOptions
- type ProvidersClientRegisterResponse
- type ProvidersClientUnregisterOptions
- type ProvidersClientUnregisterResponse
- type Resource
- type ResourceGroup
- type ResourceGroupExportResult
- type ResourceGroupFilter
- type ResourceGroupListResult
- type ResourceGroupPatchable
- type ResourceGroupProperties
- type ResourceGroupsClient
- func (client *ResourceGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, ...) (*runtime.Poller[ResourceGroupsClientDeleteResponse], error)
- func (client *ResourceGroupsClient) CheckExistence(ctx context.Context, resourceGroupName string, ...) (ResourceGroupsClientCheckExistenceResponse, error)
- func (client *ResourceGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters ResourceGroup, ...) (ResourceGroupsClientCreateOrUpdateResponse, error)
- func (client *ResourceGroupsClient) ExportTemplate(ctx context.Context, resourceGroupName string, ...) (ResourceGroupsClientExportTemplateResponse, error)
- func (client *ResourceGroupsClient) Get(ctx context.Context, resourceGroupName string, ...) (ResourceGroupsClientGetResponse, error)
- func (client *ResourceGroupsClient) NewListPager(options *ResourceGroupsClientListOptions) *runtime.Pager[ResourceGroupsClientListResponse]
- func (client *ResourceGroupsClient) Update(ctx context.Context, resourceGroupName string, ...) (ResourceGroupsClientUpdateResponse, error)
- type ResourceGroupsClientBeginDeleteOptions
- type ResourceGroupsClientCheckExistenceOptions
- type ResourceGroupsClientCheckExistenceResponse
- type ResourceGroupsClientCreateOrUpdateOptions
- type ResourceGroupsClientCreateOrUpdateResponse
- type ResourceGroupsClientDeleteResponse
- type ResourceGroupsClientExportTemplateOptions
- type ResourceGroupsClientExportTemplateResponse
- type ResourceGroupsClientGetOptions
- type ResourceGroupsClientGetResponse
- type ResourceGroupsClientListOptions
- type ResourceGroupsClientListResponse
- type ResourceGroupsClientUpdateOptions
- type ResourceGroupsClientUpdateResponse
- type ResourceIdentityType
- type ResourceListResult
- type ResourceManagementErrorWithDetails
- type ResourceProviderOperationDisplayProperties
- type SKU
- type SubResource
- type TagCount
- type TagDetails
- type TagValue
- type TagsClient
- func (client *TagsClient) CreateOrUpdate(ctx context.Context, tagName string, options *TagsClientCreateOrUpdateOptions) (TagsClientCreateOrUpdateResponse, error)
- func (client *TagsClient) CreateOrUpdateValue(ctx context.Context, tagName string, tagValue string, ...) (TagsClientCreateOrUpdateValueResponse, error)
- func (client *TagsClient) Delete(ctx context.Context, tagName string, options *TagsClientDeleteOptions) (TagsClientDeleteResponse, error)
- func (client *TagsClient) DeleteValue(ctx context.Context, tagName string, tagValue string, ...) (TagsClientDeleteValueResponse, error)
- func (client *TagsClient) NewListPager(options *TagsClientListOptions) *runtime.Pager[TagsClientListResponse]
- type TagsClientCreateOrUpdateOptions
- type TagsClientCreateOrUpdateResponse
- type TagsClientCreateOrUpdateValueOptions
- type TagsClientCreateOrUpdateValueResponse
- type TagsClientDeleteOptions
- type TagsClientDeleteResponse
- type TagsClientDeleteValueOptions
- type TagsClientDeleteValueResponse
- type TagsClientListOptions
- type TagsClientListResponse
- type TagsListResult
- type TargetResource
- type TemplateHashResult
- type TemplateLink
- type ZoneMapping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasPathType ¶
type AliasPathType struct { // The API versions. APIVersions []*string `json:"apiVersions,omitempty"` // The path of an alias. Path *string `json:"path,omitempty"` }
AliasPathType - The type of the paths for alias.
func (AliasPathType) MarshalJSON ¶
func (a AliasPathType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AliasPathType.
func (*AliasPathType) UnmarshalJSON ¶
func (a *AliasPathType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AliasPathType.
type AliasType ¶
type AliasType struct { // The alias name. Name *string `json:"name,omitempty"` // The paths for an alias. Paths []*AliasPathType `json:"paths,omitempty"` }
AliasType - The alias type.
func (AliasType) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type AliasType.
func (*AliasType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type AliasType.
type BasicDependency ¶
type BasicDependency struct { // The ID of the dependency. ID *string `json:"id,omitempty"` // The dependency resource name. ResourceName *string `json:"resourceName,omitempty"` // The dependency resource type. ResourceType *string `json:"resourceType,omitempty"` }
BasicDependency - Deployment dependency information.
func (BasicDependency) MarshalJSON ¶
func (b BasicDependency) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type BasicDependency.
func (*BasicDependency) UnmarshalJSON ¶
func (b *BasicDependency) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type BasicDependency.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client contains the methods for the Resources group. Don't use this type directly, use NewClient() instead.
func NewClient ¶
func NewClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*Client, error)
NewClient creates a new instance of Client with the specified values. subscriptionID - The ID of the target subscription. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*Client) BeginCreateOrUpdate ¶
func (client *Client) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters GenericResource, options *ClientBeginCreateOrUpdateOptions) (*runtime.Poller[ClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Creates a resource. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 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 create. resourceName - The name of the resource to create. apiVersion - The API version to use for the operation. parameters - Parameters for creating or updating the resource. options - ClientBeginCreateOrUpdateOptions contains the optional parameters for the Client.BeginCreateOrUpdate method.
func (*Client) BeginCreateOrUpdateByID ¶
func (client *Client) BeginCreateOrUpdateByID(ctx context.Context, resourceID string, apiVersion string, parameters GenericResource, options *ClientBeginCreateOrUpdateByIDOptions) (*runtime.Poller[ClientCreateOrUpdateByIDResponse], error)
BeginCreateOrUpdateByID - Create a resource by ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceID - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} apiVersion - The API version to use for the operation. parameters - Create or update resource parameters. options - ClientBeginCreateOrUpdateByIDOptions contains the optional parameters for the Client.BeginCreateOrUpdateByID method.
func (*Client) BeginDelete ¶
func (client *Client) BeginDelete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, options *ClientBeginDeleteOptions) (*runtime.Poller[ClientDeleteResponse], error)
BeginDelete - Deletes a resource. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive. resourceProviderNamespace - The namespace of the resource provider. parentResourcePath - The parent resource identity. resourceType - The resource type. resourceName - The name of the resource to delete. apiVersion - The API version to use for the operation. options - ClientBeginDeleteOptions contains the optional parameters for the Client.BeginDelete method.
func (*Client) BeginDeleteByID ¶
func (client *Client) BeginDeleteByID(ctx context.Context, resourceID string, apiVersion string, options *ClientBeginDeleteByIDOptions) (*runtime.Poller[ClientDeleteByIDResponse], error)
BeginDeleteByID - Deletes a resource by ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceID - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} apiVersion - The API version to use for the operation. options - ClientBeginDeleteByIDOptions contains the optional parameters for the Client.BeginDeleteByID method.
func (*Client) BeginMoveResources ¶
func (client *Client) BeginMoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo, options *ClientBeginMoveResourcesOptions) (*runtime.Poller[ClientMoveResourcesResponse], error)
BeginMoveResources - The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 sourceResourceGroupName - The name of the resource group containing the resources to move. parameters - Parameters for moving resources. options - ClientBeginMoveResourcesOptions contains the optional parameters for the Client.BeginMoveResources method.
func (*Client) BeginUpdate ¶
func (client *Client) BeginUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters GenericResource, options *ClientBeginUpdateOptions) (*runtime.Poller[ClientUpdateResponse], error)
BeginUpdate - Updates a resource. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 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. apiVersion - The API version to use for the operation. parameters - Parameters for updating the resource. options - ClientBeginUpdateOptions contains the optional parameters for the Client.BeginUpdate method.
func (*Client) BeginUpdateByID ¶
func (client *Client) BeginUpdateByID(ctx context.Context, resourceID string, apiVersion string, parameters GenericResource, options *ClientBeginUpdateByIDOptions) (*runtime.Poller[ClientUpdateByIDResponse], error)
BeginUpdateByID - Updates a resource by ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceID - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} apiVersion - The API version to use for the operation. parameters - Update resource parameters. options - ClientBeginUpdateByIDOptions contains the optional parameters for the Client.BeginUpdateByID method.
func (*Client) BeginValidateMoveResources ¶
func (client *Client) BeginValidateMoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo, options *ClientBeginValidateMoveResourcesOptions) (*runtime.Poller[ClientValidateMoveResourcesResponse], error)
BeginValidateMoveResources - This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 sourceResourceGroupName - The name of the resource group containing the resources to validate for move. parameters - Parameters for moving resources. options - ClientBeginValidateMoveResourcesOptions contains the optional parameters for the Client.BeginValidateMoveResources method.
func (*Client) CheckExistence ¶
func (client *Client) CheckExistence(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, options *ClientCheckExistenceOptions) (ClientCheckExistenceResponse, error)
CheckExistence - Checks whether a resource exists. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive. resourceProviderNamespace - The resource provider of the resource to check. parentResourcePath - The parent resource identity. resourceType - The resource type. resourceName - The name of the resource to check whether it exists. apiVersion - The API version to use for the operation. options - ClientCheckExistenceOptions contains the optional parameters for the Client.CheckExistence method.
func (*Client) CheckExistenceByID ¶
func (client *Client) CheckExistenceByID(ctx context.Context, resourceID string, apiVersion string, options *ClientCheckExistenceByIDOptions) (ClientCheckExistenceByIDResponse, error)
CheckExistenceByID - Checks by ID whether a resource exists. Generated from API version 2018-05-01 resourceID - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} apiVersion - The API version to use for the operation. options - ClientCheckExistenceByIDOptions contains the optional parameters for the Client.CheckExistenceByID method.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, options *ClientGetOptions) (ClientGetResponse, error)
Get - Gets a resource. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive. resourceProviderNamespace - The namespace of the resource provider. parentResourcePath - The parent resource identity. resourceType - The resource type of the resource. resourceName - The name of the resource to get. apiVersion - The API version to use for the operation. options - ClientGetOptions contains the optional parameters for the Client.Get method.
func (*Client) GetByID ¶
func (client *Client) GetByID(ctx context.Context, resourceID string, apiVersion string, options *ClientGetByIDOptions) (ClientGetByIDResponse, error)
GetByID - Gets a resource by ID. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceID - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} apiVersion - The API version to use for the operation. options - ClientGetByIDOptions contains the optional parameters for the Client.GetByID method.
func (*Client) NewListByResourceGroupPager ¶
func (client *Client) NewListByResourceGroupPager(resourceGroupName string, options *ClientListByResourceGroupOptions) *runtime.Pager[ClientListByResourceGroupResponse]
NewListByResourceGroupPager - Get all the resources for a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The resource group with the resources to get. options - ClientListByResourceGroupOptions contains the optional parameters for the Client.ListByResourceGroup method.
func (*Client) NewListPager ¶
func (client *Client) NewListPager(options *ClientListOptions) *runtime.Pager[ClientListResponse]
NewListPager - Get all the resources in a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 options - ClientListOptions contains the optional parameters for the Client.List method.
type ClientBeginCreateOrUpdateByIDOptions ¶
type ClientBeginCreateOrUpdateByIDOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginCreateOrUpdateByIDOptions contains the optional parameters for the Client.BeginCreateOrUpdateByID method.
type ClientBeginCreateOrUpdateOptions ¶
type ClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginCreateOrUpdateOptions contains the optional parameters for the Client.BeginCreateOrUpdate method.
type ClientBeginDeleteByIDOptions ¶
type ClientBeginDeleteByIDOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginDeleteByIDOptions contains the optional parameters for the Client.BeginDeleteByID method.
type ClientBeginDeleteOptions ¶
type ClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginDeleteOptions contains the optional parameters for the Client.BeginDelete method.
type ClientBeginMoveResourcesOptions ¶
type ClientBeginMoveResourcesOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginMoveResourcesOptions contains the optional parameters for the Client.BeginMoveResources method.
type ClientBeginUpdateByIDOptions ¶
type ClientBeginUpdateByIDOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginUpdateByIDOptions contains the optional parameters for the Client.BeginUpdateByID method.
type ClientBeginUpdateOptions ¶
type ClientBeginUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginUpdateOptions contains the optional parameters for the Client.BeginUpdate method.
type ClientBeginValidateMoveResourcesOptions ¶
type ClientBeginValidateMoveResourcesOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ClientBeginValidateMoveResourcesOptions contains the optional parameters for the Client.BeginValidateMoveResources method.
type ClientCheckExistenceByIDOptions ¶
type ClientCheckExistenceByIDOptions struct { }
ClientCheckExistenceByIDOptions contains the optional parameters for the Client.CheckExistenceByID method.
type ClientCheckExistenceByIDResponse ¶
type ClientCheckExistenceByIDResponse struct { // Success indicates if the operation succeeded or failed. Success bool }
ClientCheckExistenceByIDResponse contains the response from method Client.CheckExistenceByID.
type ClientCheckExistenceOptions ¶
type ClientCheckExistenceOptions struct { }
ClientCheckExistenceOptions contains the optional parameters for the Client.CheckExistence method.
type ClientCheckExistenceResponse ¶
type ClientCheckExistenceResponse struct { // Success indicates if the operation succeeded or failed. Success bool }
ClientCheckExistenceResponse contains the response from method Client.CheckExistence.
type ClientCreateOrUpdateByIDResponse ¶
type ClientCreateOrUpdateByIDResponse struct {
GenericResource
}
ClientCreateOrUpdateByIDResponse contains the response from method Client.CreateOrUpdateByID.
type ClientCreateOrUpdateResponse ¶
type ClientCreateOrUpdateResponse struct {
GenericResource
}
ClientCreateOrUpdateResponse contains the response from method Client.CreateOrUpdate.
type ClientDeleteByIDResponse ¶
type ClientDeleteByIDResponse struct { }
ClientDeleteByIDResponse contains the response from method Client.DeleteByID.
type ClientDeleteResponse ¶
type ClientDeleteResponse struct { }
ClientDeleteResponse contains the response from method Client.Delete.
type ClientGetByIDOptions ¶
type ClientGetByIDOptions struct { }
ClientGetByIDOptions contains the optional parameters for the Client.GetByID method.
type ClientGetByIDResponse ¶
type ClientGetByIDResponse struct {
GenericResource
}
ClientGetByIDResponse contains the response from method Client.GetByID.
type ClientGetOptions ¶
type ClientGetOptions struct { }
ClientGetOptions contains the optional parameters for the Client.Get method.
type ClientGetResponse ¶
type ClientGetResponse struct {
GenericResource
}
ClientGetResponse contains the response from method Client.Get.
type ClientListByResourceGroupOptions ¶
type ClientListByResourceGroupOptions struct { // Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime // and provisioningState. For example, $expand=createdTime,changedTime. Expand *string // The filter to apply on the operation. // The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, // identity/principalId, plan, plan/publisher, plan/product, plan/name, // plan/version, and plan/promotionCode. // For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks' // You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup. // For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name) // You can link more than one substringof together by adding and/or operators. // You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' // and tagValue eq 'Value1' // You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, // plan and plan/publisher and plan/name, identity and identity/principalId. Filter *string // The number of results to return. If null is passed, returns all resources. Top *int32 }
ClientListByResourceGroupOptions contains the optional parameters for the Client.ListByResourceGroup method.
type ClientListByResourceGroupResponse ¶
type ClientListByResourceGroupResponse struct {
ResourceListResult
}
ClientListByResourceGroupResponse contains the response from method Client.ListByResourceGroup.
type ClientListOptions ¶
type ClientListOptions struct { // Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime // and provisioningState. For example, $expand=createdTime,changedTime. Expand *string // The filter to apply on the operation. // The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, // identity/principalId, plan, plan/publisher, plan/product, plan/name, // plan/version, and plan/promotionCode. // For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks' // You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup. // For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name) // You can link more than one substringof together by adding and/or operators. // You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' // and tagValue eq 'Value1' // You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, // plan and plan/publisher and plan/name, identity and identity/principalId. Filter *string // The number of results to return. If null is passed, returns all resources. Top *int32 }
ClientListOptions contains the optional parameters for the Client.List method.
type ClientListResponse ¶
type ClientListResponse struct {
ResourceListResult
}
ClientListResponse contains the response from method Client.List.
type ClientMoveResourcesResponse ¶
type ClientMoveResourcesResponse struct { }
ClientMoveResourcesResponse contains the response from method Client.MoveResources.
type ClientUpdateByIDResponse ¶
type ClientUpdateByIDResponse struct {
GenericResource
}
ClientUpdateByIDResponse contains the response from method Client.UpdateByID.
type ClientUpdateResponse ¶
type ClientUpdateResponse struct {
GenericResource
}
ClientUpdateResponse contains the response from method Client.Update.
type ClientValidateMoveResourcesResponse ¶
type ClientValidateMoveResourcesResponse struct { }
ClientValidateMoveResourcesResponse contains the response from method Client.ValidateMoveResources.
type CloudError ¶
type CloudError struct { // Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows // the OData error response format.) Error *ErrorResponse `json:"error,omitempty"` }
CloudError - An error response for a resource management request.
func (CloudError) MarshalJSON ¶
func (c CloudError) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CloudError.
func (*CloudError) UnmarshalJSON ¶
func (c *CloudError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CloudError.
type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties ¶
type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties struct { // READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty" azure:"ro"` // READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty" azure:"ro"` }
func (ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties) MarshalJSON ¶
func (c ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.
func (*ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties) UnmarshalJSON ¶
func (c *ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.
type DebugSetting ¶
type DebugSetting struct { // Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, // or both requestContent and responseContent separated by a comma. The default is // none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging // information about the request or response, you could potentially expose // sensitive data that is retrieved through the deployment operations. DetailLevel *string `json:"detailLevel,omitempty"` }
func (DebugSetting) MarshalJSON ¶
func (d DebugSetting) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DebugSetting.
func (*DebugSetting) UnmarshalJSON ¶
func (d *DebugSetting) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DebugSetting.
type Dependency ¶
type Dependency struct { // The list of dependencies. DependsOn []*BasicDependency `json:"dependsOn,omitempty"` // The ID of the dependency. ID *string `json:"id,omitempty"` // The dependency resource name. ResourceName *string `json:"resourceName,omitempty"` // The dependency resource type. ResourceType *string `json:"resourceType,omitempty"` }
Dependency - Deployment dependency information.
func (Dependency) MarshalJSON ¶
func (d Dependency) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Dependency.
func (*Dependency) UnmarshalJSON ¶
func (d *Dependency) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type Dependency.
type Deployment ¶
type Deployment struct { // REQUIRED; The deployment properties. Properties *DeploymentProperties `json:"properties,omitempty"` // The location to store the deployment data. Location *string `json:"location,omitempty"` }
Deployment operation parameters.
func (Deployment) MarshalJSON ¶
func (d Deployment) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Deployment.
func (*Deployment) UnmarshalJSON ¶
func (d *Deployment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type Deployment.
type DeploymentExportResult ¶
type DeploymentExportResult struct {
// The template content.
Template interface{} `json:"template,omitempty"`
}
DeploymentExportResult - The deployment export result.
func (DeploymentExportResult) MarshalJSON ¶
func (d DeploymentExportResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentExportResult.
func (*DeploymentExportResult) UnmarshalJSON ¶
func (d *DeploymentExportResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentExportResult.
type DeploymentExtended ¶
type DeploymentExtended struct { // the location of the deployment. Location *string `json:"location,omitempty"` // Deployment properties. Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` // READ-ONLY; The ID of the deployment. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the deployment. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the deployment. Type *string `json:"type,omitempty" azure:"ro"` }
DeploymentExtended - Deployment information.
func (DeploymentExtended) MarshalJSON ¶
func (d DeploymentExtended) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentExtended.
func (*DeploymentExtended) UnmarshalJSON ¶
func (d *DeploymentExtended) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentExtended.
type DeploymentExtendedFilter ¶
type DeploymentExtendedFilter struct { // The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` }
DeploymentExtendedFilter - Deployment filter.
func (DeploymentExtendedFilter) MarshalJSON ¶
func (d DeploymentExtendedFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentExtendedFilter.
func (*DeploymentExtendedFilter) UnmarshalJSON ¶
func (d *DeploymentExtendedFilter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentExtendedFilter.
type DeploymentListResult ¶
type DeploymentListResult struct { // An array of deployments. Value []*DeploymentExtended `json:"value,omitempty"` // READ-ONLY; The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
DeploymentListResult - List of deployments.
func (DeploymentListResult) MarshalJSON ¶
func (d DeploymentListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentListResult.
func (*DeploymentListResult) UnmarshalJSON ¶
func (d *DeploymentListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentListResult.
type DeploymentMode ¶
type DeploymentMode string
DeploymentMode - The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.
const ( DeploymentModeIncremental DeploymentMode = "Incremental" DeploymentModeComplete DeploymentMode = "Complete" )
func PossibleDeploymentModeValues ¶
func PossibleDeploymentModeValues() []DeploymentMode
PossibleDeploymentModeValues returns the possible values for the DeploymentMode const type.
type DeploymentOperation ¶
type DeploymentOperation struct { // Deployment properties. Properties *DeploymentOperationProperties `json:"properties,omitempty"` // READ-ONLY; Full deployment operation ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; Deployment operation ID. OperationID *string `json:"operationId,omitempty" azure:"ro"` }
DeploymentOperation - Deployment operation information.
func (DeploymentOperation) MarshalJSON ¶
func (d DeploymentOperation) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentOperation.
func (*DeploymentOperation) UnmarshalJSON ¶
func (d *DeploymentOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentOperation.
type DeploymentOperationProperties ¶
type DeploymentOperationProperties struct { // READ-ONLY; The state of the provisioning. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The HTTP request message. Request *HTTPMessage `json:"request,omitempty" azure:"ro"` // READ-ONLY; The HTTP response message. Response *HTTPMessage `json:"response,omitempty" azure:"ro"` // READ-ONLY; Deployment operation service request id. ServiceRequestID *string `json:"serviceRequestId,omitempty" azure:"ro"` // READ-ONLY; Operation status code. StatusCode *string `json:"statusCode,omitempty" azure:"ro"` // READ-ONLY; Operation status message. StatusMessage interface{} `json:"statusMessage,omitempty" azure:"ro"` // READ-ONLY; The target resource. TargetResource *TargetResource `json:"targetResource,omitempty" azure:"ro"` // READ-ONLY; The date and time of the operation. Timestamp *time.Time `json:"timestamp,omitempty" azure:"ro"` }
DeploymentOperationProperties - Deployment operation properties.
func (DeploymentOperationProperties) MarshalJSON ¶
func (d DeploymentOperationProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentOperationProperties.
func (*DeploymentOperationProperties) UnmarshalJSON ¶
func (d *DeploymentOperationProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentOperationProperties.
type DeploymentOperationsClient ¶
type DeploymentOperationsClient struct {
// contains filtered or unexported fields
}
DeploymentOperationsClient contains the methods for the DeploymentOperations group. Don't use this type directly, use NewDeploymentOperationsClient() instead.
func NewDeploymentOperationsClient ¶
func NewDeploymentOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*DeploymentOperationsClient, error)
NewDeploymentOperationsClient creates a new instance of DeploymentOperationsClient with the specified values. subscriptionID - The ID of the target subscription. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*DeploymentOperationsClient) Get ¶
func (client *DeploymentOperationsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, operationID string, options *DeploymentOperationsClientGetOptions) (DeploymentOperationsClientGetResponse, error)
Get - Gets a deployments operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group. The name is case insensitive. deploymentName - The name of the deployment. operationID - The ID of the operation to get. options - DeploymentOperationsClientGetOptions contains the optional parameters for the DeploymentOperationsClient.Get method.
func (*DeploymentOperationsClient) GetAtSubscriptionScope ¶
func (client *DeploymentOperationsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string, operationID string, options *DeploymentOperationsClientGetAtSubscriptionScopeOptions) (DeploymentOperationsClientGetAtSubscriptionScopeResponse, error)
GetAtSubscriptionScope - Gets a deployments operation. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment. operationID - The ID of the operation to get. options - DeploymentOperationsClientGetAtSubscriptionScopeOptions contains the optional parameters for the DeploymentOperationsClient.GetAtSubscriptionScope method.
func (*DeploymentOperationsClient) NewListAtSubscriptionScopePager ¶
func (client *DeploymentOperationsClient) NewListAtSubscriptionScopePager(deploymentName string, options *DeploymentOperationsClientListAtSubscriptionScopeOptions) *runtime.Pager[DeploymentOperationsClientListAtSubscriptionScopeResponse]
NewListAtSubscriptionScopePager - Gets all deployments operations for a deployment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment with the operation to get. options - DeploymentOperationsClientListAtSubscriptionScopeOptions contains the optional parameters for the DeploymentOperationsClient.ListAtSubscriptionScope method.
func (*DeploymentOperationsClient) NewListPager ¶
func (client *DeploymentOperationsClient) NewListPager(resourceGroupName string, deploymentName string, options *DeploymentOperationsClientListOptions) *runtime.Pager[DeploymentOperationsClientListResponse]
NewListPager - Gets all deployments operations for a deployment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group. The name is case insensitive. deploymentName - The name of the deployment with the operation to get. options - DeploymentOperationsClientListOptions contains the optional parameters for the DeploymentOperationsClient.List method.
type DeploymentOperationsClientGetAtSubscriptionScopeOptions ¶
type DeploymentOperationsClientGetAtSubscriptionScopeOptions struct { }
DeploymentOperationsClientGetAtSubscriptionScopeOptions contains the optional parameters for the DeploymentOperationsClient.GetAtSubscriptionScope method.
type DeploymentOperationsClientGetAtSubscriptionScopeResponse ¶
type DeploymentOperationsClientGetAtSubscriptionScopeResponse struct {
DeploymentOperation
}
DeploymentOperationsClientGetAtSubscriptionScopeResponse contains the response from method DeploymentOperationsClient.GetAtSubscriptionScope.
type DeploymentOperationsClientGetOptions ¶
type DeploymentOperationsClientGetOptions struct { }
DeploymentOperationsClientGetOptions contains the optional parameters for the DeploymentOperationsClient.Get method.
type DeploymentOperationsClientGetResponse ¶
type DeploymentOperationsClientGetResponse struct {
DeploymentOperation
}
DeploymentOperationsClientGetResponse contains the response from method DeploymentOperationsClient.Get.
type DeploymentOperationsClientListAtSubscriptionScopeOptions ¶
type DeploymentOperationsClientListAtSubscriptionScopeOptions struct { // The number of results to return. Top *int32 }
DeploymentOperationsClientListAtSubscriptionScopeOptions contains the optional parameters for the DeploymentOperationsClient.ListAtSubscriptionScope method.
type DeploymentOperationsClientListAtSubscriptionScopeResponse ¶
type DeploymentOperationsClientListAtSubscriptionScopeResponse struct {
DeploymentOperationsListResult
}
DeploymentOperationsClientListAtSubscriptionScopeResponse contains the response from method DeploymentOperationsClient.ListAtSubscriptionScope.
type DeploymentOperationsClientListOptions ¶
type DeploymentOperationsClientListOptions struct { // The number of results to return. Top *int32 }
DeploymentOperationsClientListOptions contains the optional parameters for the DeploymentOperationsClient.List method.
type DeploymentOperationsClientListResponse ¶
type DeploymentOperationsClientListResponse struct {
DeploymentOperationsListResult
}
DeploymentOperationsClientListResponse contains the response from method DeploymentOperationsClient.List.
type DeploymentOperationsListResult ¶
type DeploymentOperationsListResult struct { // An array of deployment operations. Value []*DeploymentOperation `json:"value,omitempty"` // READ-ONLY; The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
DeploymentOperationsListResult - List of deployment operations.
func (DeploymentOperationsListResult) MarshalJSON ¶
func (d DeploymentOperationsListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentOperationsListResult.
func (*DeploymentOperationsListResult) UnmarshalJSON ¶
func (d *DeploymentOperationsListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentOperationsListResult.
type DeploymentProperties ¶
type DeploymentProperties struct { // REQUIRED; The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, // resources are deployed without deleting existing resources that are not included in // the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included // in the template are deleted. Be careful when using Complete mode as you may // unintentionally delete resources. Mode *DeploymentMode `json:"mode,omitempty"` // The debug setting of the deployment. DebugSetting *DebugSetting `json:"debugSetting,omitempty"` // The deployment on error behavior. OnErrorDeployment *OnErrorDeployment `json:"onErrorDeployment,omitempty"` // Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide // the parameter values directly in the request rather than link to an existing // parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or // a well formed JSON string. Parameters interface{} `json:"parameters,omitempty"` // The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink // property or the parameters property, but not both. ParametersLink *ParametersLink `json:"parametersLink,omitempty"` // The template content. You use this element when you want to pass the template syntax directly in the request rather than // link to an existing template. It can be a JObject or well-formed JSON string. // Use either the templateLink property or the template property, but not both. Template interface{} `json:"template,omitempty"` // The URI of the template. Use either the templateLink property or the template property, but not both. TemplateLink *TemplateLink `json:"templateLink,omitempty"` }
DeploymentProperties - Deployment properties.
func (DeploymentProperties) MarshalJSON ¶
func (d DeploymentProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentProperties.
func (*DeploymentProperties) UnmarshalJSON ¶
func (d *DeploymentProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentProperties.
type DeploymentPropertiesExtended ¶
type DeploymentPropertiesExtended struct { // The debug setting of the deployment. DebugSetting *DebugSetting `json:"debugSetting,omitempty"` // The list of deployment dependencies. Dependencies []*Dependency `json:"dependencies,omitempty"` // The deployment mode. Possible values are Incremental and Complete. Mode *DeploymentMode `json:"mode,omitempty"` // The deployment on error behavior. OnErrorDeployment *OnErrorDeploymentExtended `json:"onErrorDeployment,omitempty"` // Key/value pairs that represent deployment output. Outputs interface{} `json:"outputs,omitempty"` // Deployment parameters. Use only one of Parameters or ParametersLink. Parameters interface{} `json:"parameters,omitempty"` // The URI referencing the parameters. Use only one of Parameters or ParametersLink. ParametersLink *ParametersLink `json:"parametersLink,omitempty"` // The list of resource providers needed for the deployment. Providers []*Provider `json:"providers,omitempty"` // The template content. Use only one of Template or TemplateLink. Template interface{} `json:"template,omitempty"` // The URI referencing the template. Use only one of Template or TemplateLink. TemplateLink *TemplateLink `json:"templateLink,omitempty"` // READ-ONLY; The correlation ID of the deployment. CorrelationID *string `json:"correlationId,omitempty" azure:"ro"` // READ-ONLY; The deployment error. Error *ErrorResponse `json:"error,omitempty" azure:"ro"` // READ-ONLY; The state of the provisioning. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The timestamp of the template deployment. Timestamp *time.Time `json:"timestamp,omitempty" azure:"ro"` }
DeploymentPropertiesExtended - Deployment properties with additional details.
func (DeploymentPropertiesExtended) MarshalJSON ¶
func (d DeploymentPropertiesExtended) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentPropertiesExtended.
func (*DeploymentPropertiesExtended) UnmarshalJSON ¶
func (d *DeploymentPropertiesExtended) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentPropertiesExtended.
type DeploymentValidateResult ¶
type DeploymentValidateResult struct { // Validation error. Error *ResourceManagementErrorWithDetails `json:"error,omitempty"` // The template deployment properties. Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` }
DeploymentValidateResult - Information from validate template deployment response.
func (DeploymentValidateResult) MarshalJSON ¶
func (d DeploymentValidateResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentValidateResult.
func (*DeploymentValidateResult) UnmarshalJSON ¶
func (d *DeploymentValidateResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentValidateResult.
type DeploymentsClient ¶
type DeploymentsClient struct {
// contains filtered or unexported fields
}
DeploymentsClient contains the methods for the Deployments group. Don't use this type directly, use NewDeploymentsClient() instead.
func NewDeploymentsClient ¶
func NewDeploymentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*DeploymentsClient, error)
NewDeploymentsClient creates a new instance of DeploymentsClient with the specified values. subscriptionID - The ID of the target subscription. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*DeploymentsClient) BeginCreateOrUpdate ¶
func (client *DeploymentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment, options *DeploymentsClientBeginCreateOrUpdateOptions) (*runtime.Poller[DeploymentsClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - You can provide the template and parameters directly in the request or link to JSON files. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist. deploymentName - The name of the deployment. parameters - Additional parameters supplied to the operation. options - DeploymentsClientBeginCreateOrUpdateOptions contains the optional parameters for the DeploymentsClient.BeginCreateOrUpdate method.
func (*DeploymentsClient) BeginCreateOrUpdateAtSubscriptionScope ¶
func (client *DeploymentsClient) BeginCreateOrUpdateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment, options *DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions) (*runtime.Poller[DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse], error)
BeginCreateOrUpdateAtSubscriptionScope - You can provide the template and parameters directly in the request or link to JSON files. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment. parameters - Additional parameters supplied to the operation. options - DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.BeginCreateOrUpdateAtSubscriptionScope method.
func (*DeploymentsClient) BeginDelete ¶
func (client *DeploymentsClient) BeginDelete(ctx context.Context, resourceGroupName string, deploymentName string, options *DeploymentsClientBeginDeleteOptions) (*runtime.Poller[DeploymentsClientDeleteResponse], error)
BeginDelete - A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group with the deployment to delete. The name is case insensitive. deploymentName - The name of the deployment to delete. options - DeploymentsClientBeginDeleteOptions contains the optional parameters for the DeploymentsClient.BeginDelete method.
func (*DeploymentsClient) BeginDeleteAtSubscriptionScope ¶
func (client *DeploymentsClient) BeginDeleteAtSubscriptionScope(ctx context.Context, deploymentName string, options *DeploymentsClientBeginDeleteAtSubscriptionScopeOptions) (*runtime.Poller[DeploymentsClientDeleteAtSubscriptionScopeResponse], error)
BeginDeleteAtSubscriptionScope - A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment to delete. options - DeploymentsClientBeginDeleteAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.BeginDeleteAtSubscriptionScope method.
func (*DeploymentsClient) CalculateTemplateHash ¶
func (client *DeploymentsClient) CalculateTemplateHash(ctx context.Context, templateParam interface{}, options *DeploymentsClientCalculateTemplateHashOptions) (DeploymentsClientCalculateTemplateHashResponse, error)
CalculateTemplateHash - Calculate the hash of the given template. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 templateParam - The template provided to calculate hash. options - DeploymentsClientCalculateTemplateHashOptions contains the optional parameters for the DeploymentsClient.CalculateTemplateHash method.
func (*DeploymentsClient) Cancel ¶
func (client *DeploymentsClient) Cancel(ctx context.Context, resourceGroupName string, deploymentName string, options *DeploymentsClientCancelOptions) (DeploymentsClientCancelResponse, error)
Cancel - You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group. The name is case insensitive. deploymentName - The name of the deployment to cancel. options - DeploymentsClientCancelOptions contains the optional parameters for the DeploymentsClient.Cancel method.
func (*DeploymentsClient) CancelAtSubscriptionScope ¶
func (client *DeploymentsClient) CancelAtSubscriptionScope(ctx context.Context, deploymentName string, options *DeploymentsClientCancelAtSubscriptionScopeOptions) (DeploymentsClientCancelAtSubscriptionScopeResponse, error)
CancelAtSubscriptionScope - You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment to cancel. options - DeploymentsClientCancelAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.CancelAtSubscriptionScope method.
func (*DeploymentsClient) CheckExistence ¶
func (client *DeploymentsClient) CheckExistence(ctx context.Context, resourceGroupName string, deploymentName string, options *DeploymentsClientCheckExistenceOptions) (DeploymentsClientCheckExistenceResponse, error)
CheckExistence - Checks whether the deployment exists. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group with the deployment to check. The name is case insensitive. deploymentName - The name of the deployment to check. options - DeploymentsClientCheckExistenceOptions contains the optional parameters for the DeploymentsClient.CheckExistence method.
func (*DeploymentsClient) CheckExistenceAtSubscriptionScope ¶
func (client *DeploymentsClient) CheckExistenceAtSubscriptionScope(ctx context.Context, deploymentName string, options *DeploymentsClientCheckExistenceAtSubscriptionScopeOptions) (DeploymentsClientCheckExistenceAtSubscriptionScopeResponse, error)
CheckExistenceAtSubscriptionScope - Checks whether the deployment exists. Generated from API version 2018-05-01 deploymentName - The name of the deployment to check. options - DeploymentsClientCheckExistenceAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.CheckExistenceAtSubscriptionScope method.
func (*DeploymentsClient) ExportTemplate ¶
func (client *DeploymentsClient) ExportTemplate(ctx context.Context, resourceGroupName string, deploymentName string, options *DeploymentsClientExportTemplateOptions) (DeploymentsClientExportTemplateResponse, error)
ExportTemplate - Exports the template used for specified deployment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group. The name is case insensitive. deploymentName - The name of the deployment from which to get the template. options - DeploymentsClientExportTemplateOptions contains the optional parameters for the DeploymentsClient.ExportTemplate method.
func (*DeploymentsClient) ExportTemplateAtSubscriptionScope ¶
func (client *DeploymentsClient) ExportTemplateAtSubscriptionScope(ctx context.Context, deploymentName string, options *DeploymentsClientExportTemplateAtSubscriptionScopeOptions) (DeploymentsClientExportTemplateAtSubscriptionScopeResponse, error)
ExportTemplateAtSubscriptionScope - Exports the template used for specified deployment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment from which to get the template. options - DeploymentsClientExportTemplateAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.ExportTemplateAtSubscriptionScope method.
func (*DeploymentsClient) Get ¶
func (client *DeploymentsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, options *DeploymentsClientGetOptions) (DeploymentsClientGetResponse, error)
Get - Gets a deployment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group. The name is case insensitive. deploymentName - The name of the deployment to get. options - DeploymentsClientGetOptions contains the optional parameters for the DeploymentsClient.Get method.
func (*DeploymentsClient) GetAtSubscriptionScope ¶
func (client *DeploymentsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string, options *DeploymentsClientGetAtSubscriptionScopeOptions) (DeploymentsClientGetAtSubscriptionScopeResponse, error)
GetAtSubscriptionScope - Gets a deployment. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment to get. options - DeploymentsClientGetAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.GetAtSubscriptionScope method.
func (*DeploymentsClient) NewListAtSubscriptionScopePager ¶
func (client *DeploymentsClient) NewListAtSubscriptionScopePager(options *DeploymentsClientListAtSubscriptionScopeOptions) *runtime.Pager[DeploymentsClientListAtSubscriptionScopeResponse]
NewListAtSubscriptionScopePager - Get all the deployments for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 options - DeploymentsClientListAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.ListAtSubscriptionScope method.
func (*DeploymentsClient) NewListByResourceGroupPager ¶
func (client *DeploymentsClient) NewListByResourceGroupPager(resourceGroupName string, options *DeploymentsClientListByResourceGroupOptions) *runtime.Pager[DeploymentsClientListByResourceGroupResponse]
NewListByResourceGroupPager - Get all the deployments for a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group with the deployments to get. The name is case insensitive. options - DeploymentsClientListByResourceGroupOptions contains the optional parameters for the DeploymentsClient.ListByResourceGroup method.
func (*DeploymentsClient) Validate ¶
func (client *DeploymentsClient) Validate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment, options *DeploymentsClientValidateOptions) (DeploymentsClientValidateResponse, error)
Validate - Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group the template will be deployed to. The name is case insensitive. deploymentName - The name of the deployment. parameters - Parameters to validate. options - DeploymentsClientValidateOptions contains the optional parameters for the DeploymentsClient.Validate method.
func (*DeploymentsClient) ValidateAtSubscriptionScope ¶
func (client *DeploymentsClient) ValidateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment, options *DeploymentsClientValidateAtSubscriptionScopeOptions) (DeploymentsClientValidateAtSubscriptionScopeResponse, error)
ValidateAtSubscriptionScope - Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 deploymentName - The name of the deployment. parameters - Parameters to validate. options - DeploymentsClientValidateAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.ValidateAtSubscriptionScope method.
type DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions ¶
type DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.BeginCreateOrUpdateAtSubscriptionScope method.
type DeploymentsClientBeginCreateOrUpdateOptions ¶
type DeploymentsClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
DeploymentsClientBeginCreateOrUpdateOptions contains the optional parameters for the DeploymentsClient.BeginCreateOrUpdate method.
type DeploymentsClientBeginDeleteAtSubscriptionScopeOptions ¶
type DeploymentsClientBeginDeleteAtSubscriptionScopeOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
DeploymentsClientBeginDeleteAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.BeginDeleteAtSubscriptionScope method.
type DeploymentsClientBeginDeleteOptions ¶
type DeploymentsClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
DeploymentsClientBeginDeleteOptions contains the optional parameters for the DeploymentsClient.BeginDelete method.
type DeploymentsClientCalculateTemplateHashOptions ¶
type DeploymentsClientCalculateTemplateHashOptions struct { }
DeploymentsClientCalculateTemplateHashOptions contains the optional parameters for the DeploymentsClient.CalculateTemplateHash method.
type DeploymentsClientCalculateTemplateHashResponse ¶
type DeploymentsClientCalculateTemplateHashResponse struct {
TemplateHashResult
}
DeploymentsClientCalculateTemplateHashResponse contains the response from method DeploymentsClient.CalculateTemplateHash.
type DeploymentsClientCancelAtSubscriptionScopeOptions ¶
type DeploymentsClientCancelAtSubscriptionScopeOptions struct { }
DeploymentsClientCancelAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.CancelAtSubscriptionScope method.
type DeploymentsClientCancelAtSubscriptionScopeResponse ¶
type DeploymentsClientCancelAtSubscriptionScopeResponse struct { }
DeploymentsClientCancelAtSubscriptionScopeResponse contains the response from method DeploymentsClient.CancelAtSubscriptionScope.
type DeploymentsClientCancelOptions ¶
type DeploymentsClientCancelOptions struct { }
DeploymentsClientCancelOptions contains the optional parameters for the DeploymentsClient.Cancel method.
type DeploymentsClientCancelResponse ¶
type DeploymentsClientCancelResponse struct { }
DeploymentsClientCancelResponse contains the response from method DeploymentsClient.Cancel.
type DeploymentsClientCheckExistenceAtSubscriptionScopeOptions ¶
type DeploymentsClientCheckExistenceAtSubscriptionScopeOptions struct { }
DeploymentsClientCheckExistenceAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.CheckExistenceAtSubscriptionScope method.
type DeploymentsClientCheckExistenceAtSubscriptionScopeResponse ¶
type DeploymentsClientCheckExistenceAtSubscriptionScopeResponse struct { // Success indicates if the operation succeeded or failed. Success bool }
DeploymentsClientCheckExistenceAtSubscriptionScopeResponse contains the response from method DeploymentsClient.CheckExistenceAtSubscriptionScope.
type DeploymentsClientCheckExistenceOptions ¶
type DeploymentsClientCheckExistenceOptions struct { }
DeploymentsClientCheckExistenceOptions contains the optional parameters for the DeploymentsClient.CheckExistence method.
type DeploymentsClientCheckExistenceResponse ¶
type DeploymentsClientCheckExistenceResponse struct { // Success indicates if the operation succeeded or failed. Success bool }
DeploymentsClientCheckExistenceResponse contains the response from method DeploymentsClient.CheckExistence.
type DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse ¶
type DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse struct {
DeploymentExtended
}
DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse contains the response from method DeploymentsClient.CreateOrUpdateAtSubscriptionScope.
type DeploymentsClientCreateOrUpdateResponse ¶
type DeploymentsClientCreateOrUpdateResponse struct {
DeploymentExtended
}
DeploymentsClientCreateOrUpdateResponse contains the response from method DeploymentsClient.CreateOrUpdate.
type DeploymentsClientDeleteAtSubscriptionScopeResponse ¶
type DeploymentsClientDeleteAtSubscriptionScopeResponse struct { }
DeploymentsClientDeleteAtSubscriptionScopeResponse contains the response from method DeploymentsClient.DeleteAtSubscriptionScope.
type DeploymentsClientDeleteResponse ¶
type DeploymentsClientDeleteResponse struct { }
DeploymentsClientDeleteResponse contains the response from method DeploymentsClient.Delete.
type DeploymentsClientExportTemplateAtSubscriptionScopeOptions ¶
type DeploymentsClientExportTemplateAtSubscriptionScopeOptions struct { }
DeploymentsClientExportTemplateAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.ExportTemplateAtSubscriptionScope method.
type DeploymentsClientExportTemplateAtSubscriptionScopeResponse ¶
type DeploymentsClientExportTemplateAtSubscriptionScopeResponse struct {
DeploymentExportResult
}
DeploymentsClientExportTemplateAtSubscriptionScopeResponse contains the response from method DeploymentsClient.ExportTemplateAtSubscriptionScope.
type DeploymentsClientExportTemplateOptions ¶
type DeploymentsClientExportTemplateOptions struct { }
DeploymentsClientExportTemplateOptions contains the optional parameters for the DeploymentsClient.ExportTemplate method.
type DeploymentsClientExportTemplateResponse ¶
type DeploymentsClientExportTemplateResponse struct {
DeploymentExportResult
}
DeploymentsClientExportTemplateResponse contains the response from method DeploymentsClient.ExportTemplate.
type DeploymentsClientGetAtSubscriptionScopeOptions ¶
type DeploymentsClientGetAtSubscriptionScopeOptions struct { }
DeploymentsClientGetAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.GetAtSubscriptionScope method.
type DeploymentsClientGetAtSubscriptionScopeResponse ¶
type DeploymentsClientGetAtSubscriptionScopeResponse struct {
DeploymentExtended
}
DeploymentsClientGetAtSubscriptionScopeResponse contains the response from method DeploymentsClient.GetAtSubscriptionScope.
type DeploymentsClientGetOptions ¶
type DeploymentsClientGetOptions struct { }
DeploymentsClientGetOptions contains the optional parameters for the DeploymentsClient.Get method.
type DeploymentsClientGetResponse ¶
type DeploymentsClientGetResponse struct {
DeploymentExtended
}
DeploymentsClientGetResponse contains the response from method DeploymentsClient.Get.
type DeploymentsClientListAtSubscriptionScopeOptions ¶
type DeploymentsClientListAtSubscriptionScopeOptions struct { // The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. Filter *string // The number of results to get. If null is passed, returns all deployments. Top *int32 }
DeploymentsClientListAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.ListAtSubscriptionScope method.
type DeploymentsClientListAtSubscriptionScopeResponse ¶
type DeploymentsClientListAtSubscriptionScopeResponse struct {
DeploymentListResult
}
DeploymentsClientListAtSubscriptionScopeResponse contains the response from method DeploymentsClient.ListAtSubscriptionScope.
type DeploymentsClientListByResourceGroupOptions ¶
type DeploymentsClientListByResourceGroupOptions struct { // The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. Filter *string // The number of results to get. If null is passed, returns all deployments. Top *int32 }
DeploymentsClientListByResourceGroupOptions contains the optional parameters for the DeploymentsClient.ListByResourceGroup method.
type DeploymentsClientListByResourceGroupResponse ¶
type DeploymentsClientListByResourceGroupResponse struct {
DeploymentListResult
}
DeploymentsClientListByResourceGroupResponse contains the response from method DeploymentsClient.ListByResourceGroup.
type DeploymentsClientValidateAtSubscriptionScopeOptions ¶
type DeploymentsClientValidateAtSubscriptionScopeOptions struct { }
DeploymentsClientValidateAtSubscriptionScopeOptions contains the optional parameters for the DeploymentsClient.ValidateAtSubscriptionScope method.
type DeploymentsClientValidateAtSubscriptionScopeResponse ¶
type DeploymentsClientValidateAtSubscriptionScopeResponse struct {
DeploymentValidateResult
}
DeploymentsClientValidateAtSubscriptionScopeResponse contains the response from method DeploymentsClient.ValidateAtSubscriptionScope.
type DeploymentsClientValidateOptions ¶
type DeploymentsClientValidateOptions struct { }
DeploymentsClientValidateOptions contains the optional parameters for the DeploymentsClient.Validate method.
type DeploymentsClientValidateResponse ¶
type DeploymentsClientValidateResponse struct {
DeploymentValidateResult
}
DeploymentsClientValidateResponse contains the response from method DeploymentsClient.Validate.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. Info interface{} `json:"info,omitempty" azure:"ro"` // READ-ONLY; The additional info type. Type *string `json:"type,omitempty" azure:"ro"` }
ErrorAdditionalInfo - The resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo.
func (*ErrorAdditionalInfo) UnmarshalJSON ¶
func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorAdditionalInfo.
type ErrorResponse ¶
type ErrorResponse struct { // READ-ONLY; The error additional info. AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` // READ-ONLY; The error code. Code *string `json:"code,omitempty" azure:"ro"` // READ-ONLY; The error details. Details []*ErrorResponse `json:"details,omitempty" azure:"ro"` // READ-ONLY; The error message. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; The error target. Target *string `json:"target,omitempty" azure:"ro"` }
ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)
func (ErrorResponse) MarshalJSON ¶
func (e ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponse.
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.
type ExportTemplateRequest ¶
type ExportTemplateRequest struct { // The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', // 'IncludeComments', 'SkipResourceNameParameterization', // 'SkipAllParameterization' Options *string `json:"options,omitempty"` // The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. Resources []*string `json:"resources,omitempty"` }
ExportTemplateRequest - Export resource group template request parameters.
func (ExportTemplateRequest) MarshalJSON ¶
func (e ExportTemplateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExportTemplateRequest.
func (*ExportTemplateRequest) UnmarshalJSON ¶
func (e *ExportTemplateRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ExportTemplateRequest.
type GenericResource ¶
type GenericResource struct { // The identity of the resource. Identity *Identity `json:"identity,omitempty"` // The kind of the resource. Kind *string `json:"kind,omitempty"` // Resource location Location *string `json:"location,omitempty"` // ID of the resource that manages this resource. ManagedBy *string `json:"managedBy,omitempty"` // The plan of the resource. Plan *Plan `json:"plan,omitempty"` // The resource properties. Properties interface{} `json:"properties,omitempty"` // The SKU of the resource. SKU *SKU `json:"sku,omitempty"` // Resource tags Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; Resource ID ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; Resource name Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Resource type Type *string `json:"type,omitempty" azure:"ro"` }
GenericResource - Resource information.
func (GenericResource) MarshalJSON ¶
func (g GenericResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type GenericResource.
func (*GenericResource) UnmarshalJSON ¶
func (g *GenericResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type GenericResource.
type GenericResourceExpanded ¶
type GenericResourceExpanded struct { // The identity of the resource. Identity *Identity `json:"identity,omitempty"` // The kind of the resource. Kind *string `json:"kind,omitempty"` // Resource location Location *string `json:"location,omitempty"` // ID of the resource that manages this resource. ManagedBy *string `json:"managedBy,omitempty"` // The plan of the resource. Plan *Plan `json:"plan,omitempty"` // The resource properties. Properties interface{} `json:"properties,omitempty"` // The SKU of the resource. SKU *SKU `json:"sku,omitempty"` // Resource tags Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; The changed time of the resource. This is only present if requested via the $expand query parameter. ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` // READ-ONLY; The created time of the resource. This is only present if requested via the $expand query parameter. CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` // READ-ONLY; Resource ID ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; Resource name Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The provisioning state of the resource. This is only present if requested via the $expand query parameter. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource type Type *string `json:"type,omitempty" azure:"ro"` }
GenericResourceExpanded - Resource information.
func (GenericResourceExpanded) MarshalJSON ¶
func (g GenericResourceExpanded) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type GenericResourceExpanded.
func (*GenericResourceExpanded) UnmarshalJSON ¶
func (g *GenericResourceExpanded) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type GenericResourceExpanded.
type GenericResourceFilter ¶
type GenericResourceFilter struct { // The resource type. ResourceType *string `json:"resourceType,omitempty"` // The tag name. Tagname *string `json:"tagname,omitempty"` // The tag value. Tagvalue *string `json:"tagvalue,omitempty"` }
GenericResourceFilter - Resource filter.
func (GenericResourceFilter) MarshalJSON ¶
func (g GenericResourceFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type GenericResourceFilter.
func (*GenericResourceFilter) UnmarshalJSON ¶
func (g *GenericResourceFilter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type GenericResourceFilter.
type HTTPMessage ¶
type HTTPMessage struct {
// HTTP message content.
Content interface{} `json:"content,omitempty"`
}
HTTPMessage - HTTP message.
func (HTTPMessage) MarshalJSON ¶
func (h HTTPMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HTTPMessage.
func (*HTTPMessage) UnmarshalJSON ¶
func (h *HTTPMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HTTPMessage.
type Identity ¶
type Identity struct { // The identity type. Type *ResourceIdentityType `json:"type,omitempty"` // The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource // ids in the form: // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties `json:"userAssignedIdentities,omitempty"` // READ-ONLY; The principal ID of resource identity. PrincipalID *string `json:"principalId,omitempty" azure:"ro"` // READ-ONLY; The tenant ID of resource. TenantID *string `json:"tenantId,omitempty" azure:"ro"` }
Identity for the resource.
func (Identity) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Identity.
func (*Identity) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Identity.
type MoveInfo ¶
type MoveInfo struct { // The IDs of the resources. Resources []*string `json:"resources,omitempty"` // The target resource group. TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` }
MoveInfo - Parameters of move resources.
func (MoveInfo) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type MoveInfo.
func (*MoveInfo) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type MoveInfo.
type OnErrorDeployment ¶
type OnErrorDeployment struct { // The deployment to be used on error case. DeploymentName *string `json:"deploymentName,omitempty"` // The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Type *OnErrorDeploymentType `json:"type,omitempty"` }
OnErrorDeployment - Deployment on error behavior.
func (OnErrorDeployment) MarshalJSON ¶
func (o OnErrorDeployment) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OnErrorDeployment.
func (*OnErrorDeployment) UnmarshalJSON ¶
func (o *OnErrorDeployment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OnErrorDeployment.
type OnErrorDeploymentExtended ¶
type OnErrorDeploymentExtended struct { // The deployment to be used on error case. DeploymentName *string `json:"deploymentName,omitempty"` // The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Type *OnErrorDeploymentType `json:"type,omitempty"` // READ-ONLY; The state of the provisioning for the on error deployment. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` }
OnErrorDeploymentExtended - Deployment on error behavior with additional details.
func (OnErrorDeploymentExtended) MarshalJSON ¶
func (o OnErrorDeploymentExtended) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OnErrorDeploymentExtended.
func (*OnErrorDeploymentExtended) UnmarshalJSON ¶
func (o *OnErrorDeploymentExtended) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OnErrorDeploymentExtended.
type OnErrorDeploymentType ¶
type OnErrorDeploymentType string
OnErrorDeploymentType - The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
const ( OnErrorDeploymentTypeLastSuccessful OnErrorDeploymentType = "LastSuccessful" OnErrorDeploymentTypeSpecificDeployment OnErrorDeploymentType = "SpecificDeployment" )
func PossibleOnErrorDeploymentTypeValues ¶
func PossibleOnErrorDeploymentTypeValues() []OnErrorDeploymentType
PossibleOnErrorDeploymentTypeValues returns the possible values for the OnErrorDeploymentType const type.
type Operation ¶
type Operation struct { // The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` // Operation name: {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` }
Operation - Microsoft.Resources operation
func (Operation) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Description of the operation. Description *string `json:"description,omitempty"` // Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty"` // Service provider: Microsoft.Resources Provider *string `json:"provider,omitempty"` // Resource on which the operation is performed: Profile, endpoint, etc. Resource *string `json:"resource,omitempty"` }
OperationDisplay - The object that represents the operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationDisplay.
func (*OperationDisplay) UnmarshalJSON ¶
func (o *OperationDisplay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { // URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` // List of Microsoft.Resources operations. Value []*Operation `json:"value,omitempty"` }
OperationListResult - Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
func (*OperationListResult) UnmarshalJSON ¶
func (o *OperationListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - Lists all of the available Microsoft.Resources REST API operations. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 options - OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
type OperationsClientListOptions ¶
type OperationsClientListOptions struct { }
OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
type OperationsClientListResponse ¶
type OperationsClientListResponse struct {
OperationListResult
}
OperationsClientListResponse contains the response from method OperationsClient.List.
type ParametersLink ¶
type ParametersLink struct { // REQUIRED; The URI of the parameters file. URI *string `json:"uri,omitempty"` // If included, must match the ContentVersion in the template. ContentVersion *string `json:"contentVersion,omitempty"` }
ParametersLink - Entity representing the reference to the deployment parameters.
func (ParametersLink) MarshalJSON ¶
func (p ParametersLink) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ParametersLink.
func (*ParametersLink) UnmarshalJSON ¶
func (p *ParametersLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ParametersLink.
type Plan ¶
type Plan struct { // The plan ID. Name *string `json:"name,omitempty"` // The offer ID. Product *string `json:"product,omitempty"` // The promotion code. PromotionCode *string `json:"promotionCode,omitempty"` // The publisher ID. Publisher *string `json:"publisher,omitempty"` // The plan's version. Version *string `json:"version,omitempty"` }
Plan for the resource.
func (Plan) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Plan.
func (*Plan) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Plan.
type Provider ¶
type Provider struct { // The namespace of the resource provider. Namespace *string `json:"namespace,omitempty"` // READ-ONLY; The provider ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The registration state of the provider. RegistrationState *string `json:"registrationState,omitempty" azure:"ro"` // READ-ONLY; The collection of provider resource types. ResourceTypes []*ProviderResourceType `json:"resourceTypes,omitempty" azure:"ro"` }
Provider - Resource provider information.
func (Provider) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Provider.
func (*Provider) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Provider.
type ProviderListResult ¶
type ProviderListResult struct { // An array of resource providers. Value []*Provider `json:"value,omitempty"` // READ-ONLY; The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
ProviderListResult - List of resource providers.
func (ProviderListResult) MarshalJSON ¶
func (p ProviderListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProviderListResult.
func (*ProviderListResult) UnmarshalJSON ¶
func (p *ProviderListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProviderListResult.
type ProviderResourceType ¶
type ProviderResourceType struct { // The API version. APIVersions []*string `json:"apiVersions,omitempty"` // The aliases that are supported by this resource type. Aliases []*AliasType `json:"aliases,omitempty"` // The collection of locations where this resource type can be created. Locations []*string `json:"locations,omitempty"` // The properties. Properties map[string]*string `json:"properties,omitempty"` // The resource type. ResourceType *string `json:"resourceType,omitempty"` ZoneMappings []*ZoneMapping `json:"zoneMappings,omitempty"` }
ProviderResourceType - Resource type managed by the resource provider.
func (ProviderResourceType) MarshalJSON ¶
func (p ProviderResourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProviderResourceType.
func (*ProviderResourceType) UnmarshalJSON ¶
func (p *ProviderResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProviderResourceType.
type ProvidersClient ¶
type ProvidersClient struct {
// contains filtered or unexported fields
}
ProvidersClient contains the methods for the Providers group. Don't use this type directly, use NewProvidersClient() instead.
func NewProvidersClient ¶
func NewProvidersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ProvidersClient, error)
NewProvidersClient creates a new instance of ProvidersClient with the specified values. subscriptionID - The ID of the target subscription. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*ProvidersClient) Get ¶
func (client *ProvidersClient) Get(ctx context.Context, resourceProviderNamespace string, options *ProvidersClientGetOptions) (ProvidersClientGetResponse, error)
Get - Gets the specified resource provider. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceProviderNamespace - The namespace of the resource provider. options - ProvidersClientGetOptions contains the optional parameters for the ProvidersClient.Get method.
func (*ProvidersClient) NewListPager ¶
func (client *ProvidersClient) NewListPager(options *ProvidersClientListOptions) *runtime.Pager[ProvidersClientListResponse]
NewListPager - Gets all resource providers for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 options - ProvidersClientListOptions contains the optional parameters for the ProvidersClient.List method.
func (*ProvidersClient) Register ¶
func (client *ProvidersClient) Register(ctx context.Context, resourceProviderNamespace string, options *ProvidersClientRegisterOptions) (ProvidersClientRegisterResponse, error)
Register - Registers a subscription with a resource provider. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceProviderNamespace - The namespace of the resource provider to register. options - ProvidersClientRegisterOptions contains the optional parameters for the ProvidersClient.Register method.
func (*ProvidersClient) Unregister ¶
func (client *ProvidersClient) Unregister(ctx context.Context, resourceProviderNamespace string, options *ProvidersClientUnregisterOptions) (ProvidersClientUnregisterResponse, error)
Unregister - Unregisters a subscription from a resource provider. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceProviderNamespace - The namespace of the resource provider to unregister. options - ProvidersClientUnregisterOptions contains the optional parameters for the ProvidersClient.Unregister method.
type ProvidersClientGetOptions ¶
type ProvidersClientGetOptions struct { // The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. Expand *string }
ProvidersClientGetOptions contains the optional parameters for the ProvidersClient.Get method.
type ProvidersClientGetResponse ¶
type ProvidersClientGetResponse struct {
Provider
}
ProvidersClientGetResponse contains the response from method ProvidersClient.Get.
type ProvidersClientListOptions ¶
type ProvidersClientListOptions struct { // The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider // metadata. To include property aliases in response, use // $expand=resourceTypes/aliases. Expand *string // The number of results to return. If null is passed returns all deployments. Top *int32 }
ProvidersClientListOptions contains the optional parameters for the ProvidersClient.List method.
type ProvidersClientListResponse ¶
type ProvidersClientListResponse struct {
ProviderListResult
}
ProvidersClientListResponse contains the response from method ProvidersClient.List.
type ProvidersClientRegisterOptions ¶
type ProvidersClientRegisterOptions struct { }
ProvidersClientRegisterOptions contains the optional parameters for the ProvidersClient.Register method.
type ProvidersClientRegisterResponse ¶
type ProvidersClientRegisterResponse struct {
Provider
}
ProvidersClientRegisterResponse contains the response from method ProvidersClient.Register.
type ProvidersClientUnregisterOptions ¶
type ProvidersClientUnregisterOptions struct { }
ProvidersClientUnregisterOptions contains the optional parameters for the ProvidersClient.Unregister method.
type ProvidersClientUnregisterResponse ¶
type ProvidersClientUnregisterResponse struct {
Provider
}
ProvidersClientUnregisterResponse contains the response from method ProvidersClient.Unregister.
type Resource ¶
type Resource struct { // Resource location Location *string `json:"location,omitempty"` // Resource tags Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; Resource ID ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; Resource name Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Resource type Type *string `json:"type,omitempty" azure:"ro"` }
Resource - Specified resource.
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Resource.
type ResourceGroup ¶
type ResourceGroup struct { // REQUIRED; The location of the resource group. It cannot be changed after the resource group has been created. It must be // one of the supported Azure locations. Location *string `json:"location,omitempty"` // The ID of the resource that manages this resource group. ManagedBy *string `json:"managedBy,omitempty"` // The resource group properties. Properties *ResourceGroupProperties `json:"properties,omitempty"` // The tags attached to the resource group. Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; The ID of the resource group. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource group. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the resource group. Type *string `json:"type,omitempty" azure:"ro"` }
ResourceGroup - Resource group information.
func (ResourceGroup) MarshalJSON ¶
func (r ResourceGroup) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceGroup.
func (*ResourceGroup) UnmarshalJSON ¶
func (r *ResourceGroup) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroup.
type ResourceGroupExportResult ¶
type ResourceGroupExportResult struct { // The error. Error *ResourceManagementErrorWithDetails `json:"error,omitempty"` // The template content. Template interface{} `json:"template,omitempty"` }
ResourceGroupExportResult - Resource group export result.
func (ResourceGroupExportResult) MarshalJSON ¶
func (r ResourceGroupExportResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceGroupExportResult.
func (*ResourceGroupExportResult) UnmarshalJSON ¶
func (r *ResourceGroupExportResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupExportResult.
type ResourceGroupFilter ¶
type ResourceGroupFilter struct { // The tag name. TagName *string `json:"tagName,omitempty"` // The tag value. TagValue *string `json:"tagValue,omitempty"` }
ResourceGroupFilter - Resource group filter.
func (ResourceGroupFilter) MarshalJSON ¶
func (r ResourceGroupFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceGroupFilter.
func (*ResourceGroupFilter) UnmarshalJSON ¶
func (r *ResourceGroupFilter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupFilter.
type ResourceGroupListResult ¶
type ResourceGroupListResult struct { // An array of resource groups. Value []*ResourceGroup `json:"value,omitempty"` // READ-ONLY; The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
ResourceGroupListResult - List of resource groups.
func (ResourceGroupListResult) MarshalJSON ¶
func (r ResourceGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceGroupListResult.
func (*ResourceGroupListResult) UnmarshalJSON ¶
func (r *ResourceGroupListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupListResult.
type ResourceGroupPatchable ¶
type ResourceGroupPatchable struct { // The ID of the resource that manages this resource group. ManagedBy *string `json:"managedBy,omitempty"` // The name of the resource group. Name *string `json:"name,omitempty"` // The resource group properties. Properties *ResourceGroupProperties `json:"properties,omitempty"` // The tags attached to the resource group. Tags map[string]*string `json:"tags,omitempty"` }
ResourceGroupPatchable - Resource group information.
func (ResourceGroupPatchable) MarshalJSON ¶
func (r ResourceGroupPatchable) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceGroupPatchable.
func (*ResourceGroupPatchable) UnmarshalJSON ¶
func (r *ResourceGroupPatchable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupPatchable.
type ResourceGroupProperties ¶
type ResourceGroupProperties struct { // READ-ONLY; The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` }
ResourceGroupProperties - The resource group properties.
func (ResourceGroupProperties) MarshalJSON ¶
func (r ResourceGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceGroupProperties.
func (*ResourceGroupProperties) UnmarshalJSON ¶
func (r *ResourceGroupProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceGroupProperties.
type ResourceGroupsClient ¶
type ResourceGroupsClient struct {
// contains filtered or unexported fields
}
ResourceGroupsClient contains the methods for the ResourceGroups group. Don't use this type directly, use NewResourceGroupsClient() instead.
func NewResourceGroupsClient ¶
func NewResourceGroupsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ResourceGroupsClient, error)
NewResourceGroupsClient creates a new instance of ResourceGroupsClient with the specified values. subscriptionID - The ID of the target subscription. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*ResourceGroupsClient) BeginDelete ¶
func (client *ResourceGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, options *ResourceGroupsClientBeginDeleteOptions) (*runtime.Poller[ResourceGroupsClientDeleteResponse], error)
BeginDelete - When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to delete. The name is case insensitive. options - ResourceGroupsClientBeginDeleteOptions contains the optional parameters for the ResourceGroupsClient.BeginDelete method.
func (*ResourceGroupsClient) CheckExistence ¶
func (client *ResourceGroupsClient) CheckExistence(ctx context.Context, resourceGroupName string, options *ResourceGroupsClientCheckExistenceOptions) (ResourceGroupsClientCheckExistenceResponse, error)
CheckExistence - Checks whether a resource group exists. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to check. The name is case insensitive. options - ResourceGroupsClientCheckExistenceOptions contains the optional parameters for the ResourceGroupsClient.CheckExistence method.
func (*ResourceGroupsClient) CreateOrUpdate ¶
func (client *ResourceGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters ResourceGroup, options *ResourceGroupsClientCreateOrUpdateOptions) (ResourceGroupsClientCreateOrUpdateResponse, error)
CreateOrUpdate - Creates or updates a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters. parameters - Parameters supplied to the create or update a resource group. options - ResourceGroupsClientCreateOrUpdateOptions contains the optional parameters for the ResourceGroupsClient.CreateOrUpdate method.
func (*ResourceGroupsClient) ExportTemplate ¶
func (client *ResourceGroupsClient) ExportTemplate(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest, options *ResourceGroupsClientExportTemplateOptions) (ResourceGroupsClientExportTemplateResponse, error)
ExportTemplate - Captures the specified resource group as a template. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to export as a template. parameters - Parameters for exporting the template. options - ResourceGroupsClientExportTemplateOptions contains the optional parameters for the ResourceGroupsClient.ExportTemplate method.
func (*ResourceGroupsClient) Get ¶
func (client *ResourceGroupsClient) Get(ctx context.Context, resourceGroupName string, options *ResourceGroupsClientGetOptions) (ResourceGroupsClientGetResponse, error)
Get - Gets a resource group. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to get. The name is case insensitive. options - ResourceGroupsClientGetOptions contains the optional parameters for the ResourceGroupsClient.Get method.
func (*ResourceGroupsClient) NewListPager ¶
func (client *ResourceGroupsClient) NewListPager(options *ResourceGroupsClientListOptions) *runtime.Pager[ResourceGroupsClientListResponse]
NewListPager - Gets all the resource groups for a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 options - ResourceGroupsClientListOptions contains the optional parameters for the ResourceGroupsClient.List method.
func (*ResourceGroupsClient) Update ¶
func (client *ResourceGroupsClient) Update(ctx context.Context, resourceGroupName string, parameters ResourceGroupPatchable, options *ResourceGroupsClientUpdateOptions) (ResourceGroupsClientUpdateResponse, error)
Update - 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 group. If a field is unspecified, the current value is retained. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 resourceGroupName - The name of the resource group to update. The name is case insensitive. parameters - Parameters supplied to update a resource group. options - ResourceGroupsClientUpdateOptions contains the optional parameters for the ResourceGroupsClient.Update method.
type ResourceGroupsClientBeginDeleteOptions ¶
type ResourceGroupsClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ResourceGroupsClientBeginDeleteOptions contains the optional parameters for the ResourceGroupsClient.BeginDelete method.
type ResourceGroupsClientCheckExistenceOptions ¶
type ResourceGroupsClientCheckExistenceOptions struct { }
ResourceGroupsClientCheckExistenceOptions contains the optional parameters for the ResourceGroupsClient.CheckExistence method.
type ResourceGroupsClientCheckExistenceResponse ¶
type ResourceGroupsClientCheckExistenceResponse struct { // Success indicates if the operation succeeded or failed. Success bool }
ResourceGroupsClientCheckExistenceResponse contains the response from method ResourceGroupsClient.CheckExistence.
type ResourceGroupsClientCreateOrUpdateOptions ¶
type ResourceGroupsClientCreateOrUpdateOptions struct { }
ResourceGroupsClientCreateOrUpdateOptions contains the optional parameters for the ResourceGroupsClient.CreateOrUpdate method.
type ResourceGroupsClientCreateOrUpdateResponse ¶
type ResourceGroupsClientCreateOrUpdateResponse struct {
ResourceGroup
}
ResourceGroupsClientCreateOrUpdateResponse contains the response from method ResourceGroupsClient.CreateOrUpdate.
type ResourceGroupsClientDeleteResponse ¶
type ResourceGroupsClientDeleteResponse struct { }
ResourceGroupsClientDeleteResponse contains the response from method ResourceGroupsClient.Delete.
type ResourceGroupsClientExportTemplateOptions ¶
type ResourceGroupsClientExportTemplateOptions struct { }
ResourceGroupsClientExportTemplateOptions contains the optional parameters for the ResourceGroupsClient.ExportTemplate method.
type ResourceGroupsClientExportTemplateResponse ¶
type ResourceGroupsClientExportTemplateResponse struct {
ResourceGroupExportResult
}
ResourceGroupsClientExportTemplateResponse contains the response from method ResourceGroupsClient.ExportTemplate.
type ResourceGroupsClientGetOptions ¶
type ResourceGroupsClientGetOptions struct { }
ResourceGroupsClientGetOptions contains the optional parameters for the ResourceGroupsClient.Get method.
type ResourceGroupsClientGetResponse ¶
type ResourceGroupsClientGetResponse struct {
ResourceGroup
}
ResourceGroupsClientGetResponse contains the response from method ResourceGroupsClient.Get.
type ResourceGroupsClientListOptions ¶
type ResourceGroupsClientListOptions struct { // The filter to apply on the operation. // You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' // and tagValue eq 'Value1' Filter *string // The number of results to return. If null is passed, returns all resource groups. Top *int32 }
ResourceGroupsClientListOptions contains the optional parameters for the ResourceGroupsClient.List method.
type ResourceGroupsClientListResponse ¶
type ResourceGroupsClientListResponse struct {
ResourceGroupListResult
}
ResourceGroupsClientListResponse contains the response from method ResourceGroupsClient.List.
type ResourceGroupsClientUpdateOptions ¶
type ResourceGroupsClientUpdateOptions struct { }
ResourceGroupsClientUpdateOptions contains the optional parameters for the ResourceGroupsClient.Update method.
type ResourceGroupsClientUpdateResponse ¶
type ResourceGroupsClientUpdateResponse struct {
ResourceGroup
}
ResourceGroupsClientUpdateResponse contains the response from method ResourceGroupsClient.Update.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType - The identity type.
const ( ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" ResourceIdentityTypeNone ResourceIdentityType = "None" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns the possible values for the ResourceIdentityType const type.
type ResourceListResult ¶
type ResourceListResult struct { // An array of resources. Value []*GenericResourceExpanded `json:"value,omitempty"` // READ-ONLY; The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
ResourceListResult - List of resource groups.
func (ResourceListResult) MarshalJSON ¶
func (r ResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceListResult.
func (*ResourceListResult) UnmarshalJSON ¶
func (r *ResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceListResult.
type ResourceManagementErrorWithDetails ¶
type ResourceManagementErrorWithDetails struct { // READ-ONLY; The error code returned when exporting the template. Code *string `json:"code,omitempty" azure:"ro"` // READ-ONLY; Validation error. Details []*ResourceManagementErrorWithDetails `json:"details,omitempty" azure:"ro"` // READ-ONLY; The error message describing the export error. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; The target of the error. Target *string `json:"target,omitempty" azure:"ro"` }
ResourceManagementErrorWithDetails - The detailed error message of resource management.
func (ResourceManagementErrorWithDetails) MarshalJSON ¶
func (r ResourceManagementErrorWithDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceManagementErrorWithDetails.
func (*ResourceManagementErrorWithDetails) UnmarshalJSON ¶
func (r *ResourceManagementErrorWithDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceManagementErrorWithDetails.
type ResourceProviderOperationDisplayProperties ¶
type ResourceProviderOperationDisplayProperties struct { // Operation description. Description *string `json:"description,omitempty"` // Resource provider operation. Operation *string `json:"operation,omitempty"` // Operation provider. Provider *string `json:"provider,omitempty"` // Operation description. Publisher *string `json:"publisher,omitempty"` // Operation resource. Resource *string `json:"resource,omitempty"` }
ResourceProviderOperationDisplayProperties - Resource provider operation's display properties.
func (ResourceProviderOperationDisplayProperties) MarshalJSON ¶
func (r ResourceProviderOperationDisplayProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceProviderOperationDisplayProperties.
func (*ResourceProviderOperationDisplayProperties) UnmarshalJSON ¶
func (r *ResourceProviderOperationDisplayProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceProviderOperationDisplayProperties.
type SKU ¶
type SKU struct { // The SKU capacity. Capacity *int32 `json:"capacity,omitempty"` // The SKU family. Family *string `json:"family,omitempty"` // The SKU model. Model *string `json:"model,omitempty"` // The SKU name. Name *string `json:"name,omitempty"` // The SKU size. Size *string `json:"size,omitempty"` // The SKU tier. Tier *string `json:"tier,omitempty"` }
SKU for the resource.
func (SKU) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type SKU.
func (*SKU) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type SKU.
type SubResource ¶
type SubResource struct { // Resource ID ID *string `json:"id,omitempty"` }
SubResource - Sub-resource.
func (SubResource) MarshalJSON ¶
func (s SubResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SubResource.
func (*SubResource) UnmarshalJSON ¶
func (s *SubResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SubResource.
type TagCount ¶
type TagCount struct { // Type of count. Type *string `json:"type,omitempty"` // Value of count. Value *int32 `json:"value,omitempty"` }
TagCount - Tag count.
func (TagCount) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type TagCount.
func (*TagCount) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type TagCount.
type TagDetails ¶
type TagDetails struct { // The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, // the value is 0. Count *TagCount `json:"count,omitempty"` // The tag name. TagName *string `json:"tagName,omitempty"` // The list of tag values. Values []*TagValue `json:"values,omitempty"` // READ-ONLY; The tag ID. ID *string `json:"id,omitempty" azure:"ro"` }
TagDetails - Tag details.
func (TagDetails) MarshalJSON ¶
func (t TagDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TagDetails.
func (*TagDetails) UnmarshalJSON ¶
func (t *TagDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TagDetails.
type TagValue ¶
type TagValue struct { // The tag value count. Count *TagCount `json:"count,omitempty"` // The tag value. TagValue *string `json:"tagValue,omitempty"` // READ-ONLY; The tag ID. ID *string `json:"id,omitempty" azure:"ro"` }
TagValue - Tag information.
func (TagValue) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type TagValue.
func (*TagValue) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type TagValue.
type TagsClient ¶
type TagsClient struct {
// contains filtered or unexported fields
}
TagsClient contains the methods for the Tags group. Don't use this type directly, use NewTagsClient() instead.
func NewTagsClient ¶
func NewTagsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*TagsClient, error)
NewTagsClient creates a new instance of TagsClient with the specified values. subscriptionID - The ID of the target subscription. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*TagsClient) CreateOrUpdate ¶
func (client *TagsClient) CreateOrUpdate(ctx context.Context, tagName string, options *TagsClientCreateOrUpdateOptions) (TagsClientCreateOrUpdateResponse, error)
CreateOrUpdate - The tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 tagName - The name of the tag to create. options - TagsClientCreateOrUpdateOptions contains the optional parameters for the TagsClient.CreateOrUpdate method.
func (*TagsClient) CreateOrUpdateValue ¶
func (client *TagsClient) CreateOrUpdateValue(ctx context.Context, tagName string, tagValue string, options *TagsClientCreateOrUpdateValueOptions) (TagsClientCreateOrUpdateValueResponse, error)
CreateOrUpdateValue - Creates a tag value. The name of the tag must already exist. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 tagName - The name of the tag. tagValue - The value of the tag to create. options - TagsClientCreateOrUpdateValueOptions contains the optional parameters for the TagsClient.CreateOrUpdateValue method.
func (*TagsClient) Delete ¶
func (client *TagsClient) Delete(ctx context.Context, tagName string, options *TagsClientDeleteOptions) (TagsClientDeleteResponse, error)
Delete - You must remove all values from a resource tag before you can delete it. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 tagName - The name of the tag. options - TagsClientDeleteOptions contains the optional parameters for the TagsClient.Delete method.
func (*TagsClient) DeleteValue ¶
func (client *TagsClient) DeleteValue(ctx context.Context, tagName string, tagValue string, options *TagsClientDeleteValueOptions) (TagsClientDeleteValueResponse, error)
DeleteValue - Deletes a tag value. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 tagName - The name of the tag. tagValue - The value of the tag to delete. options - TagsClientDeleteValueOptions contains the optional parameters for the TagsClient.DeleteValue method.
func (*TagsClient) NewListPager ¶
func (client *TagsClient) NewListPager(options *TagsClientListOptions) *runtime.Pager[TagsClientListResponse]
NewListPager - Gets the names and values of all resource tags that are defined in a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2018-05-01 options - TagsClientListOptions contains the optional parameters for the TagsClient.List method.
type TagsClientCreateOrUpdateOptions ¶
type TagsClientCreateOrUpdateOptions struct { }
TagsClientCreateOrUpdateOptions contains the optional parameters for the TagsClient.CreateOrUpdate method.
type TagsClientCreateOrUpdateResponse ¶
type TagsClientCreateOrUpdateResponse struct {
TagDetails
}
TagsClientCreateOrUpdateResponse contains the response from method TagsClient.CreateOrUpdate.
type TagsClientCreateOrUpdateValueOptions ¶
type TagsClientCreateOrUpdateValueOptions struct { }
TagsClientCreateOrUpdateValueOptions contains the optional parameters for the TagsClient.CreateOrUpdateValue method.
type TagsClientCreateOrUpdateValueResponse ¶
type TagsClientCreateOrUpdateValueResponse struct {
TagValue
}
TagsClientCreateOrUpdateValueResponse contains the response from method TagsClient.CreateOrUpdateValue.
type TagsClientDeleteOptions ¶
type TagsClientDeleteOptions struct { }
TagsClientDeleteOptions contains the optional parameters for the TagsClient.Delete method.
type TagsClientDeleteResponse ¶
type TagsClientDeleteResponse struct { }
TagsClientDeleteResponse contains the response from method TagsClient.Delete.
type TagsClientDeleteValueOptions ¶
type TagsClientDeleteValueOptions struct { }
TagsClientDeleteValueOptions contains the optional parameters for the TagsClient.DeleteValue method.
type TagsClientDeleteValueResponse ¶
type TagsClientDeleteValueResponse struct { }
TagsClientDeleteValueResponse contains the response from method TagsClient.DeleteValue.
type TagsClientListOptions ¶
type TagsClientListOptions struct { }
TagsClientListOptions contains the optional parameters for the TagsClient.List method.
type TagsClientListResponse ¶
type TagsClientListResponse struct {
TagsListResult
}
TagsClientListResponse contains the response from method TagsClient.List.
type TagsListResult ¶
type TagsListResult struct { // An array of tags. Value []*TagDetails `json:"value,omitempty"` // READ-ONLY; The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
TagsListResult - List of subscription tags.
func (TagsListResult) MarshalJSON ¶
func (t TagsListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TagsListResult.
func (*TagsListResult) UnmarshalJSON ¶
func (t *TagsListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TagsListResult.
type TargetResource ¶
type TargetResource struct { // The ID of the resource. ID *string `json:"id,omitempty"` // The name of the resource. ResourceName *string `json:"resourceName,omitempty"` // The type of the resource. ResourceType *string `json:"resourceType,omitempty"` }
TargetResource - Target resource.
func (TargetResource) MarshalJSON ¶
func (t TargetResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TargetResource.
func (*TargetResource) UnmarshalJSON ¶
func (t *TargetResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TargetResource.
type TemplateHashResult ¶
type TemplateHashResult struct { // The minified template string. MinifiedTemplate *string `json:"minifiedTemplate,omitempty"` // 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.
func (TemplateHashResult) MarshalJSON ¶
func (t TemplateHashResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TemplateHashResult.
func (*TemplateHashResult) UnmarshalJSON ¶
func (t *TemplateHashResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TemplateHashResult.
type TemplateLink ¶
type TemplateLink struct { // REQUIRED; The URI of the template to deploy. URI *string `json:"uri,omitempty"` // If included, must match the ContentVersion in the template. ContentVersion *string `json:"contentVersion,omitempty"` }
TemplateLink - Entity representing the reference to the template.
func (TemplateLink) MarshalJSON ¶
func (t TemplateLink) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TemplateLink.
func (*TemplateLink) UnmarshalJSON ¶
func (t *TemplateLink) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TemplateLink.
type ZoneMapping ¶
type ZoneMapping struct { // The location of the zone mapping. Location *string `json:"location,omitempty"` Zones []*string `json:"zones,omitempty"` }
func (ZoneMapping) MarshalJSON ¶
func (z ZoneMapping) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ZoneMapping.
func (*ZoneMapping) UnmarshalJSON ¶
func (z *ZoneMapping) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ZoneMapping.