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 ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProtectionContainerId
- type ProtectionStatus
- 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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadItem) MarshalJSON() ([]byte, error)
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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPAseDatabaseWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseDatabaseWorkloadItem) MarshalJSON() ([]byte, error)
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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPAseSystemWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseSystemWorkloadItem) MarshalJSON() ([]byte, error)
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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaDatabaseWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaDatabaseWorkloadItem) MarshalJSON() ([]byte, error)
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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaSystemWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaSystemWorkloadItem) MarshalJSON() ([]byte, error)
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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLDatabaseWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLDatabaseWorkloadItem) MarshalJSON() ([]byte, error)
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"` // Fields inherited from WorkloadItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLInstanceWorkloadItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLInstanceWorkloadItem) MarshalJSON() ([]byte, error)
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 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) 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 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 { }
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