Documentation ¶
Index ¶
- func PossibleValuesForOperationDirection() []string
- func PossibleValuesForWorkflowStatus() []string
- func ValidateStorageSyncServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkflowID(input interface{}, key string) (warnings []string, errors []error)
- type OperationDirection
- type StorageSyncServiceId
- type Workflow
- type WorkflowArray
- type WorkflowId
- type WorkflowProperties
- func (o *WorkflowProperties) GetCreatedTimestampAsTime() (*time.Time, error)
- func (o *WorkflowProperties) GetLastStatusTimestampAsTime() (*time.Time, error)
- func (o *WorkflowProperties) SetCreatedTimestampAsTime(input time.Time)
- func (o *WorkflowProperties) SetLastStatusTimestampAsTime(input time.Time)
- type WorkflowResourceClient
- func (c WorkflowResourceClient) WorkflowsAbort(ctx context.Context, id WorkflowId) (result WorkflowsAbortOperationResponse, err error)
- func (c WorkflowResourceClient) WorkflowsGet(ctx context.Context, id WorkflowId) (result WorkflowsGetOperationResponse, err error)
- func (c WorkflowResourceClient) WorkflowsListByStorageSyncService(ctx context.Context, id StorageSyncServiceId) (result WorkflowsListByStorageSyncServiceOperationResponse, err error)
- type WorkflowStatus
- type WorkflowsAbortOperationResponse
- type WorkflowsGetOperationResponse
- type WorkflowsListByStorageSyncServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperationDirection ¶
func PossibleValuesForOperationDirection() []string
func PossibleValuesForWorkflowStatus ¶
func PossibleValuesForWorkflowStatus() []string
func ValidateStorageSyncServiceID ¶
func ValidateStorageSyncServiceID(input interface{}, key string) (warnings []string, errors []error)
ValidateStorageSyncServiceID checks that 'input' can be parsed as a Storage Sync Service ID
func ValidateWorkflowID ¶
ValidateWorkflowID checks that 'input' can be parsed as a Workflow ID
Types ¶
type OperationDirection ¶
type OperationDirection string
const ( OperationDirectionCancel OperationDirection = "cancel" OperationDirectionDo OperationDirection = "do" OperationDirectionUndo OperationDirection = "undo" )
func (*OperationDirection) UnmarshalJSON ¶
func (s *OperationDirection) UnmarshalJSON(bytes []byte) error
type StorageSyncServiceId ¶
type StorageSyncServiceId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string }
StorageSyncServiceId is a struct representing the Resource ID for a Storage Sync Service
func NewStorageSyncServiceID ¶
func NewStorageSyncServiceID(subscriptionId string, resourceGroupName string, storageSyncServiceName string) StorageSyncServiceId
NewStorageSyncServiceID returns a new StorageSyncServiceId struct
func ParseStorageSyncServiceID ¶
func ParseStorageSyncServiceID(input string) (*StorageSyncServiceId, error)
ParseStorageSyncServiceID parses 'input' into a StorageSyncServiceId
func ParseStorageSyncServiceIDInsensitively ¶
func ParseStorageSyncServiceIDInsensitively(input string) (*StorageSyncServiceId, error)
ParseStorageSyncServiceIDInsensitively parses 'input' case-insensitively into a StorageSyncServiceId note: this method should only be used for API response data and not user input
func (*StorageSyncServiceId) FromParseResult ¶
func (id *StorageSyncServiceId) FromParseResult(input resourceids.ParseResult) error
func (StorageSyncServiceId) ID ¶
func (id StorageSyncServiceId) ID() string
ID returns the formatted Storage Sync Service ID
func (StorageSyncServiceId) Segments ¶
func (id StorageSyncServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Sync Service ID
func (StorageSyncServiceId) String ¶
func (id StorageSyncServiceId) String() string
String returns a human-readable description of this Storage Sync Service ID
type Workflow ¶
type Workflow struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkflowProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type WorkflowArray ¶
type WorkflowArray struct {
Value *[]Workflow `json:"value,omitempty"`
}
type WorkflowId ¶
type WorkflowId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string WorkflowId string }
WorkflowId is a struct representing the Resource ID for a Workflow
func NewWorkflowID ¶
func NewWorkflowID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, workflowId string) WorkflowId
NewWorkflowID returns a new WorkflowId struct
func ParseWorkflowID ¶
func ParseWorkflowID(input string) (*WorkflowId, error)
ParseWorkflowID parses 'input' into a WorkflowId
func ParseWorkflowIDInsensitively ¶
func ParseWorkflowIDInsensitively(input string) (*WorkflowId, error)
ParseWorkflowIDInsensitively parses 'input' case-insensitively into a WorkflowId note: this method should only be used for API response data and not user input
func (*WorkflowId) FromParseResult ¶
func (id *WorkflowId) FromParseResult(input resourceids.ParseResult) error
func (WorkflowId) Segments ¶
func (id WorkflowId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workflow ID
func (WorkflowId) String ¶
func (id WorkflowId) String() string
String returns a human-readable description of this Workflow ID
type WorkflowProperties ¶
type WorkflowProperties struct { CommandName *string `json:"commandName,omitempty"` CreatedTimestamp *string `json:"createdTimestamp,omitempty"` LastOperationId *string `json:"lastOperationId,omitempty"` LastStatusTimestamp *string `json:"lastStatusTimestamp,omitempty"` LastStepName *string `json:"lastStepName,omitempty"` Operation *OperationDirection `json:"operation,omitempty"` Status *WorkflowStatus `json:"status,omitempty"` Steps *string `json:"steps,omitempty"` }
func (*WorkflowProperties) GetCreatedTimestampAsTime ¶
func (o *WorkflowProperties) GetCreatedTimestampAsTime() (*time.Time, error)
func (*WorkflowProperties) GetLastStatusTimestampAsTime ¶
func (o *WorkflowProperties) GetLastStatusTimestampAsTime() (*time.Time, error)
func (*WorkflowProperties) SetCreatedTimestampAsTime ¶
func (o *WorkflowProperties) SetCreatedTimestampAsTime(input time.Time)
func (*WorkflowProperties) SetLastStatusTimestampAsTime ¶
func (o *WorkflowProperties) SetLastStatusTimestampAsTime(input time.Time)
type WorkflowResourceClient ¶
type WorkflowResourceClient struct {
Client *resourcemanager.Client
}
func NewWorkflowResourceClientWithBaseURI ¶
func NewWorkflowResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkflowResourceClient, error)
func (WorkflowResourceClient) WorkflowsAbort ¶
func (c WorkflowResourceClient) WorkflowsAbort(ctx context.Context, id WorkflowId) (result WorkflowsAbortOperationResponse, err error)
WorkflowsAbort ...
func (WorkflowResourceClient) WorkflowsGet ¶
func (c WorkflowResourceClient) WorkflowsGet(ctx context.Context, id WorkflowId) (result WorkflowsGetOperationResponse, err error)
WorkflowsGet ...
func (WorkflowResourceClient) WorkflowsListByStorageSyncService ¶
func (c WorkflowResourceClient) WorkflowsListByStorageSyncService(ctx context.Context, id StorageSyncServiceId) (result WorkflowsListByStorageSyncServiceOperationResponse, err error)
WorkflowsListByStorageSyncService ...
type WorkflowStatus ¶
type WorkflowStatus string
const ( WorkflowStatusAborted WorkflowStatus = "aborted" WorkflowStatusActive WorkflowStatus = "active" WorkflowStatusExpired WorkflowStatus = "expired" WorkflowStatusFailed WorkflowStatus = "failed" WorkflowStatusSucceeded WorkflowStatus = "succeeded" )
func (*WorkflowStatus) UnmarshalJSON ¶
func (s *WorkflowStatus) UnmarshalJSON(bytes []byte) error
type WorkflowsListByStorageSyncServiceOperationResponse ¶
type WorkflowsListByStorageSyncServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkflowArray }