Documentation ¶
Index ¶
- func PossibleValuesForAzureFileShareType() []string
- func PossibleValuesForInquiryStatus() []string
- func PossibleValuesForProtectionStatus() []string
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileShareProtectableItem
- type AzureFileShareType
- type AzureIaaSClassicComputeVMProtectableItem
- type AzureIaaSComputeVMProtectableItem
- type AzureVMWorkloadProtectableItem
- type AzureVMWorkloadSAPAseSystemProtectableItem
- type AzureVMWorkloadSAPHanaDBInstance
- type AzureVMWorkloadSAPHanaDatabaseProtectableItem
- type AzureVMWorkloadSAPHanaHSRProtectableItem
- type AzureVMWorkloadSAPHanaSystemProtectableItem
- type AzureVMWorkloadSQLAvailabilityGroupProtectableItem
- type AzureVMWorkloadSQLDatabaseProtectableItem
- type AzureVMWorkloadSQLInstanceProtectableItem
- type BackupProtectableItemsClient
- func (c BackupProtectableItemsClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c BackupProtectableItemsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BackupProtectableItemsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type DistributedNodesInfo
- type ErrorDetail
- type IaaSVMProtectableItem
- type InquiryStatus
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type PreBackupValidation
- type ProtectionStatus
- type RawWorkloadProtectableItemImpl
- type VaultId
- type WorkloadProtectableItem
- type WorkloadProtectableItemResource
- type WorkloadProtectableItemResourceOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAzureFileShareType ¶
func PossibleValuesForAzureFileShareType() []string
func PossibleValuesForInquiryStatus ¶
func PossibleValuesForInquiryStatus() []string
func PossibleValuesForProtectionStatus ¶
func PossibleValuesForProtectionStatus() []string
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type AzureFileShareProtectableItem ¶
type AzureFileShareProtectableItem struct { // Fields inherited from WorkloadProtectableItem }
func (AzureFileShareProtectableItem) MarshalJSON ¶
func (s AzureFileShareProtectableItem) MarshalJSON() ([]byte, error)
type AzureIaaSClassicComputeVMProtectableItem ¶
type AzureIaaSClassicComputeVMProtectableItem struct { ResourceGroup *string `json:"resourceGroup,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureIaaSClassicComputeVMProtectableItem) MarshalJSON ¶
func (s AzureIaaSClassicComputeVMProtectableItem) MarshalJSON() ([]byte, error)
type AzureIaaSComputeVMProtectableItem ¶
type AzureIaaSComputeVMProtectableItem struct { ResourceGroup *string `json:"resourceGroup,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureIaaSComputeVMProtectableItem) MarshalJSON ¶
func (s AzureIaaSComputeVMProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadProtectableItem ¶
type AzureVMWorkloadProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSAPAseSystemProtectableItem ¶
type AzureVMWorkloadSAPAseSystemProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPAseSystemProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseSystemProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSAPHanaDBInstance ¶
type AzureVMWorkloadSAPHanaDBInstance struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaDBInstance) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaDBInstance) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSAPHanaDatabaseProtectableItem ¶
type AzureVMWorkloadSAPHanaDatabaseProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaDatabaseProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaDatabaseProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSAPHanaHSRProtectableItem ¶
type AzureVMWorkloadSAPHanaHSRProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaHSRProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaHSRProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSAPHanaSystemProtectableItem ¶
type AzureVMWorkloadSAPHanaSystemProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSAPHanaSystemProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaSystemProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSQLAvailabilityGroupProtectableItem ¶
type AzureVMWorkloadSQLAvailabilityGroupProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` NodesList *[]DistributedNodesInfo `json:"nodesList,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLAvailabilityGroupProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLAvailabilityGroupProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSQLDatabaseProtectableItem ¶
type AzureVMWorkloadSQLDatabaseProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLDatabaseProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLDatabaseProtectableItem) MarshalJSON() ([]byte, error)
type AzureVMWorkloadSQLInstanceProtectableItem ¶
type AzureVMWorkloadSQLInstanceProtectableItem struct { IsAutoProtectable *bool `json:"isAutoProtectable,omitempty"` IsAutoProtected *bool `json:"isAutoProtected,omitempty"` IsProtectable *bool `json:"isProtectable,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentUniqueName *string `json:"parentUniqueName,omitempty"` Prebackupvalidation *PreBackupValidation `json:"prebackupvalidation,omitempty"` ServerName *string `json:"serverName,omitempty"` Subinquireditemcount *int64 `json:"subinquireditemcount,omitempty"` Subprotectableitemcount *int64 `json:"subprotectableitemcount,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (AzureVMWorkloadSQLInstanceProtectableItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLInstanceProtectableItem) MarshalJSON() ([]byte, error)
type BackupProtectableItemsClient ¶
type BackupProtectableItemsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBackupProtectableItemsClientWithBaseURI ¶
func NewBackupProtectableItemsClientWithBaseURI(endpoint string) BackupProtectableItemsClient
func (BackupProtectableItemsClient) List ¶
func (c BackupProtectableItemsClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (BackupProtectableItemsClient) ListComplete ¶
func (c BackupProtectableItemsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (BackupProtectableItemsClient) ListCompleteMatchingPredicate ¶
func (c BackupProtectableItemsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate WorkloadProtectableItemResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type DistributedNodesInfo ¶
type DistributedNodesInfo struct { ErrorDetail *ErrorDetail `json:"errorDetail,omitempty"` NodeName *string `json:"nodeName,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` Status *string `json:"status,omitempty"` }
type ErrorDetail ¶
type IaaSVMProtectableItem ¶
type IaaSVMProtectableItem struct { ResourceGroup *string `json:"resourceGroup,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` // Fields inherited from WorkloadProtectableItem BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` }
func (IaaSVMProtectableItem) MarshalJSON ¶
func (s IaaSVMProtectableItem) MarshalJSON() ([]byte, error)
type InquiryStatus ¶
type InquiryStatus string
const ( InquiryStatusFailed InquiryStatus = "Failed" InquiryStatusInvalid InquiryStatus = "Invalid" InquiryStatusSuccess InquiryStatus = "Success" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []WorkloadProtectableItemResource
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]WorkloadProtectableItemResource // 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 PreBackupValidation ¶
type PreBackupValidation struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Status *InquiryStatus `json:"status,omitempty"` }
type ProtectionStatus ¶
type ProtectionStatus string
const ( ProtectionStatusInvalid ProtectionStatus = "Invalid" ProtectionStatusNotProtected ProtectionStatus = "NotProtected" ProtectionStatusProtected ProtectionStatus = "Protected" ProtectionStatusProtecting ProtectionStatus = "Protecting" ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed" )
type RawWorkloadProtectableItemImpl ¶
RawWorkloadProtectableItemImpl 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).
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
type WorkloadProtectableItem ¶
type WorkloadProtectableItem interface { }
type WorkloadProtectableItemResource ¶
type WorkloadProtectableItemResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties WorkloadProtectableItem `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*WorkloadProtectableItemResource) UnmarshalJSON ¶
func (s *WorkloadProtectableItemResource) UnmarshalJSON(bytes []byte) error
type WorkloadProtectableItemResourceOperationPredicate ¶
type WorkloadProtectableItemResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (WorkloadProtectableItemResourceOperationPredicate) Matches ¶
func (p WorkloadProtectableItemResourceOperationPredicate) Matches(input WorkloadProtectableItemResource) bool
Source Files ¶
- client.go
- constants.go
- id_vault.go
- method_list_autorest.go
- model_azurefileshareprotectableitem.go
- model_azureiaasclassiccomputevmprotectableitem.go
- model_azureiaascomputevmprotectableitem.go
- model_azurevmworkloadprotectableitem.go
- model_azurevmworkloadsapasesystemprotectableitem.go
- model_azurevmworkloadsaphanadatabaseprotectableitem.go
- model_azurevmworkloadsaphanadbinstance.go
- model_azurevmworkloadsaphanahsrprotectableitem.go
- model_azurevmworkloadsaphanasystemprotectableitem.go
- model_azurevmworkloadsqlavailabilitygroupprotectableitem.go
- model_azurevmworkloadsqldatabaseprotectableitem.go
- model_azurevmworkloadsqlinstanceprotectableitem.go
- model_distributednodesinfo.go
- model_errordetail.go
- model_iaasvmprotectableitem.go
- model_prebackupvalidation.go
- model_workloadprotectableitem.go
- model_workloadprotectableitemresource.go
- predicates.go
- version.go