Documentation ¶
Index ¶
- func PossibleValuesForProtectionStatus() []string
- func PossibleValuesForSQLDataDirectoryType() []string
- func ValidateProtectionContainerID(input interface{}, key string) (warnings []string, errors []error)
- type AzureVMWorkloadItem
- type AzureVMWorkloadSAPAseDatabaseWorkloadItem
- type AzureVMWorkloadSAPAseSystemWorkloadItem
- type AzureVMWorkloadSAPHanaDatabaseWorkloadItem
- type AzureVMWorkloadSAPHanaSystemWorkloadItem
- type AzureVMWorkloadSQLDatabaseWorkloadItem
- type AzureVMWorkloadSQLInstanceWorkloadItem
- type BackupWorkloadItemsClient
- func (c BackupWorkloadItemsClient) List(ctx context.Context, id ProtectionContainerId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c BackupWorkloadItemsClient) ListComplete(ctx context.Context, id ProtectionContainerId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BackupWorkloadItemsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProtectionContainerId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type BaseWorkloadItemImpl
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProtectionContainerId
- type ProtectionStatus
- type RawWorkloadItemImpl
- type SQLDataDirectory
- type SQLDataDirectoryType
- type WorkloadItem
- type WorkloadItemResource
- type WorkloadItemResourceOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProtectionStatus ¶
func PossibleValuesForProtectionStatus() []string
func PossibleValuesForSQLDataDirectoryType ¶
func PossibleValuesForSQLDataDirectoryType() []string
func ValidateProtectionContainerID ¶
func ValidateProtectionContainerID(input interface{}, key string) (warnings []string, errors []error)
ValidateProtectionContainerID checks that 'input' can be parsed as a Protection Container ID
Types ¶
type AzureVMWorkloadItem ¶
type AzureVMWorkloadItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type AzureVMWorkloadSAPAseDatabaseWorkloadItem ¶
type AzureVMWorkloadSAPAseDatabaseWorkloadItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPAseDatabaseWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseDatabaseWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadSAPAseDatabaseWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadSAPAseDatabaseWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type AzureVMWorkloadSAPAseSystemWorkloadItem ¶
type AzureVMWorkloadSAPAseSystemWorkloadItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPAseSystemWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseSystemWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadSAPAseSystemWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadSAPAseSystemWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type AzureVMWorkloadSAPHanaDatabaseWorkloadItem ¶
type AzureVMWorkloadSAPHanaDatabaseWorkloadItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaDatabaseWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaDatabaseWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadSAPHanaDatabaseWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadSAPHanaDatabaseWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type AzureVMWorkloadSAPHanaSystemWorkloadItem ¶
type AzureVMWorkloadSAPHanaSystemWorkloadItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaSystemWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaSystemWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadSAPHanaSystemWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadSAPHanaSystemWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type AzureVMWorkloadSQLDatabaseWorkloadItem ¶
type AzureVMWorkloadSQLDatabaseWorkloadItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLDatabaseWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLDatabaseWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadSQLDatabaseWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadSQLDatabaseWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type AzureVMWorkloadSQLInstanceWorkloadItem ¶
type AzureVMWorkloadSQLInstanceWorkloadItem struct { DataDirectoryPaths *[]SQLDataDirectory `json:"dataDirectoryPaths,omitempty"` IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ServerName *string `json:"serverName,omitempty"` SubWorkloadItemCount *int64 `json:"subWorkloadItemCount,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLInstanceWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLInstanceWorkloadItem) MarshalJSON() ([]byte, error)
func (AzureVMWorkloadSQLInstanceWorkloadItem) WorkloadItem ¶ added in v0.20240920.1135249
func (s AzureVMWorkloadSQLInstanceWorkloadItem) WorkloadItem() BaseWorkloadItemImpl
type BackupWorkloadItemsClient ¶
type BackupWorkloadItemsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBackupWorkloadItemsClientWithBaseURI ¶
func NewBackupWorkloadItemsClientWithBaseURI(endpoint string) BackupWorkloadItemsClient
func (BackupWorkloadItemsClient) List ¶
func (c BackupWorkloadItemsClient) List(ctx context.Context, id ProtectionContainerId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (BackupWorkloadItemsClient) ListComplete ¶
func (c BackupWorkloadItemsClient) ListComplete(ctx context.Context, id ProtectionContainerId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (BackupWorkloadItemsClient) ListCompleteMatchingPredicate ¶
func (c BackupWorkloadItemsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProtectionContainerId, options ListOperationOptions, predicate WorkloadItemResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type BaseWorkloadItemImpl ¶ added in v0.20240920.1135249
type BaseWorkloadItemImpl struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadItemType string `json:"workloadItemType"` WorkloadType *string `json:"workloadType,omitempty"` }
func (BaseWorkloadItemImpl) WorkloadItem ¶ added in v0.20240920.1135249
func (s BaseWorkloadItemImpl) WorkloadItem() BaseWorkloadItemImpl
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []WorkloadItemResource
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]WorkloadItemResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ProtectionContainerId ¶
type ProtectionContainerId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string }
ProtectionContainerId is a struct representing the Resource ID for a Protection Container
func NewProtectionContainerID ¶
func NewProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string) ProtectionContainerId
NewProtectionContainerID returns a new ProtectionContainerId struct
func ParseProtectionContainerID ¶
func ParseProtectionContainerID(input string) (*ProtectionContainerId, error)
ParseProtectionContainerID parses 'input' into a ProtectionContainerId
func ParseProtectionContainerIDInsensitively ¶
func ParseProtectionContainerIDInsensitively(input string) (*ProtectionContainerId, error)
ParseProtectionContainerIDInsensitively parses 'input' case-insensitively into a ProtectionContainerId note: this method should only be used for API response data and not user input
func (*ProtectionContainerId) FromParseResult ¶
func (id *ProtectionContainerId) FromParseResult(input resourceids.ParseResult) error
func (ProtectionContainerId) ID ¶
func (id ProtectionContainerId) ID() string
ID returns the formatted Protection Container ID
func (ProtectionContainerId) Segments ¶
func (id ProtectionContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Protection Container ID
func (ProtectionContainerId) String ¶
func (id ProtectionContainerId) String() string
String returns a human-readable description of this Protection Container ID
type ProtectionStatus ¶
type ProtectionStatus string
const ( ProtectionStatusInvalid ProtectionStatus = "Invalid" ProtectionStatusNotProtected ProtectionStatus = "NotProtected" ProtectionStatusProtected ProtectionStatus = "Protected" ProtectionStatusProtecting ProtectionStatus = "Protecting" ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed" )
type RawWorkloadItemImpl ¶
type RawWorkloadItemImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawWorkloadItemImpl 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).
func (RawWorkloadItemImpl) WorkloadItem ¶ added in v0.20240920.1135249
func (s RawWorkloadItemImpl) WorkloadItem() BaseWorkloadItemImpl
type SQLDataDirectory ¶
type SQLDataDirectory struct { LogicalName *string `json:"logicalName,omitempty"` Path *string `json:"path,omitempty"` Type *SQLDataDirectoryType `json:"type,omitempty"` }
type SQLDataDirectoryType ¶
type SQLDataDirectoryType string
const ( SQLDataDirectoryTypeData SQLDataDirectoryType = "Data" SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid" SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log" )
type WorkloadItem ¶
type WorkloadItem interface {
WorkloadItem() BaseWorkloadItemImpl
}
func UnmarshalWorkloadItemImplementation ¶ added in v0.20240920.1135249
func UnmarshalWorkloadItemImplementation(input []byte) (WorkloadItem, error)
type WorkloadItemResource ¶
type WorkloadItemResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties WorkloadItem `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*WorkloadItemResource) UnmarshalJSON ¶
func (s *WorkloadItemResource) UnmarshalJSON(bytes []byte) error
type WorkloadItemResourceOperationPredicate ¶
type WorkloadItemResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (WorkloadItemResourceOperationPredicate) Matches ¶
func (p WorkloadItemResourceOperationPredicate) Matches(input WorkloadItemResource) bool
Source Files ¶
- client.go
- constants.go
- id_protectioncontainer.go
- method_list_autorest.go
- model_azurevmworkloaditem.go
- model_azurevmworkloadsapasedatabaseworkloaditem.go
- model_azurevmworkloadsapasesystemworkloaditem.go
- model_azurevmworkloadsaphanadatabaseworkloaditem.go
- model_azurevmworkloadsaphanasystemworkloaditem.go
- model_azurevmworkloadsqldatabaseworkloaditem.go
- model_azurevmworkloadsqlinstanceworkloaditem.go
- model_sqldatadirectory.go
- model_workloaditem.go
- model_workloaditemresource.go
- predicates.go
- version.go