Documentation ¶
Index ¶
- func PossibleValuesForExecutionState() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForStatusLevelTypes() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRunCommandID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineRunCommandID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExecutionState
- type GetByVirtualMachineOperationOptions
- type GetByVirtualMachineOperationResponse
- type GetOperationResponse
- type InstanceViewStatus
- type ListByVirtualMachineCompleteResult
- type ListByVirtualMachineCustomPager
- type ListByVirtualMachineOperationOptions
- type ListByVirtualMachineOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LocationId
- type OperatingSystemTypes
- type RunCommandDocument
- type RunCommandDocumentBase
- type RunCommandDocumentBaseOperationPredicate
- type RunCommandId
- type RunCommandInputParameter
- type RunCommandManagedIdentity
- type RunCommandParameterDefinition
- type StatusLevelTypes
- type UpdateOperationResponse
- type VirtualMachineId
- type VirtualMachineRunCommand
- type VirtualMachineRunCommandId
- func NewVirtualMachineRunCommandID(subscriptionId string, resourceGroupName string, virtualMachineName string, ...) VirtualMachineRunCommandId
- func ParseVirtualMachineRunCommandID(input string) (*VirtualMachineRunCommandId, error)
- func ParseVirtualMachineRunCommandIDInsensitively(input string) (*VirtualMachineRunCommandId, error)
- 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 VirtualMachineRunCommandsClient
- func (c VirtualMachineRunCommandsClient) CreateOrUpdate(ctx context.Context, id VirtualMachineRunCommandId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineRunCommandId, ...) error
- func (c VirtualMachineRunCommandsClient) Delete(ctx context.Context, id VirtualMachineRunCommandId) (result DeleteOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) DeleteThenPoll(ctx context.Context, id VirtualMachineRunCommandId) error
- func (c VirtualMachineRunCommandsClient) Get(ctx context.Context, id RunCommandId) (result GetOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) GetByVirtualMachine(ctx context.Context, id VirtualMachineRunCommandId, ...) (result GetByVirtualMachineOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) ListByVirtualMachine(ctx context.Context, id VirtualMachineId, ...) (result ListByVirtualMachineOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) ListByVirtualMachineComplete(ctx context.Context, id VirtualMachineId, ...) (ListByVirtualMachineCompleteResult, error)
- func (c VirtualMachineRunCommandsClient) ListByVirtualMachineCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, ...) (result ListByVirtualMachineCompleteResult, err error)
- func (c VirtualMachineRunCommandsClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
- func (c VirtualMachineRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result ListCompleteResult, err error)
- func (c VirtualMachineRunCommandsClient) Update(ctx context.Context, id VirtualMachineRunCommandId, ...) (result UpdateOperationResponse, err error)
- func (c VirtualMachineRunCommandsClient) UpdateThenPoll(ctx context.Context, id VirtualMachineRunCommandId, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExecutionState ¶
func PossibleValuesForExecutionState() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateRunCommandID ¶
ValidateRunCommandID checks that 'input' can be parsed as a Run Command ID
func ValidateVirtualMachineID ¶
ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID
func ValidateVirtualMachineRunCommandID ¶
func ValidateVirtualMachineRunCommandID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualMachineRunCommandID checks that 'input' can be parsed as a 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 ¶
func (s *ExecutionState) UnmarshalJSON(bytes []byte) error
type GetByVirtualMachineOperationOptions ¶
type GetByVirtualMachineOperationOptions struct {
Expand *string
}
func DefaultGetByVirtualMachineOperationOptions ¶
func DefaultGetByVirtualMachineOperationOptions() GetByVirtualMachineOperationOptions
func (GetByVirtualMachineOperationOptions) ToHeaders ¶
func (o GetByVirtualMachineOperationOptions) ToHeaders() *client.Headers
func (GetByVirtualMachineOperationOptions) ToOData ¶
func (o GetByVirtualMachineOperationOptions) ToOData() *odata.Query
func (GetByVirtualMachineOperationOptions) ToQuery ¶
func (o GetByVirtualMachineOperationOptions) ToQuery() *client.QueryParams
type GetByVirtualMachineOperationResponse ¶
type GetByVirtualMachineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineRunCommand }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RunCommandDocument }
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 ListByVirtualMachineCompleteResult ¶
type ListByVirtualMachineCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualMachineRunCommand }
type ListByVirtualMachineCustomPager ¶ added in v0.20240628.1153531
func (*ListByVirtualMachineCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByVirtualMachineCustomPager) NextPageLink() *odata.Link
type ListByVirtualMachineOperationOptions ¶
type ListByVirtualMachineOperationOptions struct {
Expand *string
}
func DefaultListByVirtualMachineOperationOptions ¶
func DefaultListByVirtualMachineOperationOptions() ListByVirtualMachineOperationOptions
func (ListByVirtualMachineOperationOptions) ToHeaders ¶
func (o ListByVirtualMachineOperationOptions) ToHeaders() *client.Headers
func (ListByVirtualMachineOperationOptions) ToOData ¶
func (o ListByVirtualMachineOperationOptions) ToOData() *odata.Query
func (ListByVirtualMachineOperationOptions) ToQuery ¶
func (o ListByVirtualMachineOperationOptions) ToQuery() *client.QueryParams
type ListByVirtualMachineOperationResponse ¶
type ListByVirtualMachineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineRunCommand }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RunCommandDocumentBase }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RunCommandDocumentBase }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type RunCommandDocument ¶
type RunCommandDocument struct { Description string `json:"description"` Id string `json:"id"` Label string `json:"label"` OsType OperatingSystemTypes `json:"osType"` Parameters *[]RunCommandParameterDefinition `json:"parameters,omitempty"` Schema string `json:"$schema"` Script []string `json:"script"` }
type RunCommandDocumentBase ¶
type RunCommandDocumentBase struct { Description string `json:"description"` Id string `json:"id"` Label string `json:"label"` OsType OperatingSystemTypes `json:"osType"` Schema string `json:"$schema"` }
type RunCommandDocumentBaseOperationPredicate ¶
type RunCommandDocumentBaseOperationPredicate struct { Description *string Id *string Label *string Schema *string }
func (RunCommandDocumentBaseOperationPredicate) Matches ¶
func (p RunCommandDocumentBaseOperationPredicate) Matches(input RunCommandDocumentBase) bool
type RunCommandId ¶
RunCommandId is a struct representing the Resource ID for a Run Command
func NewRunCommandID ¶
func NewRunCommandID(subscriptionId string, locationName string, commandId string) RunCommandId
NewRunCommandID returns a new RunCommandId struct
func ParseRunCommandID ¶
func ParseRunCommandID(input string) (*RunCommandId, error)
ParseRunCommandID parses 'input' into a RunCommandId
func ParseRunCommandIDInsensitively ¶
func ParseRunCommandIDInsensitively(input string) (*RunCommandId, error)
ParseRunCommandIDInsensitively parses 'input' case-insensitively into a RunCommandId note: this method should only be used for API response data and not user input
func (*RunCommandId) FromParseResult ¶
func (id *RunCommandId) FromParseResult(input resourceids.ParseResult) error
func (RunCommandId) Segments ¶
func (id RunCommandId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Run Command ID
func (RunCommandId) String ¶
func (id RunCommandId) String() string
String returns a human-readable description of this Run Command ID
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
func (*StatusLevelTypes) UnmarshalJSON ¶
func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VirtualMachineId ¶
type VirtualMachineId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string }
VirtualMachineId is a struct representing the Resource ID for a Virtual Machine
func NewVirtualMachineID ¶
func NewVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineName string) VirtualMachineId
NewVirtualMachineID returns a new VirtualMachineId struct
func ParseVirtualMachineID ¶
func ParseVirtualMachineID(input string) (*VirtualMachineId, error)
ParseVirtualMachineID parses 'input' into a VirtualMachineId
func ParseVirtualMachineIDInsensitively ¶
func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)
ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input
func (*VirtualMachineId) FromParseResult ¶
func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error
func (VirtualMachineId) ID ¶
func (id VirtualMachineId) ID() string
ID returns the formatted Virtual Machine ID
func (VirtualMachineId) Segments ¶
func (id VirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID
func (VirtualMachineId) String ¶
func (id VirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine ID
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 VirtualMachineRunCommandId ¶
type VirtualMachineRunCommandId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string RunCommandName string }
VirtualMachineRunCommandId is a struct representing the Resource ID for a Virtual Machine Run Command
func NewVirtualMachineRunCommandID ¶
func NewVirtualMachineRunCommandID(subscriptionId string, resourceGroupName string, virtualMachineName string, runCommandName string) VirtualMachineRunCommandId
NewVirtualMachineRunCommandID returns a new VirtualMachineRunCommandId struct
func ParseVirtualMachineRunCommandID ¶
func ParseVirtualMachineRunCommandID(input string) (*VirtualMachineRunCommandId, error)
ParseVirtualMachineRunCommandID parses 'input' into a VirtualMachineRunCommandId
func ParseVirtualMachineRunCommandIDInsensitively ¶
func ParseVirtualMachineRunCommandIDInsensitively(input string) (*VirtualMachineRunCommandId, error)
ParseVirtualMachineRunCommandIDInsensitively parses 'input' case-insensitively into a VirtualMachineRunCommandId note: this method should only be used for API response data and not user input
func (*VirtualMachineRunCommandId) FromParseResult ¶
func (id *VirtualMachineRunCommandId) FromParseResult(input resourceids.ParseResult) error
func (VirtualMachineRunCommandId) ID ¶
func (id VirtualMachineRunCommandId) ID() string
ID returns the formatted Virtual Machine Run Command ID
func (VirtualMachineRunCommandId) Segments ¶
func (id VirtualMachineRunCommandId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine Run Command ID
func (VirtualMachineRunCommandId) String ¶
func (id VirtualMachineRunCommandId) String() string
String returns a human-readable description of this Virtual Machine Run Command ID
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 VirtualMachineRunCommandsClient ¶
type VirtualMachineRunCommandsClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachineRunCommandsClientWithBaseURI ¶
func NewVirtualMachineRunCommandsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineRunCommandsClient, error)
func (VirtualMachineRunCommandsClient) CreateOrUpdate ¶
func (c VirtualMachineRunCommandsClient) CreateOrUpdate(ctx context.Context, id VirtualMachineRunCommandId, input VirtualMachineRunCommand) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachineRunCommandsClient) CreateOrUpdateThenPoll ¶
func (c VirtualMachineRunCommandsClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineRunCommandId, input VirtualMachineRunCommand) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualMachineRunCommandsClient) Delete ¶
func (c VirtualMachineRunCommandsClient) Delete(ctx context.Context, id VirtualMachineRunCommandId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachineRunCommandsClient) DeleteThenPoll ¶
func (c VirtualMachineRunCommandsClient) DeleteThenPoll(ctx context.Context, id VirtualMachineRunCommandId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualMachineRunCommandsClient) Get ¶
func (c VirtualMachineRunCommandsClient) Get(ctx context.Context, id RunCommandId) (result GetOperationResponse, err error)
Get ...
func (VirtualMachineRunCommandsClient) GetByVirtualMachine ¶
func (c VirtualMachineRunCommandsClient) GetByVirtualMachine(ctx context.Context, id VirtualMachineRunCommandId, options GetByVirtualMachineOperationOptions) (result GetByVirtualMachineOperationResponse, err error)
GetByVirtualMachine ...
func (VirtualMachineRunCommandsClient) List ¶
func (c VirtualMachineRunCommandsClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
List ...
func (VirtualMachineRunCommandsClient) ListByVirtualMachine ¶
func (c VirtualMachineRunCommandsClient) ListByVirtualMachine(ctx context.Context, id VirtualMachineId, options ListByVirtualMachineOperationOptions) (result ListByVirtualMachineOperationResponse, err error)
ListByVirtualMachine ...
func (VirtualMachineRunCommandsClient) ListByVirtualMachineComplete ¶
func (c VirtualMachineRunCommandsClient) ListByVirtualMachineComplete(ctx context.Context, id VirtualMachineId, options ListByVirtualMachineOperationOptions) (ListByVirtualMachineCompleteResult, error)
ListByVirtualMachineComplete retrieves all the results into a single object
func (VirtualMachineRunCommandsClient) ListByVirtualMachineCompleteMatchingPredicate ¶
func (c VirtualMachineRunCommandsClient) ListByVirtualMachineCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, options ListByVirtualMachineOperationOptions, predicate VirtualMachineRunCommandOperationPredicate) (result ListByVirtualMachineCompleteResult, err error)
ListByVirtualMachineCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachineRunCommandsClient) ListComplete ¶
func (c VirtualMachineRunCommandsClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualMachineRunCommandsClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachineRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate RunCommandDocumentBaseOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachineRunCommandsClient) Update ¶
func (c VirtualMachineRunCommandsClient) Update(ctx context.Context, id VirtualMachineRunCommandId, input VirtualMachineRunCommandUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualMachineRunCommandsClient) UpdateThenPoll ¶
func (c VirtualMachineRunCommandsClient) UpdateThenPoll(ctx context.Context, id VirtualMachineRunCommandId, input VirtualMachineRunCommandUpdate) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_runcommand.go
- id_virtualmachine.go
- id_virtualmachineruncommand.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getbyvirtualmachine.go
- method_list.go
- method_listbyvirtualmachine.go
- method_update.go
- model_instanceviewstatus.go
- model_runcommanddocument.go
- model_runcommanddocumentbase.go
- model_runcommandinputparameter.go
- model_runcommandmanagedidentity.go
- model_runcommandparameterdefinition.go
- model_virtualmachineruncommand.go
- model_virtualmachineruncommandinstanceview.go
- model_virtualmachineruncommandproperties.go
- model_virtualmachineruncommandscriptsource.go
- model_virtualmachineruncommandupdate.go
- predicates.go
- version.go