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 BaseProtectionIntentImpl
- 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 { BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionIntentItemType ProtectionIntentItemType `json:"protectionIntentItemType"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureRecoveryServiceVaultProtectionIntent) MarshalJSON ¶
func (s AzureRecoveryServiceVaultProtectionIntent) MarshalJSON() ([]byte, error)
func (AzureRecoveryServiceVaultProtectionIntent) ProtectionIntent ¶ added in v0.20240920.1135249
func (s AzureRecoveryServiceVaultProtectionIntent) ProtectionIntent() BaseProtectionIntentImpl
type AzureResourceProtectionIntent ¶
type AzureResourceProtectionIntent struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionIntentItemType ProtectionIntentItemType `json:"protectionIntentItemType"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureResourceProtectionIntent) MarshalJSON ¶
func (s AzureResourceProtectionIntent) MarshalJSON() ([]byte, error)
func (AzureResourceProtectionIntent) ProtectionIntent ¶ added in v0.20240920.1135249
func (s AzureResourceProtectionIntent) ProtectionIntent() BaseProtectionIntentImpl
type AzureWorkloadAutoProtectionIntent ¶
type AzureWorkloadAutoProtectionIntent struct { BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionIntentItemType ProtectionIntentItemType `json:"protectionIntentItemType"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureWorkloadAutoProtectionIntent) MarshalJSON ¶
func (s AzureWorkloadAutoProtectionIntent) MarshalJSON() ([]byte, error)
func (AzureWorkloadAutoProtectionIntent) ProtectionIntent ¶ added in v0.20240920.1135249
func (s AzureWorkloadAutoProtectionIntent) ProtectionIntent() BaseProtectionIntentImpl
type AzureWorkloadContainerAutoProtectionIntent ¶
type AzureWorkloadContainerAutoProtectionIntent struct { BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionIntentItemType ProtectionIntentItemType `json:"protectionIntentItemType"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureWorkloadContainerAutoProtectionIntent) MarshalJSON ¶
func (s AzureWorkloadContainerAutoProtectionIntent) MarshalJSON() ([]byte, error)
func (AzureWorkloadContainerAutoProtectionIntent) ProtectionIntent ¶ added in v0.20240920.1135249
func (s AzureWorkloadContainerAutoProtectionIntent) ProtectionIntent() BaseProtectionIntentImpl
type AzureWorkloadSQLAutoProtectionIntent ¶
type AzureWorkloadSQLAutoProtectionIntent struct { WorkloadItemType *WorkloadItemType `json:"workloadItemType,omitempty"` BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionIntentItemType ProtectionIntentItemType `json:"protectionIntentItemType"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureWorkloadSQLAutoProtectionIntent) MarshalJSON ¶
func (s AzureWorkloadSQLAutoProtectionIntent) MarshalJSON() ([]byte, error)
func (AzureWorkloadSQLAutoProtectionIntent) ProtectionIntent ¶ added in v0.20240920.1135249
func (s AzureWorkloadSQLAutoProtectionIntent) ProtectionIntent() BaseProtectionIntentImpl
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 BaseProtectionIntentImpl ¶ added in v0.20240920.1135249
type BaseProtectionIntentImpl struct { BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` ItemId *string `json:"itemId,omitempty"` PolicyId *string `json:"policyId,omitempty"` ProtectionIntentItemType ProtectionIntentItemType `json:"protectionIntentItemType"` ProtectionState *ProtectionStatus `json:"protectionState,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (BaseProtectionIntentImpl) ProtectionIntent ¶ added in v0.20240920.1135249
func (s BaseProtectionIntentImpl) ProtectionIntent() BaseProtectionIntentImpl
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 {
ProtectionIntent() BaseProtectionIntentImpl
}
func UnmarshalProtectionIntentImplementation ¶ added in v0.20240920.1135249
func UnmarshalProtectionIntentImplementation(input []byte) (ProtectionIntent, error)
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 ¶
type RawProtectionIntentImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawProtectionIntentImpl) ProtectionIntent ¶ added in v0.20240920.1135249
func (s RawProtectionIntentImpl) ProtectionIntent() BaseProtectionIntentImpl
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) FromParseResult ¶
func (id *VaultId) FromParseResult(input resourceids.ParseResult) error
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