Documentation ¶
Index ¶
- func PossibleValuesForBackupManagementType() []string
- func PossibleValuesForProtectableContainerType() []string
- func ValidateBackupFabricID(input interface{}, key string) (warnings []string, errors []error)
- type AzureStorageProtectableContainer
- type AzureVMAppContainerProtectableContainer
- type BackupFabricId
- type BackupManagementType
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProtectableContainer
- type ProtectableContainerResource
- type ProtectableContainerResourceOperationPredicate
- type ProtectableContainerType
- type ProtectableContainersClient
- func (c ProtectableContainersClient) List(ctx context.Context, id BackupFabricId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ProtectableContainersClient) ListComplete(ctx context.Context, id BackupFabricId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ProtectableContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupFabricId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type RawProtectableContainerImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupManagementType ¶
func PossibleValuesForBackupManagementType() []string
func PossibleValuesForProtectableContainerType ¶
func PossibleValuesForProtectableContainerType() []string
func ValidateBackupFabricID ¶
ValidateBackupFabricID checks that 'input' can be parsed as a Backup Fabric ID
Types ¶
type AzureStorageProtectableContainer ¶
type AzureStorageProtectableContainer struct { // Fields inherited from ProtectableContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ContainerId *string `json:"containerId,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` }
func (AzureStorageProtectableContainer) MarshalJSON ¶
func (s AzureStorageProtectableContainer) MarshalJSON() ([]byte, error)
type AzureVMAppContainerProtectableContainer ¶
type AzureVMAppContainerProtectableContainer struct { // Fields inherited from ProtectableContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ContainerId *string `json:"containerId,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` }
func (AzureVMAppContainerProtectableContainer) MarshalJSON ¶
func (s AzureVMAppContainerProtectableContainer) MarshalJSON() ([]byte, error)
type BackupFabricId ¶
type BackupFabricId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string }
BackupFabricId is a struct representing the Resource ID for a Backup Fabric
func NewBackupFabricID ¶
func NewBackupFabricID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string) BackupFabricId
NewBackupFabricID returns a new BackupFabricId struct
func ParseBackupFabricID ¶
func ParseBackupFabricID(input string) (*BackupFabricId, error)
ParseBackupFabricID parses 'input' into a BackupFabricId
func ParseBackupFabricIDInsensitively ¶
func ParseBackupFabricIDInsensitively(input string) (*BackupFabricId, error)
ParseBackupFabricIDInsensitively parses 'input' case-insensitively into a BackupFabricId note: this method should only be used for API response data and not user input
func (BackupFabricId) ID ¶
func (id BackupFabricId) ID() string
ID returns the formatted Backup Fabric ID
func (BackupFabricId) Segments ¶
func (id BackupFabricId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Fabric ID
func (BackupFabricId) String ¶
func (id BackupFabricId) String() string
String returns a human-readable description of this Backup Fabric ID
type BackupManagementType ¶
type BackupManagementType string
const ( BackupManagementTypeAzureBackupServer BackupManagementType = "AzureBackupServer" BackupManagementTypeAzureIaasVM BackupManagementType = "AzureIaasVM" BackupManagementTypeAzureSql BackupManagementType = "AzureSql" BackupManagementTypeAzureStorage BackupManagementType = "AzureStorage" BackupManagementTypeAzureWorkload BackupManagementType = "AzureWorkload" BackupManagementTypeDPM BackupManagementType = "DPM" BackupManagementTypeDefaultBackup BackupManagementType = "DefaultBackup" BackupManagementTypeInvalid BackupManagementType = "Invalid" BackupManagementTypeMAB BackupManagementType = "MAB" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ProtectableContainerResource
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ProtectableContainerResource // 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 ProtectableContainer ¶
type ProtectableContainer interface { }
type ProtectableContainerResource ¶
type ProtectableContainerResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ProtectableContainer `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*ProtectableContainerResource) UnmarshalJSON ¶
func (s *ProtectableContainerResource) UnmarshalJSON(bytes []byte) error
type ProtectableContainerResourceOperationPredicate ¶
type ProtectableContainerResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (ProtectableContainerResourceOperationPredicate) Matches ¶
func (p ProtectableContainerResourceOperationPredicate) Matches(input ProtectableContainerResource) bool
type ProtectableContainerType ¶
type ProtectableContainerType string
const ( ProtectableContainerTypeAzureBackupServerContainer ProtectableContainerType = "AzureBackupServerContainer" ProtectableContainerTypeAzureSqlContainer ProtectableContainerType = "AzureSqlContainer" ProtectableContainerTypeAzureWorkloadContainer ProtectableContainerType = "AzureWorkloadContainer" ProtectableContainerTypeCluster ProtectableContainerType = "Cluster" ProtectableContainerTypeDPMContainer ProtectableContainerType = "DPMContainer" ProtectableContainerTypeGenericContainer ProtectableContainerType = "GenericContainer" ProtectableContainerTypeIaasVMContainer ProtectableContainerType = "IaasVMContainer" ProtectableContainerTypeIaasVMServiceContainer ProtectableContainerType = "IaasVMServiceContainer" ProtectableContainerTypeInvalid ProtectableContainerType = "Invalid" ProtectableContainerTypeMABContainer ProtectableContainerType = "MABContainer" ProtectableContainerTypeMicrosoftPointClassicComputeVirtualMachines ProtectableContainerType = "Microsoft.ClassicCompute/virtualMachines" ProtectableContainerTypeMicrosoftPointComputeVirtualMachines ProtectableContainerType = "Microsoft.Compute/virtualMachines" ProtectableContainerTypeSQLAGWorkLoadContainer ProtectableContainerType = "SQLAGWorkLoadContainer" ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer" ProtectableContainerTypeUnknown ProtectableContainerType = "Unknown" ProtectableContainerTypeVCenter ProtectableContainerType = "VCenter" ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer" ProtectableContainerTypeWindows ProtectableContainerType = "Windows" )
type ProtectableContainersClient ¶
type ProtectableContainersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewProtectableContainersClientWithBaseURI ¶
func NewProtectableContainersClientWithBaseURI(endpoint string) ProtectableContainersClient
func (ProtectableContainersClient) List ¶
func (c ProtectableContainersClient) List(ctx context.Context, id BackupFabricId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ProtectableContainersClient) ListComplete ¶
func (c ProtectableContainersClient) ListComplete(ctx context.Context, id BackupFabricId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ProtectableContainersClient) ListCompleteMatchingPredicate ¶
func (c ProtectableContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupFabricId, options ListOperationOptions, predicate ProtectableContainerResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type RawProtectableContainerImpl ¶ added in v0.20230807.1063129
RawModeOfTransitImpl 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).