Documentation
¶
Index ¶
- func PossibleValuesForCleanupOptions() []string
- func PossibleValuesForManagedServiceIdentityType() []string
- func PossibleValuesForScriptProvisioningState() []string
- func PossibleValuesForScriptType() []string
- func ValidateDeploymentScriptID(input interface{}, key string) (warnings []string, errors []error)
- type AzureCliScript
- type AzureCliScriptProperties
- type AzurePowerShellScript
- type AzurePowerShellScriptProperties
- type CleanupOptions
- type ContainerConfiguration
- type CreateOperationResponse
- type DeleteOperationResponse
- type DeploymentScript
- type DeploymentScriptId
- type DeploymentScriptOperationPredicate
- type DeploymentScriptUpdateParameter
- type DeploymentScriptsClient
- func (c DeploymentScriptsClient) Create(ctx context.Context, id DeploymentScriptId, input DeploymentScript) (result CreateOperationResponse, err error)
- func (c DeploymentScriptsClient) CreateThenPoll(ctx context.Context, id DeploymentScriptId, input DeploymentScript) error
- func (c DeploymentScriptsClient) Delete(ctx context.Context, id DeploymentScriptId) (result DeleteOperationResponse, err error)
- func (c DeploymentScriptsClient) Get(ctx context.Context, id DeploymentScriptId) (result GetOperationResponse, err error)
- func (c DeploymentScriptsClient) GetLogs(ctx context.Context, id DeploymentScriptId) (result GetLogsOperationResponse, err error)
- func (c DeploymentScriptsClient) GetLogsDefault(ctx context.Context, id DeploymentScriptId, ...) (result GetLogsDefaultOperationResponse, err error)
- func (c DeploymentScriptsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c DeploymentScriptsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DeploymentScriptsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c DeploymentScriptsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c DeploymentScriptsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DeploymentScriptsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c DeploymentScriptsClient) Update(ctx context.Context, id DeploymentScriptId, ...) (result UpdateOperationResponse, err error)
- type EnvironmentVariable
- type ErrorAdditionalInfo
- type ErrorResponse
- type GetLogsDefaultOperationOptions
- type GetLogsDefaultOperationResponse
- type GetLogsOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type LogProperties
- type ManagedServiceIdentity
- type ManagedServiceIdentityType
- type ScriptLog
- type ScriptLogsList
- type ScriptProvisioningState
- type ScriptStatus
- func (o *ScriptStatus) GetEndTimeAsTime() (*time.Time, error)
- func (o *ScriptStatus) GetExpirationTimeAsTime() (*time.Time, error)
- func (o *ScriptStatus) GetStartTimeAsTime() (*time.Time, error)
- func (o *ScriptStatus) SetEndTimeAsTime(input time.Time)
- func (o *ScriptStatus) SetExpirationTimeAsTime(input time.Time)
- func (o *ScriptStatus) SetStartTimeAsTime(input time.Time)
- type ScriptType
- type StorageAccountConfiguration
- type UpdateOperationResponse
- type UserAssignedIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCleanupOptions ¶
func PossibleValuesForCleanupOptions() []string
func PossibleValuesForManagedServiceIdentityType ¶
func PossibleValuesForManagedServiceIdentityType() []string
func PossibleValuesForScriptProvisioningState ¶
func PossibleValuesForScriptProvisioningState() []string
func PossibleValuesForScriptType ¶
func PossibleValuesForScriptType() []string
func ValidateDeploymentScriptID ¶
ValidateDeploymentScriptID checks that 'input' can be parsed as a Deployment Script ID
Types ¶
type AzureCliScript ¶
type AzureCliScript struct { Properties AzureCliScriptProperties `json:"properties"` // Fields inherited from DeploymentScript Id *string `json:"id,omitempty"` Identity *ManagedServiceIdentity `json:"identity"` Location string `json:"location"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (AzureCliScript) MarshalJSON ¶
func (s AzureCliScript) MarshalJSON() ([]byte, error)
type AzureCliScriptProperties ¶
type AzureCliScriptProperties struct { Arguments *string `json:"arguments,omitempty"` AzCliVersion string `json:"azCliVersion"` CleanupPreference *CleanupOptions `json:"cleanupPreference,omitempty"` ContainerSettings *ContainerConfiguration `json:"containerSettings"` EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` Outputs *map[string]interface{} `json:"outputs,omitempty"` PrimaryScriptUri *string `json:"primaryScriptUri,omitempty"` ProvisioningState *ScriptProvisioningState `json:"provisioningState,omitempty"` RetentionInterval string `json:"retentionInterval"` ScriptContent *string `json:"scriptContent,omitempty"` Status *ScriptStatus `json:"status"` StorageAccountSettings *StorageAccountConfiguration `json:"storageAccountSettings"` SupportingScriptUris *[]string `json:"supportingScriptUris,omitempty"` Timeout *string `json:"timeout,omitempty"` }
type AzurePowerShellScript ¶
type AzurePowerShellScript struct { Properties AzurePowerShellScriptProperties `json:"properties"` // Fields inherited from DeploymentScript Id *string `json:"id,omitempty"` Identity *ManagedServiceIdentity `json:"identity"` Location string `json:"location"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (AzurePowerShellScript) MarshalJSON ¶
func (s AzurePowerShellScript) MarshalJSON() ([]byte, error)
type AzurePowerShellScriptProperties ¶
type AzurePowerShellScriptProperties struct { Arguments *string `json:"arguments,omitempty"` AzPowerShellVersion string `json:"azPowerShellVersion"` CleanupPreference *CleanupOptions `json:"cleanupPreference,omitempty"` ContainerSettings *ContainerConfiguration `json:"containerSettings"` EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` Outputs *map[string]interface{} `json:"outputs,omitempty"` PrimaryScriptUri *string `json:"primaryScriptUri,omitempty"` ProvisioningState *ScriptProvisioningState `json:"provisioningState,omitempty"` RetentionInterval string `json:"retentionInterval"` ScriptContent *string `json:"scriptContent,omitempty"` Status *ScriptStatus `json:"status"` StorageAccountSettings *StorageAccountConfiguration `json:"storageAccountSettings"` SupportingScriptUris *[]string `json:"supportingScriptUris,omitempty"` Timeout *string `json:"timeout,omitempty"` }
type CleanupOptions ¶
type CleanupOptions string
const ( CleanupOptionsAlways CleanupOptions = "Always" CleanupOptionsOnExpiration CleanupOptions = "OnExpiration" CleanupOptionsOnSuccess CleanupOptions = "OnSuccess" )
type ContainerConfiguration ¶
type ContainerConfiguration struct {
ContainerGroupName *string `json:"containerGroupName,omitempty"`
}
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeploymentScript ¶
type DeploymentScript interface { }
type DeploymentScriptId ¶
DeploymentScriptId is a struct representing the Resource ID for a Deployment Script
func NewDeploymentScriptID ¶
func NewDeploymentScriptID(subscriptionId string, resourceGroupName string, scriptName string) DeploymentScriptId
NewDeploymentScriptID returns a new DeploymentScriptId struct
func ParseDeploymentScriptID ¶
func ParseDeploymentScriptID(input string) (*DeploymentScriptId, error)
ParseDeploymentScriptID parses 'input' into a DeploymentScriptId
func ParseDeploymentScriptIDInsensitively ¶
func ParseDeploymentScriptIDInsensitively(input string) (*DeploymentScriptId, error)
ParseDeploymentScriptIDInsensitively parses 'input' case-insensitively into a DeploymentScriptId note: this method should only be used for API response data and not user input
func (DeploymentScriptId) ID ¶
func (id DeploymentScriptId) ID() string
ID returns the formatted Deployment Script ID
func (DeploymentScriptId) Segments ¶
func (id DeploymentScriptId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deployment Script ID
func (DeploymentScriptId) String ¶
func (id DeploymentScriptId) String() string
String returns a human-readable description of this Deployment Script ID
type DeploymentScriptOperationPredicate ¶
type DeploymentScriptOperationPredicate struct { }
func (DeploymentScriptOperationPredicate) Matches ¶
func (p DeploymentScriptOperationPredicate) Matches(input DeploymentScript) bool
type DeploymentScriptsClient ¶
type DeploymentScriptsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDeploymentScriptsClientWithBaseURI ¶
func NewDeploymentScriptsClientWithBaseURI(endpoint string) DeploymentScriptsClient
func (DeploymentScriptsClient) Create ¶
func (c DeploymentScriptsClient) Create(ctx context.Context, id DeploymentScriptId, input DeploymentScript) (result CreateOperationResponse, err error)
Create ...
func (DeploymentScriptsClient) CreateThenPoll ¶
func (c DeploymentScriptsClient) CreateThenPoll(ctx context.Context, id DeploymentScriptId, input DeploymentScript) error
CreateThenPoll performs Create then polls until it's completed
func (DeploymentScriptsClient) Delete ¶
func (c DeploymentScriptsClient) Delete(ctx context.Context, id DeploymentScriptId) (result DeleteOperationResponse, err error)
Delete ...
func (DeploymentScriptsClient) Get ¶
func (c DeploymentScriptsClient) Get(ctx context.Context, id DeploymentScriptId) (result GetOperationResponse, err error)
Get ...
func (DeploymentScriptsClient) GetLogs ¶
func (c DeploymentScriptsClient) GetLogs(ctx context.Context, id DeploymentScriptId) (result GetLogsOperationResponse, err error)
GetLogs ...
func (DeploymentScriptsClient) GetLogsDefault ¶
func (c DeploymentScriptsClient) GetLogsDefault(ctx context.Context, id DeploymentScriptId, options GetLogsDefaultOperationOptions) (result GetLogsDefaultOperationResponse, err error)
GetLogsDefault ...
func (DeploymentScriptsClient) ListByResourceGroup ¶
func (c DeploymentScriptsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DeploymentScriptsClient) ListByResourceGroupComplete ¶
func (c DeploymentScriptsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (DeploymentScriptsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DeploymentScriptsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DeploymentScriptOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DeploymentScriptsClient) ListBySubscription ¶
func (c DeploymentScriptsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DeploymentScriptsClient) ListBySubscriptionComplete ¶
func (c DeploymentScriptsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (DeploymentScriptsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DeploymentScriptsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeploymentScriptOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DeploymentScriptsClient) Update ¶
func (c DeploymentScriptsClient) Update(ctx context.Context, id DeploymentScriptId, input DeploymentScriptUpdateParameter) (result UpdateOperationResponse, err error)
Update ...
type EnvironmentVariable ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorResponse ¶
type ErrorResponse struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorResponse `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type GetLogsDefaultOperationOptions ¶
type GetLogsDefaultOperationOptions struct {
Tail *int64
}
func DefaultGetLogsDefaultOperationOptions ¶
func DefaultGetLogsDefaultOperationOptions() GetLogsDefaultOperationOptions
type GetLogsOperationResponse ¶
type GetLogsOperationResponse struct { HttpResponse *http.Response Model *ScriptLogsList }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DeploymentScript }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []DeploymentScript
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]DeploymentScript // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []DeploymentScript
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]DeploymentScript // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type LogProperties ¶
type LogProperties struct {
Log *string `json:"log,omitempty"`
}
type ManagedServiceIdentity ¶
type ManagedServiceIdentity struct { TenantId *string `json:"tenantId,omitempty"` Type *ManagedServiceIdentityType `json:"type,omitempty"` UserAssignedIdentities *map[string]UserAssignedIdentity `json:"userAssignedIdentities,omitempty"` }
type ManagedServiceIdentityType ¶
type ManagedServiceIdentityType string
const (
ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned"
)
type ScriptLog ¶
type ScriptLog struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LogProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type ScriptLogsList ¶
type ScriptLogsList struct {
Value *[]ScriptLog `json:"value,omitempty"`
}
type ScriptProvisioningState ¶
type ScriptProvisioningState string
const ( ScriptProvisioningStateCanceled ScriptProvisioningState = "Canceled" ScriptProvisioningStateCreating ScriptProvisioningState = "Creating" ScriptProvisioningStateFailed ScriptProvisioningState = "Failed" ScriptProvisioningStateProvisioningResources ScriptProvisioningState = "ProvisioningResources" ScriptProvisioningStateRunning ScriptProvisioningState = "Running" ScriptProvisioningStateSucceeded ScriptProvisioningState = "Succeeded" )
type ScriptStatus ¶
type ScriptStatus struct { ContainerInstanceId *string `json:"containerInstanceId,omitempty"` EndTime *string `json:"endTime,omitempty"` Error *ErrorResponse `json:"error"` ExpirationTime *string `json:"expirationTime,omitempty"` StartTime *string `json:"startTime,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` }
func (*ScriptStatus) GetEndTimeAsTime ¶
func (o *ScriptStatus) GetEndTimeAsTime() (*time.Time, error)
func (*ScriptStatus) GetExpirationTimeAsTime ¶
func (o *ScriptStatus) GetExpirationTimeAsTime() (*time.Time, error)
func (*ScriptStatus) GetStartTimeAsTime ¶
func (o *ScriptStatus) GetStartTimeAsTime() (*time.Time, error)
func (*ScriptStatus) SetEndTimeAsTime ¶
func (o *ScriptStatus) SetEndTimeAsTime(input time.Time)
func (*ScriptStatus) SetExpirationTimeAsTime ¶
func (o *ScriptStatus) SetExpirationTimeAsTime(input time.Time)
func (*ScriptStatus) SetStartTimeAsTime ¶
func (o *ScriptStatus) SetStartTimeAsTime(input time.Time)
type ScriptType ¶
type ScriptType string
const ( ScriptTypeAzureCLI ScriptType = "AzureCLI" ScriptTypeAzurePowerShell ScriptType = "AzurePowerShell" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *DeploymentScript }
type UserAssignedIdentity ¶
Source Files
¶
- client.go
- constants.go
- id_deploymentscript.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getlogs_autorest.go
- method_getlogsdefault_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_azurecliscript.go
- model_azurecliscriptproperties.go
- model_azurepowershellscript.go
- model_azurepowershellscriptproperties.go
- model_containerconfiguration.go
- model_deploymentscript.go
- model_deploymentscriptupdateparameter.go
- model_environmentvariable.go
- model_erroradditionalinfo.go
- model_errorresponse.go
- model_logproperties.go
- model_managedserviceidentity.go
- model_scriptlog.go
- model_scriptlogslist.go
- model_scriptstatus.go
- model_storageaccountconfiguration.go
- model_userassignedidentity.go
- predicates.go
- version.go