Documentation ¶
Index ¶
- func PossibleValuesForBackupManagementType() []string
- func PossibleValuesForDataSourceType() []string
- func PossibleValuesForProtectionIntentItemType() []string
- func PossibleValuesForProtectionStatus() []string
- func PossibleValuesForValidationStatus() []string
- func PossibleValuesForWorkloadItemType() []string
- func ValidateBackupProtectionIntentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AzureRecoveryServiceVaultProtectionIntent
- type AzureResourceProtectionIntent
- type AzureWorkloadAutoProtectionIntent
- type AzureWorkloadContainerAutoProtectionIntent
- type AzureWorkloadSQLAutoProtectionIntent
- type BackupManagementType
- type BackupProtectionIntentId
- func NewBackupProtectionIntentID(subscriptionId string, resourceGroupName string, vaultName string, ...) BackupProtectionIntentId
- func ParseBackupProtectionIntentID(input string) (*BackupProtectionIntentId, error)
- func ParseBackupProtectionIntentIDInsensitively(input string) (*BackupProtectionIntentId, error)
- type CreateOrUpdateOperationResponse
- type DataSourceType
- type DeleteOperationResponse
- type GetOperationResponse
- type LocationId
- type PreValidateEnableBackupRequest
- type PreValidateEnableBackupResponse
- type ProtectionIntent
- type ProtectionIntentClient
- func (c ProtectionIntentClient) CreateOrUpdate(ctx context.Context, id BackupProtectionIntentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ProtectionIntentClient) Delete(ctx context.Context, id BackupProtectionIntentId) (result DeleteOperationResponse, err error)
- func (c ProtectionIntentClient) Get(ctx context.Context, id BackupProtectionIntentId) (result GetOperationResponse, err error)
- func (c ProtectionIntentClient) Validate(ctx context.Context, id LocationId, input PreValidateEnableBackupRequest) (result ValidateOperationResponse, err error)
- type ProtectionIntentItemType
- type ProtectionIntentResource
- type ProtectionStatus
- type RawProtectionIntentImpl
- type ValidateOperationResponse
- type ValidationStatus
- type WorkloadItemType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupManagementType ¶
func PossibleValuesForBackupManagementType() []string
func PossibleValuesForDataSourceType ¶
func PossibleValuesForDataSourceType() []string
func PossibleValuesForProtectionIntentItemType ¶
func PossibleValuesForProtectionIntentItemType() []string
func PossibleValuesForProtectionStatus ¶
func PossibleValuesForProtectionStatus() []string
func PossibleValuesForValidationStatus ¶
func PossibleValuesForValidationStatus() []string
func PossibleValuesForWorkloadItemType ¶ added in v0.20230504.1091605
func PossibleValuesForWorkloadItemType() []string
func ValidateBackupProtectionIntentID ¶
func ValidateBackupProtectionIntentID(input interface{}, key string) (warnings []string, errors []error)
ValidateBackupProtectionIntentID checks that 'input' can be parsed as a Backup Protection Intent ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location 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 ¶ added in v0.20230504.1091605
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 ¶ added in v0.20230504.1091605
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 BackupProtectionIntentId ¶
type BackupProtectionIntentId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string BackupProtectionIntentName string }
BackupProtectionIntentId is a struct representing the Resource ID for a Backup Protection Intent
func NewBackupProtectionIntentID ¶
func NewBackupProtectionIntentID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, backupProtectionIntentName string) BackupProtectionIntentId
NewBackupProtectionIntentID returns a new BackupProtectionIntentId struct
func ParseBackupProtectionIntentID ¶
func ParseBackupProtectionIntentID(input string) (*BackupProtectionIntentId, error)
ParseBackupProtectionIntentID parses 'input' into a BackupProtectionIntentId
func ParseBackupProtectionIntentIDInsensitively ¶
func ParseBackupProtectionIntentIDInsensitively(input string) (*BackupProtectionIntentId, error)
ParseBackupProtectionIntentIDInsensitively parses 'input' case-insensitively into a BackupProtectionIntentId note: this method should only be used for API response data and not user input
func (BackupProtectionIntentId) ID ¶
func (id BackupProtectionIntentId) ID() string
ID returns the formatted Backup Protection Intent ID
func (BackupProtectionIntentId) Segments ¶
func (id BackupProtectionIntentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Protection Intent ID
func (BackupProtectionIntentId) String ¶
func (id BackupProtectionIntentId) String() string
String returns a human-readable description of this Backup Protection Intent ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ProtectionIntentResource }
type DataSourceType ¶
type DataSourceType string
const ( DataSourceTypeAzureSqlDb DataSourceType = "AzureSqlDb" DataSourceTypeClient DataSourceType = "Client" DataSourceTypeExchange DataSourceType = "Exchange" DataSourceTypeFileFolder DataSourceType = "FileFolder" DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource" DataSourceTypeInvalid DataSourceType = "Invalid" DataSourceTypeSAPAseDatabase DataSourceType = "SAPAseDatabase" DataSourceTypeSAPHanaDBInstance DataSourceType = "SAPHanaDBInstance" DataSourceTypeSAPHanaDatabase DataSourceType = "SAPHanaDatabase" DataSourceTypeSQLDB DataSourceType = "SQLDB" DataSourceTypeSQLDataBase DataSourceType = "SQLDataBase" DataSourceTypeSystemState DataSourceType = "SystemState" DataSourceTypeVM DataSourceType = "VM" DataSourceTypeVMwareVM DataSourceType = "VMwareVM" )
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ProtectionIntentResource }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type PreValidateEnableBackupRequest ¶
type PreValidateEnableBackupRequest struct { Properties *string `json:"properties,omitempty"` ResourceId *string `json:"resourceId,omitempty"` ResourceType *DataSourceType `json:"resourceType,omitempty"` VaultId *string `json:"vaultId,omitempty"` }
type PreValidateEnableBackupResponse ¶
type PreValidateEnableBackupResponse struct { ContainerName *string `json:"containerName,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProtectedItemName *string `json:"protectedItemName,omitempty"` Recommendation *string `json:"recommendation,omitempty"` Status *ValidationStatus `json:"status,omitempty"` }
type ProtectionIntent ¶
type ProtectionIntent interface { }
type ProtectionIntentClient ¶
type ProtectionIntentClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewProtectionIntentClientWithBaseURI ¶
func NewProtectionIntentClientWithBaseURI(endpoint string) ProtectionIntentClient
func (ProtectionIntentClient) CreateOrUpdate ¶
func (c ProtectionIntentClient) CreateOrUpdate(ctx context.Context, id BackupProtectionIntentId, input ProtectionIntentResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProtectionIntentClient) Delete ¶
func (c ProtectionIntentClient) Delete(ctx context.Context, id BackupProtectionIntentId) (result DeleteOperationResponse, err error)
Delete ...
func (ProtectionIntentClient) Get ¶
func (c ProtectionIntentClient) Get(ctx context.Context, id BackupProtectionIntentId) (result GetOperationResponse, err error)
Get ...
func (ProtectionIntentClient) Validate ¶
func (c ProtectionIntentClient) Validate(ctx context.Context, id LocationId, input PreValidateEnableBackupRequest) (result ValidateOperationResponse, err error)
Validate ...
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 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
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).
type ValidateOperationResponse ¶
type ValidateOperationResponse struct { HttpResponse *http.Response Model *PreValidateEnableBackupResponse }
type ValidationStatus ¶
type ValidationStatus string
const ( ValidationStatusFailed ValidationStatus = "Failed" ValidationStatusInvalid ValidationStatus = "Invalid" ValidationStatusSucceeded ValidationStatus = "Succeeded" )
type WorkloadItemType ¶ added in v0.20230504.1091605
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_backupprotectionintent.go
- id_location.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_validate_autorest.go
- model_azurerecoveryservicevaultprotectionintent.go
- model_azureresourceprotectionintent.go
- model_azureworkloadautoprotectionintent.go
- model_azureworkloadcontainerautoprotectionintent.go
- model_azureworkloadsqlautoprotectionintent.go
- model_prevalidateenablebackuprequest.go
- model_prevalidateenablebackupresponse.go
- model_protectionintent.go
- model_protectionintentresource.go
- version.go