Documentation ¶
Index ¶
- func PossibleValuesForScriptExecutionParameterType() []string
- func PossibleValuesForScriptExecutionProvisioningState() []string
- func PossibleValuesForScriptOutputStreamType() []string
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScriptExecutionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetExecutionLogsOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PSCredentialExecutionParameter
- type PrivateCloudId
- type RawScriptExecutionParameterImpl
- type ScriptExecution
- type ScriptExecutionId
- type ScriptExecutionOperationPredicate
- type ScriptExecutionParameter
- type ScriptExecutionParameterType
- type ScriptExecutionProperties
- func (o *ScriptExecutionProperties) GetFinishedAtAsTime() (*time.Time, error)
- func (o *ScriptExecutionProperties) GetStartedAtAsTime() (*time.Time, error)
- func (o *ScriptExecutionProperties) GetSubmittedAtAsTime() (*time.Time, error)
- func (o *ScriptExecutionProperties) SetFinishedAtAsTime(input time.Time)
- func (o *ScriptExecutionProperties) SetStartedAtAsTime(input time.Time)
- func (o *ScriptExecutionProperties) SetSubmittedAtAsTime(input time.Time)
- func (s *ScriptExecutionProperties) UnmarshalJSON(bytes []byte) error
- type ScriptExecutionProvisioningState
- type ScriptExecutionsClient
- func (c ScriptExecutionsClient) CreateOrUpdate(ctx context.Context, id ScriptExecutionId, input ScriptExecution) (result CreateOrUpdateOperationResponse, err error)
- func (c ScriptExecutionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScriptExecutionId, input ScriptExecution) error
- func (c ScriptExecutionsClient) Delete(ctx context.Context, id ScriptExecutionId) (result DeleteOperationResponse, err error)
- func (c ScriptExecutionsClient) DeleteThenPoll(ctx context.Context, id ScriptExecutionId) error
- func (c ScriptExecutionsClient) Get(ctx context.Context, id ScriptExecutionId) (result GetOperationResponse, err error)
- func (c ScriptExecutionsClient) GetExecutionLogs(ctx context.Context, id ScriptExecutionId, input []ScriptOutputStreamType) (result GetExecutionLogsOperationResponse, err error)
- func (c ScriptExecutionsClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c ScriptExecutionsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c ScriptExecutionsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result ListCompleteResult, err error)
- type ScriptOutputStreamType
- type ScriptSecureStringExecutionParameter
- type ScriptStringExecutionParameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForScriptExecutionParameterType ¶
func PossibleValuesForScriptExecutionParameterType() []string
func PossibleValuesForScriptExecutionProvisioningState ¶
func PossibleValuesForScriptExecutionProvisioningState() []string
func PossibleValuesForScriptOutputStreamType ¶
func PossibleValuesForScriptOutputStreamType() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
func ValidateScriptExecutionID ¶
ValidateScriptExecutionID checks that 'input' can be parsed as a Script Execution ID
Types ¶
type DeleteOperationResponse ¶
type GetExecutionLogsOperationResponse ¶
type GetExecutionLogsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScriptExecution }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScriptExecution }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScriptExecution }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ScriptExecution }
type PSCredentialExecutionParameter ¶
type PSCredentialExecutionParameter struct { Password *string `json:"password,omitempty"` Username *string `json:"username,omitempty"` // Fields inherited from ScriptExecutionParameter Name string `json:"name"` }
func (PSCredentialExecutionParameter) MarshalJSON ¶
func (s PSCredentialExecutionParameter) MarshalJSON() ([]byte, error)
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (*PrivateCloudId) FromParseResult ¶
func (id *PrivateCloudId) FromParseResult(input resourceids.ParseResult) error
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID
type RawScriptExecutionParameterImpl ¶
RawScriptExecutionParameterImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ScriptExecution ¶
type ScriptExecution struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScriptExecutionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScriptExecutionId ¶
type ScriptExecutionId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string ScriptExecutionName string }
ScriptExecutionId is a struct representing the Resource ID for a Script Execution
func NewScriptExecutionID ¶
func NewScriptExecutionID(subscriptionId string, resourceGroupName string, privateCloudName string, scriptExecutionName string) ScriptExecutionId
NewScriptExecutionID returns a new ScriptExecutionId struct
func ParseScriptExecutionID ¶
func ParseScriptExecutionID(input string) (*ScriptExecutionId, error)
ParseScriptExecutionID parses 'input' into a ScriptExecutionId
func ParseScriptExecutionIDInsensitively ¶
func ParseScriptExecutionIDInsensitively(input string) (*ScriptExecutionId, error)
ParseScriptExecutionIDInsensitively parses 'input' case-insensitively into a ScriptExecutionId note: this method should only be used for API response data and not user input
func (*ScriptExecutionId) FromParseResult ¶
func (id *ScriptExecutionId) FromParseResult(input resourceids.ParseResult) error
func (ScriptExecutionId) ID ¶
func (id ScriptExecutionId) ID() string
ID returns the formatted Script Execution ID
func (ScriptExecutionId) Segments ¶
func (id ScriptExecutionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Script Execution ID
func (ScriptExecutionId) String ¶
func (id ScriptExecutionId) String() string
String returns a human-readable description of this Script Execution ID
type ScriptExecutionOperationPredicate ¶
func (ScriptExecutionOperationPredicate) Matches ¶
func (p ScriptExecutionOperationPredicate) Matches(input ScriptExecution) bool
type ScriptExecutionParameter ¶
type ScriptExecutionParameter interface { }
type ScriptExecutionParameterType ¶
type ScriptExecutionParameterType string
const ( ScriptExecutionParameterTypeCredential ScriptExecutionParameterType = "Credential" ScriptExecutionParameterTypeSecureValue ScriptExecutionParameterType = "SecureValue" ScriptExecutionParameterTypeValue ScriptExecutionParameterType = "Value" )
func (*ScriptExecutionParameterType) UnmarshalJSON ¶
func (s *ScriptExecutionParameterType) UnmarshalJSON(bytes []byte) error
type ScriptExecutionProperties ¶
type ScriptExecutionProperties struct { Errors *[]string `json:"errors,omitempty"` FailureReason *string `json:"failureReason,omitempty"` FinishedAt *string `json:"finishedAt,omitempty"` HiddenParameters *[]ScriptExecutionParameter `json:"hiddenParameters,omitempty"` Information *[]string `json:"information,omitempty"` NamedOutputs *map[string]interface{} `json:"namedOutputs,omitempty"` Output *[]string `json:"output,omitempty"` Parameters *[]ScriptExecutionParameter `json:"parameters,omitempty"` ProvisioningState *ScriptExecutionProvisioningState `json:"provisioningState,omitempty"` Retention *string `json:"retention,omitempty"` ScriptCmdletId *string `json:"scriptCmdletId,omitempty"` StartedAt *string `json:"startedAt,omitempty"` SubmittedAt *string `json:"submittedAt,omitempty"` Timeout string `json:"timeout"` Warnings *[]string `json:"warnings,omitempty"` }
func (*ScriptExecutionProperties) GetFinishedAtAsTime ¶
func (o *ScriptExecutionProperties) GetFinishedAtAsTime() (*time.Time, error)
func (*ScriptExecutionProperties) GetStartedAtAsTime ¶
func (o *ScriptExecutionProperties) GetStartedAtAsTime() (*time.Time, error)
func (*ScriptExecutionProperties) GetSubmittedAtAsTime ¶
func (o *ScriptExecutionProperties) GetSubmittedAtAsTime() (*time.Time, error)
func (*ScriptExecutionProperties) SetFinishedAtAsTime ¶
func (o *ScriptExecutionProperties) SetFinishedAtAsTime(input time.Time)
func (*ScriptExecutionProperties) SetStartedAtAsTime ¶
func (o *ScriptExecutionProperties) SetStartedAtAsTime(input time.Time)
func (*ScriptExecutionProperties) SetSubmittedAtAsTime ¶
func (o *ScriptExecutionProperties) SetSubmittedAtAsTime(input time.Time)
func (*ScriptExecutionProperties) UnmarshalJSON ¶
func (s *ScriptExecutionProperties) UnmarshalJSON(bytes []byte) error
type ScriptExecutionProvisioningState ¶
type ScriptExecutionProvisioningState string
const ( ScriptExecutionProvisioningStateCanceled ScriptExecutionProvisioningState = "Canceled" ScriptExecutionProvisioningStateCancelled ScriptExecutionProvisioningState = "Cancelled" ScriptExecutionProvisioningStateCancelling ScriptExecutionProvisioningState = "Cancelling" ScriptExecutionProvisioningStateDeleting ScriptExecutionProvisioningState = "Deleting" ScriptExecutionProvisioningStateFailed ScriptExecutionProvisioningState = "Failed" ScriptExecutionProvisioningStatePending ScriptExecutionProvisioningState = "Pending" ScriptExecutionProvisioningStateRunning ScriptExecutionProvisioningState = "Running" ScriptExecutionProvisioningStateSucceeded ScriptExecutionProvisioningState = "Succeeded" )
func (*ScriptExecutionProvisioningState) UnmarshalJSON ¶
func (s *ScriptExecutionProvisioningState) UnmarshalJSON(bytes []byte) error
type ScriptExecutionsClient ¶
type ScriptExecutionsClient struct {
Client *resourcemanager.Client
}
func NewScriptExecutionsClientWithBaseURI ¶
func NewScriptExecutionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScriptExecutionsClient, error)
func (ScriptExecutionsClient) CreateOrUpdate ¶
func (c ScriptExecutionsClient) CreateOrUpdate(ctx context.Context, id ScriptExecutionId, input ScriptExecution) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ScriptExecutionsClient) CreateOrUpdateThenPoll ¶
func (c ScriptExecutionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScriptExecutionId, input ScriptExecution) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ScriptExecutionsClient) Delete ¶
func (c ScriptExecutionsClient) Delete(ctx context.Context, id ScriptExecutionId) (result DeleteOperationResponse, err error)
Delete ...
func (ScriptExecutionsClient) DeleteThenPoll ¶
func (c ScriptExecutionsClient) DeleteThenPoll(ctx context.Context, id ScriptExecutionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ScriptExecutionsClient) Get ¶
func (c ScriptExecutionsClient) Get(ctx context.Context, id ScriptExecutionId) (result GetOperationResponse, err error)
Get ...
func (ScriptExecutionsClient) GetExecutionLogs ¶
func (c ScriptExecutionsClient) GetExecutionLogs(ctx context.Context, id ScriptExecutionId, input []ScriptOutputStreamType) (result GetExecutionLogsOperationResponse, err error)
GetExecutionLogs ...
func (ScriptExecutionsClient) List ¶
func (c ScriptExecutionsClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (ScriptExecutionsClient) ListComplete ¶
func (c ScriptExecutionsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScriptExecutionsClient) ListCompleteMatchingPredicate ¶
func (c ScriptExecutionsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate ScriptExecutionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScriptOutputStreamType ¶
type ScriptOutputStreamType string
const ( ScriptOutputStreamTypeError ScriptOutputStreamType = "Error" ScriptOutputStreamTypeInformation ScriptOutputStreamType = "Information" ScriptOutputStreamTypeOutput ScriptOutputStreamType = "Output" ScriptOutputStreamTypeWarning ScriptOutputStreamType = "Warning" )
func (*ScriptOutputStreamType) UnmarshalJSON ¶
func (s *ScriptOutputStreamType) UnmarshalJSON(bytes []byte) error
type ScriptSecureStringExecutionParameter ¶
type ScriptSecureStringExecutionParameter struct { SecureValue *string `json:"secureValue,omitempty"` // Fields inherited from ScriptExecutionParameter Name string `json:"name"` }
func (ScriptSecureStringExecutionParameter) MarshalJSON ¶
func (s ScriptSecureStringExecutionParameter) MarshalJSON() ([]byte, error)
type ScriptStringExecutionParameter ¶
type ScriptStringExecutionParameter struct { Value *string `json:"value,omitempty"` // Fields inherited from ScriptExecutionParameter Name string `json:"name"` }
func (ScriptStringExecutionParameter) MarshalJSON ¶
func (s ScriptStringExecutionParameter) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- id_privatecloud.go
- id_scriptexecution.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getexecutionlogs.go
- method_list.go
- model_pscredentialexecutionparameter.go
- model_scriptexecution.go
- model_scriptexecutionparameter.go
- model_scriptexecutionproperties.go
- model_scriptsecurestringexecutionparameter.go
- model_scriptstringexecutionparameter.go
- predicates.go
- version.go