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 PossibleValuesForExtensionsStatusLevelTypes() []string + func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRunCommandID(input interface{}, key string) (warnings []string, errors []error) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *MachineRunCommand + 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 ExtensionsResourceStatus struct + Code *string + DisplayStatus *string + Level *ExtensionsStatusLevelTypes + Message *string + Time *string + func (o *ExtensionsResourceStatus) GetTimeAsTime() (*time.Time, error) + func (o *ExtensionsResourceStatus) SetTimeAsTime(input time.Time) + type ExtensionsStatusLevelTypes string + const ExtensionsStatusLevelTypesError + const ExtensionsStatusLevelTypesInfo + const ExtensionsStatusLevelTypesWarning + func (s *ExtensionsStatusLevelTypes) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *MachineRunCommand + OData *odata.OData + type ListCompleteResult struct + Items []MachineRunCommand + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Expand *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]MachineRunCommand + OData *odata.OData + type MachineId struct + MachineName string + ResourceGroupName string + SubscriptionId string + func NewMachineID(subscriptionId string, resourceGroupName string, machineName string) MachineId + func ParseMachineID(input string) (*MachineId, error) + func ParseMachineIDInsensitively(input string) (*MachineId, error) + func (id *MachineId) FromParseResult(input resourceids.ParseResult) error + func (id MachineId) ID() string + func (id MachineId) Segments() []resourceids.Segment + func (id MachineId) String() string + type MachineRunCommand struct + Id *string + Location string + Name *string + Properties *MachineRunCommandProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type MachineRunCommandInstanceView struct + EndTime *string + Error *string + ExecutionMessage *string + ExecutionState *ExecutionState + ExitCode *int64 + Output *string + StartTime *string + Statuses *[]ExtensionsResourceStatus + func (o *MachineRunCommandInstanceView) GetEndTimeAsTime() (*time.Time, error) + func (o *MachineRunCommandInstanceView) GetStartTimeAsTime() (*time.Time, error) + func (o *MachineRunCommandInstanceView) SetEndTimeAsTime(input time.Time) + func (o *MachineRunCommandInstanceView) SetStartTimeAsTime(input time.Time) + type MachineRunCommandOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p MachineRunCommandOperationPredicate) Matches(input MachineRunCommand) bool + type MachineRunCommandProperties struct + AsyncExecution *bool + ErrorBlobManagedIdentity *RunCommandManagedIdentity + ErrorBlobUri *string + InstanceView *MachineRunCommandInstanceView + OutputBlobManagedIdentity *RunCommandManagedIdentity + OutputBlobUri *string + Parameters *[]RunCommandInputParameter + ProtectedParameters *[]RunCommandInputParameter + ProvisioningState *string + RunAsPassword *string + RunAsUser *string + Source *MachineRunCommandScriptSource + TimeoutInSeconds *int64 + type MachineRunCommandScriptSource struct + CommandId *string + Script *string + ScriptUri *string + ScriptUriManagedIdentity *RunCommandManagedIdentity + type MachineRunCommandsClient struct + Client *resourcemanager.Client + func NewMachineRunCommandsClientWithBaseURI(sdkApi sdkEnv.Api) (*MachineRunCommandsClient, error) + func (c MachineRunCommandsClient) CreateOrUpdate(ctx context.Context, id RunCommandId, input MachineRunCommand) (result CreateOrUpdateOperationResponse, err error) + func (c MachineRunCommandsClient) CreateOrUpdateThenPoll(ctx context.Context, id RunCommandId, input MachineRunCommand) error + func (c MachineRunCommandsClient) Delete(ctx context.Context, id RunCommandId) (result DeleteOperationResponse, err error) + func (c MachineRunCommandsClient) DeleteThenPoll(ctx context.Context, id RunCommandId) error + func (c MachineRunCommandsClient) Get(ctx context.Context, id RunCommandId) (result GetOperationResponse, err error) + func (c MachineRunCommandsClient) List(ctx context.Context, id MachineId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c MachineRunCommandsClient) ListComplete(ctx context.Context, id MachineId, options ListOperationOptions) (ListCompleteResult, error) + func (c MachineRunCommandsClient) ListCompleteMatchingPredicate(ctx context.Context, id MachineId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + func (c MachineRunCommandsClient) Update(ctx context.Context, id RunCommandId, input ResourceUpdate) (result UpdateOperationResponse, err error) + func (c MachineRunCommandsClient) UpdateThenPoll(ctx context.Context, id RunCommandId, input ResourceUpdate) error + type ResourceUpdate struct + Tags *map[string]string + type RunCommandId struct + MachineName string + ResourceGroupName string + RunCommandName string + SubscriptionId string + func NewRunCommandID(subscriptionId string, resourceGroupName string, machineName 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 UpdateOperationResponse struct + HttpResponse *http.Response + Model *MachineRunCommand + OData *odata.OData + Poller pollers.Poller