Documentation ¶
Index ¶
- func PossibleValuesForExecutionState() []string
- func PossibleValuesForStatusLevelTypes() []string
- func ValidateVirtualMachineScaleSetVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineScaleSetVirtualMachineRunCommandID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExecutionState
- type GetOperationOptions
- type GetOperationResponse
- type InstanceViewStatus
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type RunCommandInputParameter
- type StatusLevelTypes
- type UpdateOperationResponse
- type VirtualMachineRunCommand
- type VirtualMachineRunCommandInstanceView
- func (o *VirtualMachineRunCommandInstanceView) GetEndTimeAsTime() (*time.Time, error)
- func (o *VirtualMachineRunCommandInstanceView) GetStartTimeAsTime() (*time.Time, error)
- func (o *VirtualMachineRunCommandInstanceView) SetEndTimeAsTime(input time.Time)
- func (o *VirtualMachineRunCommandInstanceView) SetStartTimeAsTime(input time.Time)
- type VirtualMachineRunCommandOperationPredicate
- type VirtualMachineRunCommandProperties
- type VirtualMachineRunCommandScriptSource
- type VirtualMachineRunCommandUpdate
- type VirtualMachineScaleSetVMRunCommandsClient
- func (c VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdate(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, ...) error
- func (c VirtualMachineScaleSetVMRunCommandsClient) Delete(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId) (result DeleteOperationResponse, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) DeleteThenPoll(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId) error
- func (c VirtualMachineScaleSetVMRunCommandsClient) Get(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, ...) (result GetOperationResponse, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) List(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, ...) (result ListOperationResponse, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) ListComplete(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, ...) (ListCompleteResult, error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, ...) (result ListCompleteResult, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) Update(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, ...) (result UpdateOperationResponse, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) UpdateThenPoll(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, ...) error
- type VirtualMachineScaleSetVirtualMachineId
- func NewVirtualMachineScaleSetVirtualMachineID(subscriptionId string, resourceGroupName string, ...) VirtualMachineScaleSetVirtualMachineId
- func ParseVirtualMachineScaleSetVirtualMachineID(input string) (*VirtualMachineScaleSetVirtualMachineId, error)
- func ParseVirtualMachineScaleSetVirtualMachineIDInsensitively(input string) (*VirtualMachineScaleSetVirtualMachineId, error)
- func (id *VirtualMachineScaleSetVirtualMachineId) FromParseResult(input resourceids.ParseResult) error
- func (id VirtualMachineScaleSetVirtualMachineId) ID() string
- func (id VirtualMachineScaleSetVirtualMachineId) Segments() []resourceids.Segment
- func (id VirtualMachineScaleSetVirtualMachineId) String() string
- type VirtualMachineScaleSetVirtualMachineRunCommandId
- func NewVirtualMachineScaleSetVirtualMachineRunCommandID(subscriptionId string, resourceGroupName string, ...) VirtualMachineScaleSetVirtualMachineRunCommandId
- func ParseVirtualMachineScaleSetVirtualMachineRunCommandID(input string) (*VirtualMachineScaleSetVirtualMachineRunCommandId, error)
- func ParseVirtualMachineScaleSetVirtualMachineRunCommandIDInsensitively(input string) (*VirtualMachineScaleSetVirtualMachineRunCommandId, error)
- func (id *VirtualMachineScaleSetVirtualMachineRunCommandId) FromParseResult(input resourceids.ParseResult) error
- func (id VirtualMachineScaleSetVirtualMachineRunCommandId) ID() string
- func (id VirtualMachineScaleSetVirtualMachineRunCommandId) Segments() []resourceids.Segment
- func (id VirtualMachineScaleSetVirtualMachineRunCommandId) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExecutionState ¶
func PossibleValuesForExecutionState() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func ValidateVirtualMachineScaleSetVirtualMachineID ¶
func ValidateVirtualMachineScaleSetVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualMachineScaleSetVirtualMachineID checks that 'input' can be parsed as a Virtual Machine Scale Set Virtual Machine ID
func ValidateVirtualMachineScaleSetVirtualMachineRunCommandID ¶
func ValidateVirtualMachineScaleSetVirtualMachineRunCommandID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualMachineScaleSetVirtualMachineRunCommandID checks that 'input' can be parsed as a Virtual Machine Scale Set Virtual Machine Run Command ID
Types ¶
type DeleteOperationResponse ¶
type ExecutionState ¶
type ExecutionState string
const ( ExecutionStateCanceled ExecutionState = "Canceled" ExecutionStateFailed ExecutionState = "Failed" ExecutionStatePending ExecutionState = "Pending" ExecutionStateRunning ExecutionState = "Running" ExecutionStateSucceeded ExecutionState = "Succeeded" ExecutionStateTimedOut ExecutionState = "TimedOut" ExecutionStateUnknown ExecutionState = "Unknown" )
func (*ExecutionState) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *ExecutionState) UnmarshalJSON(bytes []byte) error
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineRunCommand }
type InstanceViewStatus ¶
type InstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*InstanceViewStatus) GetTimeAsTime ¶
func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*InstanceViewStatus) SetTimeAsTime ¶
func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []VirtualMachineRunCommand
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230808.1103829
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230808.1103829
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230808.1103829
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineRunCommand }
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
func (*StatusLevelTypes) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VirtualMachineRunCommand ¶
type VirtualMachineRunCommand struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *VirtualMachineRunCommandProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualMachineRunCommandInstanceView ¶
type VirtualMachineRunCommandInstanceView struct { EndTime *string `json:"endTime,omitempty"` Error *string `json:"error,omitempty"` ExecutionMessage *string `json:"executionMessage,omitempty"` ExecutionState *ExecutionState `json:"executionState,omitempty"` ExitCode *int64 `json:"exitCode,omitempty"` Output *string `json:"output,omitempty"` StartTime *string `json:"startTime,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
func (*VirtualMachineRunCommandInstanceView) GetEndTimeAsTime ¶
func (o *VirtualMachineRunCommandInstanceView) GetEndTimeAsTime() (*time.Time, error)
func (*VirtualMachineRunCommandInstanceView) GetStartTimeAsTime ¶
func (o *VirtualMachineRunCommandInstanceView) GetStartTimeAsTime() (*time.Time, error)
func (*VirtualMachineRunCommandInstanceView) SetEndTimeAsTime ¶
func (o *VirtualMachineRunCommandInstanceView) SetEndTimeAsTime(input time.Time)
func (*VirtualMachineRunCommandInstanceView) SetStartTimeAsTime ¶
func (o *VirtualMachineRunCommandInstanceView) SetStartTimeAsTime(input time.Time)
type VirtualMachineRunCommandOperationPredicate ¶
type VirtualMachineRunCommandOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (VirtualMachineRunCommandOperationPredicate) Matches ¶
func (p VirtualMachineRunCommandOperationPredicate) Matches(input VirtualMachineRunCommand) bool
type VirtualMachineRunCommandProperties ¶
type VirtualMachineRunCommandProperties struct { AsyncExecution *bool `json:"asyncExecution,omitempty"` ErrorBlobUri *string `json:"errorBlobUri,omitempty"` InstanceView *VirtualMachineRunCommandInstanceView `json:"instanceView,omitempty"` OutputBlobUri *string `json:"outputBlobUri,omitempty"` Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"` ProtectedParameters *[]RunCommandInputParameter `json:"protectedParameters,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RunAsPassword *string `json:"runAsPassword,omitempty"` RunAsUser *string `json:"runAsUser,omitempty"` Source *VirtualMachineRunCommandScriptSource `json:"source,omitempty"` TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` }
type VirtualMachineRunCommandUpdate ¶
type VirtualMachineRunCommandUpdate struct { Properties *VirtualMachineRunCommandProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VirtualMachineScaleSetVMRunCommandsClient ¶
type VirtualMachineScaleSetVMRunCommandsClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI ¶
func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineScaleSetVMRunCommandsClient, error)
func (VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdate ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdate(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, input VirtualMachineRunCommand) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateThenPoll ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, input VirtualMachineRunCommand) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualMachineScaleSetVMRunCommandsClient) Delete ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) Delete(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachineScaleSetVMRunCommandsClient) DeleteThenPoll ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) DeleteThenPoll(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualMachineScaleSetVMRunCommandsClient) Get ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) Get(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (VirtualMachineScaleSetVMRunCommandsClient) List ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) List(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (VirtualMachineScaleSetVMRunCommandsClient) ListComplete ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) ListComplete(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualMachineScaleSetVMRunCommandsClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, options ListOperationOptions, predicate VirtualMachineRunCommandOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachineScaleSetVMRunCommandsClient) Update ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) Update(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, input VirtualMachineRunCommandUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualMachineScaleSetVMRunCommandsClient) UpdateThenPoll ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) UpdateThenPoll(ctx context.Context, id VirtualMachineScaleSetVirtualMachineRunCommandId, input VirtualMachineRunCommandUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type VirtualMachineScaleSetVirtualMachineId ¶
type VirtualMachineScaleSetVirtualMachineId struct { SubscriptionId string ResourceGroupName string VirtualMachineScaleSetName string InstanceId string }
VirtualMachineScaleSetVirtualMachineId is a struct representing the Resource ID for a Virtual Machine Scale Set Virtual Machine
func NewVirtualMachineScaleSetVirtualMachineID ¶
func NewVirtualMachineScaleSetVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineScaleSetName string, instanceId string) VirtualMachineScaleSetVirtualMachineId
NewVirtualMachineScaleSetVirtualMachineID returns a new VirtualMachineScaleSetVirtualMachineId struct
func ParseVirtualMachineScaleSetVirtualMachineID ¶
func ParseVirtualMachineScaleSetVirtualMachineID(input string) (*VirtualMachineScaleSetVirtualMachineId, error)
ParseVirtualMachineScaleSetVirtualMachineID parses 'input' into a VirtualMachineScaleSetVirtualMachineId
func ParseVirtualMachineScaleSetVirtualMachineIDInsensitively ¶
func ParseVirtualMachineScaleSetVirtualMachineIDInsensitively(input string) (*VirtualMachineScaleSetVirtualMachineId, error)
ParseVirtualMachineScaleSetVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineScaleSetVirtualMachineId note: this method should only be used for API response data and not user input
func (*VirtualMachineScaleSetVirtualMachineId) FromParseResult ¶ added in v0.20231127.1171502
func (id *VirtualMachineScaleSetVirtualMachineId) FromParseResult(input resourceids.ParseResult) error
func (VirtualMachineScaleSetVirtualMachineId) ID ¶
func (id VirtualMachineScaleSetVirtualMachineId) ID() string
ID returns the formatted Virtual Machine Scale Set Virtual Machine ID
func (VirtualMachineScaleSetVirtualMachineId) Segments ¶
func (id VirtualMachineScaleSetVirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine Scale Set Virtual Machine ID
func (VirtualMachineScaleSetVirtualMachineId) String ¶
func (id VirtualMachineScaleSetVirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine Scale Set Virtual Machine ID
type VirtualMachineScaleSetVirtualMachineRunCommandId ¶
type VirtualMachineScaleSetVirtualMachineRunCommandId struct { SubscriptionId string ResourceGroupName string VirtualMachineScaleSetName string InstanceId string RunCommandName string }
VirtualMachineScaleSetVirtualMachineRunCommandId is a struct representing the Resource ID for a Virtual Machine Scale Set Virtual Machine Run Command
func NewVirtualMachineScaleSetVirtualMachineRunCommandID ¶
func NewVirtualMachineScaleSetVirtualMachineRunCommandID(subscriptionId string, resourceGroupName string, virtualMachineScaleSetName string, instanceId string, runCommandName string) VirtualMachineScaleSetVirtualMachineRunCommandId
NewVirtualMachineScaleSetVirtualMachineRunCommandID returns a new VirtualMachineScaleSetVirtualMachineRunCommandId struct
func ParseVirtualMachineScaleSetVirtualMachineRunCommandID ¶
func ParseVirtualMachineScaleSetVirtualMachineRunCommandID(input string) (*VirtualMachineScaleSetVirtualMachineRunCommandId, error)
ParseVirtualMachineScaleSetVirtualMachineRunCommandID parses 'input' into a VirtualMachineScaleSetVirtualMachineRunCommandId
func ParseVirtualMachineScaleSetVirtualMachineRunCommandIDInsensitively ¶
func ParseVirtualMachineScaleSetVirtualMachineRunCommandIDInsensitively(input string) (*VirtualMachineScaleSetVirtualMachineRunCommandId, error)
ParseVirtualMachineScaleSetVirtualMachineRunCommandIDInsensitively parses 'input' case-insensitively into a VirtualMachineScaleSetVirtualMachineRunCommandId note: this method should only be used for API response data and not user input
func (*VirtualMachineScaleSetVirtualMachineRunCommandId) FromParseResult ¶ added in v0.20231127.1171502
func (id *VirtualMachineScaleSetVirtualMachineRunCommandId) FromParseResult(input resourceids.ParseResult) error
func (VirtualMachineScaleSetVirtualMachineRunCommandId) ID ¶
func (id VirtualMachineScaleSetVirtualMachineRunCommandId) ID() string
ID returns the formatted Virtual Machine Scale Set Virtual Machine Run Command ID
func (VirtualMachineScaleSetVirtualMachineRunCommandId) Segments ¶
func (id VirtualMachineScaleSetVirtualMachineRunCommandId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine Scale Set Virtual Machine Run Command ID
func (VirtualMachineScaleSetVirtualMachineRunCommandId) String ¶
func (id VirtualMachineScaleSetVirtualMachineRunCommandId) String() string
String returns a human-readable description of this Virtual Machine Scale Set Virtual Machine Run Command ID
Source Files ¶
- client.go
- constants.go
- id_virtualmachinescalesetvirtualmachine.go
- id_virtualmachinescalesetvirtualmachineruncommand.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_instanceviewstatus.go
- model_runcommandinputparameter.go
- model_virtualmachineruncommand.go
- model_virtualmachineruncommandinstanceview.go
- model_virtualmachineruncommandproperties.go
- model_virtualmachineruncommandscriptsource.go
- model_virtualmachineruncommandupdate.go
- predicates.go
- version.go