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 RunCommandManagedIdentity
- 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, ...) (resp ListOperationResponse, err error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) ListComplete(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, ...) (ListCompleteResult, error)
- func (c VirtualMachineScaleSetVMRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, ...) (resp 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)
- type VirtualMachineScaleSetVirtualMachineRunCommandId
- func NewVirtualMachineScaleSetVirtualMachineRunCommandID(subscriptionId string, resourceGroupName string, ...) VirtualMachineScaleSetVirtualMachineRunCommandId
- func ParseVirtualMachineScaleSetVirtualMachineRunCommandID(input string) (*VirtualMachineScaleSetVirtualMachineRunCommandId, error)
- func ParseVirtualMachineScaleSetVirtualMachineRunCommandIDInsensitively(input string) (*VirtualMachineScaleSetVirtualMachineRunCommandId, error)
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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response 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
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]VirtualMachineRunCommand // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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"` ErrorBlobManagedIdentity *RunCommandManagedIdentity `json:"errorBlobManagedIdentity,omitempty"` ErrorBlobUri *string `json:"errorBlobUri,omitempty"` InstanceView *VirtualMachineRunCommandInstanceView `json:"instanceView,omitempty"` OutputBlobManagedIdentity *RunCommandManagedIdentity `json:"outputBlobManagedIdentity,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"` TreatFailureAsDeploymentFailure *bool `json:"treatFailureAsDeploymentFailure,omitempty"` }
type VirtualMachineRunCommandScriptSource ¶
type VirtualMachineRunCommandScriptSource struct { CommandId *string `json:"commandId,omitempty"` Script *string `json:"script,omitempty"` ScriptUri *string `json:"scriptUri,omitempty"` ScriptUriManagedIdentity *RunCommandManagedIdentity `json:"scriptUriManagedIdentity,omitempty"` }
type VirtualMachineRunCommandUpdate ¶
type VirtualMachineRunCommandUpdate struct { Properties *VirtualMachineRunCommandProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VirtualMachineScaleSetVMRunCommandsClient ¶
type VirtualMachineScaleSetVMRunCommandsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI ¶
func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI(endpoint string) VirtualMachineScaleSetVMRunCommandsClient
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) (resp ListOperationResponse, err error)
List ...
func (VirtualMachineScaleSetVMRunCommandsClient) ListComplete ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) ListComplete(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (VirtualMachineScaleSetVMRunCommandsClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachineScaleSetVMRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineScaleSetVirtualMachineId, options ListOperationOptions, predicate VirtualMachineRunCommandOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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) 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) 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_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_instanceviewstatus.go
- model_runcommandinputparameter.go
- model_runcommandmanagedidentity.go
- model_virtualmachineruncommand.go
- model_virtualmachineruncommandinstanceview.go
- model_virtualmachineruncommandproperties.go
- model_virtualmachineruncommandscriptsource.go
- model_virtualmachineruncommandupdate.go
- predicates.go
- version.go