replicationfabrics

package
v0.20230720.1124505 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2022-10-01/replicationfabrics Documentation

The replicationfabrics SDK allows for interaction with the Azure Resource Manager Service recoveryservicessiterecovery (API Version 2022-10-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/recoveryservicessiterecovery/2022-10-01/replicationfabrics"

Client Initialization

client := replicationfabrics.NewReplicationFabricsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationFabricsClient.CheckConsistency

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

if err := client.CheckConsistencyThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ReplicationFabricsClient.Create

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

payload := replicationfabrics.FabricCreationInput{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ReplicationFabricsClient.Delete

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

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ReplicationFabricsClient.Get

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

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

Example Usage: ReplicationFabricsClient.List

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

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

Example Usage: ReplicationFabricsClient.MigrateToAad

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

if err := client.MigrateToAadThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ReplicationFabricsClient.Purge

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

if err := client.PurgeThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ReplicationFabricsClient.ReassociateGateway

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

payload := replicationfabrics.FailoverProcessServerRequest{
	// ...
}


if err := client.ReassociateGatewayThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ReplicationFabricsClient.RenewCertificate

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

payload := replicationfabrics.RenewCertificateInput{
	// ...
}


if err := client.RenewCertificateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAgentVersionStatus

func PossibleValuesForAgentVersionStatus() []string

func PossibleValuesForHealthErrorCustomerResolvability

func PossibleValuesForHealthErrorCustomerResolvability() []string

func PossibleValuesForProtectionHealth

func PossibleValuesForProtectionHealth() []string

func PossibleValuesForRcmComponentStatus

func PossibleValuesForRcmComponentStatus() []string

func ValidateReplicationFabricID

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

ValidateReplicationFabricID checks that 'input' can be parsed as a Replication Fabric ID

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 A2AExtendedLocationDetails

type A2AExtendedLocationDetails struct {
	PrimaryExtendedLocation  *edgezones.Model `json:"primaryExtendedLocation,omitempty"`
	RecoveryExtendedLocation *edgezones.Model `json:"recoveryExtendedLocation,omitempty"`
}

type A2AZoneDetails

type A2AZoneDetails struct {
	Source *string `json:"source,omitempty"`
	Target *string `json:"target,omitempty"`
}

type AgentDetails

type AgentDetails struct {
	AgentId   *string             `json:"agentId,omitempty"`
	BiosId    *string             `json:"biosId,omitempty"`
	Disks     *[]AgentDiskDetails `json:"disks,omitempty"`
	Fqdn      *string             `json:"fqdn,omitempty"`
	MachineId *string             `json:"machineId,omitempty"`
}

type AgentDiskDetails

type AgentDiskDetails struct {
	CapacityInBytes *int64  `json:"capacityInBytes,omitempty"`
	DiskId          *string `json:"diskId,omitempty"`
	DiskName        *string `json:"diskName,omitempty"`
	IsOSDisk        *string `json:"isOSDisk,omitempty"`
	LunId           *int64  `json:"lunId,omitempty"`
}

type AgentVersionStatus

type AgentVersionStatus string
const (
	AgentVersionStatusDeprecated             AgentVersionStatus = "Deprecated"
	AgentVersionStatusNotSupported           AgentVersionStatus = "NotSupported"
	AgentVersionStatusSecurityUpdateRequired AgentVersionStatus = "SecurityUpdateRequired"
	AgentVersionStatusSupported              AgentVersionStatus = "Supported"
	AgentVersionStatusUpdateRequired         AgentVersionStatus = "UpdateRequired"
)

type AzureFabricCreationInput

type AzureFabricCreationInput struct {
	Location *string `json:"location,omitempty"`
}

func (AzureFabricCreationInput) MarshalJSON

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

type AzureFabricSpecificDetails

type AzureFabricSpecificDetails struct {
	ContainerIds      *[]string                     `json:"containerIds,omitempty"`
	ExtendedLocations *[]A2AExtendedLocationDetails `json:"extendedLocations,omitempty"`
	Location          *string                       `json:"location,omitempty"`
	Zones             *[]A2AZoneDetails             `json:"zones,omitempty"`
}

func (AzureFabricSpecificDetails) MarshalJSON

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

type CheckConsistencyOperationResponse

type CheckConsistencyOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DataStore

type DataStore struct {
	Capacity     *string `json:"capacity,omitempty"`
	FreeSpace    *string `json:"freeSpace,omitempty"`
	SymbolicName *string `json:"symbolicName,omitempty"`
	Type         *string `json:"type,omitempty"`
	Uuid         *string `json:"uuid,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DraDetails

type DraDetails struct {
	BiosId                    *string           `json:"biosId,omitempty"`
	ForwardProtectedItemCount *int64            `json:"forwardProtectedItemCount,omitempty"`
	Health                    *ProtectionHealth `json:"health,omitempty"`
	HealthErrors              *[]HealthError    `json:"healthErrors,omitempty"`
	Id                        *string           `json:"id,omitempty"`
	LastHeartbeatUtc          *string           `json:"lastHeartbeatUtc,omitempty"`
	Name                      *string           `json:"name,omitempty"`
	ReverseProtectedItemCount *int64            `json:"reverseProtectedItemCount,omitempty"`
	Version                   *string           `json:"version,omitempty"`
}

func (*DraDetails) GetLastHeartbeatUtcAsTime

func (o *DraDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*DraDetails) SetLastHeartbeatUtcAsTime

func (o *DraDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type EncryptionDetails

type EncryptionDetails struct {
	KekCertExpiryDate *string `json:"kekCertExpiryDate,omitempty"`
	KekCertThumbprint *string `json:"kekCertThumbprint,omitempty"`
	KekState          *string `json:"kekState,omitempty"`
}

func (*EncryptionDetails) GetKekCertExpiryDateAsTime

func (o *EncryptionDetails) GetKekCertExpiryDateAsTime() (*time.Time, error)

func (*EncryptionDetails) SetKekCertExpiryDateAsTime

func (o *EncryptionDetails) SetKekCertExpiryDateAsTime(input time.Time)

type Fabric

type Fabric struct {
	Id         *string           `json:"id,omitempty"`
	Location   *string           `json:"location,omitempty"`
	Name       *string           `json:"name,omitempty"`
	Properties *FabricProperties `json:"properties,omitempty"`
	Type       *string           `json:"type,omitempty"`
}

type FabricCreationInput

type FabricCreationInput struct {
	Properties *FabricCreationInputProperties `json:"properties,omitempty"`
}

type FabricCreationInputProperties

type FabricCreationInputProperties struct {
	CustomDetails FabricSpecificCreationInput `json:"customDetails"`
}

func (*FabricCreationInputProperties) UnmarshalJSON

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

type FabricOperationPredicate

type FabricOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (FabricOperationPredicate) Matches

func (p FabricOperationPredicate) Matches(input Fabric) bool

type FabricProperties

type FabricProperties struct {
	BcdrState                 *string               `json:"bcdrState,omitempty"`
	CustomDetails             FabricSpecificDetails `json:"customDetails"`
	EncryptionDetails         *EncryptionDetails    `json:"encryptionDetails,omitempty"`
	FriendlyName              *string               `json:"friendlyName,omitempty"`
	Health                    *string               `json:"health,omitempty"`
	HealthErrorDetails        *[]HealthError        `json:"healthErrorDetails,omitempty"`
	InternalIdentifier        *string               `json:"internalIdentifier,omitempty"`
	RolloverEncryptionDetails *EncryptionDetails    `json:"rolloverEncryptionDetails,omitempty"`
}

func (*FabricProperties) UnmarshalJSON

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

type FabricSpecificCreationInput

type FabricSpecificCreationInput interface {
}

type FabricSpecificDetails

type FabricSpecificDetails interface {
}

type FailoverProcessServerRequest

type FailoverProcessServerRequest struct {
	Properties *FailoverProcessServerRequestProperties `json:"properties,omitempty"`
}

type FailoverProcessServerRequestProperties

type FailoverProcessServerRequestProperties struct {
	ContainerName         *string   `json:"containerName,omitempty"`
	SourceProcessServerId *string   `json:"sourceProcessServerId,omitempty"`
	TargetProcessServerId *string   `json:"targetProcessServerId,omitempty"`
	UpdateType            *string   `json:"updateType,omitempty"`
	VMsToMigrate          *[]string `json:"vmsToMigrate,omitempty"`
}

type GetOperationOptions

type GetOperationOptions struct {
	Filter *string
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

type GetOperationResponse

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

type HealthError

type HealthError struct {
	CreationTimeUtc              *string                           `json:"creationTimeUtc,omitempty"`
	CustomerResolvability        *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"`
	EntityId                     *string                           `json:"entityId,omitempty"`
	ErrorCategory                *string                           `json:"errorCategory,omitempty"`
	ErrorCode                    *string                           `json:"errorCode,omitempty"`
	ErrorId                      *string                           `json:"errorId,omitempty"`
	ErrorLevel                   *string                           `json:"errorLevel,omitempty"`
	ErrorMessage                 *string                           `json:"errorMessage,omitempty"`
	ErrorSource                  *string                           `json:"errorSource,omitempty"`
	ErrorType                    *string                           `json:"errorType,omitempty"`
	InnerHealthErrors            *[]InnerHealthError               `json:"innerHealthErrors,omitempty"`
	PossibleCauses               *string                           `json:"possibleCauses,omitempty"`
	RecommendedAction            *string                           `json:"recommendedAction,omitempty"`
	RecoveryProviderErrorMessage *string                           `json:"recoveryProviderErrorMessage,omitempty"`
	SummaryMessage               *string                           `json:"summaryMessage,omitempty"`
}

func (*HealthError) GetCreationTimeUtcAsTime

func (o *HealthError) GetCreationTimeUtcAsTime() (*time.Time, error)

func (*HealthError) SetCreationTimeUtcAsTime

func (o *HealthError) SetCreationTimeUtcAsTime(input time.Time)

type HealthErrorCustomerResolvability

type HealthErrorCustomerResolvability string
const (
	HealthErrorCustomerResolvabilityAllowed    HealthErrorCustomerResolvability = "Allowed"
	HealthErrorCustomerResolvabilityNotAllowed HealthErrorCustomerResolvability = "NotAllowed"
)

type HyperVHostDetails

type HyperVHostDetails struct {
	Id               *string `json:"id,omitempty"`
	MarsAgentVersion *string `json:"marsAgentVersion,omitempty"`
	Name             *string `json:"name,omitempty"`
}

type HyperVSiteDetails

type HyperVSiteDetails struct {
	HyperVHosts *[]HyperVHostDetails `json:"hyperVHosts,omitempty"`
}

func (HyperVSiteDetails) MarshalJSON

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

type IdentityProviderDetails

type IdentityProviderDetails struct {
	AadAuthority  *string `json:"aadAuthority,omitempty"`
	ApplicationId *string `json:"applicationId,omitempty"`
	Audience      *string `json:"audience,omitempty"`
	ObjectId      *string `json:"objectId,omitempty"`
	TenantId      *string `json:"tenantId,omitempty"`
}

type IdentityProviderInput

type IdentityProviderInput struct {
	AadAuthority  string `json:"aadAuthority"`
	ApplicationId string `json:"applicationId"`
	Audience      string `json:"audience"`
	ObjectId      string `json:"objectId"`
	TenantId      string `json:"tenantId"`
}

type InMageFabricSwitchProviderBlockingErrorDetails

type InMageFabricSwitchProviderBlockingErrorDetails struct {
	ErrorCode              *string            `json:"errorCode,omitempty"`
	ErrorMessage           *string            `json:"errorMessage,omitempty"`
	ErrorMessageParameters *map[string]string `json:"errorMessageParameters,omitempty"`
	ErrorTags              *map[string]string `json:"errorTags,omitempty"`
	PossibleCauses         *string            `json:"possibleCauses,omitempty"`
	RecommendedAction      *string            `json:"recommendedAction,omitempty"`
}

type InMageRcmFabricCreationInput

type InMageRcmFabricCreationInput struct {
	PhysicalSiteId      string                `json:"physicalSiteId"`
	SourceAgentIdentity IdentityProviderInput `json:"sourceAgentIdentity"`
	VMwareSiteId        string                `json:"vmwareSiteId"`
}

func (InMageRcmFabricCreationInput) MarshalJSON

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

type InMageRcmFabricSpecificDetails

type InMageRcmFabricSpecificDetails struct {
	AgentDetails               *[]AgentDetails            `json:"agentDetails,omitempty"`
	ControlPlaneUri            *string                    `json:"controlPlaneUri,omitempty"`
	DataPlaneUri               *string                    `json:"dataPlaneUri,omitempty"`
	Dras                       *[]DraDetails              `json:"dras,omitempty"`
	MarsAgents                 *[]MarsAgentDetails        `json:"marsAgents,omitempty"`
	PhysicalSiteId             *string                    `json:"physicalSiteId,omitempty"`
	ProcessServers             *[]ProcessServerDetails    `json:"processServers,omitempty"`
	PushInstallers             *[]PushInstallerDetails    `json:"pushInstallers,omitempty"`
	RcmProxies                 *[]RcmProxyDetails         `json:"rcmProxies,omitempty"`
	ReplicationAgents          *[]ReplicationAgentDetails `json:"replicationAgents,omitempty"`
	ReprotectAgents            *[]ReprotectAgentDetails   `json:"reprotectAgents,omitempty"`
	ServiceContainerId         *string                    `json:"serviceContainerId,omitempty"`
	ServiceEndpoint            *string                    `json:"serviceEndpoint,omitempty"`
	ServiceResourceId          *string                    `json:"serviceResourceId,omitempty"`
	SourceAgentIdentityDetails *IdentityProviderDetails   `json:"sourceAgentIdentityDetails,omitempty"`
	VMwareSiteId               *string                    `json:"vmwareSiteId,omitempty"`
}

func (InMageRcmFabricSpecificDetails) MarshalJSON

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

type InnerHealthError

type InnerHealthError struct {
	CreationTimeUtc              *string                           `json:"creationTimeUtc,omitempty"`
	CustomerResolvability        *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"`
	EntityId                     *string                           `json:"entityId,omitempty"`
	ErrorCategory                *string                           `json:"errorCategory,omitempty"`
	ErrorCode                    *string                           `json:"errorCode,omitempty"`
	ErrorId                      *string                           `json:"errorId,omitempty"`
	ErrorLevel                   *string                           `json:"errorLevel,omitempty"`
	ErrorMessage                 *string                           `json:"errorMessage,omitempty"`
	ErrorSource                  *string                           `json:"errorSource,omitempty"`
	ErrorType                    *string                           `json:"errorType,omitempty"`
	PossibleCauses               *string                           `json:"possibleCauses,omitempty"`
	RecommendedAction            *string                           `json:"recommendedAction,omitempty"`
	RecoveryProviderErrorMessage *string                           `json:"recoveryProviderErrorMessage,omitempty"`
	SummaryMessage               *string                           `json:"summaryMessage,omitempty"`
}

func (*InnerHealthError) GetCreationTimeUtcAsTime

func (o *InnerHealthError) GetCreationTimeUtcAsTime() (*time.Time, error)

func (*InnerHealthError) SetCreationTimeUtcAsTime

func (o *InnerHealthError) SetCreationTimeUtcAsTime(input time.Time)

type ListCompleteResult

type ListCompleteResult struct {
	Items []Fabric
}

type ListOperationResponse

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

type MarsAgentDetails struct {
	BiosId           *string           `json:"biosId,omitempty"`
	FabricObjectId   *string           `json:"fabricObjectId,omitempty"`
	Fqdn             *string           `json:"fqdn,omitempty"`
	Health           *ProtectionHealth `json:"health,omitempty"`
	HealthErrors     *[]HealthError    `json:"healthErrors,omitempty"`
	Id               *string           `json:"id,omitempty"`
	LastHeartbeatUtc *string           `json:"lastHeartbeatUtc,omitempty"`
	Name             *string           `json:"name,omitempty"`
	Version          *string           `json:"version,omitempty"`
}

func (*MarsAgentDetails) GetLastHeartbeatUtcAsTime

func (o *MarsAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*MarsAgentDetails) SetLastHeartbeatUtcAsTime

func (o *MarsAgentDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type MasterTargetServer

type MasterTargetServer struct {
	AgentExpiryDate         *string            `json:"agentExpiryDate,omitempty"`
	AgentVersion            *string            `json:"agentVersion,omitempty"`
	AgentVersionDetails     *VersionDetails    `json:"agentVersionDetails,omitempty"`
	DataStores              *[]DataStore       `json:"dataStores,omitempty"`
	DiskCount               *int64             `json:"diskCount,omitempty"`
	HealthErrors            *[]HealthError     `json:"healthErrors,omitempty"`
	IPAddress               *string            `json:"ipAddress,omitempty"`
	Id                      *string            `json:"id,omitempty"`
	LastHeartbeat           *string            `json:"lastHeartbeat,omitempty"`
	MarsAgentExpiryDate     *string            `json:"marsAgentExpiryDate,omitempty"`
	MarsAgentVersion        *string            `json:"marsAgentVersion,omitempty"`
	MarsAgentVersionDetails *VersionDetails    `json:"marsAgentVersionDetails,omitempty"`
	Name                    *string            `json:"name,omitempty"`
	OsType                  *string            `json:"osType,omitempty"`
	OsVersion               *string            `json:"osVersion,omitempty"`
	RetentionVolumes        *[]RetentionVolume `json:"retentionVolumes,omitempty"`
	ValidationErrors        *[]HealthError     `json:"validationErrors,omitempty"`
	VersionStatus           *string            `json:"versionStatus,omitempty"`
}

func (*MasterTargetServer) GetAgentExpiryDateAsTime

func (o *MasterTargetServer) GetAgentExpiryDateAsTime() (*time.Time, error)

func (*MasterTargetServer) GetLastHeartbeatAsTime

func (o *MasterTargetServer) GetLastHeartbeatAsTime() (*time.Time, error)

func (*MasterTargetServer) GetMarsAgentExpiryDateAsTime

func (o *MasterTargetServer) GetMarsAgentExpiryDateAsTime() (*time.Time, error)

func (*MasterTargetServer) SetAgentExpiryDateAsTime

func (o *MasterTargetServer) SetAgentExpiryDateAsTime(input time.Time)

func (*MasterTargetServer) SetLastHeartbeatAsTime

func (o *MasterTargetServer) SetLastHeartbeatAsTime(input time.Time)

func (*MasterTargetServer) SetMarsAgentExpiryDateAsTime

func (o *MasterTargetServer) SetMarsAgentExpiryDateAsTime(input time.Time)

type MigrateToAadOperationResponse

type MigrateToAadOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type MobilityServiceUpdate

type MobilityServiceUpdate struct {
	OsType       *string `json:"osType,omitempty"`
	RebootStatus *string `json:"rebootStatus,omitempty"`
	Version      *string `json:"version,omitempty"`
}

type ProcessServer

type ProcessServer struct {
	AgentExpiryDate                    *string                  `json:"agentExpiryDate,omitempty"`
	AgentVersion                       *string                  `json:"agentVersion,omitempty"`
	AgentVersionDetails                *VersionDetails          `json:"agentVersionDetails,omitempty"`
	AvailableMemoryInBytes             *int64                   `json:"availableMemoryInBytes,omitempty"`
	AvailableSpaceInBytes              *int64                   `json:"availableSpaceInBytes,omitempty"`
	CpuLoad                            *string                  `json:"cpuLoad,omitempty"`
	CpuLoadStatus                      *string                  `json:"cpuLoadStatus,omitempty"`
	FriendlyName                       *string                  `json:"friendlyName,omitempty"`
	Health                             *ProtectionHealth        `json:"health,omitempty"`
	HealthErrors                       *[]HealthError           `json:"healthErrors,omitempty"`
	HostId                             *string                  `json:"hostId,omitempty"`
	IPAddress                          *string                  `json:"ipAddress,omitempty"`
	Id                                 *string                  `json:"id,omitempty"`
	LastHeartbeat                      *string                  `json:"lastHeartbeat,omitempty"`
	MachineCount                       *string                  `json:"machineCount,omitempty"`
	MarsCommunicationStatus            *string                  `json:"marsCommunicationStatus,omitempty"`
	MarsRegistrationStatus             *string                  `json:"marsRegistrationStatus,omitempty"`
	MemoryUsageStatus                  *string                  `json:"memoryUsageStatus,omitempty"`
	MobilityServiceUpdates             *[]MobilityServiceUpdate `json:"mobilityServiceUpdates,omitempty"`
	OsType                             *string                  `json:"osType,omitempty"`
	OsVersion                          *string                  `json:"osVersion,omitempty"`
	PsServiceStatus                    *string                  `json:"psServiceStatus,omitempty"`
	PsStatsRefreshTime                 *string                  `json:"psStatsRefreshTime,omitempty"`
	ReplicationPairCount               *string                  `json:"replicationPairCount,omitempty"`
	SpaceUsageStatus                   *string                  `json:"spaceUsageStatus,omitempty"`
	SslCertExpiryDate                  *string                  `json:"sslCertExpiryDate,omitempty"`
	SslCertExpiryRemainingDays         *int64                   `json:"sslCertExpiryRemainingDays,omitempty"`
	SystemLoad                         *string                  `json:"systemLoad,omitempty"`
	SystemLoadStatus                   *string                  `json:"systemLoadStatus,omitempty"`
	ThroughputInBytes                  *int64                   `json:"throughputInBytes,omitempty"`
	ThroughputInMBps                   *int64                   `json:"throughputInMBps,omitempty"`
	ThroughputStatus                   *string                  `json:"throughputStatus,omitempty"`
	ThroughputUploadPendingDataInBytes *int64                   `json:"throughputUploadPendingDataInBytes,omitempty"`
	TotalMemoryInBytes                 *int64                   `json:"totalMemoryInBytes,omitempty"`
	TotalSpaceInBytes                  *int64                   `json:"totalSpaceInBytes,omitempty"`
	VersionStatus                      *string                  `json:"versionStatus,omitempty"`
}

func (*ProcessServer) GetAgentExpiryDateAsTime

func (o *ProcessServer) GetAgentExpiryDateAsTime() (*time.Time, error)

func (*ProcessServer) GetLastHeartbeatAsTime

func (o *ProcessServer) GetLastHeartbeatAsTime() (*time.Time, error)

func (*ProcessServer) GetPsStatsRefreshTimeAsTime

func (o *ProcessServer) GetPsStatsRefreshTimeAsTime() (*time.Time, error)

func (*ProcessServer) GetSslCertExpiryDateAsTime

func (o *ProcessServer) GetSslCertExpiryDateAsTime() (*time.Time, error)

func (*ProcessServer) SetAgentExpiryDateAsTime

func (o *ProcessServer) SetAgentExpiryDateAsTime(input time.Time)

func (*ProcessServer) SetLastHeartbeatAsTime

func (o *ProcessServer) SetLastHeartbeatAsTime(input time.Time)

func (*ProcessServer) SetPsStatsRefreshTimeAsTime

func (o *ProcessServer) SetPsStatsRefreshTimeAsTime(input time.Time)

func (*ProcessServer) SetSslCertExpiryDateAsTime

func (o *ProcessServer) SetSslCertExpiryDateAsTime(input time.Time)

type ProcessServerDetails

type ProcessServerDetails struct {
	AvailableMemoryInBytes             *int64              `json:"availableMemoryInBytes,omitempty"`
	AvailableSpaceInBytes              *int64              `json:"availableSpaceInBytes,omitempty"`
	BiosId                             *string             `json:"biosId,omitempty"`
	DiskUsageStatus                    *RcmComponentStatus `json:"diskUsageStatus,omitempty"`
	FabricObjectId                     *string             `json:"fabricObjectId,omitempty"`
	Fqdn                               *string             `json:"fqdn,omitempty"`
	FreeSpacePercentage                *float64            `json:"freeSpacePercentage,omitempty"`
	Health                             *ProtectionHealth   `json:"health,omitempty"`
	HealthErrors                       *[]HealthError      `json:"healthErrors,omitempty"`
	HistoricHealth                     *ProtectionHealth   `json:"historicHealth,omitempty"`
	IPAddresses                        *[]string           `json:"ipAddresses,omitempty"`
	Id                                 *string             `json:"id,omitempty"`
	LastHeartbeatUtc                   *string             `json:"lastHeartbeatUtc,omitempty"`
	MemoryUsagePercentage              *float64            `json:"memoryUsagePercentage,omitempty"`
	MemoryUsageStatus                  *RcmComponentStatus `json:"memoryUsageStatus,omitempty"`
	Name                               *string             `json:"name,omitempty"`
	ProcessorUsagePercentage           *float64            `json:"processorUsagePercentage,omitempty"`
	ProcessorUsageStatus               *RcmComponentStatus `json:"processorUsageStatus,omitempty"`
	ProtectedItemCount                 *int64              `json:"protectedItemCount,omitempty"`
	SystemLoad                         *int64              `json:"systemLoad,omitempty"`
	SystemLoadStatus                   *RcmComponentStatus `json:"systemLoadStatus,omitempty"`
	ThroughputInBytes                  *int64              `json:"throughputInBytes,omitempty"`
	ThroughputStatus                   *RcmComponentStatus `json:"throughputStatus,omitempty"`
	ThroughputUploadPendingDataInBytes *int64              `json:"throughputUploadPendingDataInBytes,omitempty"`
	TotalMemoryInBytes                 *int64              `json:"totalMemoryInBytes,omitempty"`
	TotalSpaceInBytes                  *int64              `json:"totalSpaceInBytes,omitempty"`
	UsedMemoryInBytes                  *int64              `json:"usedMemoryInBytes,omitempty"`
	UsedSpaceInBytes                   *int64              `json:"usedSpaceInBytes,omitempty"`
	Version                            *string             `json:"version,omitempty"`
}

func (*ProcessServerDetails) GetLastHeartbeatUtcAsTime

func (o *ProcessServerDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*ProcessServerDetails) SetLastHeartbeatUtcAsTime

func (o *ProcessServerDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type ProtectionHealth

type ProtectionHealth string
const (
	ProtectionHealthCritical ProtectionHealth = "Critical"
	ProtectionHealthNone     ProtectionHealth = "None"
	ProtectionHealthNormal   ProtectionHealth = "Normal"
	ProtectionHealthWarning  ProtectionHealth = "Warning"
)

type PurgeOperationResponse

type PurgeOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type PushInstallerDetails

type PushInstallerDetails struct {
	BiosId           *string           `json:"biosId,omitempty"`
	FabricObjectId   *string           `json:"fabricObjectId,omitempty"`
	Fqdn             *string           `json:"fqdn,omitempty"`
	Health           *ProtectionHealth `json:"health,omitempty"`
	HealthErrors     *[]HealthError    `json:"healthErrors,omitempty"`
	Id               *string           `json:"id,omitempty"`
	LastHeartbeatUtc *string           `json:"lastHeartbeatUtc,omitempty"`
	Name             *string           `json:"name,omitempty"`
	Version          *string           `json:"version,omitempty"`
}

func (*PushInstallerDetails) GetLastHeartbeatUtcAsTime

func (o *PushInstallerDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*PushInstallerDetails) SetLastHeartbeatUtcAsTime

func (o *PushInstallerDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type RcmComponentStatus

type RcmComponentStatus string
const (
	RcmComponentStatusCritical RcmComponentStatus = "Critical"
	RcmComponentStatusHealthy  RcmComponentStatus = "Healthy"
	RcmComponentStatusUnknown  RcmComponentStatus = "Unknown"
	RcmComponentStatusWarning  RcmComponentStatus = "Warning"
)

type RcmProxyDetails

type RcmProxyDetails struct {
	BiosId                   *string           `json:"biosId,omitempty"`
	ClientAuthenticationType *string           `json:"clientAuthenticationType,omitempty"`
	FabricObjectId           *string           `json:"fabricObjectId,omitempty"`
	Fqdn                     *string           `json:"fqdn,omitempty"`
	Health                   *ProtectionHealth `json:"health,omitempty"`
	HealthErrors             *[]HealthError    `json:"healthErrors,omitempty"`
	Id                       *string           `json:"id,omitempty"`
	LastHeartbeatUtc         *string           `json:"lastHeartbeatUtc,omitempty"`
	Name                     *string           `json:"name,omitempty"`
	Version                  *string           `json:"version,omitempty"`
}

func (*RcmProxyDetails) GetLastHeartbeatUtcAsTime

func (o *RcmProxyDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*RcmProxyDetails) SetLastHeartbeatUtcAsTime

func (o *RcmProxyDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type ReassociateGatewayOperationResponse

type ReassociateGatewayOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RenewCertificateInput

type RenewCertificateInput struct {
	Properties *RenewCertificateInputProperties `json:"properties,omitempty"`
}

type RenewCertificateInputProperties

type RenewCertificateInputProperties struct {
	RenewCertificateType *string `json:"renewCertificateType,omitempty"`
}

type RenewCertificateOperationResponse

type RenewCertificateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ReplicationAgentDetails

type ReplicationAgentDetails struct {
	BiosId           *string           `json:"biosId,omitempty"`
	FabricObjectId   *string           `json:"fabricObjectId,omitempty"`
	Fqdn             *string           `json:"fqdn,omitempty"`
	Health           *ProtectionHealth `json:"health,omitempty"`
	HealthErrors     *[]HealthError    `json:"healthErrors,omitempty"`
	Id               *string           `json:"id,omitempty"`
	LastHeartbeatUtc *string           `json:"lastHeartbeatUtc,omitempty"`
	Name             *string           `json:"name,omitempty"`
	Version          *string           `json:"version,omitempty"`
}

func (*ReplicationAgentDetails) GetLastHeartbeatUtcAsTime

func (o *ReplicationAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*ReplicationAgentDetails) SetLastHeartbeatUtcAsTime

func (o *ReplicationAgentDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type ReplicationFabricId

type ReplicationFabricId struct {
	SubscriptionId        string
	ResourceGroupName     string
	VaultName             string
	ReplicationFabricName string
}

ReplicationFabricId is a struct representing the Resource ID for a Replication Fabric

func NewReplicationFabricID

func NewReplicationFabricID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string) ReplicationFabricId

NewReplicationFabricID returns a new ReplicationFabricId struct

func ParseReplicationFabricID

func ParseReplicationFabricID(input string) (*ReplicationFabricId, error)

ParseReplicationFabricID parses 'input' into a ReplicationFabricId

func ParseReplicationFabricIDInsensitively

func ParseReplicationFabricIDInsensitively(input string) (*ReplicationFabricId, error)

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

func (ReplicationFabricId) ID

func (id ReplicationFabricId) ID() string

ID returns the formatted Replication Fabric ID

func (ReplicationFabricId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Replication Fabric ID

func (ReplicationFabricId) String

func (id ReplicationFabricId) String() string

String returns a human-readable description of this Replication Fabric ID

type ReplicationFabricsClient

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

func NewReplicationFabricsClientWithBaseURI

func NewReplicationFabricsClientWithBaseURI(endpoint string) ReplicationFabricsClient

func (ReplicationFabricsClient) CheckConsistency

CheckConsistency ...

func (ReplicationFabricsClient) CheckConsistencyThenPoll

func (c ReplicationFabricsClient) CheckConsistencyThenPoll(ctx context.Context, id ReplicationFabricId) error

CheckConsistencyThenPoll performs CheckConsistency then polls until it's completed

func (ReplicationFabricsClient) Create

Create ...

func (ReplicationFabricsClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (ReplicationFabricsClient) Delete

Delete ...

func (ReplicationFabricsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ReplicationFabricsClient) Get

Get ...

func (ReplicationFabricsClient) List

List ...

func (ReplicationFabricsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (ReplicationFabricsClient) ListCompleteMatchingPredicate

func (c ReplicationFabricsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate FabricOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ReplicationFabricsClient) MigrateToAad

MigrateToAad ...

func (ReplicationFabricsClient) MigrateToAadThenPoll

func (c ReplicationFabricsClient) MigrateToAadThenPoll(ctx context.Context, id ReplicationFabricId) error

MigrateToAadThenPoll performs MigrateToAad then polls until it's completed

func (ReplicationFabricsClient) Purge

Purge ...

func (ReplicationFabricsClient) PurgeThenPoll

PurgeThenPoll performs Purge then polls until it's completed

func (ReplicationFabricsClient) ReassociateGateway

ReassociateGateway ...

func (ReplicationFabricsClient) ReassociateGatewayThenPoll

ReassociateGatewayThenPoll performs ReassociateGateway then polls until it's completed

func (ReplicationFabricsClient) RenewCertificate

RenewCertificate ...

func (ReplicationFabricsClient) RenewCertificateThenPoll

func (c ReplicationFabricsClient) RenewCertificateThenPoll(ctx context.Context, id ReplicationFabricId, input RenewCertificateInput) error

RenewCertificateThenPoll performs RenewCertificate then polls until it's completed

type ReprotectAgentDetails

type ReprotectAgentDetails struct {
	AccessibleDatastores *[]string         `json:"accessibleDatastores,omitempty"`
	BiosId               *string           `json:"biosId,omitempty"`
	FabricObjectId       *string           `json:"fabricObjectId,omitempty"`
	Fqdn                 *string           `json:"fqdn,omitempty"`
	Health               *ProtectionHealth `json:"health,omitempty"`
	HealthErrors         *[]HealthError    `json:"healthErrors,omitempty"`
	Id                   *string           `json:"id,omitempty"`
	LastDiscoveryInUtc   *string           `json:"lastDiscoveryInUtc,omitempty"`
	LastHeartbeatUtc     *string           `json:"lastHeartbeatUtc,omitempty"`
	Name                 *string           `json:"name,omitempty"`
	ProtectedItemCount   *int64            `json:"protectedItemCount,omitempty"`
	VcenterId            *string           `json:"vcenterId,omitempty"`
	Version              *string           `json:"version,omitempty"`
}

func (*ReprotectAgentDetails) GetLastDiscoveryInUtcAsTime

func (o *ReprotectAgentDetails) GetLastDiscoveryInUtcAsTime() (*time.Time, error)

func (*ReprotectAgentDetails) GetLastHeartbeatUtcAsTime

func (o *ReprotectAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*ReprotectAgentDetails) SetLastDiscoveryInUtcAsTime

func (o *ReprotectAgentDetails) SetLastDiscoveryInUtcAsTime(input time.Time)

func (*ReprotectAgentDetails) SetLastHeartbeatUtcAsTime

func (o *ReprotectAgentDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type RetentionVolume

type RetentionVolume struct {
	CapacityInBytes     *int64  `json:"capacityInBytes,omitempty"`
	FreeSpaceInBytes    *int64  `json:"freeSpaceInBytes,omitempty"`
	ThresholdPercentage *int64  `json:"thresholdPercentage,omitempty"`
	VolumeName          *string `json:"volumeName,omitempty"`
}

type RunAsAccount

type RunAsAccount struct {
	AccountId   *string `json:"accountId,omitempty"`
	AccountName *string `json:"accountName,omitempty"`
}

type VMmDetails added in v0.20221130.1084848

type VMmDetails struct {
}

func (VMmDetails) MarshalJSON added in v0.20221130.1084848

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

type VMwareDetails

type VMwareDetails struct {
	AgentCount                         *string                                           `json:"agentCount,omitempty"`
	AgentExpiryDate                    *string                                           `json:"agentExpiryDate,omitempty"`
	AgentVersion                       *string                                           `json:"agentVersion,omitempty"`
	AgentVersionDetails                *VersionDetails                                   `json:"agentVersionDetails,omitempty"`
	AvailableMemoryInBytes             *int64                                            `json:"availableMemoryInBytes,omitempty"`
	AvailableSpaceInBytes              *int64                                            `json:"availableSpaceInBytes,omitempty"`
	CpuLoad                            *string                                           `json:"cpuLoad,omitempty"`
	CpuLoadStatus                      *string                                           `json:"cpuLoadStatus,omitempty"`
	CsServiceStatus                    *string                                           `json:"csServiceStatus,omitempty"`
	DatabaseServerLoad                 *string                                           `json:"databaseServerLoad,omitempty"`
	DatabaseServerLoadStatus           *string                                           `json:"databaseServerLoadStatus,omitempty"`
	HostName                           *string                                           `json:"hostName,omitempty"`
	IPAddress                          *string                                           `json:"ipAddress,omitempty"`
	LastHeartbeat                      *string                                           `json:"lastHeartbeat,omitempty"`
	MasterTargetServers                *[]MasterTargetServer                             `json:"masterTargetServers,omitempty"`
	MemoryUsageStatus                  *string                                           `json:"memoryUsageStatus,omitempty"`
	ProcessServerCount                 *string                                           `json:"processServerCount,omitempty"`
	ProcessServers                     *[]ProcessServer                                  `json:"processServers,omitempty"`
	ProtectedServers                   *string                                           `json:"protectedServers,omitempty"`
	PsTemplateVersion                  *string                                           `json:"psTemplateVersion,omitempty"`
	ReplicationPairCount               *string                                           `json:"replicationPairCount,omitempty"`
	RunAsAccounts                      *[]RunAsAccount                                   `json:"runAsAccounts,omitempty"`
	SpaceUsageStatus                   *string                                           `json:"spaceUsageStatus,omitempty"`
	SslCertExpiryDate                  *string                                           `json:"sslCertExpiryDate,omitempty"`
	SslCertExpiryRemainingDays         *int64                                            `json:"sslCertExpiryRemainingDays,omitempty"`
	SwitchProviderBlockingErrorDetails *[]InMageFabricSwitchProviderBlockingErrorDetails `json:"switchProviderBlockingErrorDetails,omitempty"`
	SystemLoad                         *string                                           `json:"systemLoad,omitempty"`
	SystemLoadStatus                   *string                                           `json:"systemLoadStatus,omitempty"`
	TotalMemoryInBytes                 *int64                                            `json:"totalMemoryInBytes,omitempty"`
	TotalSpaceInBytes                  *int64                                            `json:"totalSpaceInBytes,omitempty"`
	VersionStatus                      *string                                           `json:"versionStatus,omitempty"`
	WebLoad                            *string                                           `json:"webLoad,omitempty"`
	WebLoadStatus                      *string                                           `json:"webLoadStatus,omitempty"`
}

func (VMwareDetails) MarshalJSON

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

type VMwareV2FabricCreationInput

type VMwareV2FabricCreationInput struct {
	MigrationSolutionId string  `json:"migrationSolutionId"`
	PhysicalSiteId      *string `json:"physicalSiteId,omitempty"`
	VMwareSiteId        *string `json:"vmwareSiteId,omitempty"`
}

func (VMwareV2FabricCreationInput) MarshalJSON

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

type VMwareV2FabricSpecificDetails

type VMwareV2FabricSpecificDetails struct {
	MigrationSolutionId *string                 `json:"migrationSolutionId,omitempty"`
	PhysicalSiteId      *string                 `json:"physicalSiteId,omitempty"`
	ProcessServers      *[]ProcessServerDetails `json:"processServers,omitempty"`
	ServiceContainerId  *string                 `json:"serviceContainerId,omitempty"`
	ServiceEndpoint     *string                 `json:"serviceEndpoint,omitempty"`
	ServiceResourceId   *string                 `json:"serviceResourceId,omitempty"`
	VMwareSiteId        *string                 `json:"vmwareSiteId,omitempty"`
}

func (VMwareV2FabricSpecificDetails) MarshalJSON

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

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 VersionDetails

type VersionDetails struct {
	ExpiryDate *string             `json:"expiryDate,omitempty"`
	Status     *AgentVersionStatus `json:"status,omitempty"`
	Version    *string             `json:"version,omitempty"`
}

func (*VersionDetails) GetExpiryDateAsTime

func (o *VersionDetails) GetExpiryDateAsTime() (*time.Time, error)

func (*VersionDetails) SetExpiryDateAsTime

func (o *VersionDetails) SetExpiryDateAsTime(input time.Time)

Source Files

Jump to

Keyboard shortcuts

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