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 PossibleValuesForCleanupOptions() []string + func PossibleValuesForScriptProvisioningState() []string + func PossibleValuesForScriptType() []string + func ValidateDeploymentScriptID(input interface{}, key string) (warnings []string, errors []error) + type AzureCliScript struct + Id *string + Identity *identity.UserAssignedMap + Kind ScriptType + Location string + Name *string + Properties AzureCliScriptProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + func (s AzureCliScript) DeploymentScript() BaseDeploymentScriptImpl + func (s AzureCliScript) MarshalJSON() ([]byte, error) + type AzureCliScriptProperties struct + Arguments *string + AzCliVersion string + CleanupPreference *CleanupOptions + ContainerSettings *ContainerConfiguration + EnvironmentVariables *[]EnvironmentVariable + ForceUpdateTag *string + Outputs *map[string]interface{} + PrimaryScriptUri *string + ProvisioningState *ScriptProvisioningState + RetentionInterval string + ScriptContent *string + Status *ScriptStatus + StorageAccountSettings *StorageAccountConfiguration + SupportingScriptUris *[]string + Timeout *string + type AzurePowerShellScript struct + Id *string + Identity *identity.UserAssignedMap + Kind ScriptType + Location string + Name *string + Properties AzurePowerShellScriptProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + func (s AzurePowerShellScript) DeploymentScript() BaseDeploymentScriptImpl + func (s AzurePowerShellScript) MarshalJSON() ([]byte, error) + type AzurePowerShellScriptProperties struct + Arguments *string + AzPowerShellVersion string + CleanupPreference *CleanupOptions + ContainerSettings *ContainerConfiguration + EnvironmentVariables *[]EnvironmentVariable + ForceUpdateTag *string + Outputs *map[string]interface{} + PrimaryScriptUri *string + ProvisioningState *ScriptProvisioningState + RetentionInterval string + ScriptContent *string + Status *ScriptStatus + StorageAccountSettings *StorageAccountConfiguration + SupportingScriptUris *[]string + Timeout *string + type BaseDeploymentScriptImpl struct + Id *string + Identity *identity.UserAssignedMap + Kind ScriptType + Location string + Name *string + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + func (s BaseDeploymentScriptImpl) DeploymentScript() BaseDeploymentScriptImpl + type CleanupOptions string + const CleanupOptionsAlways + const CleanupOptionsOnExpiration + const CleanupOptionsOnSuccess + func (s *CleanupOptions) UnmarshalJSON(bytes []byte) error + type ContainerConfiguration struct + ContainerGroupName *string + SubnetIds *[]ContainerGroupSubnetId + type ContainerGroupSubnetId struct + Id string + Name *string + type CreateOperationResponse struct + HttpResponse *http.Response + Model DeploymentScript + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeploymentScript interface + DeploymentScript func() BaseDeploymentScriptImpl + func UnmarshalDeploymentScriptImplementation(input []byte) (DeploymentScript, error) + type DeploymentScriptId struct + DeploymentScriptName string + ResourceGroupName string + SubscriptionId string + func NewDeploymentScriptID(subscriptionId string, resourceGroupName string, deploymentScriptName string) DeploymentScriptId + func ParseDeploymentScriptID(input string) (*DeploymentScriptId, error) + func ParseDeploymentScriptIDInsensitively(input string) (*DeploymentScriptId, error) + func (id *DeploymentScriptId) FromParseResult(input resourceids.ParseResult) error + func (id DeploymentScriptId) ID() string + func (id DeploymentScriptId) Segments() []resourceids.Segment + func (id DeploymentScriptId) String() string + type DeploymentScriptOperationPredicate struct + func (p DeploymentScriptOperationPredicate) Matches(input DeploymentScript) bool + type DeploymentScriptUpdateParameter struct + Id *string + Name *string + Tags *map[string]string + Type *string + type DeploymentScriptsClient struct + Client *resourcemanager.Client + func NewDeploymentScriptsClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentScriptsClient, error) + 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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error) + func (c DeploymentScriptsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result ListBySubscriptionCompleteResult, err error) + func (c DeploymentScriptsClient) Update(ctx context.Context, id DeploymentScriptId, ...) (result UpdateOperationResponse, err error) + type EnvironmentVariable struct + Name string + SecureValue *string + Value *string + type ErrorAdditionalInfo struct + Info *interface{} + Type *string + type ErrorResponse struct + AdditionalInfo *[]ErrorAdditionalInfo + Code *string + Details *[]ErrorResponse + Message *string + Target *string + type GetLogsDefaultOperationOptions struct + Tail *int64 + func DefaultGetLogsDefaultOperationOptions() GetLogsDefaultOperationOptions + func (o GetLogsDefaultOperationOptions) ToHeaders() *client.Headers + func (o GetLogsDefaultOperationOptions) ToOData() *odata.Query + func (o GetLogsDefaultOperationOptions) ToQuery() *client.QueryParams + type GetLogsDefaultOperationResponse struct + HttpResponse *http.Response + Model *ScriptLog + OData *odata.OData + type GetLogsOperationResponse struct + HttpResponse *http.Response + Model *ScriptLogsList + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model DeploymentScript + OData *odata.OData + type ListByResourceGroupCompleteResult struct + Items []DeploymentScript + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]DeploymentScript + OData *odata.OData + type ListBySubscriptionCompleteResult struct + Items []DeploymentScript + LatestHttpResponse *http.Response + type ListBySubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link + type ListBySubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]DeploymentScript + OData *odata.OData + type LogProperties struct + Log *string + type RawDeploymentScriptImpl struct + Type string + Values map[string]interface{} + func (s RawDeploymentScriptImpl) DeploymentScript() BaseDeploymentScriptImpl + type ScriptLog struct + Id *string + Name *string + Properties *LogProperties + Type *string + type ScriptLogsList struct + Value *[]ScriptLog + type ScriptProvisioningState string + const ScriptProvisioningStateCanceled + const ScriptProvisioningStateCreating + const ScriptProvisioningStateFailed + const ScriptProvisioningStateProvisioningResources + const ScriptProvisioningStateRunning + const ScriptProvisioningStateSucceeded + func (s *ScriptProvisioningState) UnmarshalJSON(bytes []byte) error + type ScriptStatus struct + ContainerInstanceId *string + EndTime *string + Error *ErrorResponse + ExpirationTime *string + StartTime *string + StorageAccountId *string + 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 string + const ScriptTypeAzureCLI + const ScriptTypeAzurePowerShell + func (s *ScriptType) UnmarshalJSON(bytes []byte) error + type StorageAccountConfiguration struct + StorageAccountKey *string + StorageAccountName *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model DeploymentScript + OData *odata.OData