deploymentoperations

package
v0.20230823.1052657 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/resources/2021-04-01/deploymentoperations Documentation

The deploymentoperations SDK allows for interaction with the Azure Resource Manager Service resources (API Version 2021-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/resources/2021-04-01/deploymentoperations"

Client Initialization

client := deploymentoperations.NewDeploymentOperationsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DeploymentOperationsClient.Get

ctx := context.TODO()
id := deploymentoperations.NewResourceGroupDeploymentOperationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue", "operationIdValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentOperationsClient.GetAtManagementGroupScope

ctx := context.TODO()
id := deploymentoperations.NewProviders2DeploymentOperationID("groupIdValue", "deploymentValue", "operationIdValue")

read, err := client.GetAtManagementGroupScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentOperationsClient.GetAtScope

ctx := context.TODO()
id := deploymentoperations.NewScopedOperationID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue", "operationIdValue")

read, err := client.GetAtScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentOperationsClient.GetAtSubscriptionScope

ctx := context.TODO()
id := deploymentoperations.NewDeploymentOperationID("12345678-1234-9876-4563-123456789012", "deploymentValue", "operationIdValue")

read, err := client.GetAtSubscriptionScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentOperationsClient.GetAtTenantScope

ctx := context.TODO()
id := deploymentoperations.NewOperationID("deploymentValue", "operationIdValue")

read, err := client.GetAtTenantScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentOperationsClient.List

ctx := context.TODO()
id := deploymentoperations.NewResourceGroupDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

// alternatively `client.List(ctx, id, deploymentoperations.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, deploymentoperations.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentOperationsClient.ListAtManagementGroupScope

ctx := context.TODO()
id := deploymentoperations.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

// alternatively `client.ListAtManagementGroupScope(ctx, id, deploymentoperations.DefaultListAtManagementGroupScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtManagementGroupScopeComplete(ctx, id, deploymentoperations.DefaultListAtManagementGroupScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentOperationsClient.ListAtScope

ctx := context.TODO()
id := deploymentoperations.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

// alternatively `client.ListAtScope(ctx, id, deploymentoperations.DefaultListAtScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtScopeComplete(ctx, id, deploymentoperations.DefaultListAtScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentOperationsClient.ListAtSubscriptionScope

ctx := context.TODO()
id := deploymentoperations.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

// alternatively `client.ListAtSubscriptionScope(ctx, id, deploymentoperations.DefaultListAtSubscriptionScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtSubscriptionScopeComplete(ctx, id, deploymentoperations.DefaultListAtSubscriptionScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentOperationsClient.ListAtTenantScope

ctx := context.TODO()
id := deploymentoperations.NewDeploymentID("deploymentValue")

// alternatively `client.ListAtTenantScope(ctx, id, deploymentoperations.DefaultListAtTenantScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtTenantScopeComplete(ctx, id, deploymentoperations.DefaultListAtTenantScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForProvisioningOperation

func PossibleValuesForProvisioningOperation() []string

func ValidateDeploymentID

func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID

func ValidateDeploymentOperationID

func ValidateDeploymentOperationID(input interface{}, key string) (warnings []string, errors []error)

ValidateDeploymentOperationID checks that 'input' can be parsed as a Deployment Operation ID

func ValidateOperationID

func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)

ValidateOperationID checks that 'input' can be parsed as a Operation ID

func ValidateProviderDeploymentID

func ValidateProviderDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviderDeploymentID checks that 'input' can be parsed as a Provider Deployment ID

func ValidateProviders2DeploymentID

func ValidateProviders2DeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviders2DeploymentID checks that 'input' can be parsed as a Providers 2 Deployment ID

func ValidateProviders2DeploymentOperationID

func ValidateProviders2DeploymentOperationID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviders2DeploymentOperationID checks that 'input' can be parsed as a Providers 2 Deployment Operation ID

func ValidateResourceGroupDeploymentID

func ValidateResourceGroupDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateResourceGroupDeploymentID checks that 'input' can be parsed as a Resource Group Deployment ID

func ValidateResourceGroupDeploymentOperationID

func ValidateResourceGroupDeploymentOperationID(input interface{}, key string) (warnings []string, errors []error)

ValidateResourceGroupDeploymentOperationID checks that 'input' can be parsed as a Resource Group Deployment Operation ID

func ValidateScopedDeploymentID

func ValidateScopedDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateScopedDeploymentID checks that 'input' can be parsed as a Scoped Deployment ID

func ValidateScopedOperationID

func ValidateScopedOperationID(input interface{}, key string) (warnings []string, errors []error)

ValidateScopedOperationID checks that 'input' can be parsed as a Scoped Operation ID

Types

type DeploymentId

type DeploymentId struct {
	DeploymentName string
}

DeploymentId is a struct representing the Resource ID for a Deployment

func NewDeploymentID

func NewDeploymentID(deploymentName string) DeploymentId

NewDeploymentID returns a new DeploymentId struct

func ParseDeploymentID

func ParseDeploymentID(input string) (*DeploymentId, error)

ParseDeploymentID parses 'input' into a DeploymentId

func ParseDeploymentIDInsensitively

func ParseDeploymentIDInsensitively(input string) (*DeploymentId, error)

ParseDeploymentIDInsensitively parses 'input' case-insensitively into a DeploymentId note: this method should only be used for API response data and not user input

func (DeploymentId) ID

func (id DeploymentId) ID() string

ID returns the formatted Deployment ID

func (DeploymentId) Segments

func (id DeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Deployment ID

func (DeploymentId) String

func (id DeploymentId) String() string

String returns a human-readable description of this Deployment ID

type DeploymentOperation

type DeploymentOperation struct {
	Id          *string                        `json:"id,omitempty"`
	OperationId *string                        `json:"operationId,omitempty"`
	Properties  *DeploymentOperationProperties `json:"properties,omitempty"`
}

type DeploymentOperationId

type DeploymentOperationId struct {
	SubscriptionId string
	DeploymentName string
	OperationId    string
}

DeploymentOperationId is a struct representing the Resource ID for a Deployment Operation

func NewDeploymentOperationID

func NewDeploymentOperationID(subscriptionId string, deploymentName string, operationId string) DeploymentOperationId

NewDeploymentOperationID returns a new DeploymentOperationId struct

func ParseDeploymentOperationID

func ParseDeploymentOperationID(input string) (*DeploymentOperationId, error)

ParseDeploymentOperationID parses 'input' into a DeploymentOperationId

func ParseDeploymentOperationIDInsensitively

func ParseDeploymentOperationIDInsensitively(input string) (*DeploymentOperationId, error)

ParseDeploymentOperationIDInsensitively parses 'input' case-insensitively into a DeploymentOperationId note: this method should only be used for API response data and not user input

func (DeploymentOperationId) ID

func (id DeploymentOperationId) ID() string

ID returns the formatted Deployment Operation ID

func (DeploymentOperationId) Segments

func (id DeploymentOperationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Deployment Operation ID

func (DeploymentOperationId) String

func (id DeploymentOperationId) String() string

String returns a human-readable description of this Deployment Operation ID

type DeploymentOperationOperationPredicate

type DeploymentOperationOperationPredicate struct {
	Id          *string
	OperationId *string
}

func (DeploymentOperationOperationPredicate) Matches

type DeploymentOperationProperties

type DeploymentOperationProperties struct {
	Duration              *string                `json:"duration,omitempty"`
	ProvisioningOperation *ProvisioningOperation `json:"provisioningOperation,omitempty"`
	ProvisioningState     *string                `json:"provisioningState,omitempty"`
	Request               *HTTPMessage           `json:"request,omitempty"`
	Response              *HTTPMessage           `json:"response,omitempty"`
	ServiceRequestId      *string                `json:"serviceRequestId,omitempty"`
	StatusCode            *string                `json:"statusCode,omitempty"`
	StatusMessage         *StatusMessage         `json:"statusMessage,omitempty"`
	TargetResource        *TargetResource        `json:"targetResource,omitempty"`
	Timestamp             *string                `json:"timestamp,omitempty"`
}

func (*DeploymentOperationProperties) GetTimestampAsTime

func (o *DeploymentOperationProperties) GetTimestampAsTime() (*time.Time, error)

func (*DeploymentOperationProperties) SetTimestampAsTime

func (o *DeploymentOperationProperties) SetTimestampAsTime(input time.Time)

type DeploymentOperationsClient

type DeploymentOperationsClient struct {
	Client *resourcemanager.Client
}

func NewDeploymentOperationsClientWithBaseURI

func NewDeploymentOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentOperationsClient, error)

func (DeploymentOperationsClient) Get

Get ...

func (DeploymentOperationsClient) GetAtManagementGroupScope

GetAtManagementGroupScope ...

func (DeploymentOperationsClient) GetAtScope

GetAtScope ...

func (DeploymentOperationsClient) GetAtSubscriptionScope

GetAtSubscriptionScope ...

func (DeploymentOperationsClient) GetAtTenantScope

GetAtTenantScope ...

func (DeploymentOperationsClient) List

List ...

func (DeploymentOperationsClient) ListAtManagementGroupScope

ListAtManagementGroupScope ...

func (DeploymentOperationsClient) ListAtManagementGroupScopeComplete

ListAtManagementGroupScopeComplete retrieves all the results into a single object

func (DeploymentOperationsClient) ListAtManagementGroupScopeCompleteMatchingPredicate

ListAtManagementGroupScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentOperationsClient) ListAtScope

ListAtScope ...

func (DeploymentOperationsClient) ListAtScopeComplete

ListAtScopeComplete retrieves all the results into a single object

func (DeploymentOperationsClient) ListAtScopeCompleteMatchingPredicate

ListAtScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentOperationsClient) ListAtSubscriptionScope

ListAtSubscriptionScope ...

func (DeploymentOperationsClient) ListAtSubscriptionScopeComplete

ListAtSubscriptionScopeComplete retrieves all the results into a single object

func (DeploymentOperationsClient) ListAtSubscriptionScopeCompleteMatchingPredicate

ListAtSubscriptionScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentOperationsClient) ListAtTenantScope

ListAtTenantScope ...

func (DeploymentOperationsClient) ListAtTenantScopeComplete

ListAtTenantScopeComplete retrieves all the results into a single object

func (DeploymentOperationsClient) ListAtTenantScopeCompleteMatchingPredicate

ListAtTenantScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentOperationsClient) ListComplete

ListComplete retrieves all the results into a single object

func (DeploymentOperationsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorResponse

type ErrorResponse struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorResponse       `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type GetAtManagementGroupScopeOperationResponse

type GetAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentOperation
}

type GetAtScopeOperationResponse

type GetAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentOperation
}

type GetAtSubscriptionScopeOperationResponse

type GetAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentOperation
}

type GetAtTenantScopeOperationResponse

type GetAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentOperation
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentOperation
}

type HTTPMessage

type HTTPMessage struct {
	Content *interface{} `json:"content,omitempty"`
}

type ListAtManagementGroupScopeCompleteResult

type ListAtManagementGroupScopeCompleteResult struct {
	Items []DeploymentOperation
}

type ListAtManagementGroupScopeOperationOptions

type ListAtManagementGroupScopeOperationOptions struct {
	Top *int64
}

func DefaultListAtManagementGroupScopeOperationOptions

func DefaultListAtManagementGroupScopeOperationOptions() ListAtManagementGroupScopeOperationOptions

func (ListAtManagementGroupScopeOperationOptions) ToHeaders added in v0.20230509.1154719

func (ListAtManagementGroupScopeOperationOptions) ToOData added in v0.20230509.1154719

func (ListAtManagementGroupScopeOperationOptions) ToQuery added in v0.20230509.1154719

type ListAtManagementGroupScopeOperationResponse

type ListAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentOperation
}

type ListAtScopeCompleteResult

type ListAtScopeCompleteResult struct {
	Items []DeploymentOperation
}

type ListAtScopeOperationOptions

type ListAtScopeOperationOptions struct {
	Top *int64
}

func DefaultListAtScopeOperationOptions

func DefaultListAtScopeOperationOptions() ListAtScopeOperationOptions

func (ListAtScopeOperationOptions) ToHeaders added in v0.20230509.1154719

func (ListAtScopeOperationOptions) ToOData added in v0.20230509.1154719

func (ListAtScopeOperationOptions) ToQuery added in v0.20230509.1154719

type ListAtScopeOperationResponse

type ListAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentOperation
}

type ListAtSubscriptionScopeCompleteResult

type ListAtSubscriptionScopeCompleteResult struct {
	Items []DeploymentOperation
}

type ListAtSubscriptionScopeOperationOptions

type ListAtSubscriptionScopeOperationOptions struct {
	Top *int64
}

func DefaultListAtSubscriptionScopeOperationOptions

func DefaultListAtSubscriptionScopeOperationOptions() ListAtSubscriptionScopeOperationOptions

func (ListAtSubscriptionScopeOperationOptions) ToHeaders added in v0.20230509.1154719

func (ListAtSubscriptionScopeOperationOptions) ToOData added in v0.20230509.1154719

func (ListAtSubscriptionScopeOperationOptions) ToQuery added in v0.20230509.1154719

type ListAtSubscriptionScopeOperationResponse

type ListAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentOperation
}

type ListAtTenantScopeCompleteResult

type ListAtTenantScopeCompleteResult struct {
	Items []DeploymentOperation
}

type ListAtTenantScopeOperationOptions

type ListAtTenantScopeOperationOptions struct {
	Top *int64
}

func DefaultListAtTenantScopeOperationOptions

func DefaultListAtTenantScopeOperationOptions() ListAtTenantScopeOperationOptions

func (ListAtTenantScopeOperationOptions) ToHeaders added in v0.20230509.1154719

func (ListAtTenantScopeOperationOptions) ToOData added in v0.20230509.1154719

func (ListAtTenantScopeOperationOptions) ToQuery added in v0.20230509.1154719

type ListAtTenantScopeOperationResponse

type ListAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentOperation
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []DeploymentOperation
}

type ListOperationOptions

type ListOperationOptions struct {
	Top *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders added in v0.20230509.1154719

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData added in v0.20230509.1154719

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery added in v0.20230509.1154719

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentOperation
}

type OperationId

type OperationId struct {
	DeploymentName string
	OperationId    string
}

OperationId is a struct representing the Resource ID for a Operation

func NewOperationID

func NewOperationID(deploymentName string, operationId string) OperationId

NewOperationID returns a new OperationId struct

func ParseOperationID

func ParseOperationID(input string) (*OperationId, error)

ParseOperationID parses 'input' into a OperationId

func ParseOperationIDInsensitively

func ParseOperationIDInsensitively(input string) (*OperationId, error)

ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input

func (OperationId) ID

func (id OperationId) ID() string

ID returns the formatted Operation ID

func (OperationId) Segments

func (id OperationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Operation ID

func (OperationId) String

func (id OperationId) String() string

String returns a human-readable description of this Operation ID

type ProviderDeploymentId

type ProviderDeploymentId struct {
	SubscriptionId string
	DeploymentName string
}

ProviderDeploymentId is a struct representing the Resource ID for a Provider Deployment

func NewProviderDeploymentID

func NewProviderDeploymentID(subscriptionId string, deploymentName string) ProviderDeploymentId

NewProviderDeploymentID returns a new ProviderDeploymentId struct

func ParseProviderDeploymentID

func ParseProviderDeploymentID(input string) (*ProviderDeploymentId, error)

ParseProviderDeploymentID parses 'input' into a ProviderDeploymentId

func ParseProviderDeploymentIDInsensitively

func ParseProviderDeploymentIDInsensitively(input string) (*ProviderDeploymentId, error)

ParseProviderDeploymentIDInsensitively parses 'input' case-insensitively into a ProviderDeploymentId note: this method should only be used for API response data and not user input

func (ProviderDeploymentId) ID

func (id ProviderDeploymentId) ID() string

ID returns the formatted Provider Deployment ID

func (ProviderDeploymentId) Segments

func (id ProviderDeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Provider Deployment ID

func (ProviderDeploymentId) String

func (id ProviderDeploymentId) String() string

String returns a human-readable description of this Provider Deployment ID

type Providers2DeploymentId

type Providers2DeploymentId struct {
	GroupId        string
	DeploymentName string
}

Providers2DeploymentId is a struct representing the Resource ID for a Providers 2 Deployment

func NewProviders2DeploymentID

func NewProviders2DeploymentID(groupId string, deploymentName string) Providers2DeploymentId

NewProviders2DeploymentID returns a new Providers2DeploymentId struct

func ParseProviders2DeploymentID

func ParseProviders2DeploymentID(input string) (*Providers2DeploymentId, error)

ParseProviders2DeploymentID parses 'input' into a Providers2DeploymentId

func ParseProviders2DeploymentIDInsensitively

func ParseProviders2DeploymentIDInsensitively(input string) (*Providers2DeploymentId, error)

ParseProviders2DeploymentIDInsensitively parses 'input' case-insensitively into a Providers2DeploymentId note: this method should only be used for API response data and not user input

func (Providers2DeploymentId) ID

ID returns the formatted Providers 2 Deployment ID

func (Providers2DeploymentId) Segments

func (id Providers2DeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Providers 2 Deployment ID

func (Providers2DeploymentId) String

func (id Providers2DeploymentId) String() string

String returns a human-readable description of this Providers 2 Deployment ID

type Providers2DeploymentOperationId

type Providers2DeploymentOperationId struct {
	GroupId        string
	DeploymentName string
	OperationId    string
}

Providers2DeploymentOperationId is a struct representing the Resource ID for a Providers 2 Deployment Operation

func NewProviders2DeploymentOperationID

func NewProviders2DeploymentOperationID(groupId string, deploymentName string, operationId string) Providers2DeploymentOperationId

NewProviders2DeploymentOperationID returns a new Providers2DeploymentOperationId struct

func ParseProviders2DeploymentOperationID

func ParseProviders2DeploymentOperationID(input string) (*Providers2DeploymentOperationId, error)

ParseProviders2DeploymentOperationID parses 'input' into a Providers2DeploymentOperationId

func ParseProviders2DeploymentOperationIDInsensitively

func ParseProviders2DeploymentOperationIDInsensitively(input string) (*Providers2DeploymentOperationId, error)

ParseProviders2DeploymentOperationIDInsensitively parses 'input' case-insensitively into a Providers2DeploymentOperationId note: this method should only be used for API response data and not user input

func (Providers2DeploymentOperationId) ID

ID returns the formatted Providers 2 Deployment Operation ID

func (Providers2DeploymentOperationId) Segments

Segments returns a slice of Resource ID Segments which comprise this Providers 2 Deployment Operation ID

func (Providers2DeploymentOperationId) String

String returns a human-readable description of this Providers 2 Deployment Operation ID

type ProvisioningOperation

type ProvisioningOperation string
const (
	ProvisioningOperationAction                     ProvisioningOperation = "Action"
	ProvisioningOperationAzureAsyncOperationWaiting ProvisioningOperation = "AzureAsyncOperationWaiting"
	ProvisioningOperationCreate                     ProvisioningOperation = "Create"
	ProvisioningOperationDelete                     ProvisioningOperation = "Delete"
	ProvisioningOperationDeploymentCleanup          ProvisioningOperation = "DeploymentCleanup"
	ProvisioningOperationEvaluateDeploymentOutput   ProvisioningOperation = "EvaluateDeploymentOutput"
	ProvisioningOperationNotSpecified               ProvisioningOperation = "NotSpecified"
	ProvisioningOperationRead                       ProvisioningOperation = "Read"
	ProvisioningOperationResourceCacheWaiting       ProvisioningOperation = "ResourceCacheWaiting"
	ProvisioningOperationWaiting                    ProvisioningOperation = "Waiting"
)

func (*ProvisioningOperation) UnmarshalJSON added in v0.20230509.1154719

func (s *ProvisioningOperation) UnmarshalJSON(bytes []byte) error

type ResourceGroupDeploymentId

type ResourceGroupDeploymentId struct {
	SubscriptionId    string
	ResourceGroupName string
	DeploymentName    string
}

ResourceGroupDeploymentId is a struct representing the Resource ID for a Resource Group Deployment

func NewResourceGroupDeploymentID

func NewResourceGroupDeploymentID(subscriptionId string, resourceGroupName string, deploymentName string) ResourceGroupDeploymentId

NewResourceGroupDeploymentID returns a new ResourceGroupDeploymentId struct

func ParseResourceGroupDeploymentID

func ParseResourceGroupDeploymentID(input string) (*ResourceGroupDeploymentId, error)

ParseResourceGroupDeploymentID parses 'input' into a ResourceGroupDeploymentId

func ParseResourceGroupDeploymentIDInsensitively

func ParseResourceGroupDeploymentIDInsensitively(input string) (*ResourceGroupDeploymentId, error)

ParseResourceGroupDeploymentIDInsensitively parses 'input' case-insensitively into a ResourceGroupDeploymentId note: this method should only be used for API response data and not user input

func (ResourceGroupDeploymentId) ID

ID returns the formatted Resource Group Deployment ID

func (ResourceGroupDeploymentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Resource Group Deployment ID

func (ResourceGroupDeploymentId) String

func (id ResourceGroupDeploymentId) String() string

String returns a human-readable description of this Resource Group Deployment ID

type ResourceGroupDeploymentOperationId

type ResourceGroupDeploymentOperationId struct {
	SubscriptionId    string
	ResourceGroupName string
	DeploymentName    string
	OperationId       string
}

ResourceGroupDeploymentOperationId is a struct representing the Resource ID for a Resource Group Deployment Operation

func NewResourceGroupDeploymentOperationID

func NewResourceGroupDeploymentOperationID(subscriptionId string, resourceGroupName string, deploymentName string, operationId string) ResourceGroupDeploymentOperationId

NewResourceGroupDeploymentOperationID returns a new ResourceGroupDeploymentOperationId struct

func ParseResourceGroupDeploymentOperationID

func ParseResourceGroupDeploymentOperationID(input string) (*ResourceGroupDeploymentOperationId, error)

ParseResourceGroupDeploymentOperationID parses 'input' into a ResourceGroupDeploymentOperationId

func ParseResourceGroupDeploymentOperationIDInsensitively

func ParseResourceGroupDeploymentOperationIDInsensitively(input string) (*ResourceGroupDeploymentOperationId, error)

ParseResourceGroupDeploymentOperationIDInsensitively parses 'input' case-insensitively into a ResourceGroupDeploymentOperationId note: this method should only be used for API response data and not user input

func (ResourceGroupDeploymentOperationId) ID

ID returns the formatted Resource Group Deployment Operation ID

func (ResourceGroupDeploymentOperationId) Segments

Segments returns a slice of Resource ID Segments which comprise this Resource Group Deployment Operation ID

func (ResourceGroupDeploymentOperationId) String

String returns a human-readable description of this Resource Group Deployment Operation ID

type ScopedDeploymentId

type ScopedDeploymentId struct {
	Scope          string
	DeploymentName string
}

ScopedDeploymentId is a struct representing the Resource ID for a Scoped Deployment

func NewScopedDeploymentID

func NewScopedDeploymentID(scope string, deploymentName string) ScopedDeploymentId

NewScopedDeploymentID returns a new ScopedDeploymentId struct

func ParseScopedDeploymentID

func ParseScopedDeploymentID(input string) (*ScopedDeploymentId, error)

ParseScopedDeploymentID parses 'input' into a ScopedDeploymentId

func ParseScopedDeploymentIDInsensitively

func ParseScopedDeploymentIDInsensitively(input string) (*ScopedDeploymentId, error)

ParseScopedDeploymentIDInsensitively parses 'input' case-insensitively into a ScopedDeploymentId note: this method should only be used for API response data and not user input

func (ScopedDeploymentId) ID

func (id ScopedDeploymentId) ID() string

ID returns the formatted Scoped Deployment ID

func (ScopedDeploymentId) Segments

func (id ScopedDeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Scoped Deployment ID

func (ScopedDeploymentId) String

func (id ScopedDeploymentId) String() string

String returns a human-readable description of this Scoped Deployment ID

type ScopedOperationId

type ScopedOperationId struct {
	Scope          string
	DeploymentName string
	OperationId    string
}

ScopedOperationId is a struct representing the Resource ID for a Scoped Operation

func NewScopedOperationID

func NewScopedOperationID(scope string, deploymentName string, operationId string) ScopedOperationId

NewScopedOperationID returns a new ScopedOperationId struct

func ParseScopedOperationID

func ParseScopedOperationID(input string) (*ScopedOperationId, error)

ParseScopedOperationID parses 'input' into a ScopedOperationId

func ParseScopedOperationIDInsensitively

func ParseScopedOperationIDInsensitively(input string) (*ScopedOperationId, error)

ParseScopedOperationIDInsensitively parses 'input' case-insensitively into a ScopedOperationId note: this method should only be used for API response data and not user input

func (ScopedOperationId) ID

func (id ScopedOperationId) ID() string

ID returns the formatted Scoped Operation ID

func (ScopedOperationId) Segments

func (id ScopedOperationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Scoped Operation ID

func (ScopedOperationId) String

func (id ScopedOperationId) String() string

String returns a human-readable description of this Scoped Operation ID

type StatusMessage

type StatusMessage struct {
	Error  *ErrorResponse `json:"error,omitempty"`
	Status *string        `json:"status,omitempty"`
}

type TargetResource

type TargetResource struct {
	Id           *string `json:"id,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	ResourceType *string `json:"resourceType,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL