Versions in this module Expand all Collapse all v0 v0.1.0 Mar 7, 2024 Changes in this version + type ActionType string + const ActionTypeInternal + func PossibleActionTypeValues() []ActionType + type ClientFactory struct + func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, ...) (*ClientFactory, error) + func (c *ClientFactory) NewOperationsClient() *OperationsClient + func (c *ClientFactory) NewStorageTaskAssignmentClient() *StorageTaskAssignmentClient + func (c *ClientFactory) NewStorageTasksClient() *StorageTasksClient + func (c *ClientFactory) NewStorageTasksReportClient() *StorageTasksReportClient + type CreatedByType string + const CreatedByTypeApplication + const CreatedByTypeKey + const CreatedByTypeManagedIdentity + const CreatedByTypeUser + func PossibleCreatedByTypeValues() []CreatedByType + type ElseCondition struct + Operations []*StorageTaskOperation + func (e *ElseCondition) UnmarshalJSON(data []byte) error + func (e ElseCondition) MarshalJSON() ([]byte, error) + type IfCondition struct + Condition *string + Operations []*StorageTaskOperation + func (i *IfCondition) UnmarshalJSON(data []byte) error + func (i IfCondition) MarshalJSON() ([]byte, error) + type ManagedServiceIdentity struct + PrincipalID *string + TenantID *string + Type *ManagedServiceIdentityType + UserAssignedIdentities map[string]*UserAssignedIdentity + func (m *ManagedServiceIdentity) UnmarshalJSON(data []byte) error + func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error) + type ManagedServiceIdentityType string + const ManagedServiceIdentityTypeNone + const ManagedServiceIdentityTypeSystemAssigned + const ManagedServiceIdentityTypeSystemAssignedUserAssigned + const ManagedServiceIdentityTypeUserAssigned + func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType + type MatchedBlockName string + const MatchedBlockNameElse + const MatchedBlockNameIf + const MatchedBlockNameNone + func PossibleMatchedBlockNameValues() []MatchedBlockName + type Operation struct + ActionType *ActionType + Display *OperationDisplay + IsDataAction *bool + Name *string + Origin *Origin + func (o *Operation) UnmarshalJSON(data []byte) error + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + func (o *OperationDisplay) UnmarshalJSON(data []byte) error + func (o OperationDisplay) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value []*Operation + func (o *OperationListResult) UnmarshalJSON(data []byte) error + func (o OperationListResult) MarshalJSON() ([]byte, error) + type OperationsClient struct + func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error) + func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse] + type OperationsClientListOptions struct + type OperationsClientListResponse struct + type Origin string + const OriginSystem + const OriginUser + const OriginUserSystem + func PossibleOriginValues() []Origin + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateValidateSubscriptionQuotaBegin + const ProvisioningStateValidateSubscriptionQuotaEnd + func PossibleProvisioningStateValues() []ProvisioningState + type RunResult string + const RunResultFailed + const RunResultSucceeded + func PossibleRunResultValues() []RunResult + type RunStatusEnum string + const RunStatusEnumFinished + const RunStatusEnumInProgress + func PossibleRunStatusEnumValues() []RunStatusEnum + type StorageTask struct + ID *string + Identity *ManagedServiceIdentity + Location *string + Name *string + Properties *StorageTaskProperties + SystemData *SystemData + Tags map[string]*string + Type *string + func (s *StorageTask) UnmarshalJSON(data []byte) error + func (s StorageTask) MarshalJSON() ([]byte, error) + type StorageTaskAction struct + Else *ElseCondition + If *IfCondition + func (s *StorageTaskAction) UnmarshalJSON(data []byte) error + func (s StorageTaskAction) MarshalJSON() ([]byte, error) + type StorageTaskAssignment struct + ID *string + func (s *StorageTaskAssignment) UnmarshalJSON(data []byte) error + func (s StorageTaskAssignment) MarshalJSON() ([]byte, error) + type StorageTaskAssignmentClient struct + func NewStorageTaskAssignmentClient(subscriptionID string, credential azcore.TokenCredential, ...) (*StorageTaskAssignmentClient, error) + func (client *StorageTaskAssignmentClient) NewListPager(resourceGroupName string, storageTaskName string, ...) *runtime.Pager[StorageTaskAssignmentClientListResponse] + type StorageTaskAssignmentClientListOptions struct + Maxpagesize *string + type StorageTaskAssignmentClientListResponse struct + type StorageTaskAssignmentsListResult struct + NextLink *string + Value []*StorageTaskAssignment + func (s *StorageTaskAssignmentsListResult) UnmarshalJSON(data []byte) error + func (s StorageTaskAssignmentsListResult) MarshalJSON() ([]byte, error) + type StorageTaskOperation struct + Name *StorageTaskOperationName + OnFailure *string + OnSuccess *string + Parameters map[string]*string + func (s *StorageTaskOperation) UnmarshalJSON(data []byte) error + func (s StorageTaskOperation) MarshalJSON() ([]byte, error) + type StorageTaskOperationName string + const StorageTaskOperationNameDeleteBlob + const StorageTaskOperationNameSetBlobExpiry + const StorageTaskOperationNameSetBlobImmutabilityPolicy + const StorageTaskOperationNameSetBlobLegalHold + const StorageTaskOperationNameSetBlobTags + const StorageTaskOperationNameSetBlobTier + const StorageTaskOperationNameUndeleteBlob + func PossibleStorageTaskOperationNameValues() []StorageTaskOperationName + type StorageTaskPreviewAction struct + Properties *StorageTaskPreviewActionProperties + func (s *StorageTaskPreviewAction) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewAction) MarshalJSON() ([]byte, error) + type StorageTaskPreviewActionCondition struct + ElseBlockExists *bool + If *StorageTaskPreviewActionIfCondition + func (s *StorageTaskPreviewActionCondition) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewActionCondition) MarshalJSON() ([]byte, error) + type StorageTaskPreviewActionIfCondition struct + Condition *string + func (s *StorageTaskPreviewActionIfCondition) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewActionIfCondition) MarshalJSON() ([]byte, error) + type StorageTaskPreviewActionProperties struct + Action *StorageTaskPreviewActionCondition + Blobs []*StorageTaskPreviewBlobProperties + Container *StorageTaskPreviewContainerProperties + func (s *StorageTaskPreviewActionProperties) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewActionProperties) MarshalJSON() ([]byte, error) + type StorageTaskPreviewBlobProperties struct + MatchedBlock *MatchedBlockName + Metadata []*StorageTaskPreviewKeyValueProperties + Name *string + Properties []*StorageTaskPreviewKeyValueProperties + Tags []*StorageTaskPreviewKeyValueProperties + func (s *StorageTaskPreviewBlobProperties) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewBlobProperties) MarshalJSON() ([]byte, error) + type StorageTaskPreviewContainerProperties struct + Metadata []*StorageTaskPreviewKeyValueProperties + Name *string + func (s *StorageTaskPreviewContainerProperties) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewContainerProperties) MarshalJSON() ([]byte, error) + type StorageTaskPreviewKeyValueProperties struct + Key *string + Value *string + func (s *StorageTaskPreviewKeyValueProperties) UnmarshalJSON(data []byte) error + func (s StorageTaskPreviewKeyValueProperties) MarshalJSON() ([]byte, error) + type StorageTaskProperties struct + Action *StorageTaskAction + CreationTimeInUTC *time.Time + Description *string + Enabled *bool + ProvisioningState *ProvisioningState + TaskVersion *int64 + func (s *StorageTaskProperties) UnmarshalJSON(data []byte) error + func (s StorageTaskProperties) MarshalJSON() ([]byte, error) + type StorageTaskReportInstance struct + ID *string + Name *string + Properties *StorageTaskReportProperties + SystemData *SystemData + Type *string + func (s *StorageTaskReportInstance) UnmarshalJSON(data []byte) error + func (s StorageTaskReportInstance) MarshalJSON() ([]byte, error) + type StorageTaskReportProperties struct + FinishTime *string + ObjectFailedCount *string + ObjectsOperatedOnCount *string + ObjectsSucceededCount *string + ObjectsTargetedCount *string + RunResult *RunResult + RunStatusEnum *RunStatusEnum + RunStatusError *string + StartTime *string + StorageAccountID *string + SummaryReportPath *string + TaskAssignmentID *string + TaskID *string + TaskVersion *string + func (s *StorageTaskReportProperties) UnmarshalJSON(data []byte) error + func (s StorageTaskReportProperties) MarshalJSON() ([]byte, error) + type StorageTaskReportSummary struct + NextLink *string + Value []*StorageTaskReportInstance + func (s *StorageTaskReportSummary) UnmarshalJSON(data []byte) error + func (s StorageTaskReportSummary) MarshalJSON() ([]byte, error) + type StorageTaskUpdateParameters struct + Identity *ManagedServiceIdentity + Properties *StorageTaskProperties + Tags map[string]*string + func (s *StorageTaskUpdateParameters) UnmarshalJSON(data []byte) error + func (s StorageTaskUpdateParameters) MarshalJSON() ([]byte, error) + type StorageTasksClient struct + func NewStorageTasksClient(subscriptionID string, credential azcore.TokenCredential, ...) (*StorageTasksClient, error) + func (client *StorageTasksClient) BeginCreate(ctx context.Context, resourceGroupName string, storageTaskName string, ...) (*runtime.Poller[StorageTasksClientCreateResponse], error) + func (client *StorageTasksClient) BeginDelete(ctx context.Context, resourceGroupName string, storageTaskName string, ...) (*runtime.Poller[StorageTasksClientDeleteResponse], error) + func (client *StorageTasksClient) BeginUpdate(ctx context.Context, resourceGroupName string, storageTaskName string, ...) (*runtime.Poller[StorageTasksClientUpdateResponse], error) + func (client *StorageTasksClient) Get(ctx context.Context, resourceGroupName string, storageTaskName string, ...) (StorageTasksClientGetResponse, error) + func (client *StorageTasksClient) NewListByResourceGroupPager(resourceGroupName string, ...) *runtime.Pager[StorageTasksClientListByResourceGroupResponse] + func (client *StorageTasksClient) NewListBySubscriptionPager(options *StorageTasksClientListBySubscriptionOptions) *runtime.Pager[StorageTasksClientListBySubscriptionResponse] + func (client *StorageTasksClient) PreviewActions(ctx context.Context, location string, parameters StorageTaskPreviewAction, ...) (StorageTasksClientPreviewActionsResponse, error) + type StorageTasksClientBeginCreateOptions struct + ResumeToken string + type StorageTasksClientBeginDeleteOptions struct + ResumeToken string + type StorageTasksClientBeginUpdateOptions struct + ResumeToken string + type StorageTasksClientCreateResponse struct + type StorageTasksClientDeleteResponse struct + type StorageTasksClientGetOptions struct + type StorageTasksClientGetResponse struct + type StorageTasksClientListByResourceGroupOptions struct + type StorageTasksClientListByResourceGroupResponse struct + type StorageTasksClientListBySubscriptionOptions struct + type StorageTasksClientListBySubscriptionResponse struct + type StorageTasksClientPreviewActionsOptions struct + type StorageTasksClientPreviewActionsResponse struct + type StorageTasksClientUpdateResponse struct + type StorageTasksListResult struct + NextLink *string + Value []*StorageTask + func (s *StorageTasksListResult) UnmarshalJSON(data []byte) error + func (s StorageTasksListResult) MarshalJSON() ([]byte, error) + type StorageTasksReportClient struct + func NewStorageTasksReportClient(subscriptionID string, credential azcore.TokenCredential, ...) (*StorageTasksReportClient, error) + func (client *StorageTasksReportClient) NewListPager(resourceGroupName string, storageTaskName string, ...) *runtime.Pager[StorageTasksReportClientListResponse] + type StorageTasksReportClientListOptions struct + Filter *string + Maxpagesize *string + type StorageTasksReportClientListResponse struct + type SystemData struct + CreatedAt *time.Time + CreatedBy *string + CreatedByType *CreatedByType + LastModifiedAt *time.Time + LastModifiedBy *string + LastModifiedByType *CreatedByType + func (s *SystemData) UnmarshalJSON(data []byte) error + func (s SystemData) MarshalJSON() ([]byte, error) + type UserAssignedIdentity struct + ClientID *string + PrincipalID *string + func (u *UserAssignedIdentity) UnmarshalJSON(data []byte) error + func (u UserAssignedIdentity) MarshalJSON() ([]byte, error)