Documentation ¶
Index ¶
- func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- type DeploymentId
- type DeploymentOperation
- type DeploymentOperationOperationPredicate
- type DeploymentOperationProperties
- type DeploymentOperationsClient
- func (c DeploymentOperationsClient) Get(ctx context.Context, id OperationId) (result GetOperationResponse, err error)
- func (c DeploymentOperationsClient) List(ctx context.Context, id DeploymentId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DeploymentOperationsClient) ListComplete(ctx context.Context, id DeploymentId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DeploymentOperationsClient) ListCompleteMatchingPredicate(ctx context.Context, id DeploymentId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type OperationId
- type TargetResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDeploymentID ¶
ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
Types ¶
type DeploymentId ¶
DeploymentId is a struct representing the Resource ID for a Deployment
func NewDeploymentID ¶
func NewDeploymentID(subscriptionId string, resourceGroupName string, 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) FromParseResult ¶
func (id *DeploymentId) FromParseResult(input resourceids.ParseResult) error
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 DeploymentOperationOperationPredicate ¶
func (DeploymentOperationOperationPredicate) Matches ¶
func (p DeploymentOperationOperationPredicate) Matches(input DeploymentOperation) bool
type DeploymentOperationProperties ¶
type DeploymentOperationProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` StatusCode *string `json:"statusCode,omitempty"` StatusMessage *interface{} `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 ¶
func (c DeploymentOperationsClient) Get(ctx context.Context, id OperationId) (result GetOperationResponse, err error)
Get ...
func (DeploymentOperationsClient) List ¶
func (c DeploymentOperationsClient) List(ctx context.Context, id DeploymentId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DeploymentOperationsClient) ListComplete ¶
func (c DeploymentOperationsClient) ListComplete(ctx context.Context, id DeploymentId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DeploymentOperationsClient) ListCompleteMatchingPredicate ¶
func (c DeploymentOperationsClient) ListCompleteMatchingPredicate(ctx context.Context, id DeploymentId, options ListOperationOptions, predicate DeploymentOperationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeploymentOperation }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []DeploymentOperation }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DeploymentOperation }
type OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string DeploymentName string OperationId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, 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) FromParseResult ¶
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
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