Documentation ¶
Index ¶
- func PossibleValuesForBackupManagementType() []string
- func PossibleValuesForProtectionIntentItemType() []string
- func PossibleValuesForProtectionStatus() []string
- func PossibleValuesForWorkloadItemType() []string
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type AzureRecoveryServiceVaultProtectionIntent
- type AzureResourceProtectionIntent
- type AzureWorkloadAutoProtectionIntent
- type AzureWorkloadContainerAutoProtectionIntent
- type AzureWorkloadSQLAutoProtectionIntent
- type BackupManagementType
- type BackupProtectionIntentClient
- func (c BackupProtectionIntentClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c BackupProtectionIntentClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BackupProtectionIntentClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ProtectionIntent
- type ProtectionIntentItemType
- type ProtectionIntentResource
- type ProtectionIntentResourceOperationPredicate
- type ProtectionStatus
- type RawProtectionIntentImpl
- type VaultId
- type WorkloadItemType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupManagementType ¶
func PossibleValuesForBackupManagementType() []string
func PossibleValuesForProtectionIntentItemType ¶
func PossibleValuesForProtectionIntentItemType() []string
func PossibleValuesForProtectionStatus ¶
func PossibleValuesForProtectionStatus() []string
func PossibleValuesForWorkloadItemType ¶
func PossibleValuesForWorkloadItemType() []string
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type AzureRecoveryServiceVaultProtectionIntent ¶
type AzureRecoveryServiceVaultProtectionIntent struct { // Fields inherited from ProtectionIntent BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureRecoveryServiceVaultProtectionIntent) MarshalJSON ¶
func (s AzureRecoveryServiceVaultProtectionIntent) MarshalJSON() ([]byte, error)
type AzureResourceProtectionIntent ¶
type AzureResourceProtectionIntent struct { FriendlyName *string `json:"friendlyName,omitempty"` // Fields inherited from ProtectionIntent BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureResourceProtectionIntent) MarshalJSON ¶
func (s AzureResourceProtectionIntent) MarshalJSON() ([]byte, error)
type AzureWorkloadAutoProtectionIntent ¶
type AzureWorkloadAutoProtectionIntent struct { // Fields inherited from ProtectionIntent BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureWorkloadAutoProtectionIntent) MarshalJSON ¶
func (s AzureWorkloadAutoProtectionIntent) MarshalJSON() ([]byte, error)
type AzureWorkloadContainerAutoProtectionIntent ¶
type AzureWorkloadContainerAutoProtectionIntent struct { // Fields inherited from ProtectionIntent BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureWorkloadContainerAutoProtectionIntent) MarshalJSON ¶
func (s AzureWorkloadContainerAutoProtectionIntent) MarshalJSON() ([]byte, error)
type AzureWorkloadSQLAutoProtectionIntent ¶
type AzureWorkloadSQLAutoProtectionIntent struct { WorkloadItemType *WorkloadItemType `json:"workloadItemType,omitempty"` // Fields inherited from ProtectionIntent BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureWorkloadSQLAutoProtectionIntent) MarshalJSON ¶
func (s AzureWorkloadSQLAutoProtectionIntent) MarshalJSON() ([]byte, error)
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 BackupProtectionIntentClient ¶
type BackupProtectionIntentClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBackupProtectionIntentClientWithBaseURI ¶
func NewBackupProtectionIntentClientWithBaseURI(endpoint string) BackupProtectionIntentClient
func (BackupProtectionIntentClient) List ¶
func (c BackupProtectionIntentClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (BackupProtectionIntentClient) ListComplete ¶
func (c BackupProtectionIntentClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (BackupProtectionIntentClient) ListCompleteMatchingPredicate ¶
func (c BackupProtectionIntentClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate ProtectionIntentResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ProtectionIntentResource
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ProtectionIntentResource // 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 ProtectionIntent ¶
type ProtectionIntent interface { }
type ProtectionIntentItemType ¶
type ProtectionIntentItemType string
const ( ProtectionIntentItemTypeAzureResourceItem ProtectionIntentItemType = "AzureResourceItem" ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadAutoProtectionIntent" ProtectionIntentItemTypeAzureWorkloadContainerAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadContainerAutoProtectionIntent" ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent" ProtectionIntentItemTypeInvalid ProtectionIntentItemType = "Invalid" ProtectionIntentItemTypeRecoveryServiceVaultItem ProtectionIntentItemType = "RecoveryServiceVaultItem" )
type ProtectionIntentResource ¶
type ProtectionIntentResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ProtectionIntent `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*ProtectionIntentResource) UnmarshalJSON ¶
func (s *ProtectionIntentResource) UnmarshalJSON(bytes []byte) error
type ProtectionIntentResourceOperationPredicate ¶
type ProtectionIntentResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (ProtectionIntentResourceOperationPredicate) Matches ¶
func (p ProtectionIntentResourceOperationPredicate) Matches(input ProtectionIntentResource) bool
type ProtectionStatus ¶
type ProtectionStatus string
const ( ProtectionStatusInvalid ProtectionStatus = "Invalid" ProtectionStatusNotProtected ProtectionStatus = "NotProtected" ProtectionStatusProtected ProtectionStatus = "Protected" ProtectionStatusProtecting ProtectionStatus = "Protecting" ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed" )
type RawProtectionIntentImpl ¶ added in v0.20230807.1063129
RawProtectionIntentImpl 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 WorkloadItemType ¶
type WorkloadItemType string
const ( WorkloadItemTypeInvalid WorkloadItemType = "Invalid" WorkloadItemTypeSAPAseDatabase WorkloadItemType = "SAPAseDatabase" WorkloadItemTypeSAPAseSystem WorkloadItemType = "SAPAseSystem" WorkloadItemTypeSAPHanaDBInstance WorkloadItemType = "SAPHanaDBInstance" WorkloadItemTypeSAPHanaDatabase WorkloadItemType = "SAPHanaDatabase" WorkloadItemTypeSAPHanaSystem WorkloadItemType = "SAPHanaSystem" WorkloadItemTypeSQLDataBase WorkloadItemType = "SQLDataBase" WorkloadItemTypeSQLInstance WorkloadItemType = "SQLInstance" )
Source Files ¶
- client.go
- constants.go
- id_vault.go
- method_list_autorest.go
- model_azurerecoveryservicevaultprotectionintent.go
- model_azureresourceprotectionintent.go
- model_azureworkloadautoprotectionintent.go
- model_azureworkloadcontainerautoprotectionintent.go
- model_azureworkloadsqlautoprotectionintent.go
- model_protectionintent.go
- model_protectionintentresource.go
- predicates.go
- version.go