Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 struct + HttpResponse *http.Response + Model *VirtualMachineRunCommand + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type ExecutionState string + const ExecutionStateCanceled + const ExecutionStateFailed + const ExecutionStatePending + const ExecutionStateRunning + const ExecutionStateSucceeded + const ExecutionStateTimedOut + const ExecutionStateUnknown + func (s *ExecutionState) UnmarshalJSON(bytes []byte) error + type GetByVirtualMachineOperationOptions struct + Expand *string + func DefaultGetByVirtualMachineOperationOptions() GetByVirtualMachineOperationOptions + func (o GetByVirtualMachineOperationOptions) ToHeaders() *client.Headers + func (o GetByVirtualMachineOperationOptions) ToOData() *odata.Query + func (o GetByVirtualMachineOperationOptions) ToQuery() *client.QueryParams + type GetByVirtualMachineOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineRunCommand + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *RunCommandDocument + OData *odata.OData + type InstanceViewStatus struct + Code *string + DisplayStatus *string + Level *StatusLevelTypes + Message *string + Time *string + func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error) + func (o *InstanceViewStatus) SetTimeAsTime(input time.Time) + type ListByVirtualMachineCompleteResult struct + Items []VirtualMachineRunCommand + LatestHttpResponse *http.Response + type ListByVirtualMachineCustomPager struct + NextLink *odata.Link + func (p *ListByVirtualMachineCustomPager) NextPageLink() *odata.Link + type ListByVirtualMachineOperationOptions struct + Expand *string + func DefaultListByVirtualMachineOperationOptions() ListByVirtualMachineOperationOptions + func (o ListByVirtualMachineOperationOptions) ToHeaders() *client.Headers + func (o ListByVirtualMachineOperationOptions) ToOData() *odata.Query + func (o ListByVirtualMachineOperationOptions) ToQuery() *client.QueryParams + type ListByVirtualMachineOperationResponse struct + HttpResponse *http.Response + Model *[]VirtualMachineRunCommand + OData *odata.OData + type ListCompleteResult struct + Items []RunCommandDocumentBase + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]RunCommandDocumentBase + OData *odata.OData + type LocationId struct + LocationName string + SubscriptionId string + func NewLocationID(subscriptionId string, locationName string) LocationId + func ParseLocationID(input string) (*LocationId, error) + func ParseLocationIDInsensitively(input string) (*LocationId, error) + func (id *LocationId) FromParseResult(input resourceids.ParseResult) error + func (id LocationId) ID() string + func (id LocationId) Segments() []resourceids.Segment + func (id LocationId) String() string + type OperatingSystemTypes string + const OperatingSystemTypesLinux + const OperatingSystemTypesWindows + func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error + type RunCommandDocument struct + Description string + Id string + Label string + OsType OperatingSystemTypes + Parameters *[]RunCommandParameterDefinition + Schema string + Script []string + type RunCommandDocumentBase struct + Description string + Id string + Label string + OsType OperatingSystemTypes + Schema string + type RunCommandDocumentBaseOperationPredicate struct + Description *string + Id *string + Label *string + Schema *string + func (p RunCommandDocumentBaseOperationPredicate) Matches(input RunCommandDocumentBase) bool + type RunCommandId struct + CommandId string + LocationName string + SubscriptionId string + func NewRunCommandID(subscriptionId string, locationName string, commandId string) RunCommandId + func ParseRunCommandID(input string) (*RunCommandId, error) + func ParseRunCommandIDInsensitively(input string) (*RunCommandId, error) + func (id *RunCommandId) FromParseResult(input resourceids.ParseResult) error + func (id RunCommandId) ID() string + func (id RunCommandId) Segments() []resourceids.Segment + func (id RunCommandId) String() string + type RunCommandInputParameter struct + Name string + Value string + type RunCommandManagedIdentity struct + ClientId *string + ObjectId *string + type RunCommandParameterDefinition struct + DefaultValue *string + Name string + Required *bool + Type string + type StatusLevelTypes string + const StatusLevelTypesError + const StatusLevelTypesInfo + const StatusLevelTypesWarning + func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineRunCommand + OData *odata.OData + Poller pollers.Poller + type VirtualMachineId struct + ResourceGroupName string + SubscriptionId string + VirtualMachineName string + func NewVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineName string) VirtualMachineId + func ParseVirtualMachineID(input string) (*VirtualMachineId, error) + func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error) + func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error + func (id VirtualMachineId) ID() string + func (id VirtualMachineId) Segments() []resourceids.Segment + func (id VirtualMachineId) String() string + type VirtualMachineRunCommand struct + Id *string + Location string + Name *string + Properties *VirtualMachineRunCommandProperties + Tags *map[string]string + Type *string + type VirtualMachineRunCommandId struct + ResourceGroupName string + RunCommandName string + SubscriptionId string + VirtualMachineName string + func NewVirtualMachineRunCommandID(subscriptionId string, resourceGroupName string, virtualMachineName string, ...) VirtualMachineRunCommandId + func ParseVirtualMachineRunCommandID(input string) (*VirtualMachineRunCommandId, error) + func ParseVirtualMachineRunCommandIDInsensitively(input string) (*VirtualMachineRunCommandId, error) + func (id *VirtualMachineRunCommandId) FromParseResult(input resourceids.ParseResult) error + func (id VirtualMachineRunCommandId) ID() string + func (id VirtualMachineRunCommandId) Segments() []resourceids.Segment + func (id VirtualMachineRunCommandId) String() string + type VirtualMachineRunCommandInstanceView struct + EndTime *string + Error *string + ExecutionMessage *string + ExecutionState *ExecutionState + ExitCode *int64 + Output *string + StartTime *string + Statuses *[]InstanceViewStatus + 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 struct + Id *string + Location *string + Name *string + Type *string + func (p VirtualMachineRunCommandOperationPredicate) Matches(input VirtualMachineRunCommand) bool + type VirtualMachineRunCommandProperties struct + AsyncExecution *bool + ErrorBlobManagedIdentity *RunCommandManagedIdentity + ErrorBlobUri *string + InstanceView *VirtualMachineRunCommandInstanceView + OutputBlobManagedIdentity *RunCommandManagedIdentity + OutputBlobUri *string + Parameters *[]RunCommandInputParameter + ProtectedParameters *[]RunCommandInputParameter + ProvisioningState *string + RunAsPassword *string + RunAsUser *string + Source *VirtualMachineRunCommandScriptSource + TimeoutInSeconds *int64 + TreatFailureAsDeploymentFailure *bool + type VirtualMachineRunCommandScriptSource struct + CommandId *string + Script *string + ScriptUri *string + ScriptUriManagedIdentity *RunCommandManagedIdentity + type VirtualMachineRunCommandUpdate struct + Properties *VirtualMachineRunCommandProperties + Tags *map[string]string + type VirtualMachineRunCommandsClient struct + Client *resourcemanager.Client + func NewVirtualMachineRunCommandsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineRunCommandsClient, error) + 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