protectioncontainers

package
v0.20240627.1145836 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-02-01/protectioncontainers Documentation

The protectioncontainers SDK allows for interaction with the Azure Resource Manager Service recoveryservicesbackup (API Version 2023-02-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-02-01/protectioncontainers"

Client Initialization

client := protectioncontainers.NewProtectionContainersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ProtectionContainersClient.Get

ctx := context.TODO()
id := protectioncontainers.NewProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProtectionContainersClient.Inquire

ctx := context.TODO()
id := protectioncontainers.NewProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue")

read, err := client.Inquire(ctx, id, protectioncontainers.DefaultInquireOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProtectionContainersClient.Refresh

ctx := context.TODO()
id := protectioncontainers.NewBackupFabricID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue")

read, err := client.Refresh(ctx, id, protectioncontainers.DefaultRefreshOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProtectionContainersClient.Register

ctx := context.TODO()
id := protectioncontainers.NewProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue")

payload := protectioncontainers.ProtectionContainerResource{
	// ...
}


read, err := client.Register(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProtectionContainersClient.Unregister

ctx := context.TODO()
id := protectioncontainers.NewProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue")

read, err := client.Unregister(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAcquireStorageAccountLock

func PossibleValuesForAcquireStorageAccountLock() []string

func PossibleValuesForBackupItemType

func PossibleValuesForBackupItemType() []string

func PossibleValuesForBackupManagementType

func PossibleValuesForBackupManagementType() []string

func PossibleValuesForOperationType

func PossibleValuesForOperationType() []string

func PossibleValuesForProtectableContainerType

func PossibleValuesForProtectableContainerType() []string

func PossibleValuesForWorkloadType

func PossibleValuesForWorkloadType() []string

func ValidateBackupFabricID

func ValidateBackupFabricID(input interface{}, key string) (warnings []string, errors []error)

ValidateBackupFabricID checks that 'input' can be parsed as a Backup Fabric ID

func ValidateProtectionContainerID

func ValidateProtectionContainerID(input interface{}, key string) (warnings []string, errors []error)

ValidateProtectionContainerID checks that 'input' can be parsed as a Protection Container ID

Types

type AcquireStorageAccountLock

type AcquireStorageAccountLock string
const (
	AcquireStorageAccountLockAcquire    AcquireStorageAccountLock = "Acquire"
	AcquireStorageAccountLockNotAcquire AcquireStorageAccountLock = "NotAcquire"
)

type AzureBackupServerContainer

type AzureBackupServerContainer struct {
	CanReRegister      *bool                     `json:"canReRegister,omitempty"`
	ContainerId        *string                   `json:"containerId,omitempty"`
	DpmAgentVersion    *string                   `json:"dpmAgentVersion,omitempty"`
	DpmServers         *[]string                 `json:"dpmServers,omitempty"`
	ExtendedInfo       *DPMContainerExtendedInfo `json:"extendedInfo,omitempty"`
	ProtectedItemCount *int64                    `json:"protectedItemCount,omitempty"`
	ProtectionStatus   *string                   `json:"protectionStatus,omitempty"`
	UpgradeAvailable   *bool                     `json:"upgradeAvailable,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureBackupServerContainer) MarshalJSON

func (s AzureBackupServerContainer) MarshalJSON() ([]byte, error)

type AzureIaaSClassicComputeVMContainer

type AzureIaaSClassicComputeVMContainer struct {
	ResourceGroup         *string `json:"resourceGroup,omitempty"`
	VirtualMachineId      *string `json:"virtualMachineId,omitempty"`
	VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureIaaSClassicComputeVMContainer) MarshalJSON

func (s AzureIaaSClassicComputeVMContainer) MarshalJSON() ([]byte, error)

type AzureIaaSComputeVMContainer

type AzureIaaSComputeVMContainer struct {
	ResourceGroup         *string `json:"resourceGroup,omitempty"`
	VirtualMachineId      *string `json:"virtualMachineId,omitempty"`
	VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureIaaSComputeVMContainer) MarshalJSON

func (s AzureIaaSComputeVMContainer) MarshalJSON() ([]byte, error)

type AzureSQLAGWorkloadContainerProtectionContainer

type AzureSQLAGWorkloadContainerProtectionContainer struct {
	ExtendedInfo     *AzureWorkloadContainerExtendedInfo `json:"extendedInfo,omitempty"`
	LastUpdatedTime  *string                             `json:"lastUpdatedTime,omitempty"`
	OperationType    *OperationType                      `json:"operationType,omitempty"`
	SourceResourceId *string                             `json:"sourceResourceId,omitempty"`
	WorkloadType     *WorkloadType                       `json:"workloadType,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureSQLAGWorkloadContainerProtectionContainer) MarshalJSON

type AzureSqlContainer

type AzureSqlContainer struct {

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureSqlContainer) MarshalJSON

func (s AzureSqlContainer) MarshalJSON() ([]byte, error)

type AzureStorageContainer

type AzureStorageContainer struct {
	AcquireStorageAccountLock *AcquireStorageAccountLock `json:"acquireStorageAccountLock,omitempty"`
	ProtectedItemCount        *int64                     `json:"protectedItemCount,omitempty"`
	ResourceGroup             *string                    `json:"resourceGroup,omitempty"`
	SourceResourceId          *string                    `json:"sourceResourceId,omitempty"`
	StorageAccountVersion     *string                    `json:"storageAccountVersion,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureStorageContainer) MarshalJSON

func (s AzureStorageContainer) MarshalJSON() ([]byte, error)

type AzureVMAppContainerProtectionContainer

type AzureVMAppContainerProtectionContainer struct {
	ExtendedInfo     *AzureWorkloadContainerExtendedInfo `json:"extendedInfo,omitempty"`
	LastUpdatedTime  *string                             `json:"lastUpdatedTime,omitempty"`
	OperationType    *OperationType                      `json:"operationType,omitempty"`
	SourceResourceId *string                             `json:"sourceResourceId,omitempty"`
	WorkloadType     *WorkloadType                       `json:"workloadType,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureVMAppContainerProtectionContainer) MarshalJSON

func (s AzureVMAppContainerProtectionContainer) MarshalJSON() ([]byte, error)

type AzureWorkloadContainer

type AzureWorkloadContainer struct {
	ExtendedInfo     *AzureWorkloadContainerExtendedInfo `json:"extendedInfo,omitempty"`
	LastUpdatedTime  *string                             `json:"lastUpdatedTime,omitempty"`
	OperationType    *OperationType                      `json:"operationType,omitempty"`
	SourceResourceId *string                             `json:"sourceResourceId,omitempty"`
	WorkloadType     *WorkloadType                       `json:"workloadType,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (AzureWorkloadContainer) MarshalJSON

func (s AzureWorkloadContainer) MarshalJSON() ([]byte, error)

type AzureWorkloadContainerExtendedInfo

type AzureWorkloadContainerExtendedInfo struct {
	HostServerName *string                 `json:"hostServerName,omitempty"`
	InquiryInfo    *InquiryInfo            `json:"inquiryInfo,omitempty"`
	NodesList      *[]DistributedNodesInfo `json:"nodesList,omitempty"`
}

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) FromParseResult

func (id *BackupFabricId) FromParseResult(input resourceids.ParseResult) error

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 BackupItemType

type BackupItemType string
const (
	BackupItemTypeAzureFileShare    BackupItemType = "AzureFileShare"
	BackupItemTypeAzureSqlDb        BackupItemType = "AzureSqlDb"
	BackupItemTypeClient            BackupItemType = "Client"
	BackupItemTypeExchange          BackupItemType = "Exchange"
	BackupItemTypeFileFolder        BackupItemType = "FileFolder"
	BackupItemTypeGenericDataSource BackupItemType = "GenericDataSource"
	BackupItemTypeInvalid           BackupItemType = "Invalid"
	BackupItemTypeSAPAseDatabase    BackupItemType = "SAPAseDatabase"
	BackupItemTypeSAPHanaDBInstance BackupItemType = "SAPHanaDBInstance"
	BackupItemTypeSAPHanaDatabase   BackupItemType = "SAPHanaDatabase"
	BackupItemTypeSQLDB             BackupItemType = "SQLDB"
	BackupItemTypeSQLDataBase       BackupItemType = "SQLDataBase"
	BackupItemTypeSharepoint        BackupItemType = "Sharepoint"
	BackupItemTypeSystemState       BackupItemType = "SystemState"
	BackupItemTypeVM                BackupItemType = "VM"
	BackupItemTypeVMwareVM          BackupItemType = "VMwareVM"
)

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 ContainerIdentityInfo

type ContainerIdentityInfo struct {
	AadTenantId              *string `json:"aadTenantId,omitempty"`
	Audience                 *string `json:"audience,omitempty"`
	ServicePrincipalClientId *string `json:"servicePrincipalClientId,omitempty"`
	UniqueName               *string `json:"uniqueName,omitempty"`
}

type DPMContainerExtendedInfo

type DPMContainerExtendedInfo struct {
	LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"`
}

func (*DPMContainerExtendedInfo) GetLastRefreshedAtAsTime

func (o *DPMContainerExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)

func (*DPMContainerExtendedInfo) SetLastRefreshedAtAsTime

func (o *DPMContainerExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)

type DistributedNodesInfo

type DistributedNodesInfo struct {
	ErrorDetail *ErrorDetail `json:"errorDetail,omitempty"`
	NodeName    *string      `json:"nodeName,omitempty"`
	Status      *string      `json:"status,omitempty"`
}

type DpmContainer

type DpmContainer struct {
	CanReRegister      *bool                     `json:"canReRegister,omitempty"`
	ContainerId        *string                   `json:"containerId,omitempty"`
	DpmAgentVersion    *string                   `json:"dpmAgentVersion,omitempty"`
	DpmServers         *[]string                 `json:"dpmServers,omitempty"`
	ExtendedInfo       *DPMContainerExtendedInfo `json:"extendedInfo,omitempty"`
	ProtectedItemCount *int64                    `json:"protectedItemCount,omitempty"`
	ProtectionStatus   *string                   `json:"protectionStatus,omitempty"`
	UpgradeAvailable   *bool                     `json:"upgradeAvailable,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (DpmContainer) MarshalJSON

func (s DpmContainer) MarshalJSON() ([]byte, error)

type ErrorDetail

type ErrorDetail struct {
	Code            *string   `json:"code,omitempty"`
	Message         *string   `json:"message,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

type GenericContainer

type GenericContainer struct {
	ExtendedInformation *GenericContainerExtendedInfo `json:"extendedInformation,omitempty"`
	FabricName          *string                       `json:"fabricName,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (GenericContainer) MarshalJSON

func (s GenericContainer) MarshalJSON() ([]byte, error)

type GenericContainerExtendedInfo

type GenericContainerExtendedInfo struct {
	ContainerIdentityInfo *ContainerIdentityInfo `json:"containerIdentityInfo,omitempty"`
	RawCertData           *string                `json:"rawCertData,omitempty"`
	ServiceEndpoints      *map[string]string     `json:"serviceEndpoints,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ProtectionContainerResource
}

type IaaSVMContainer

type IaaSVMContainer struct {
	ResourceGroup         *string `json:"resourceGroup,omitempty"`
	VirtualMachineId      *string `json:"virtualMachineId,omitempty"`
	VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (IaaSVMContainer) MarshalJSON

func (s IaaSVMContainer) MarshalJSON() ([]byte, error)

type InquireOperationOptions

type InquireOperationOptions struct {
	Filter *string
}

func DefaultInquireOperationOptions

func DefaultInquireOperationOptions() InquireOperationOptions

type InquireOperationResponse

type InquireOperationResponse struct {
	HttpResponse *http.Response
}

type InquiryInfo

type InquiryInfo struct {
	ErrorDetail    *ErrorDetail              `json:"errorDetail,omitempty"`
	InquiryDetails *[]WorkloadInquiryDetails `json:"inquiryDetails,omitempty"`
	Status         *string                   `json:"status,omitempty"`
}

type InquiryValidation

type InquiryValidation struct {
	AdditionalDetail     *string      `json:"additionalDetail,omitempty"`
	ErrorDetail          *ErrorDetail `json:"errorDetail,omitempty"`
	ProtectableItemCount *interface{} `json:"protectableItemCount,omitempty"`
	Status               *string      `json:"status,omitempty"`
}

type MABContainerHealthDetails

type MABContainerHealthDetails struct {
	Code            *int64    `json:"code,omitempty"`
	Message         *string   `json:"message,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
	Title           *string   `json:"title,omitempty"`
}

type MabContainer

type MabContainer struct {
	AgentVersion              *string                      `json:"agentVersion,omitempty"`
	CanReRegister             *bool                        `json:"canReRegister,omitempty"`
	ContainerHealthState      *string                      `json:"containerHealthState,omitempty"`
	ContainerId               *int64                       `json:"containerId,omitempty"`
	ExtendedInfo              *MabContainerExtendedInfo    `json:"extendedInfo,omitempty"`
	MabContainerHealthDetails *[]MABContainerHealthDetails `json:"mabContainerHealthDetails,omitempty"`
	ProtectedItemCount        *int64                       `json:"protectedItemCount,omitempty"`

	// Fields inherited from ProtectionContainer
	BackupManagementType  *BackupManagementType `json:"backupManagementType,omitempty"`
	FriendlyName          *string               `json:"friendlyName,omitempty"`
	HealthStatus          *string               `json:"healthStatus,omitempty"`
	ProtectableObjectType *string               `json:"protectableObjectType,omitempty"`
	RegistrationStatus    *string               `json:"registrationStatus,omitempty"`
}

func (MabContainer) MarshalJSON

func (s MabContainer) MarshalJSON() ([]byte, error)

type MabContainerExtendedInfo

type MabContainerExtendedInfo struct {
	BackupItemType   *BackupItemType `json:"backupItemType,omitempty"`
	BackupItems      *[]string       `json:"backupItems,omitempty"`
	LastBackupStatus *string         `json:"lastBackupStatus,omitempty"`
	LastRefreshedAt  *string         `json:"lastRefreshedAt,omitempty"`
	PolicyName       *string         `json:"policyName,omitempty"`
}

func (*MabContainerExtendedInfo) GetLastRefreshedAtAsTime

func (o *MabContainerExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)

func (*MabContainerExtendedInfo) SetLastRefreshedAtAsTime

func (o *MabContainerExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)

type OperationType

type OperationType string
const (
	OperationTypeInvalid    OperationType = "Invalid"
	OperationTypeRegister   OperationType = "Register"
	OperationTypeReregister OperationType = "Reregister"
)

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 ProtectionContainer

type ProtectionContainer interface {
}

type ProtectionContainerId

type ProtectionContainerId struct {
	SubscriptionId          string
	ResourceGroupName       string
	VaultName               string
	BackupFabricName        string
	ProtectionContainerName string
}

ProtectionContainerId is a struct representing the Resource ID for a Protection Container

func NewProtectionContainerID

func NewProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string) ProtectionContainerId

NewProtectionContainerID returns a new ProtectionContainerId struct

func ParseProtectionContainerID

func ParseProtectionContainerID(input string) (*ProtectionContainerId, error)

ParseProtectionContainerID parses 'input' into a ProtectionContainerId

func ParseProtectionContainerIDInsensitively

func ParseProtectionContainerIDInsensitively(input string) (*ProtectionContainerId, error)

ParseProtectionContainerIDInsensitively parses 'input' case-insensitively into a ProtectionContainerId note: this method should only be used for API response data and not user input

func (*ProtectionContainerId) FromParseResult

func (id *ProtectionContainerId) FromParseResult(input resourceids.ParseResult) error

func (ProtectionContainerId) ID

func (id ProtectionContainerId) ID() string

ID returns the formatted Protection Container ID

func (ProtectionContainerId) Segments

func (id ProtectionContainerId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Protection Container ID

func (ProtectionContainerId) String

func (id ProtectionContainerId) String() string

String returns a human-readable description of this Protection Container ID

type ProtectionContainerResource

type ProtectionContainerResource struct {
	ETag       *string             `json:"eTag,omitempty"`
	Id         *string             `json:"id,omitempty"`
	Location   *string             `json:"location,omitempty"`
	Name       *string             `json:"name,omitempty"`
	Properties ProtectionContainer `json:"properties"`
	Tags       *map[string]string  `json:"tags,omitempty"`
	Type       *string             `json:"type,omitempty"`
}

func (*ProtectionContainerResource) UnmarshalJSON

func (s *ProtectionContainerResource) UnmarshalJSON(bytes []byte) error

type ProtectionContainersClient

type ProtectionContainersClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewProtectionContainersClientWithBaseURI

func NewProtectionContainersClientWithBaseURI(endpoint string) ProtectionContainersClient

func (ProtectionContainersClient) Get

Get ...

func (ProtectionContainersClient) Inquire

Inquire ...

func (ProtectionContainersClient) Refresh

Refresh ...

func (ProtectionContainersClient) Register

Register ...

func (ProtectionContainersClient) Unregister

Unregister ...

type RawProtectionContainerImpl

type RawProtectionContainerImpl struct {
	Type   string
	Values map[string]interface{}
}

RawProtectionContainerImpl 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 RefreshOperationOptions

type RefreshOperationOptions struct {
	Filter *string
}

func DefaultRefreshOperationOptions

func DefaultRefreshOperationOptions() RefreshOperationOptions

type RefreshOperationResponse

type RefreshOperationResponse struct {
	HttpResponse *http.Response
}

type RegisterOperationResponse

type RegisterOperationResponse struct {
	HttpResponse *http.Response
	Model        *ProtectionContainerResource
}

type UnregisterOperationResponse

type UnregisterOperationResponse struct {
	HttpResponse *http.Response
}

type WorkloadInquiryDetails

type WorkloadInquiryDetails struct {
	InquiryValidation *InquiryValidation `json:"inquiryValidation,omitempty"`
	ItemCount         *int64             `json:"itemCount,omitempty"`
	Type              *string            `json:"type,omitempty"`
}

type WorkloadType

type WorkloadType string
const (
	WorkloadTypeAzureFileShare    WorkloadType = "AzureFileShare"
	WorkloadTypeAzureSqlDb        WorkloadType = "AzureSqlDb"
	WorkloadTypeClient            WorkloadType = "Client"
	WorkloadTypeExchange          WorkloadType = "Exchange"
	WorkloadTypeFileFolder        WorkloadType = "FileFolder"
	WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource"
	WorkloadTypeInvalid           WorkloadType = "Invalid"
	WorkloadTypeSAPAseDatabase    WorkloadType = "SAPAseDatabase"
	WorkloadTypeSAPHanaDBInstance WorkloadType = "SAPHanaDBInstance"
	WorkloadTypeSAPHanaDatabase   WorkloadType = "SAPHanaDatabase"
	WorkloadTypeSQLDB             WorkloadType = "SQLDB"
	WorkloadTypeSQLDataBase       WorkloadType = "SQLDataBase"
	WorkloadTypeSharepoint        WorkloadType = "Sharepoint"
	WorkloadTypeSystemState       WorkloadType = "SystemState"
	WorkloadTypeVM                WorkloadType = "VM"
	WorkloadTypeVMwareVM          WorkloadType = "VMwareVM"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL