backupprotectioncontainers

package
v0.20231113.1151754 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-06-01/backupprotectioncontainers Documentation

The backupprotectioncontainers SDK allows for interaction with the Azure Resource Manager Service recoveryservicesbackup (API Version 2023-06-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-06-01/backupprotectioncontainers"

Client Initialization

client := backupprotectioncontainers.NewBackupProtectionContainersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BackupProtectionContainersClient.List

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

// alternatively `client.List(ctx, id, backupprotectioncontainers.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, backupprotectioncontainers.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

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 ValidateVaultID

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

ValidateVaultID checks that 'input' can be parsed as a Vault 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 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 BackupProtectionContainersClient

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

func NewBackupProtectionContainersClientWithBaseURI

func NewBackupProtectionContainersClientWithBaseURI(endpoint string) BackupProtectionContainersClient

func (BackupProtectionContainersClient) List

List ...

func (BackupProtectionContainersClient) ListComplete

ListComplete retrieves all of the results into a single object

func (BackupProtectionContainersClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

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"`
	SourceResourceId *string      `json:"sourceResourceId,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 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 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 ListCompleteResult

type ListCompleteResult struct {
	Items []ProtectionContainerResource
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ProtectionContainerResource
	// 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 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 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 ProtectionContainerResourceOperationPredicate

type ProtectionContainerResourceOperationPredicate struct {
	ETag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ProtectionContainerResourceOperationPredicate) Matches

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 VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId

NewVaultID returns a new VaultId struct

func ParseVaultID

func ParseVaultID(input string) (*VaultId, error)

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

func ParseVaultIDInsensitively(input string) (*VaultId, error)

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

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Vault ID

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

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