models

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIVersion added in v0.5.2

type APIVersion string

APIVersion API Version

API Version of the Nutanix v3 API framework.

swagger:model api_version

func (APIVersion) ContextValidate added in v0.5.2

func (m APIVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this api version based on the context it is used

func (APIVersion) Validate added in v0.5.2

func (m APIVersion) Validate(formats strfmt.Registry) error

Validate validates this api version

type Address added in v0.5.1

type Address struct {

	// Fully qualified domain name.
	Fqdn string `json:"fqdn,omitempty"`

	// IPV4 address.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	IP string `json:"ip,omitempty"`

	// IPV6 address range.
	// Pattern: ^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))$
	Ip6Range string `json:"ip6_range,omitempty"`

	// IPV4 address range.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/(\d|[1-2]\d|3[0-2]))$
	IPRange string `json:"ip_range,omitempty"`

	// IPV6 address.
	// Pattern: (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))
	IPV6 string `json:"ipv6,omitempty"`

	// Whether this address is a backup or not.
	IsBackup bool `json:"is_backup,omitempty"`

	// Port Number
	Port int32 `json:"port,omitempty"`
}

Address Host address.

Host address.

swagger:model address

func (*Address) ContextValidate added in v0.5.1

func (m *Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address based on context it is used

func (*Address) MarshalBinary added in v0.5.1

func (m *Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Address) UnmarshalBinary added in v0.5.1

func (m *Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Address) Validate added in v0.5.1

func (m *Address) Validate(formats strfmt.Registry) error

Validate validates this address

type AvailabilityZoneInformation added in v0.6.0

type AvailabilityZoneInformation struct {

	// URL of the Availability Zone.
	//
	// Required: true
	AvailabilityZoneURL *string `json:"availability_zone_url"`

	// List of cluster references. This is applicable only in scenario where failed and recovery clusters both are managed by the same Availability Zone.
	ClusterReferenceList []*ClusterReference `json:"cluster_reference_list"`
}

AvailabilityZoneInformation Availability Zone information

Availability Zone information.

swagger:model availability_zone_information

func (*AvailabilityZoneInformation) ContextValidate added in v0.6.0

func (m *AvailabilityZoneInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this availability zone information based on the context it is used

func (*AvailabilityZoneInformation) MarshalBinary added in v0.6.0

func (m *AvailabilityZoneInformation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AvailabilityZoneInformation) UnmarshalBinary added in v0.6.0

func (m *AvailabilityZoneInformation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AvailabilityZoneInformation) Validate added in v0.6.0

func (m *AvailabilityZoneInformation) Validate(formats strfmt.Registry) error

Validate validates this availability zone information

type AvailabilityZoneReference added in v0.5.1

type AvailabilityZoneReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

AvailabilityZoneReference Reference to a availability_zone

The reference to a availability_zone

swagger:model availability_zone_reference

func (*AvailabilityZoneReference) ContextValidate added in v0.5.1

func (m *AvailabilityZoneReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this availability zone reference based on the context it is used

func (*AvailabilityZoneReference) MarshalBinary added in v0.5.1

func (m *AvailabilityZoneReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AvailabilityZoneReference) UnmarshalBinary added in v0.5.1

func (m *AvailabilityZoneReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AvailabilityZoneReference) Validate added in v0.5.1

func (m *AvailabilityZoneReference) Validate(formats strfmt.Registry) error

Validate validates this availability zone reference

type BuildInfo added in v0.6.0

type BuildInfo struct {

	// Build type, one of {dbg, opt, release}.
	// Required: true
	BuildType *string `json:"build_type"`

	// Date/time of the last commit.
	// Format: date-time
	CommitDate strfmt.DateTime `json:"commit_date,omitempty"`

	// Last Git commit id which the build is based on.
	// Required: true
	CommitID *string `json:"commit_id"`

	// Full version name.
	FullVersion string `json:"full_version,omitempty"`

	// Flag to indicate if the AOS release is qualified as long term support.
	//
	IsLongTermSupport bool `json:"is_long_term_support,omitempty"`

	// First 6 characters of the last Git commit id.
	// Required: true
	ShortCommitID *string `json:"short_commit_id"`

	// Numeric version. e.g. "5.5"
	// Required: true
	Version *string `json:"version"`
}

BuildInfo Cluster build details

Cluster build details.

swagger:model build_info

func (*BuildInfo) ContextValidate added in v0.6.0

func (m *BuildInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this build info based on context it is used

func (*BuildInfo) MarshalBinary added in v0.6.0

func (m *BuildInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildInfo) UnmarshalBinary added in v0.6.0

func (m *BuildInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildInfo) Validate added in v0.6.0

func (m *BuildInfo) Validate(formats strfmt.Registry) error

Validate validates this build info

type CaCert added in v0.6.0

type CaCert struct {

	// Name of the certificate authority.
	// Required: true
	CaName *string `json:"ca_name"`

	// Certificate content.
	// Required: true
	// Format: byte
	Certificate *strfmt.Base64 `json:"certificate"`
}

CaCert CA certificate info

CA certificate info.

swagger:model ca_cert

func (*CaCert) ContextValidate added in v0.6.0

func (m *CaCert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ca cert based on context it is used

func (*CaCert) MarshalBinary added in v0.6.0

func (m *CaCert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CaCert) UnmarshalBinary added in v0.6.0

func (m *CaCert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CaCert) Validate added in v0.6.0

func (m *CaCert) Validate(formats strfmt.Registry) error

Validate validates this ca cert

type CategoryFilter added in v0.6.0

type CategoryFilter struct {

	// List of kinds associated with this filter.
	KindList []string `json:"kind_list"`

	// A list of category key and list of values.
	// Required: true
	Params map[string][]string `json:"params"`

	// The type of the filter being used.
	Type *string `json:"type,omitempty"`
}

CategoryFilter A category filter

A category filter.

swagger:model category_filter

func (*CategoryFilter) ContextValidate added in v0.6.0

func (m *CategoryFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this category filter based on context it is used

func (*CategoryFilter) MarshalBinary added in v0.6.0

func (m *CategoryFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CategoryFilter) UnmarshalBinary added in v0.6.0

func (m *CategoryFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CategoryFilter) Validate added in v0.6.0

func (m *CategoryFilter) Validate(formats strfmt.Registry) error

Validate validates this category filter

type CertificationSigningInfo added in v0.6.0

type CertificationSigningInfo struct {

	// The Town or City where customer's business is located.
	City string `json:"city,omitempty"`

	// Common name of the organization or host server
	CommonName string `json:"common_name,omitempty"`

	// Common name is by default <node_uuid>.nutanix.com, but if a customer
	// wants something instead of nutanix.com they can specify it here.
	//
	CommonNameSuffix string `json:"common_name_suffix,omitempty"`

	// Two-letter ISO code for Country where customer's organization is
	// located.
	//
	CountryCode string `json:"country_code,omitempty"`

	// Email address of the certificate administrator.
	EmailAddress string `json:"email_address,omitempty"`

	// Name of the customer business.
	Organization string `json:"organization,omitempty"`

	// The Province, Region, County or State where customer business is
	// is located.
	//
	State string `json:"state,omitempty"`
}

CertificationSigningInfo Customer information in Certificate Signing Request

Customer information used in Certificate Signing Request for creating digital certificates.

swagger:model certification_signing_info

func (*CertificationSigningInfo) ContextValidate added in v0.6.0

func (m *CertificationSigningInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this certification signing info based on context it is used

func (*CertificationSigningInfo) MarshalBinary added in v0.6.0

func (m *CertificationSigningInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificationSigningInfo) UnmarshalBinary added in v0.6.0

func (m *CertificationSigningInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificationSigningInfo) Validate added in v0.6.0

func (m *CertificationSigningInfo) Validate(formats strfmt.Registry) error

Validate validates this certification signing info

type CitrixConnectorConfigDetails added in v0.6.0

type CitrixConnectorConfigDetails struct {

	// Reference to the list of vm ids registered with citrix cloud.
	CitrixVMReferenceList []*VMReference `json:"citrix_vm_reference_list"`

	// The client id for the Citrix Cloud.
	ClientID string `json:"client_id,omitempty"`

	// The client secret for the Citrix Cloud.
	ClientSecret string `json:"client_secret,omitempty"`

	// The customer id registered with Citrix Cloud.
	CustomerID string `json:"customer_id,omitempty"`

	// resource location
	ResourceLocation *CitrixResourceLocation `json:"resource_location,omitempty"`
}

CitrixConnectorConfigDetails Citrix Connector details.

Citrix Connector details.

swagger:model citrix_connector_config_details

func (*CitrixConnectorConfigDetails) ContextValidate added in v0.6.0

func (m *CitrixConnectorConfigDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this citrix connector config details based on the context it is used

func (*CitrixConnectorConfigDetails) MarshalBinary added in v0.6.0

func (m *CitrixConnectorConfigDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CitrixConnectorConfigDetails) UnmarshalBinary added in v0.6.0

func (m *CitrixConnectorConfigDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CitrixConnectorConfigDetails) Validate added in v0.6.0

func (m *CitrixConnectorConfigDetails) Validate(formats strfmt.Registry) error

Validate validates this citrix connector config details

type CitrixConnectorConfigDetailsSpec added in v0.6.0

type CitrixConnectorConfigDetailsSpec struct {

	// Reference to the list of vm ids registered with citrix cloud.
	CitrixVMReferenceList []*VMReference `json:"citrix_vm_reference_list"`

	// The client id for the Citrix Cloud.
	// Max Length: 200
	ClientID string `json:"client_id,omitempty"`

	// The client secret for the Citrix Cloud.
	ClientSecret string `json:"client_secret,omitempty"`

	// The customer id registered with Citrix Cloud.
	// Max Length: 200
	CustomerID string `json:"customer_id,omitempty"`

	// resource location
	ResourceLocation *CitrixResourceLocationSpec `json:"resource_location,omitempty"`
}

CitrixConnectorConfigDetailsSpec Citrix Connector details.

Citrix Connector details.

swagger:model citrix_connector_config_details_spec

func (*CitrixConnectorConfigDetailsSpec) ContextValidate added in v0.6.0

func (m *CitrixConnectorConfigDetailsSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this citrix connector config details spec based on the context it is used

func (*CitrixConnectorConfigDetailsSpec) MarshalBinary added in v0.6.0

func (m *CitrixConnectorConfigDetailsSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CitrixConnectorConfigDetailsSpec) UnmarshalBinary added in v0.6.0

func (m *CitrixConnectorConfigDetailsSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CitrixConnectorConfigDetailsSpec) Validate added in v0.6.0

Validate validates this citrix connector config details spec

type CitrixResourceLocation added in v0.6.0

type CitrixResourceLocation struct {

	// The resource location id.
	ID string `json:"id,omitempty"`

	// The resource location name.
	Name string `json:"name,omitempty"`
}

CitrixResourceLocation Citrix Resource Location.

Resource Location on Citrix Cloud.

swagger:model citrix_resource_location

func (*CitrixResourceLocation) ContextValidate added in v0.6.0

func (m *CitrixResourceLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this citrix resource location based on context it is used

func (*CitrixResourceLocation) MarshalBinary added in v0.6.0

func (m *CitrixResourceLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CitrixResourceLocation) UnmarshalBinary added in v0.6.0

func (m *CitrixResourceLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CitrixResourceLocation) Validate added in v0.6.0

func (m *CitrixResourceLocation) Validate(formats strfmt.Registry) error

Validate validates this citrix resource location

type CitrixResourceLocationSpec added in v0.6.0

type CitrixResourceLocationSpec struct {

	// The resource location id.
	// Max Length: 200
	ID string `json:"id,omitempty"`

	// The resource location name.
	// Max Length: 200
	Name string `json:"name,omitempty"`
}

CitrixResourceLocationSpec Citrix Resource Location.

Resource Location on Citrix Cloud.

swagger:model citrix_resource_location_spec

func (*CitrixResourceLocationSpec) ContextValidate added in v0.6.0

func (m *CitrixResourceLocationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this citrix resource location spec based on context it is used

func (*CitrixResourceLocationSpec) MarshalBinary added in v0.6.0

func (m *CitrixResourceLocationSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CitrixResourceLocationSpec) UnmarshalBinary added in v0.6.0

func (m *CitrixResourceLocationSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CitrixResourceLocationSpec) Validate added in v0.6.0

func (m *CitrixResourceLocationSpec) Validate(formats strfmt.Registry) error

Validate validates this citrix resource location spec

type ClientAuth added in v0.6.0

type ClientAuth struct {

	// Content of CA chain certificate.
	// Read Only: true
	CaChain string `json:"ca_chain,omitempty"`

	// Name of CA chain file.
	// Read Only: true
	// Max Length: 64
	Name string `json:"name,omitempty"`

	// Status of client authentication.
	// Required: true
	Status *string `json:"status"`
}

ClientAuth Client authentication config

Client authentication config.

swagger:model client_auth

func (*ClientAuth) ContextValidate added in v0.6.0

func (m *ClientAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this client auth based on the context it is used

func (*ClientAuth) MarshalBinary added in v0.6.0

func (m *ClientAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClientAuth) UnmarshalBinary added in v0.6.0

func (m *ClientAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClientAuth) Validate added in v0.6.0

func (m *ClientAuth) Validate(formats strfmt.Registry) error

Validate validates this client auth

type Cluster added in v0.6.0

type Cluster struct {

	// Cluster Name.
	Name string `json:"name,omitempty"`

	// resources
	Resources *ClusterResources `json:"resources,omitempty"`
}

Cluster Cluster Definition

Cluster Definition.

swagger:model cluster

func (*Cluster) ContextValidate added in v0.6.0

func (m *Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster based on the context it is used

func (*Cluster) MarshalBinary added in v0.6.0

func (m *Cluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cluster) UnmarshalBinary added in v0.6.0

func (m *Cluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cluster) Validate added in v0.6.0

func (m *Cluster) Validate(formats strfmt.Registry) error

Validate validates this cluster

type ClusterAnalysis added in v0.6.0

type ClusterAnalysis struct {

	// Map of cluster efficiency which includes numbers of inefficient
	// vms. The value is populated by analytics on PC.
	//
	// Read Only: true
	VMEfficiencyMap map[string]string `json:"vm_efficiency_map,omitempty"`
}

ClusterAnalysis Cluster Analysis Statistics

Cluster analysis related values.

swagger:model cluster_analysis

func (*ClusterAnalysis) ContextValidate added in v0.6.0

func (m *ClusterAnalysis) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster analysis based on the context it is used

func (*ClusterAnalysis) MarshalBinary added in v0.6.0

func (m *ClusterAnalysis) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterAnalysis) UnmarshalBinary added in v0.6.0

func (m *ClusterAnalysis) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterAnalysis) Validate added in v0.6.0

func (m *ClusterAnalysis) Validate(formats strfmt.Registry) error

Validate validates this cluster analysis

type ClusterConfig added in v0.6.0

type ClusterConfig struct {

	// List of valid ssh keys for the cluster.
	AuthorizedPublicKeyList []*PublicKey `json:"authorized_public_key_list"`

	// build
	// Read Only: true
	Build *BuildInfo `json:"build,omitempty"`

	// List of cluster trusted CA certificates.
	// Read Only: true
	CaCertificateList []*CaCert `json:"ca_certificate_list"`

	// certification signing info
	CertificationSigningInfo *CertificationSigningInfo `json:"certification_signing_info,omitempty"`

	// client auth
	ClientAuth *ClientAuth `json:"client_auth,omitempty"`

	// Cluster architecture.
	// Read Only: true
	ClusterArch string `json:"cluster_arch,omitempty"`

	// Domain awareness supported on cluster.
	DomainAwarenessLevel *string `json:"domain_awareness_level,omitempty"`

	// Indicates if downsampling of metrics syncing between PE
	// and PC is enabled or not.
	//
	EnableEfficientMetricSync bool `json:"enable_efficient_metric_sync,omitempty"`

	// Array of enabled features.
	EnabledFeatureList []string `json:"enabled_feature_list"`

	// encryption status
	EncryptionStatus *EncryptionStatus `json:"encryption_status,omitempty"`

	// External Connector Configurations.
	ExternalConfigurations *ExternalConfigurations `json:"external_configurations,omitempty"`

	// GPU driver version.
	GpuDriverVersion string `json:"gpu_driver_version,omitempty"`

	// Indicates if cluster is available to contact.
	// Read Only: true
	IsAvailable *bool `json:"is_available,omitempty"`

	// List of cluster management servers.
	// Read Only: true
	ManagementServerList []*ClusterManagementServer `json:"management_server_list"`

	// operation mode
	OperationMode ClusterOperationMode `json:"operation_mode,omitempty"`

	// Cluster supported redundancy factor.
	RedundancyFactor int32 `json:"redundancy_factor,omitempty"`

	// service list
	// Read Only: true
	ServiceList ClusterServiceList `json:"service_list,omitempty"`

	// Map of software on the cluster with software type as the
	// key.
	//
	SoftwareMap map[string]ClusterSoftware `json:"software_map,omitempty"`

	// ssl key
	// Read Only: true
	SslKey *SslKey `json:"ssl_key,omitempty"`

	// Verbosity level settings for populating support information.
	// - 'Nothing': Send nothing
	// - 'Basic': Send basic information - skip core dump and hypervisor
	//            stats information
	// - 'BasicPlusCoreDump': Send basic and core dump information
	// - 'All': Send all information
	//
	SupportedInformationVerbosity *string `json:"supported_information_verbosity,omitempty"`

	// Zone name used in value of TZ environment variable.
	Timezone string `json:"timezone,omitempty"`
}

ClusterConfig Cluster Configuration

Cluster Configuration.

swagger:model cluster_config

func (*ClusterConfig) ContextValidate added in v0.6.0

func (m *ClusterConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster config based on the context it is used

func (*ClusterConfig) MarshalBinary added in v0.6.0

func (m *ClusterConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterConfig) UnmarshalBinary added in v0.6.0

func (m *ClusterConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterConfig) Validate added in v0.6.0

func (m *ClusterConfig) Validate(formats strfmt.Registry) error

Validate validates this cluster config

type ClusterConfigSpec added in v0.6.0

type ClusterConfigSpec struct {

	// List of valid ssh keys for the cluster.
	AuthorizedPublicKeyList []*PublicKey `json:"authorized_public_key_list"`

	// certification signing info
	CertificationSigningInfo *CertificationSigningInfo `json:"certification_signing_info,omitempty"`

	// client auth
	ClientAuth *ClientAuth `json:"client_auth,omitempty"`

	// Domain awareness supported on cluster.
	DomainAwarenessLevel *string `json:"domain_awareness_level,omitempty"`

	// Indicates if downsampling of metrics syncing between PE
	// and PC is enabled or not.
	//
	EnableEfficientMetricSync bool `json:"enable_efficient_metric_sync,omitempty"`

	// Array of enabled features.
	EnabledFeatureList []string `json:"enabled_feature_list"`

	// encryption status
	EncryptionStatus *EncryptionStatus `json:"encryption_status,omitempty"`

	// External Connector Configurations.
	ExternalConfigurations *ExternalConfigurationsSpec `json:"external_configurations,omitempty"`

	// GPU driver version.
	GpuDriverVersion string `json:"gpu_driver_version,omitempty"`

	// operation mode
	OperationMode ClusterOperationMode `json:"operation_mode,omitempty"`

	// Cluster supported redundancy factor. Default is 2.
	RedundancyFactor int32 `json:"redundancy_factor,omitempty"`

	// Map of software on the cluster with software type as the
	// key.
	//
	SoftwareMap map[string]ClusterSoftware `json:"software_map,omitempty"`

	// Verbosity level settings for populating support information.
	// - 'Nothing': Send nothing
	// - 'Basic': Send basic information - skip core dump and hypervisor
	//            stats information
	// - 'BasicPlusCoreDump': Send basic and core dump information
	// - 'All': Send all information
	//
	SupportedInformationVerbosity *string `json:"supported_information_verbosity,omitempty"`

	// Zone name used in value of TZ environment variable.
	Timezone string `json:"timezone,omitempty"`
}

ClusterConfigSpec Cluster Configuration

Cluster Configuration.

swagger:model cluster_config_spec

func (*ClusterConfigSpec) ContextValidate added in v0.6.0

func (m *ClusterConfigSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster config spec based on the context it is used

func (*ClusterConfigSpec) MarshalBinary added in v0.6.0

func (m *ClusterConfigSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterConfigSpec) UnmarshalBinary added in v0.6.0

func (m *ClusterConfigSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterConfigSpec) Validate added in v0.6.0

func (m *ClusterConfigSpec) Validate(formats strfmt.Registry) error

Validate validates this cluster config spec

type ClusterDefStatus added in v0.6.0

type ClusterDefStatus struct {

	// message list
	MessageList []*MessageResource `json:"message_list"`

	// Cluster Name.
	Name string `json:"name,omitempty"`

	// resources
	// Required: true
	Resources *ClusterDefStatusResources `json:"resources"`

	// The state of the cluster entity.
	// Read Only: true
	State string `json:"state,omitempty"`
}

ClusterDefStatus Cluster Status

Cluster status definition. A Nutanix cluster is comprised of three or more Nutanix nodes. Each node in the cluster contains memory, CPU, RAM, and storage (SSD/HDD). Each node in the cluster runs standard hypervisor such as VMware vSphere, Microsoft Hyper-V, or AHV. A Controller VM (CVM) runs on each node in the cluster. The CVM enables each node to share local storage from all nodes in the cluster.

swagger:model cluster_def_status

func (*ClusterDefStatus) ContextValidate added in v0.6.0

func (m *ClusterDefStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster def status based on the context it is used

func (*ClusterDefStatus) MarshalBinary added in v0.6.0

func (m *ClusterDefStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterDefStatus) UnmarshalBinary added in v0.6.0

func (m *ClusterDefStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterDefStatus) Validate added in v0.6.0

func (m *ClusterDefStatus) Validate(formats strfmt.Registry) error

Validate validates this cluster def status

type ClusterDefStatusResources added in v0.6.0

type ClusterDefStatusResources struct {

	// analysis
	Analysis *ClusterAnalysis `json:"analysis,omitempty"`

	// config
	// Required: true
	Config *ClusterConfig `json:"config"`

	// network
	// Required: true
	Network *ClusterNetwork `json:"network"`

	// nodes
	Nodes *ClusterNodes `json:"nodes,omitempty"`

	// Cluster current attributes and onging operations.
	RuntimeStatusList []string `json:"runtime_status_list"`
}

ClusterDefStatusResources Cluster resources.

swagger:model ClusterDefStatusResources

func (*ClusterDefStatusResources) ContextValidate added in v0.6.0

func (m *ClusterDefStatusResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster def status resources based on the context it is used

func (*ClusterDefStatusResources) MarshalBinary added in v0.6.0

func (m *ClusterDefStatusResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterDefStatusResources) UnmarshalBinary added in v0.6.0

func (m *ClusterDefStatusResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterDefStatusResources) Validate added in v0.6.0

func (m *ClusterDefStatusResources) Validate(formats strfmt.Registry) error

Validate validates this cluster def status resources

type ClusterDomainServer added in v0.6.0

type ClusterDomainServer struct {

	// domain credentials
	DomainCredentials *Credentials `json:"domain_credentials,omitempty"`

	// Joined domain name. In 'put' request, empty name will unjoin the
	// cluster from current domain.
	//
	// Required: true
	Name *string `json:"name"`

	// The IP of the nameserver that can resolve the domain name. Must set
	// when joining the domain.
	//
	Nameserver string `json:"nameserver,omitempty"`
}

ClusterDomainServer Domain Server

Cluster domain server. Only applied to the cluster with all Hyper-V hosts.

swagger:model cluster_domain_server

func (*ClusterDomainServer) ContextValidate added in v0.6.0

func (m *ClusterDomainServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster domain server based on the context it is used

func (*ClusterDomainServer) MarshalBinary added in v0.6.0

func (m *ClusterDomainServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterDomainServer) UnmarshalBinary added in v0.6.0

func (m *ClusterDomainServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterDomainServer) Validate added in v0.6.0

func (m *ClusterDomainServer) Validate(formats strfmt.Registry) error

Validate validates this cluster domain server

type ClusterManagementServer added in v0.6.0

type ClusterManagementServer struct {

	// Denotes if DRS is enabled or not.
	DrsEnabled bool `json:"drs_enabled,omitempty"`

	// ip
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	IP *string `json:"ip"`

	// Array of management server status: - 'REGISTERED': Indicates whether the server is registered with
	//                 Nutanix or not.
	// - 'IN_USE': Indicates whether any host is managed by this server or
	//             not.
	//
	StatusList []string `json:"status_list"`

	// type
	// Required: true
	Type *string `json:"type"`
}

ClusterManagementServer Cluster Management Server

Cluster Management server information.

swagger:model cluster_management_server

func (*ClusterManagementServer) ContextValidate added in v0.6.0

func (m *ClusterManagementServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster management server based on context it is used

func (*ClusterManagementServer) MarshalBinary added in v0.6.0

func (m *ClusterManagementServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterManagementServer) UnmarshalBinary added in v0.6.0

func (m *ClusterManagementServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterManagementServer) Validate added in v0.6.0

func (m *ClusterManagementServer) Validate(formats strfmt.Registry) error

Validate validates this cluster management server

type ClusterNetwork added in v0.6.0

type ClusterNetwork struct {

	// Configuration for the default vswitch (br0) present on all nodes of
	// this cluster. This is considered internal only and is not supported
	// on this version of AOS.
	//
	DefaultVswitchConfig *VswitchConfig `json:"default_vswitch_config,omitempty"`

	// domain server
	DomainServer *ClusterDomainServer `json:"domain_server,omitempty"`

	// The cluster IP address that provides external entities access to
	// various cluster data services.
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	ExternalDataServicesIP string `json:"external_data_services_ip,omitempty"`

	// The local IP of cluster visible externally.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	ExternalIP string `json:"external_ip,omitempty"`

	// External subnet for cross server communication. The format is
	// IP/netmask.
	//
	ExternalSubnet *string `json:"external_subnet,omitempty"`

	// fully qualified domain name of the cluster visible externally.
	FullyQualifiedDomainName string `json:"fully_qualified_domain_name,omitempty"`

	// List of proxies to connect to the service centers.
	HTTPProxyList []*ClusterNetworkEntity `json:"http_proxy_list"`

	// HTTP proxy whitelist.
	HTTPProxyWhitelist []*HTTPProxyWhitelist `json:"http_proxy_whitelist"`

	// The internal subnet is local to every server - its not visible
	// outside.iSCSI requests generated internally within the appliance
	// (by user VMs or VMFS) are sent to the internal subnet. The format is
	// IP/netmask.
	//
	InternalSubnet *string `json:"internal_subnet,omitempty"`

	// The cluster NAT'd or proxy IP which maps to the cluster local IP.
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	MasqueradingIP string `json:"masquerading_ip,omitempty"`

	// Port used together with masquerading_ip to connect to the cluster.
	//
	MasqueradingPort int32 `json:"masquerading_port,omitempty"`

	// The list of IP addresses of the name servers.
	NameServerIPList []string `json:"name_server_ip_list"`

	// Comma separated list of subnets (of the form 'a.b.c.d/l.m.n.o') that
	// are allowed to send NFS requests to this container. If not specified,
	// the global NFS whitelist will be looked up for access permission.
	// The internal subnet is always automatically considered part of the
	// whitelist, even if the field below does not explicitly specify it.
	// Similarly, all the hypervisor IPs are considered part of the
	// whitelist. Finally, to permit debugging, all of the SVMs local IPs
	// are considered to be implicitly part of the whitelist.
	//
	NfsSubnetWhitelist []string `json:"nfs_subnet_whitelist"`

	// The list of IP addresses or FQDNs of the NTP servers.
	NtpServerIPList []string `json:"ntp_server_ip_list"`

	// smtp server
	SMTPServer *SMTPServer `json:"smtp_server,omitempty"`
}

ClusterNetwork Cluster Network Configuration

Cluster network.

swagger:model cluster_network

func (*ClusterNetwork) ContextValidate added in v0.6.0

func (m *ClusterNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster network based on the context it is used

func (*ClusterNetwork) MarshalBinary added in v0.6.0

func (m *ClusterNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterNetwork) UnmarshalBinary added in v0.6.0

func (m *ClusterNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterNetwork) Validate added in v0.6.0

func (m *ClusterNetwork) Validate(formats strfmt.Registry) error

Validate validates this cluster network

type ClusterNetworkEntity added in v0.6.0

type ClusterNetworkEntity struct {

	// Network address details for this entity. This tells us how to
	// logically reach this entity.
	//
	// Required: true
	Address *Address `json:"address"`

	// Username and password for authentication, if applicable.
	//
	Credentials *Credentials `json:"credentials,omitempty"`

	// Name for the network entity (optional)
	Name string `json:"name,omitempty"`

	// proxy type list
	ProxyTypeList []*string `json:"proxy_type_list"`
}

ClusterNetworkEntity Cluster Network Entity

This defines a generic network entity on the cluster, which includes it's address, authentication details, and related metadata.

swagger:model cluster_network_entity

func (*ClusterNetworkEntity) ContextValidate added in v0.6.0

func (m *ClusterNetworkEntity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster network entity based on the context it is used

func (*ClusterNetworkEntity) MarshalBinary added in v0.6.0

func (m *ClusterNetworkEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterNetworkEntity) UnmarshalBinary added in v0.6.0

func (m *ClusterNetworkEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterNetworkEntity) Validate added in v0.6.0

func (m *ClusterNetworkEntity) Validate(formats strfmt.Registry) error

Validate validates this cluster network entity

type ClusterNodes added in v0.6.0

type ClusterNodes struct {

	// hypervisor server list
	// Read Only: true
	HypervisorServerList []*HypervisorServer `json:"hypervisor_server_list"`
}

ClusterNodes Cluster Nodes

Node info for this cluster.

swagger:model cluster_nodes

func (*ClusterNodes) ContextValidate added in v0.6.0

func (m *ClusterNodes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster nodes based on the context it is used

func (*ClusterNodes) MarshalBinary added in v0.6.0

func (m *ClusterNodes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterNodes) UnmarshalBinary added in v0.6.0

func (m *ClusterNodes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterNodes) Validate added in v0.6.0

func (m *ClusterNodes) Validate(formats strfmt.Registry) error

Validate validates this cluster nodes

type ClusterOperationMode added in v0.6.0

type ClusterOperationMode string

ClusterOperationMode Cluster operation mode

Cluster operation mode. - 'NORMAL': Cluster is operating normally. - 'READ_ONLY': Cluster is operating in read only mode. - 'STAND_ALONE': Only one node is operational in the cluster. This is

	valid only for single node or two node clusters.
  - 'SWITCH_TO_TWO_NODE': Cluster is moving from single node to two node
    cluster.
  - 'OVERRIDE': Valid only for single node cluster. If the user wants to
    run vms on a single node cluster in read only mode, he
    can set the cluster peration mode to override. Writes
    will be allowed in override mode.

swagger:model cluster_operation_mode

func (ClusterOperationMode) ContextValidate added in v0.6.0

func (m ClusterOperationMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster operation mode based on context it is used

func (ClusterOperationMode) Validate added in v0.6.0

func (m ClusterOperationMode) Validate(formats strfmt.Registry) error

Validate validates this cluster operation mode

type ClusterReference

type ClusterReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

ClusterReference Reference to a cluster

The reference to a cluster

swagger:model cluster_reference

func (*ClusterReference) ContextValidate

func (m *ClusterReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster reference based on the context it is used

func (*ClusterReference) MarshalBinary

func (m *ClusterReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterReference) UnmarshalBinary

func (m *ClusterReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterReference) Validate

func (m *ClusterReference) Validate(formats strfmt.Registry) error

Validate validates this cluster reference

type ClusterResources added in v0.6.0

type ClusterResources struct {

	// config
	Config *ClusterConfigSpec `json:"config,omitempty"`

	// network
	Network *ClusterNetwork `json:"network,omitempty"`

	// Cluster onging operations.
	RuntimeStatusList []string `json:"runtime_status_list"`
}

ClusterResources Cluster resources.

swagger:model ClusterResources

func (*ClusterResources) ContextValidate added in v0.6.0

func (m *ClusterResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster resources based on the context it is used

func (*ClusterResources) MarshalBinary added in v0.6.0

func (m *ClusterResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterResources) UnmarshalBinary added in v0.6.0

func (m *ClusterResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterResources) Validate added in v0.6.0

func (m *ClusterResources) Validate(formats strfmt.Registry) error

Validate validates this cluster resources

type ClusterServiceList added in v0.6.0

type ClusterServiceList []*string

ClusterServiceList List of Cluster Services

Array of enabled cluster services. For example, a cluster can function as both AOS and cloud data gateway. - 'AOS': Regular Prism Element - 'PRISM_CENTRAL': Prism Central - 'CLOUD_DATA_GATEWAY': Cloud backup and DR gateway - 'AFS': Cluster for file server - 'WITNESS' : Witness cluster - 'XI_PORTAL': Xi cluster - 'ONE_NODE_CLUSTER': Single node backup cluster - 'TWO_NODE_CLUSTER': Two node cluster

swagger:model cluster_service_list

func (ClusterServiceList) ContextValidate added in v0.6.0

func (m ClusterServiceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster service list based on context it is used

func (ClusterServiceList) Validate added in v0.6.0

func (m ClusterServiceList) Validate(formats strfmt.Registry) error

Validate validates this cluster service list

type ClusterSoftware added in v0.6.0

type ClusterSoftware struct {

	// software type
	// Required: true
	SoftwareType *SoftwareType `json:"software_type"`

	// Current software status.
	Status *string `json:"status,omitempty"`

	// version
	// Required: true
	Version *string `json:"version"`
}

ClusterSoftware Cluster software

Cluster software.

swagger:model cluster_software

func (*ClusterSoftware) ContextValidate added in v0.6.0

func (m *ClusterSoftware) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster software based on the context it is used

func (*ClusterSoftware) MarshalBinary added in v0.6.0

func (m *ClusterSoftware) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSoftware) UnmarshalBinary added in v0.6.0

func (m *ClusterSoftware) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSoftware) Validate added in v0.6.0

func (m *ClusterSoftware) Validate(formats strfmt.Registry) error

Validate validates this cluster software

type CmspConfig

type CmspConfig struct {

	// A serialized json containing additional arguments to be passed to CMSP.
	CmspArgs string `json:"cmsp_args,omitempty"`

	// The domain name for CMSP.
	// Required: true
	// Max Length: 255
	// Min Length: 1
	// Pattern: ^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
	PcDomainName *string `json:"pc_domain_name"`

	// IP range blocks for CMSP.
	// Required: true
	PlatformIPBlockList []string `json:"platform_ip_block_list"`

	// platform network configuration
	// Required: true
	PlatformNetworkConfiguration *CmspNetworkConfig `json:"platform_network_configuration"`
}

CmspConfig CMSP configuration.

MSP configuration for CMSP on PC used in deployment and enablement.

swagger:model cmsp_config

func (*CmspConfig) ContextValidate

func (m *CmspConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cmsp config based on the context it is used

func (*CmspConfig) MarshalBinary

func (m *CmspConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CmspConfig) UnmarshalBinary

func (m *CmspConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CmspConfig) Validate

func (m *CmspConfig) Validate(formats strfmt.Registry) error

Validate validates this cmsp config

type CmspNetworkConfig

type CmspNetworkConfig struct {

	// Gateway IP address.
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	DefaultGateway *string `json:"default_gateway"`

	// Network ID for CMSP. UUID for AHV or name for ESXi.
	//
	NetworkID string `json:"network_id,omitempty"`

	// Network name for cmsp cluster.
	NetworkName string `json:"network_name,omitempty"`

	// Subnet mask IP address.
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	SubnetMask *string `json:"subnet_mask"`

	// Network type.
	Type *string `json:"type,omitempty"`
}

CmspNetworkConfig CMSP Network Configuration for PC VM.

CMSP Network Configuration for PC VM.

swagger:model cmsp_network_config

func (*CmspNetworkConfig) ContextValidate

func (m *CmspNetworkConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cmsp network config based on context it is used

func (*CmspNetworkConfig) MarshalBinary

func (m *CmspNetworkConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CmspNetworkConfig) UnmarshalBinary

func (m *CmspNetworkConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CmspNetworkConfig) Validate

func (m *CmspNetworkConfig) Validate(formats strfmt.Registry) error

Validate validates this cmsp network config

type Credentials added in v0.6.0

type Credentials struct {

	// password
	Password string `json:"password,omitempty"`

	// username
	// Required: true
	Username *string `json:"username"`
}

Credentials Credentials to login server

Credentials to login server

swagger:model credentials

func (*Credentials) ContextValidate added in v0.6.0

func (m *Credentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this credentials based on context it is used

func (*Credentials) MarshalBinary added in v0.6.0

func (m *Credentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Credentials) UnmarshalBinary added in v0.6.0

func (m *Credentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Credentials) Validate added in v0.6.0

func (m *Credentials) Validate(formats strfmt.Registry) error

Validate validates this credentials

type DeploymentSettings

type DeploymentSettings struct {

	// my ntnx token
	// Required: true
	MyNtnxToken *MyNtnxToken `json:"my_ntnx_token"`

	// Unique identifier for the deployment assigned by MCM.
	// Required: true
	SystemID *string `json:"system_id"`
}

DeploymentSettings MCM deployment settings.

MCM deployment settings.

swagger:model deployment_settings

func (*DeploymentSettings) ContextValidate

func (m *DeploymentSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment settings based on the context it is used

func (*DeploymentSettings) MarshalBinary

func (m *DeploymentSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentSettings) UnmarshalBinary

func (m *DeploymentSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentSettings) Validate

func (m *DeploymentSettings) Validate(formats strfmt.Registry) error

Validate validates this deployment settings

type DhcpOptions added in v0.5.1

type DhcpOptions struct {

	// boot file name
	BootFileName string `json:"boot_file_name,omitempty"`

	// domain name
	DomainName string `json:"domain_name,omitempty"`

	// domain name server list
	// Max Items: 32
	DomainNameServerList []string `json:"domain_name_server_list"`

	// domain search list
	// Max Items: 32
	DomainSearchList []string `json:"domain_search_list"`

	// tftp server name
	TftpServerName string `json:"tftp_server_name,omitempty"`
}

DhcpOptions DHCP options

Spec for defining DHCP options.

swagger:model dhcp_options

func (*DhcpOptions) ContextValidate added in v0.5.1

func (m *DhcpOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dhcp options based on context it is used

func (*DhcpOptions) MarshalBinary added in v0.5.1

func (m *DhcpOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DhcpOptions) UnmarshalBinary added in v0.5.1

func (m *DhcpOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DhcpOptions) Validate added in v0.5.1

func (m *DhcpOptions) Validate(formats strfmt.Registry) error

Validate validates this dhcp options

type EncryptionStatus added in v0.6.0

type EncryptionStatus string

EncryptionStatus Cluster encryption status

Cluster encryption status.

swagger:model encryption_status

func (EncryptionStatus) ContextValidate added in v0.6.0

func (m EncryptionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encryption status based on context it is used

func (EncryptionStatus) Validate added in v0.6.0

func (m EncryptionStatus) Validate(formats strfmt.Registry) error

Validate validates this encryption status

type ExternalConfigurations added in v0.6.0

type ExternalConfigurations struct {

	// citrix connector config
	CitrixConnectorConfig *CitrixConnectorConfigDetails `json:"citrix_connector_config,omitempty"`
}

ExternalConfigurations External Connector Configurations.

External configurations for the connectors.

swagger:model external_configurations

func (*ExternalConfigurations) ContextValidate added in v0.6.0

func (m *ExternalConfigurations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external configurations based on the context it is used

func (*ExternalConfigurations) MarshalBinary added in v0.6.0

func (m *ExternalConfigurations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalConfigurations) UnmarshalBinary added in v0.6.0

func (m *ExternalConfigurations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalConfigurations) Validate added in v0.6.0

func (m *ExternalConfigurations) Validate(formats strfmt.Registry) error

Validate validates this external configurations

type ExternalConfigurationsSpec added in v0.6.0

type ExternalConfigurationsSpec struct {

	// citrix connector config
	CitrixConnectorConfig *CitrixConnectorConfigDetailsSpec `json:"citrix_connector_config,omitempty"`
}

ExternalConfigurationsSpec External Connector Configurations.

External configurations for the connectors.

swagger:model external_configurations_spec

func (*ExternalConfigurationsSpec) ContextValidate added in v0.6.0

func (m *ExternalConfigurationsSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external configurations spec based on the context it is used

func (*ExternalConfigurationsSpec) MarshalBinary added in v0.6.0

func (m *ExternalConfigurationsSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalConfigurationsSpec) UnmarshalBinary added in v0.6.0

func (m *ExternalConfigurationsSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalConfigurationsSpec) Validate added in v0.6.0

func (m *ExternalConfigurationsSpec) Validate(formats strfmt.Registry) error

Validate validates this external configurations spec

type HTTPProxyWhitelist added in v0.6.0

type HTTPProxyWhitelist struct {

	// The target's identifier (as specified by the target_type). For eg:
	// "10.1.1.1" "www.google.com"
	//
	// Required: true
	Target *string `json:"target"`

	// Supplementing information for the "target" field, that describes how
	// to interpret it. For eg: If target is a IPv4 address such as
	// "10.1.1.1", target_type shold be "IPv4_ADDRESS". If target is a host
	// name such as "www.google.com", then target_type shoold be "HOST_NAME"
	//
	// Required: true
	TargetType *string `json:"target_type"`
}

HTTPProxyWhitelist HTTP Proxy Whitelist

Exempt HTTP traffic to these targets, from going through the configured HTTP Proxy.

swagger:model http_proxy_whitelist

func (*HTTPProxyWhitelist) ContextValidate added in v0.6.0

func (m *HTTPProxyWhitelist) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this http proxy whitelist based on context it is used

func (*HTTPProxyWhitelist) MarshalBinary added in v0.6.0

func (m *HTTPProxyWhitelist) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPProxyWhitelist) UnmarshalBinary added in v0.6.0

func (m *HTTPProxyWhitelist) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPProxyWhitelist) Validate added in v0.6.0

func (m *HTTPProxyWhitelist) Validate(formats strfmt.Registry) error

Validate validates this http proxy whitelist

type HypervisorServer added in v0.6.0

type HypervisorServer struct {

	// ip
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	IP *string `json:"ip"`

	// type
	Type string `json:"type,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

HypervisorServer Hypervisor Server

Hypervisor server information.

swagger:model hypervisor_server

func (*HypervisorServer) ContextValidate added in v0.6.0

func (m *HypervisorServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hypervisor server based on context it is used

func (*HypervisorServer) MarshalBinary added in v0.6.0

func (m *HypervisorServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HypervisorServer) UnmarshalBinary added in v0.6.0

func (m *HypervisorServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HypervisorServer) Validate added in v0.6.0

func (m *HypervisorServer) Validate(formats strfmt.Registry) error

Validate validates this hypervisor server

type IPConfig added in v0.5.1

type IPConfig struct {

	// Default gateway IP address.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	DefaultGatewayIP string `json:"default_gateway_ip,omitempty"`

	// dhcp options
	DhcpOptions *DhcpOptions `json:"dhcp_options,omitempty"`

	// dhcp server address
	DhcpServerAddress *Address `json:"dhcp_server_address,omitempty"`

	// pool list
	PoolList []*IPPool `json:"pool_list"`

	// prefix length
	PrefixLength int32 `json:"prefix_length,omitempty"`

	// Subnet IP address.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	SubnetIP string `json:"subnet_ip,omitempty"`
}

IPConfig IP config

IP config.

swagger:model ip_config

func (*IPConfig) ContextValidate added in v0.5.1

func (m *IPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ip config based on the context it is used

func (*IPConfig) MarshalBinary added in v0.5.1

func (m *IPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPConfig) UnmarshalBinary added in v0.5.1

func (m *IPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPConfig) Validate added in v0.5.1

func (m *IPConfig) Validate(formats strfmt.Registry) error

Validate validates this ip config

type IPPool added in v0.5.1

type IPPool struct {

	// Range of IPs (example: 10.0.0.9 10.0.0.19).
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[ ](?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	Range string `json:"range,omitempty"`
}

IPPool IP pool

IP pool.

swagger:model ip_pool

func (*IPPool) ContextValidate added in v0.5.1

func (m *IPPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ip pool based on context it is used

func (*IPPool) MarshalBinary added in v0.5.1

func (m *IPPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPPool) UnmarshalBinary added in v0.5.1

func (m *IPPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPPool) Validate added in v0.5.1

func (m *IPPool) Validate(formats strfmt.Registry) error

Validate validates this ip pool

type IPUsageStats added in v0.6.0

type IPUsageStats struct {

	// ip pools stats
	IPPoolsStats []*PoolStats `json:"ip_pools_stats"`

	// Number of assigned IPs in the subnet.
	NumAssignedIps int32 `json:"num_assigned_ips,omitempty"`

	// Number of free IPs in the subnet.
	NumFreeIps int32 `json:"num_free_ips,omitempty"`

	// Number of MACs associated with the subnet.
	NumMacs int32 `json:"num_macs,omitempty"`
}

IPUsageStats IP address usage stats

IP address usage stats.

swagger:model ip_usage_stats

func (*IPUsageStats) ContextValidate added in v0.6.0

func (m *IPUsageStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ip usage stats based on the context it is used

func (*IPUsageStats) MarshalBinary added in v0.6.0

func (m *IPUsageStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPUsageStats) UnmarshalBinary added in v0.6.0

func (m *IPUsageStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPUsageStats) Validate added in v0.6.0

func (m *IPUsageStats) Validate(formats strfmt.Registry) error

Validate validates this ip usage stats

type IdempotenceIdentifiersInput added in v0.5.2

type IdempotenceIdentifiersInput struct {

	// The client identifier string.
	ClientIdentifier string `json:"client_identifier,omitempty"`

	// The number of idempotence identifiers provided.
	// Required: true
	// Maximum: 4096
	// Minimum: 1
	Count *int64 `json:"count"`

	// Number of minutes from creation time for which idempotence identifier uuid list is valid.
	// Maximum: 527040
	// Minimum: 1
	ValidDurationInMinutes int64 `json:"valid_duration_in_minutes,omitempty"`
}

IdempotenceIdentifiersInput Idempotence object

Resources for the idempotence identifier kind.

swagger:model idempotence_identifiers_input

func (*IdempotenceIdentifiersInput) ContextValidate added in v0.5.2

func (m *IdempotenceIdentifiersInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idempotence identifiers input based on context it is used

func (*IdempotenceIdentifiersInput) MarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersInput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdempotenceIdentifiersInput) UnmarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersInput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdempotenceIdentifiersInput) Validate added in v0.5.2

func (m *IdempotenceIdentifiersInput) Validate(formats strfmt.Registry) error

Validate validates this idempotence identifiers input

type IdempotenceIdentifiersMetadata added in v0.5.2

type IdempotenceIdentifiersMetadata struct {

	// Categories for the idempotence_identifiers. This allows assigning one value
	// of a key to any entity. Changes done in this will be reflected in
	// the categories_mapping field.
	//
	Categories map[string]string `json:"categories,omitempty"`

	// Categories for the idempotence_identifiers. This allows setting up multiple
	// values from a single key. Categories assigned using the older view will be
	// present here. This is the new way of assigning categories.
	//
	CategoriesMapping map[string][]string `json:"categories_mapping,omitempty"`

	// UTC date and time in RFC-3339 format when idempotence_identifiers was created
	//
	// Read Only: true
	// Format: date-time
	CreationTime strfmt.DateTime `json:"creation_time,omitempty"`

	// Logical entity version that allows serializing updates to the entity
	// across multiple API namespaces.  For kinds that support
	// entity_version, it overrides spec_version described above.
	//
	// Read Only: true
	EntityVersion string `json:"entity_version,omitempty"`

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// UTC date and time in RFC-3339 format when idempotence_identifiers was last updated
	//
	// Read Only: true
	// Format: date-time
	LastUpdateTime strfmt.DateTime `json:"last_update_time,omitempty"`

	// idempotence_identifiers name
	// Read Only: true
	// Max Length: 80
	Name string `json:"name,omitempty"`

	// owner reference
	OwnerReference *UserReference `json:"owner_reference,omitempty"`

	// The project the idempotence_identifiers is in.
	ProjectReference *ProjectReference `json:"project_reference,omitempty"`

	// Applied on Prism Central only. Indicate whether force to translate the spec of the fanout request to fit the target cluster API schema.
	//
	ShouldForceTranslate bool `json:"should_force_translate,omitempty"`

	// Hash of the spec. This will be returned from server.
	//
	SpecHash string `json:"spec_hash,omitempty"`

	// Version number of the latest spec.
	SpecVersion int64 `json:"spec_version,omitempty"`

	// Client need to specify this field as true if user want to use the
	// newer way of assigning the categories. Without this things should work
	// as it was earlier.
	//
	UseCategoriesMapping *bool `json:"use_categories_mapping,omitempty"`

	// idempotence_identifiers uuid
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID string `json:"uuid,omitempty"`
}

IdempotenceIdentifiersMetadata idempotence_identifiers metadata

The idempotence_identifiers kind metadata

swagger:model idempotence_identifiers_metadata

func (*IdempotenceIdentifiersMetadata) ContextValidate added in v0.5.2

func (m *IdempotenceIdentifiersMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idempotence identifiers metadata based on the context it is used

func (*IdempotenceIdentifiersMetadata) MarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdempotenceIdentifiersMetadata) UnmarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdempotenceIdentifiersMetadata) Validate added in v0.5.2

func (m *IdempotenceIdentifiersMetadata) Validate(formats strfmt.Registry) error

Validate validates this idempotence identifiers metadata

type IdempotenceIdentifiersResponse added in v0.5.2

type IdempotenceIdentifiersResponse struct {

	// The client identifier string.
	ClientIdentifier string `json:"client_identifier,omitempty"`

	// The number of idempotence identifiers provided.
	// Required: true
	Count *int64 `json:"count"`

	// UTC date and time in RFC-3339 format of the expiration time (with reference to system time). Value is creation time + valid_duration
	// Format: date-time
	ExpirationTime strfmt.DateTime `json:"expiration_time,omitempty"`

	// uuid list
	// Required: true
	UUIDList []string `json:"uuid_list"`
}

IdempotenceIdentifiersResponse Idempotence identifier status definition.

Idempotence identifier status definition.

swagger:model idempotence_identifiers_response

func (*IdempotenceIdentifiersResponse) ContextValidate added in v0.5.2

func (m *IdempotenceIdentifiersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idempotence identifiers response based on context it is used

func (*IdempotenceIdentifiersResponse) MarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdempotenceIdentifiersResponse) UnmarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdempotenceIdentifiersResponse) Validate added in v0.5.2

func (m *IdempotenceIdentifiersResponse) Validate(formats strfmt.Registry) error

Validate validates this idempotence identifiers response

type IdempotenceIdentifiersStatus added in v0.5.2

type IdempotenceIdentifiersStatus struct {

	// api version
	APIVersion APIVersion `json:"api_version,omitempty"`

	// The HTTP error code.
	// Read Only: true
	Code int64 `json:"code,omitempty"`

	// The kind name
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// message list
	// Read Only: true
	MessageList []*MessageResource `json:"message_list"`

	// state
	// Read Only: true
	State string `json:"state,omitempty"`
}

IdempotenceIdentifiersStatus Response Kind

The status of a REST API call. Only used when there is a failure to report.

swagger:model idempotence_identifiers_status

func (*IdempotenceIdentifiersStatus) ContextValidate added in v0.5.2

func (m *IdempotenceIdentifiersStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idempotence identifiers status based on the context it is used

func (*IdempotenceIdentifiersStatus) MarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdempotenceIdentifiersStatus) UnmarshalBinary added in v0.5.2

func (m *IdempotenceIdentifiersStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdempotenceIdentifiersStatus) Validate added in v0.5.2

func (m *IdempotenceIdentifiersStatus) Validate(formats strfmt.Registry) error

Validate validates this idempotence identifiers status

type McmConfig

type McmConfig struct {

	// API Keys app base URL.
	// Required: true
	// Max Length: 512
	// Pattern: ^((((http[s]?):\/)?\/?([^:\/\s]+)((\/\w+)*(:[0-9]+)*?\/)([\w\-\.]+[^#?\s]+)(.*)?)(#[\w\-]+)?$|(http[s]?:\/\/([\w\d\-_\.])((\/?\w+\.*)*(:[0-9]+)*\/?)))
	ComponentRegistryBaseURL *string `json:"component_registry_base_url"`

	// deployment settings
	// Required: true
	DeploymentSettings *DeploymentSettings `json:"deployment_settings"`

	// MCM base URL.
	// Required: true
	// Max Length: 512
	// Pattern: ^((((http[s]?):\/)?\/?([^:\/\s]+)((\/\w+)*(:[0-9]+)*?\/)([\w\-\.]+[^#?\s]+)(.*)?)(#[\w\-]+)?$|(http[s]?:\/\/([\w\d\-_\.])((\/?\w+\.*)*(:[0-9]+)*\/?)))
	OrchestratorBaseURL *string `json:"orchestrator_base_url"`

	// Type of the deployed component. For example Prism Central or Flow Gateway.
	// Required: true
	ProductName *string `json:"product_name"`
}

McmConfig MCM config for PC Deployment

MCM config for PC Deployment definition.

swagger:model mcm_config

func (*McmConfig) ContextValidate

func (m *McmConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this mcm config based on the context it is used

func (*McmConfig) MarshalBinary

func (m *McmConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*McmConfig) UnmarshalBinary

func (m *McmConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*McmConfig) Validate

func (m *McmConfig) Validate(formats strfmt.Registry) error

Validate validates this mcm config

type MessageResource added in v0.5.2

type MessageResource struct {

	// Custom key-value details relevant to the status.
	// Read Only: true
	Details map[string]string `json:"details,omitempty"`

	// If state is ERROR, a message describing the error.
	// Required: true
	Message *string `json:"message"`

	// If state is ERROR, a machine-readable snake-cased string.
	// Required: true
	Reason *string `json:"reason"`
}

MessageResource Message.

message.

swagger:model message_resource

func (*MessageResource) ContextValidate added in v0.5.2

func (m *MessageResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this message resource based on the context it is used

func (*MessageResource) MarshalBinary added in v0.5.2

func (m *MessageResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MessageResource) UnmarshalBinary added in v0.5.2

func (m *MessageResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MessageResource) Validate added in v0.5.2

func (m *MessageResource) Validate(formats strfmt.Registry) error

Validate validates this message resource

type MyNtnxToken

type MyNtnxToken struct {

	// API Key issue by my.nutanix API Keys app.
	// Required: true
	APIKey *string `json:"api_key"`

	// Unique identifier for the API key.
	// Required: true
	KeyID *string `json:"key_id"`

	// my.nutanix scope Id assigned to the deployed component.
	// Required: true
	ScopeID *string `json:"scope_id"`

	// my.nutanix subscope Id assigned to the deployed component.
	// Required: true
	SubscopeID *string `json:"subscope_id"`
}

MyNtnxToken MCM My Nutanix token.

MCM My Nutanix token.

swagger:model my_ntnx_token

func (*MyNtnxToken) ContextValidate

func (m *MyNtnxToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this my ntnx token based on context it is used

func (*MyNtnxToken) MarshalBinary

func (m *MyNtnxToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MyNtnxToken) UnmarshalBinary

func (m *MyNtnxToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MyNtnxToken) Validate

func (m *MyNtnxToken) Validate(formats strfmt.Registry) error

Validate validates this my ntnx token

type NetworkConfig

type NetworkConfig struct {

	// Gateway IP address.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	DefaultGateway string `json:"default_gateway,omitempty"`

	// Network name.
	NetworkName string `json:"network_name,omitempty"`

	// Network uuid.
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	NetworkUUID string `json:"network_uuid,omitempty"`

	// Subnet mask IP address.
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	SubnetMask string `json:"subnet_mask,omitempty"`
}

NetworkConfig Network Configuration for PC VM.

Network Configuration for PC VM.

swagger:model network_config

func (*NetworkConfig) ContextValidate

func (m *NetworkConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network config based on context it is used

func (*NetworkConfig) MarshalBinary

func (m *NetworkConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkConfig) UnmarshalBinary

func (m *NetworkConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkConfig) Validate

func (m *NetworkConfig) Validate(formats strfmt.Registry) error

Validate validates this network config

type NetworkFunctionChainReference added in v0.5.1

type NetworkFunctionChainReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

NetworkFunctionChainReference Reference to a network_function_chain

The reference to a network_function_chain

swagger:model network_function_chain_reference

func (*NetworkFunctionChainReference) ContextValidate added in v0.5.1

func (m *NetworkFunctionChainReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network function chain reference based on the context it is used

func (*NetworkFunctionChainReference) MarshalBinary added in v0.5.1

func (m *NetworkFunctionChainReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkFunctionChainReference) UnmarshalBinary added in v0.5.1

func (m *NetworkFunctionChainReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkFunctionChainReference) Validate added in v0.5.1

func (m *NetworkFunctionChainReference) Validate(formats strfmt.Registry) error

Validate validates this network function chain reference

type PcVM

type PcVM struct {

	// Reference to the cluster where this prism central VM needs to be deployed.
	//
	ClusterReference *ClusterReference `json:"cluster_reference,omitempty"`

	// Container name.
	ContainerName string `json:"container_name,omitempty"`

	// Container uuid.
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	ContainerUUID string `json:"container_uuid,omitempty"`

	// Data disk size in bytes.
	// Required: true
	DataDiskSizeBytes *int64 `json:"data_disk_size_bytes"`

	// List of DNS IP addresses.
	DNSServerIPList []string `json:"dns_server_ip_list"`

	// Memory in bytes.
	// Required: true
	// Minimum: 8.589934592e+09
	MemorySizeBytes *int64 `json:"memory_size_bytes"`

	// nic list
	// Required: true
	NicList []*PcVMNicConfiguration `json:"nic_list"`

	// List of NTP servers.
	NtpServerList []string `json:"ntp_server_list"`

	// Number of sockets allocated per VM.
	// Required: true
	NumSockets *int64 `json:"num_sockets"`

	// The current power state of the VM.
	// Read Only: true
	PowerState string `json:"power_state,omitempty"`

	// Prism central VM status
	// Read Only: true
	Status string `json:"status,omitempty"`

	// VM name.
	// Required: true
	// Max Length: 64
	VMName *string `json:"vm_name"`

	// VM uuid.
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	VMUUID string `json:"vm_uuid,omitempty"`
}

PcVM Prism central VM configuration

Prism central VM configuration.

swagger:model pc_vm

func (*PcVM) ContextValidate

func (m *PcVM) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pc vm based on the context it is used

func (*PcVM) MarshalBinary

func (m *PcVM) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PcVM) UnmarshalBinary

func (m *PcVM) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PcVM) Validate

func (m *PcVM) Validate(formats strfmt.Registry) error

Validate validates this pc vm

type PcVMNicConfiguration

type PcVMNicConfiguration struct {

	// Network IP address.
	IPList []string `json:"ip_list"`

	// network configuration
	NetworkConfiguration *NetworkConfig `json:"network_configuration,omitempty"`
}

PcVMNicConfiguration Virtual Machine NIC

Virtual Machine NIC.

swagger:model pc_vm_nic_configuration

func (*PcVMNicConfiguration) ContextValidate

func (m *PcVMNicConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pc vm nic configuration based on the context it is used

func (*PcVMNicConfiguration) MarshalBinary

func (m *PcVMNicConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PcVMNicConfiguration) UnmarshalBinary

func (m *PcVMNicConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PcVMNicConfiguration) Validate

func (m *PcVMNicConfiguration) Validate(formats strfmt.Registry) error

Validate validates this pc vm nic configuration

type PoolStats added in v0.6.0

type PoolStats struct {

	// Number of free IPs in the pool.
	NumFreeIps int32 `json:"num_free_ips,omitempty"`

	// Number of total IPs in the pool.
	NumTotalIps int32 `json:"num_total_ips,omitempty"`

	// Range of IPs (example: 10.0.0.9 10.0.0.19).
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[ ](?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	Range string `json:"range,omitempty"`
}

PoolStats IP pool usage stats

IP pool usage stats.

swagger:model pool_stats

func (*PoolStats) ContextValidate added in v0.6.0

func (m *PoolStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pool stats based on context it is used

func (*PoolStats) MarshalBinary added in v0.6.0

func (m *PoolStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PoolStats) UnmarshalBinary added in v0.6.0

func (m *PoolStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PoolStats) Validate added in v0.6.0

func (m *PoolStats) Validate(formats strfmt.Registry) error

Validate validates this pool stats

type PrismCentral

type PrismCentral struct {

	// resources
	// Required: true
	Resources *PrismCentralResources `json:"resources"`
}

PrismCentral Prism Central

Prism central deployment definition.

swagger:model prism_central

func (*PrismCentral) ContextValidate

func (m *PrismCentral) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this prism central based on the context it is used

func (*PrismCentral) MarshalBinary

func (m *PrismCentral) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrismCentral) UnmarshalBinary

func (m *PrismCentral) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrismCentral) Validate

func (m *PrismCentral) Validate(formats strfmt.Registry) error

Validate validates this prism central

type PrismCentralResources

type PrismCentralResources struct {

	// The Cluster UUID for the Prism Central Deployment.
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	ClusterUUID string `json:"cluster_uuid,omitempty"`

	// cmsp config
	CmspConfig *CmspConfig `json:"cmsp_config,omitempty"`

	// The MCM environment config.
	Environment string `json:"environment,omitempty"`

	// Initial boot up password for new created Prism Central.
	// Max Length: 50
	// Min Length: 1
	// Format: password
	InitialPassword strfmt.Password `json:"initial_password,omitempty"`

	// If this prism central vm is registered to hosting PE.
	IsRegisteredToHostingPe *bool `json:"is_registered_to_hosting_pe,omitempty"`

	// mcm config
	McmConfig *McmConfig `json:"mcm_config,omitempty"`

	// Size of the PC being deployed(tiny/small/large/XL)
	PcSize string `json:"pc_size,omitempty"`

	// pc vm list
	// Required: true
	PcVMList []*PcVM `json:"pc_vm_list"`

	// Indicates if the new prism central should be automatically register to the cluster.
	//
	ShouldAutoRegister *bool `json:"should_auto_register,omitempty"`

	// The type of the Prism Central cluster.
	Type *string `json:"type,omitempty"`

	// The desired version of Prism Central.
	// Required: true
	Version *string `json:"version"`

	// The desired virtual IP address of Prism Central cluster.
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	VirtualIP string `json:"virtual_ip,omitempty"`
}

PrismCentralResources Prism central deployment resources.

swagger:model PrismCentralResources

func (*PrismCentralResources) ContextValidate

func (m *PrismCentralResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this prism central resources based on the context it is used

func (*PrismCentralResources) MarshalBinary

func (m *PrismCentralResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrismCentralResources) UnmarshalBinary

func (m *PrismCentralResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrismCentralResources) Validate

func (m *PrismCentralResources) Validate(formats strfmt.Registry) error

Validate validates this prism central resources

type ProjectReference added in v0.5.2

type ProjectReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

ProjectReference Reference to a project

The reference to a project

swagger:model project_reference

func (*ProjectReference) ContextValidate added in v0.5.2

func (m *ProjectReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project reference based on the context it is used

func (*ProjectReference) MarshalBinary added in v0.5.2

func (m *ProjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectReference) UnmarshalBinary added in v0.5.2

func (m *ProjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectReference) Validate added in v0.5.2

func (m *ProjectReference) Validate(formats strfmt.Registry) error

Validate validates this project reference

type PublicKey added in v0.6.0

type PublicKey struct {

	// key
	// Required: true
	Key *string `json:"key"`

	// name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`
}

PublicKey Public Key

Public Key

swagger:model public_key

func (*PublicKey) ContextValidate added in v0.6.0

func (m *PublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public key based on context it is used

func (*PublicKey) MarshalBinary added in v0.6.0

func (m *PublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicKey) UnmarshalBinary added in v0.6.0

func (m *PublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicKey) Validate added in v0.6.0

func (m *PublicKey) Validate(formats strfmt.Registry) error

Validate validates this public key

type RecoverEntities added in v0.6.0

type RecoverEntities struct {

	// Information about entities to be recovered as part of this stage. For VM, entity information will include set of scripts to be executed after recovery of VM. Only one of categories or any_entity_reference has to be provided.
	//
	// Required: true
	EntityInfoList []*RecoverEntitiesEntityInfoListItems0 `json:"entity_info_list"`
}

RecoverEntities Information about entities to be recovered

Information about entities to be recovered.

swagger:model recover_entities

func (*RecoverEntities) ContextValidate added in v0.6.0

func (m *RecoverEntities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recover entities based on the context it is used

func (*RecoverEntities) MarshalBinary added in v0.6.0

func (m *RecoverEntities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverEntities) UnmarshalBinary added in v0.6.0

func (m *RecoverEntities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverEntities) Validate added in v0.6.0

func (m *RecoverEntities) Validate(formats strfmt.Registry) error

Validate validates this recover entities

type RecoverEntitiesEntityInfoListItems0 added in v0.6.0

type RecoverEntitiesEntityInfoListItems0 struct {

	// Information about entity to be recovered.
	AnyEntityReference *Reference `json:"any_entity_reference,omitempty"`

	// Categories for filtering entities.
	Categories map[string]string `json:"categories,omitempty"`

	// List of scripts to be executed inside the guest VMs after recovery.
	//
	ScriptList []*RecoveryPlanScriptConfig `json:"script_list"`

	// Power state of the VM(s) after recovery.
	VMPowerState string `json:"vm_power_state,omitempty"`

	// List containing the VMs to Volume Group attachment information.
	//
	VolumeGroupAttachmentList []*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0 `json:"volume_group_attachment_list"`
}

RecoverEntitiesEntityInfoListItems0 recover entities entity info list items0

swagger:model RecoverEntitiesEntityInfoListItems0

func (*RecoverEntitiesEntityInfoListItems0) ContextValidate added in v0.6.0

func (m *RecoverEntitiesEntityInfoListItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recover entities entity info list items0 based on the context it is used

func (*RecoverEntitiesEntityInfoListItems0) MarshalBinary added in v0.6.0

func (m *RecoverEntitiesEntityInfoListItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverEntitiesEntityInfoListItems0) UnmarshalBinary added in v0.6.0

func (m *RecoverEntitiesEntityInfoListItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverEntitiesEntityInfoListItems0) Validate added in v0.6.0

Validate validates this recover entities entity info list items0

type RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0 added in v0.6.0

type RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0 struct {

	// Reference of the VM to which Volume Group is to be attached. The VM specified here must be among those either specified explicitly in "any_entity_reference" or have categories as specified in the "categories" filter.
	//
	// Required: true
	VMReference *VMReference `json:"vm_reference"`

	// Information about Volume Groups to be attached.
	//
	// Required: true
	// Min Items: 1
	VolumeGroupAttachmentInfoList []*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0 `json:"volume_group_attachment_info_list"`
}

RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0 recover entities entity info list items0 volume group attachment list items0

swagger:model RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recover entities entity info list items0 volume group attachment list items0 based on the context it is used

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0) Validate added in v0.6.0

Validate validates this recover entities entity info list items0 volume group attachment list items0

type RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0 added in v0.6.0

type RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0 struct {

	// Mechanism to be used for Volume Group attachment. The allowed attachment types are IQN, HYPERVISOR. Specify IQN in case of "iSCSI Qualified Name" based attachments. In case of IQN based attachment, authentication_type, client_secret can be specified for client authentication. Specify HYPERVISOR for directly attaching Volumes to VM through the hypervisor, this is only supported when VM is running on AHV hypervisor."
	//
	// Required: true
	AttachmentType *string `json:"attachment_type"`

	// Type of authentication protocol to be used.
	//
	AuthenticationType string `json:"authentication_type,omitempty"`

	// Client secret in case of CHAP authentication is required.
	//
	// Max Length: 16
	// Min Length: 12
	// Format: password
	ClientSecret strfmt.Password `json:"client_secret,omitempty"`

	// Reference of the Volume Group to be attached. The Volume Groups specified here must be among those specified explicitly or via category filter in the "volume_group_recovery_info_list".
	//
	// Required: true
	VolumeGroupReference *VolumeGroupReference `json:"volume_group_reference"`
}

RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0 recover entities entity info list items0 volume group attachment list items0 volume group attachment info list items0

swagger:model RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recover entities entity info list items0 volume group attachment list items0 volume group attachment info list items0 based on the context it is used

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoverEntitiesEntityInfoListItems0VolumeGroupAttachmentListItems0VolumeGroupAttachmentInfoListItems0) Validate added in v0.6.0

Validate validates this recover entities entity info list items0 volume group attachment list items0 volume group attachment info list items0

type RecoveryPlan added in v0.6.0

type RecoveryPlan struct {

	// A description or user annotation for the Recovery Plan.
	// Max Length: 1000
	Description string `json:"description,omitempty"`

	// Recovery Plan name
	// Required: true
	// Max Length: 64
	Name *string `json:"name"`

	// resources
	// Required: true
	Resources *RecoveryPlanResources `json:"resources"`
}

RecoveryPlan Recovery Plan creation/modification spec

Recovery Plan creation/modification spec

swagger:model recovery_plan

func (*RecoveryPlan) ContextValidate added in v0.6.0

func (m *RecoveryPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan based on the context it is used

func (*RecoveryPlan) MarshalBinary added in v0.6.0

func (m *RecoveryPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlan) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlan) Validate added in v0.6.0

func (m *RecoveryPlan) Validate(formats strfmt.Registry) error

Validate validates this recovery plan

type RecoveryPlanDataServiceIPConfig added in v0.6.0

type RecoveryPlanDataServiceIPConfig struct {

	// URL of the Availability Zone.
	// Required: true
	AvailabilityZoneURL *string `json:"availability_zone_url"`

	// Reference to Cluster where the data service IPs are hosted.
	//
	// Required: true
	ClusterReference *ClusterReference `json:"cluster_reference"`

	// Data Services IP address to be reconfigured in VM during Planned and Unplanned Failover.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	RecoveryDataServiceIP *string `json:"recovery_data_service_ip"`

	// Data Services IP address to be reconfigured in VM during Test Failover.
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	TestDataServiceIP string `json:"test_data_service_ip,omitempty"`
}

RecoveryPlanDataServiceIPConfig Data Service IP to be configured on the VM.

Information about Data Service IP to be configured on the VM during Volume Group attachment.

swagger:model recovery_plan_data_service_ip_config

func (*RecoveryPlanDataServiceIPConfig) ContextValidate added in v0.6.0

func (m *RecoveryPlanDataServiceIPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan data service ip config based on the context it is used

func (*RecoveryPlanDataServiceIPConfig) MarshalBinary added in v0.6.0

func (m *RecoveryPlanDataServiceIPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanDataServiceIPConfig) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanDataServiceIPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanDataServiceIPConfig) Validate added in v0.6.0

Validate validates this recovery plan data service ip config

type RecoveryPlanDefStatus added in v0.6.0

type RecoveryPlanDefStatus struct {

	// A description or user annotation for the Recovery Plan.
	Description string `json:"description,omitempty"`

	// Time when latest test was done for Recovery Plan.
	// Format: date-time
	LatestTestTime strfmt.DateTime `json:"latest_test_time,omitempty"`

	// Time when latest validation was done for Recovery Plan.
	// Format: date-time
	LatestValidationTime strfmt.DateTime `json:"latest_validation_time,omitempty"`

	// message list
	MessageList []*MessageResource `json:"message_list"`

	// Recovery Plan name
	// Required: true
	Name *string `json:"name"`

	// List of recovery Availability Zones order list. Each unique Availability Zone order list will be reported. A cluster might also be specified for each Availability Zone in the Availability Zones order list, in case the entity is protected for replication to/from a cluster in the Protection Policy.
	//
	// Required: true
	RecoveryAvailabilityZoneOrderList []*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0 `json:"recovery_availability_zone_order_list"`

	// resources
	// Required: true
	Resources *RecoveryPlanResources `json:"resources"`

	// The state of the Recovery Plan entity.
	State string `json:"state,omitempty"`
}

RecoveryPlanDefStatus Recovery Plan status

Recovery Plan status

swagger:model recovery_plan_def_status

func (*RecoveryPlanDefStatus) ContextValidate added in v0.6.0

func (m *RecoveryPlanDefStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan def status based on the context it is used

func (*RecoveryPlanDefStatus) MarshalBinary added in v0.6.0

func (m *RecoveryPlanDefStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanDefStatus) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanDefStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanDefStatus) Validate added in v0.6.0

func (m *RecoveryPlanDefStatus) Validate(formats strfmt.Registry) error

Validate validates this recovery plan def status

type RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0 added in v0.6.0

type RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0 struct {

	// List of recovery Availability Zone orders for entities in the Recovery Plan. More than one entry in this list indicates entities in Recovery Plan are protected by the Protection Rules with different recovery Availability Zone order and makes Recovery Plan invalid.
	//
	AvailabilityZoneOrderList [][]*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0 `json:"availability_zone_order_list"`

	// URL of the Availability Zone.
	//
	// Required: true
	AvailabilityZoneURL *string `json:"availability_zone_url"`
}

RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0 recovery plan def status recovery availability zone order list items0

swagger:model RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan def status recovery availability zone order list items0 based on the context it is used

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0) Validate added in v0.6.0

Validate validates this recovery plan def status recovery availability zone order list items0

type RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0 added in v0.6.0

type RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0 struct {

	// List of Availability Zones.
	AvailabilityZoneList []*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0 `json:"availability_zone_list"`
}

RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0 recovery plan def status recovery availability zone order list items0 availability zone order list items0

swagger:model RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan def status recovery availability zone order list items0 availability zone order list items0 based on the context it is used

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0) Validate added in v0.6.0

Validate validates this recovery plan def status recovery availability zone order list items0 availability zone order list items0

type RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0 added in v0.6.0

type RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0 struct {

	// URL of the Availability Zone.
	//
	AvailabilityZoneURL string `json:"availability_zone_url,omitempty"`

	// UUID of the cluster.
	//
	Cluster string `json:"cluster,omitempty"`
}

RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0 recovery plan def status recovery availability zone order list items0 availability zone order list items0 availability zone list items0

swagger:model RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0) ContextValidate added in v0.6.0

ContextValidate validates this recovery plan def status recovery availability zone order list items0 availability zone order list items0 availability zone list items0 based on context it is used

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanDefStatusRecoveryAvailabilityZoneOrderListItems0AvailabilityZoneOrderListItems0AvailabilityZoneListItems0) Validate added in v0.6.0

Validate validates this recovery plan def status recovery availability zone order list items0 availability zone order list items0 availability zone list items0

type RecoveryPlanFloatingIPConfig added in v0.6.0

type RecoveryPlanFloatingIPConfig struct {

	// IP to be assigned to VM, in case of failover.
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	IP string `json:"ip,omitempty"`

	// Whether to allocate the floating IPs for the VMs dynamically.
	//
	ShouldAllocateDynamically bool `json:"should_allocate_dynamically,omitempty"`
}

RecoveryPlanFloatingIPConfig Floating IP configuration for a VM

Configuration for assigning floating IP to a VM on the execution of the Recovery Plan.

swagger:model recovery_plan_floating_ip_config

func (*RecoveryPlanFloatingIPConfig) ContextValidate added in v0.6.0

func (m *RecoveryPlanFloatingIPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recovery plan floating ip config based on context it is used

func (*RecoveryPlanFloatingIPConfig) MarshalBinary added in v0.6.0

func (m *RecoveryPlanFloatingIPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanFloatingIPConfig) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanFloatingIPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanFloatingIPConfig) Validate added in v0.6.0

func (m *RecoveryPlanFloatingIPConfig) Validate(formats strfmt.Registry) error

Validate validates this recovery plan floating ip config

type RecoveryPlanIntentInput added in v0.6.0

type RecoveryPlanIntentInput struct {

	// api version
	APIVersion APIVersion `json:"api_version,omitempty"`

	// metadata
	// Required: true
	Metadata *RecoveryPlanMetadata `json:"metadata"`

	// spec
	// Required: true
	Spec *RecoveryPlan `json:"spec"`
}

RecoveryPlanIntentInput recovery_plan Intent Entity

An intentful representation of a recovery_plan

swagger:model recovery_plan_intent_input

func (*RecoveryPlanIntentInput) ContextValidate added in v0.6.0

func (m *RecoveryPlanIntentInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan intent input based on the context it is used

func (*RecoveryPlanIntentInput) MarshalBinary added in v0.6.0

func (m *RecoveryPlanIntentInput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanIntentInput) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanIntentInput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanIntentInput) Validate added in v0.6.0

func (m *RecoveryPlanIntentInput) Validate(formats strfmt.Registry) error

Validate validates this recovery plan intent input

type RecoveryPlanIntentResource added in v0.6.0

type RecoveryPlanIntentResource struct {

	// api version
	APIVersion APIVersion `json:"api_version,omitempty"`

	// metadata
	// Required: true
	Metadata *RecoveryPlanMetadata `json:"metadata"`

	// spec
	Spec *RecoveryPlan `json:"spec,omitempty"`

	// status
	Status *RecoveryPlanDefStatus `json:"status,omitempty"`
}

RecoveryPlanIntentResource recovery_plan Intent Response

Response object for intentful operations on a recovery_plan

swagger:model recovery_plan_intent_resource

func (*RecoveryPlanIntentResource) ContextValidate added in v0.6.0

func (m *RecoveryPlanIntentResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan intent resource based on the context it is used

func (*RecoveryPlanIntentResource) MarshalBinary added in v0.6.0

func (m *RecoveryPlanIntentResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanIntentResource) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanIntentResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanIntentResource) Validate added in v0.6.0

func (m *RecoveryPlanIntentResource) Validate(formats strfmt.Registry) error

Validate validates this recovery plan intent resource

type RecoveryPlanIntentResponse added in v0.6.0

type RecoveryPlanIntentResponse struct {

	// api version
	// Required: true
	APIVersion APIVersion `json:"api_version"`

	// metadata
	// Required: true
	Metadata *RecoveryPlanMetadata `json:"metadata"`

	// spec
	Spec *RecoveryPlan `json:"spec,omitempty"`

	// status
	Status *RecoveryPlanDefStatus `json:"status,omitempty"`
}

RecoveryPlanIntentResponse recovery_plan Intent Response

Response object for intentful operations on a recovery_plan

swagger:model recovery_plan_intent_response

func (*RecoveryPlanIntentResponse) ContextValidate added in v0.6.0

func (m *RecoveryPlanIntentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan intent response based on the context it is used

func (*RecoveryPlanIntentResponse) MarshalBinary added in v0.6.0

func (m *RecoveryPlanIntentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanIntentResponse) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanIntentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanIntentResponse) Validate added in v0.6.0

func (m *RecoveryPlanIntentResponse) Validate(formats strfmt.Registry) error

Validate validates this recovery plan intent response

type RecoveryPlanL2StretchConfig added in v0.6.0

type RecoveryPlanL2StretchConfig struct {

	// local vtep gateway config
	// Required: true
	LocalVtepGatewayConfig *RecoveryPlanL2StretchConfigLocalVtepGatewayConfig `json:"local_vtep_gateway_config"`

	// VTEP Interface IP address on site for which subnet configuration is being specified.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	LocalVtepInterfaceIPAddress *string `json:"local_vtep_interface_ip_address"`

	// Reference to the VTEP Gateway on site to which subnet is being stretched.
	//
	// Required: true
	RemoteVtepGatewayReference *VtepGatewayReference `json:"remote_vtep_gateway_reference"`

	// VTEP Interface IP address on site to which subnet is extended.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	RemoteVtepInterfaceIPAddress *string `json:"remote_vtep_interface_ip_address"`
}

RecoveryPlanL2StretchConfig Configuration for creating Layer2 stretch for the subnet.

Configuration for the Layer2 stretch of the subnet.

swagger:model recovery_plan_l2_stretch_config

func (*RecoveryPlanL2StretchConfig) ContextValidate added in v0.6.0

func (m *RecoveryPlanL2StretchConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan l2 stretch config based on the context it is used

func (*RecoveryPlanL2StretchConfig) MarshalBinary added in v0.6.0

func (m *RecoveryPlanL2StretchConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanL2StretchConfig) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanL2StretchConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanL2StretchConfig) Validate added in v0.6.0

func (m *RecoveryPlanL2StretchConfig) Validate(formats strfmt.Registry) error

Validate validates this recovery plan l2 stretch config

type RecoveryPlanL2StretchConfigLocalVtepGatewayConfig added in v0.6.0

type RecoveryPlanL2StretchConfigLocalVtepGatewayConfig struct {

	// VTEP Gateway name.
	Name string `json:"name,omitempty"`
}

RecoveryPlanL2StretchConfigLocalVtepGatewayConfig VTEP Gateway configuration

Configuration of the VTEP Gateway.

swagger:model RecoveryPlanL2StretchConfigLocalVtepGatewayConfig

func (*RecoveryPlanL2StretchConfigLocalVtepGatewayConfig) ContextValidate added in v0.6.0

ContextValidate validates this recovery plan l2 stretch config local vtep gateway config based on context it is used

func (*RecoveryPlanL2StretchConfigLocalVtepGatewayConfig) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanL2StretchConfigLocalVtepGatewayConfig) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanL2StretchConfigLocalVtepGatewayConfig) Validate added in v0.6.0

Validate validates this recovery plan l2 stretch config local vtep gateway config

type RecoveryPlanListIntentResponse added in v0.6.0

type RecoveryPlanListIntentResponse struct {

	// api version
	// Required: true
	APIVersion APIVersion `json:"api_version"`

	// entities
	Entities []*RecoveryPlanIntentResource `json:"entities"`

	// metadata
	// Required: true
	Metadata *RecoveryPlanListMetadataOutput `json:"metadata"`
}

RecoveryPlanListIntentResponse Entity Intent List Response

Response object for intentful operation of recovery_plans

swagger:model recovery_plan_list_intent_response

func (*RecoveryPlanListIntentResponse) ContextValidate added in v0.6.0

func (m *RecoveryPlanListIntentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan list intent response based on the context it is used

func (*RecoveryPlanListIntentResponse) MarshalBinary added in v0.6.0

func (m *RecoveryPlanListIntentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanListIntentResponse) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanListIntentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanListIntentResponse) Validate added in v0.6.0

func (m *RecoveryPlanListIntentResponse) Validate(formats strfmt.Registry) error

Validate validates this recovery plan list intent response

type RecoveryPlanListMetadataOutput added in v0.6.0

type RecoveryPlanListMetadataOutput struct {

	// The filter used for the results
	Filter string `json:"filter,omitempty"`

	// The kind name
	Kind *string `json:"kind,omitempty"`

	// The number of records retrieved relative to the offset
	Length int64 `json:"length,omitempty"`

	// Offset from the start of the entity list
	Offset int64 `json:"offset,omitempty"`

	// The attribute to perform sort on
	SortAttribute string `json:"sort_attribute,omitempty"`

	// sort order
	SortOrder SortOrder `json:"sort_order,omitempty"`

	// Total matches found
	TotalMatches int64 `json:"total_matches,omitempty"`
}

RecoveryPlanListMetadataOutput Metadata for recovery_plan list output

All api calls that return a list will have this metadata block

swagger:model recovery_plan_list_metadata_output

func (*RecoveryPlanListMetadataOutput) ContextValidate added in v0.6.0

func (m *RecoveryPlanListMetadataOutput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan list metadata output based on the context it is used

func (*RecoveryPlanListMetadataOutput) MarshalBinary added in v0.6.0

func (m *RecoveryPlanListMetadataOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanListMetadataOutput) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanListMetadataOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanListMetadataOutput) Validate added in v0.6.0

func (m *RecoveryPlanListMetadataOutput) Validate(formats strfmt.Registry) error

Validate validates this recovery plan list metadata output

type RecoveryPlanMetadata added in v0.6.0

type RecoveryPlanMetadata struct {

	// Categories for the recovery_plan. This allows assigning one value
	// of a key to any entity. Changes done in this will be reflected in
	// the categories_mapping field.
	//
	Categories map[string]string `json:"categories,omitempty"`

	// Categories for the recovery_plan. This allows setting up multiple
	// values from a single key. Categories assigned using the older view will be
	// present here. This is the new way of assigning categories.
	//
	CategoriesMapping map[string][]string `json:"categories_mapping,omitempty"`

	// UTC date and time in RFC-3339 format when recovery_plan was created
	//
	// Read Only: true
	// Format: date-time
	CreationTime strfmt.DateTime `json:"creation_time,omitempty"`

	// Logical entity version that allows serializing updates to the entity
	// across multiple API namespaces.  For kinds that support
	// entity_version, it overrides spec_version described above.
	//
	// Read Only: true
	EntityVersion string `json:"entity_version,omitempty"`

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// UTC date and time in RFC-3339 format when recovery_plan was last updated
	//
	// Read Only: true
	// Format: date-time
	LastUpdateTime strfmt.DateTime `json:"last_update_time,omitempty"`

	// recovery_plan name
	// Read Only: true
	// Max Length: 80
	Name string `json:"name,omitempty"`

	// owner reference
	OwnerReference *UserReference `json:"owner_reference,omitempty"`

	// The project the recovery_plan is in.
	ProjectReference *ProjectReference `json:"project_reference,omitempty"`

	// Applied on Prism Central only. Indicate whether force to translate the spec of the fanout request to fit the target cluster API schema.
	//
	ShouldForceTranslate bool `json:"should_force_translate,omitempty"`

	// Hash of the spec. This will be returned from server.
	//
	SpecHash string `json:"spec_hash,omitempty"`

	// Version number of the latest spec.
	SpecVersion int64 `json:"spec_version,omitempty"`

	// Client need to specify this field as true if user want to use the
	// newer way of assigning the categories. Without this things should work
	// as it was earlier.
	//
	UseCategoriesMapping *bool `json:"use_categories_mapping,omitempty"`

	// recovery_plan uuid
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID string `json:"uuid,omitempty"`
}

RecoveryPlanMetadata recovery_plan metadata

The recovery_plan kind metadata

swagger:model recovery_plan_metadata

func (*RecoveryPlanMetadata) ContextValidate added in v0.6.0

func (m *RecoveryPlanMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan metadata based on the context it is used

func (*RecoveryPlanMetadata) MarshalBinary added in v0.6.0

func (m *RecoveryPlanMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanMetadata) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanMetadata) Validate added in v0.6.0

func (m *RecoveryPlanMetadata) Validate(formats strfmt.Registry) error

Validate validates this recovery plan metadata

type RecoveryPlanNetwork added in v0.6.0

type RecoveryPlanNetwork struct {

	// Name of the network.
	//
	// Max Length: 64
	Name string `json:"name,omitempty"`

	// List of subnets for the network.
	//
	SubnetList []*RecoveryPlanSubnetConfig `json:"subnet_list"`

	// Client need to specify this field as true while using vpc_reference for specifying the VPC for the network. Without this values in vpc_reference will be ignored.
	//
	UseVpcReference bool `json:"use_vpc_reference,omitempty"`

	// Reference to the Virtual Network. This reference is deprecated, use vpc_reference instead.
	VirtualNetworkReference *VirtualNetworkReference `json:"virtual_network_reference,omitempty"`

	// Reference to the VPC.
	VpcReference *VpcReference `json:"vpc_reference,omitempty"`
}

RecoveryPlanNetwork Network configuration for the Recovery Plan

Network configuration to be used for performing network mapping and IP preservation/mapping on Recovery Plan execution.

swagger:model recovery_plan_network

func (*RecoveryPlanNetwork) ContextValidate added in v0.6.0

func (m *RecoveryPlanNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan network based on the context it is used

func (*RecoveryPlanNetwork) MarshalBinary added in v0.6.0

func (m *RecoveryPlanNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanNetwork) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanNetwork) Validate added in v0.6.0

func (m *RecoveryPlanNetwork) Validate(formats strfmt.Registry) error

Validate validates this recovery plan network

type RecoveryPlanResources added in v0.6.0

type RecoveryPlanResources struct {

	// parameters
	Parameters *RecoveryPlanResourcesParameters `json:"parameters,omitempty"`

	// Input for the stages of the Recovery Plan. Each stage will perform a predefined type of task. For example, a stage can perform the recovery of the entities specified in a stage.
	//
	StageList []*RecoveryPlanStage `json:"stage_list"`

	// Information about Volume Groups to be recovered.
	VolumeGroupRecoveryInfoList []*RecoveryPlanVolumeGroupRecoveryInfo `json:"volume_group_recovery_info_list"`
}

RecoveryPlanResources Recovery Plan resources

Recovery Plan resources

swagger:model recovery_plan_resources

func (*RecoveryPlanResources) ContextValidate added in v0.6.0

func (m *RecoveryPlanResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan resources based on the context it is used

func (*RecoveryPlanResources) MarshalBinary added in v0.6.0

func (m *RecoveryPlanResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanResources) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanResources) Validate added in v0.6.0

func (m *RecoveryPlanResources) Validate(formats strfmt.Registry) error

Validate validates this recovery plan resources

type RecoveryPlanResourcesParameters added in v0.6.0

type RecoveryPlanResourcesParameters struct {

	// A list containing information about primary and secondary Availability zones.
	//
	AvailabilityZoneList []*AvailabilityZoneInformation `json:"availability_zone_list"`

	// An option to specify cutover mode for VM/Volume Group when restoring data from recovery point present at any storage over the network. EARLY - VM/Volume Group will be made available for active
	//   consumption before completely hydrating the data for them from
	//   the recovery point available over the remote network storage.
	//   Hydration of data will keep happening in the background for the
	//   recovered VMs/Volume Groups.
	// LATE - VM/Volume Group will be made available for active
	//   consumption after completely hydrating the data for them from
	//   the recovery point available over the remote network storage.
	//
	CutoverMode string `json:"cutover_mode,omitempty"`

	// IP address mappings for attaching Volume Groups to VMs upon failover.
	//
	DataServiceIPMappingList []*RecoveryPlanResourcesParametersDataServiceIPMappingListItems0 `json:"data_service_ip_mapping_list"`

	// Floating IP assignment for VMs upon recovery in an Availability Zone. For example, Let RFIP1 and TFIP1 denote the recovery and test floating IPs respectively on AZ1 and RFIP2 and TFIP2 denote the recovery and test floating IPs respectively on AZ2. Let's say that we want to specify floating IP mapping for VM1, which is present on AZ1 and has a vNIC1 attached to it. Following matrix specifies the mapping: [(AZ1: [(VM1 vNIC1 RFIP1 TFIP1)]), AZ2: [(VM1 vNIC1 RFIP2 TFIP2)]] As per the above matrix, while performing planned/unplanned failover action from Availability Zone AZ1 to AZ2, vNIC1 will recover on AZ2 with RFIP2. In case of test failover, vNIC1 will recover on AZ2 with TFIP2.
	//
	FloatingIPAssignmentList []*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0 `json:"floating_ip_assignment_list"`

	// Network mappings to be used for the Recovery Plan. This will be represented by array of network mappings across the Availability Zones. Each entry of network mapping will have Availability Zone URL, recovery and test network information, static IP assignment for the VMs for the recovery and test networks. For example, Let RNx, TNx denote the recovery and test network information and RIPMx, TIPMx denote the static IP assignment for the VMs. As per below matrix, while performing failover action from Availability Zone AZ1 to AZ2, RN1 will be mapped to RN4 and static IP "a.b.c.d" of the VM with reference VMx will be mapped to "i.j.k.l". On performing test failover from AZ1 to AZ2, RN1 will be mapped to TN4 and static IP "a.b.c.d" of the VM with reference VMx will be mapped to "I.J.K.L". [[(AZ1 URL, RN1, TN1, [{VMx, "a.b.c.d"}, {VMy, "e.f.g.h"}],
	//    [{VMx, "A.B.C.D"}, {VMy, "E.F.G.H"}]),
	//   (AZ2 URL, RN4, TN4, [{VMx, "i.j.k.l"}, {VMy, "m.n.p.q"}],
	//    [{VMx, "I.J.K.L"}, {VMy, "M.N.P.Q"}]),
	//   (AZ3 URL, RN7, TN7)],
	//  [(AZ1 URL, RN2, TN2), (AZ2 URL, RN5, TN5),
	//   (AZ3 URL, RN8, TN8)],
	//  [(AZ1 URL, RN3, TN3), (AZ2 URL, RN6, TN6)]]
	// The order of the static IP assignment for the VMs should remain same across all the networks provided in a network mapping. It forms a matrix containing IP mapping for the VMs across the Availability Zones. If a VM has multiple static IP addresses, static IP mapping will happen on the array indices. For example, Let IPrxy denote an IP address in subnet RNz and IPtxy denote an IP address in the subnet TNz. Lets VMx has two static IP address and VMy, VMz has one static IP associated with a vNIC created in network RN1. The IP mapping for the VMs will be as below.
	//     AZ1, RN1        AZ1, TN1        AZ2, RN3        AZ2, TN2
	// [(VMx, [IPr11]), (VMx, [IPt11]), (VMx, [IPr12]), (VMx,  [IPt12])] [(VMy, [IPr21]), (VMy, [IPt21]), (VMy, [IPr22]), (VMy,  [IPt22])] [(VMz, [IPr31]), (VMz, [IPt31]), (VMz, [IPr32]), (VMz,  [IPt32])]
	// In case of recovery of VMs from one Prism Element to the other within the same Availability Zone, a list of cluster references where the network exists can be specified. The network mapping to be used for a vNIC is decided as follows -
	// 1. If a VM that has a vNIC in a network N1 on cluster C1, then
	//    the network mapping of N1 that has C1 in the cluster
	//    references list will be used.
	//
	// 2. In case there is no network mapping for N1 with cluster C1,
	//    the default mapping of N1 for the Availability Zone (in which
	//    cluster is not specified), will be used if present.
	//
	NetworkMappingList []*RecoveryPlanResourcesParametersNetworkMappingListItems0 `json:"network_mapping_list"`

	// This field should be set to the index of the Availability Zone in the availability_zone_list which should be considered as a protected Availability Zone.
	//
	PrimaryLocationIndex int64 `json:"primary_location_index"`

	// A list containing witness configuration.
	//
	// Max Items: 1
	WitnessConfigurationList []*WitnessConfiguration `json:"witness_configuration_list"`
}

RecoveryPlanResourcesParameters Parameters for the Recovery Plan.

swagger:model RecoveryPlanResourcesParameters

func (*RecoveryPlanResourcesParameters) ContextValidate added in v0.6.0

func (m *RecoveryPlanResourcesParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan resources parameters based on the context it is used

func (*RecoveryPlanResourcesParameters) MarshalBinary added in v0.6.0

func (m *RecoveryPlanResourcesParameters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParameters) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanResourcesParameters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParameters) Validate added in v0.6.0

Validate validates this recovery plan resources parameters

type RecoveryPlanResourcesParametersDataServiceIPMappingListItems0 added in v0.6.0

type RecoveryPlanResourcesParametersDataServiceIPMappingListItems0 struct {

	// Data Services IP address mapping, each entry in this mapping will include Availability Zone URL, Cluster reference, recovery and test data services IP. During the Volume Groups attachment step of Recovery Plan failover operation , the data service IP specified for the target Cluster will be reconfigured in the VMs.
	//
	// Max Items: 2
	// Min Items: 2
	DataServiceIPMapping []*RecoveryPlanDataServiceIPConfig `json:"data_service_ip_mapping"`
}

RecoveryPlanResourcesParametersDataServiceIPMappingListItems0 recovery plan resources parameters data service IP mapping list items0

swagger:model RecoveryPlanResourcesParametersDataServiceIPMappingListItems0

func (*RecoveryPlanResourcesParametersDataServiceIPMappingListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan resources parameters data service IP mapping list items0 based on the context it is used

func (*RecoveryPlanResourcesParametersDataServiceIPMappingListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersDataServiceIPMappingListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersDataServiceIPMappingListItems0) Validate added in v0.6.0

Validate validates this recovery plan resources parameters data service IP mapping list items0

type RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0 added in v0.6.0

type RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0 struct {

	// URL of the Availability Zone.
	//
	// Required: true
	AvailabilityZoneURL *string `json:"availability_zone_url"`

	// IP assignment for VMs upon recovery in the specified Availability Zone.
	//
	VMIPAssignmentList []*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0 `json:"vm_ip_assignment_list"`
}

RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0 recovery plan resources parameters floating IP assignment list items0

swagger:model RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan resources parameters floating IP assignment list items0 based on the context it is used

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0) Validate added in v0.6.0

Validate validates this recovery plan resources parameters floating IP assignment list items0

type RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0 added in v0.6.0

type RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0 struct {

	// Configuration for floating IP assignment on failover.
	//
	RecoveryFloatingIPConfig *RecoveryPlanFloatingIPConfig `json:"recovery_floating_ip_config,omitempty"`

	// Configuration for floating IP assignment on test failover.
	//
	TestFloatingIPConfig *RecoveryPlanFloatingIPConfig `json:"test_floating_ip_config,omitempty"`

	// vm nic information
	// Required: true
	VMNicInformation *RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation `json:"vm_nic_information"`

	// Reference to the VM entity.
	// Required: true
	VMReference *VMReference `json:"vm_reference"`
}

RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0 recovery plan resources parameters floating IP assignment list items0 VM IP assignment list items0

swagger:model RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan resources parameters floating IP assignment list items0 VM IP assignment list items0 based on the context it is used

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0) Validate added in v0.6.0

Validate validates this recovery plan resources parameters floating IP assignment list items0 VM IP assignment list items0

type RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation added in v0.6.0

type RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation struct {

	// IP address associated with vnic for which floating IP has to be assigned on failover.
	//
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	IP string `json:"ip,omitempty"`

	// Uuid of the vnic of the VM to which floating IP has to be assigned.
	//
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation Information about vnic to which floating IP has to be assigned.

swagger:model RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation) ContextValidate added in v0.6.0

ContextValidate validates this recovery plan resources parameters floating IP assignment list items0 VM IP assignment list items0 VM nic information based on context it is used

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersFloatingIPAssignmentListItems0VMIPAssignmentListItems0VMNicInformation) Validate added in v0.6.0

Validate validates this recovery plan resources parameters floating IP assignment list items0 VM IP assignment list items0 VM nic information

type RecoveryPlanResourcesParametersNetworkMappingListItems0 added in v0.6.0

type RecoveryPlanResourcesParametersNetworkMappingListItems0 struct {

	// Whether the networks across the Availability Zones in above mapping are stretched.
	//
	AreNetworksStretched bool `json:"are_networks_stretched,omitempty"`

	// Mapping of networks across the Availability Zones.
	//
	AvailabilityZoneNetworkMappingList []*RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0 `json:"availability_zone_network_mapping_list"`
}

RecoveryPlanResourcesParametersNetworkMappingListItems0 recovery plan resources parameters network mapping list items0

swagger:model RecoveryPlanResourcesParametersNetworkMappingListItems0

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan resources parameters network mapping list items0 based on the context it is used

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0) Validate added in v0.6.0

Validate validates this recovery plan resources parameters network mapping list items0

type RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0 added in v0.6.0

type RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0 struct {

	// URL of the Availability Zone.
	//
	// Required: true
	AvailabilityZoneURL *string `json:"availability_zone_url"`

	// The clusters where the recovery and test networks reside. This is required to specify network mapping across clusters for a Recovery Plan created to handle failover within the same Availability Zone.
	//
	ClusterReferenceList []*ClusterReference `json:"cluster_reference_list"`

	// Static IP configuration for the VMs to be applied post recovery in the recovery network for migrate/ failover action on the Recovery Plan.
	//
	RecoveryIPAssignmentList []*RecoveryPlanVMIPAssignment `json:"recovery_ip_assignment_list"`

	// Network in which VMs will be recovered on migrate/ failover action on the Recovery Plan.
	//
	RecoveryNetwork *RecoveryPlanNetwork `json:"recovery_network,omitempty"`

	// Static IP configuration for the VMs to be applied post recovery in the test network for test failover action on the Recovery Plan.
	//
	TestIPAssignmentList []*RecoveryPlanVMIPAssignment `json:"test_ip_assignment_list"`

	// Network in which VMs will be recovered on test failover action on the Recovery Plan.
	//
	TestNetwork *RecoveryPlanNetwork `json:"test_network,omitempty"`
}

RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0 recovery plan resources parameters network mapping list items0 availability zone network mapping list items0

swagger:model RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan resources parameters network mapping list items0 availability zone network mapping list items0 based on the context it is used

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanResourcesParametersNetworkMappingListItems0AvailabilityZoneNetworkMappingListItems0) Validate added in v0.6.0

Validate validates this recovery plan resources parameters network mapping list items0 availability zone network mapping list items0

type RecoveryPlanScriptConfig added in v0.6.0

type RecoveryPlanScriptConfig struct {

	// Indicates whether to execute script.
	//
	// Required: true
	EnableScriptExec *bool `json:"enable_script_exec"`

	// The timeout for the script (seconds).
	//
	// Minimum: 0
	Timeout *int32 `json:"timeout,omitempty"`
}

RecoveryPlanScriptConfig Script configuration

Configuration of the script to be executed inside the guest VM after recovery. The script is expected to be present at following file path as per Operating System: - Production:

  • Windows : scripts/production/vm_recovery.bat relative to the Nutanix directory in the Program Files
  • Linux : /usr/local/sbin/production_vm_recovery

- Test:

  • Windows : scripts/test/vm_recovery.bat relative to the Nutanix directory in the Program Files
  • Linux : /usr/local/sbin/test_vm_recovery

swagger:model recovery_plan_script_config

func (*RecoveryPlanScriptConfig) ContextValidate added in v0.6.0

func (m *RecoveryPlanScriptConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recovery plan script config based on context it is used

func (*RecoveryPlanScriptConfig) MarshalBinary added in v0.6.0

func (m *RecoveryPlanScriptConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanScriptConfig) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanScriptConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanScriptConfig) Validate added in v0.6.0

func (m *RecoveryPlanScriptConfig) Validate(formats strfmt.Registry) error

Validate validates this recovery plan script config

type RecoveryPlanStage added in v0.6.0

type RecoveryPlanStage struct {

	// Amount of time in seconds to delay the execution of next stage after execution of current stage.
	//
	// Minimum: 0
	DelayTimeSecs *int64 `json:"delay_time_secs,omitempty"`

	// UUID of stage.
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	StageUUID string `json:"stage_uuid,omitempty"`

	// stage work
	// Required: true
	StageWork *RecoveryPlanStageStageWork `json:"stage_work"`
}

RecoveryPlanStage Information about a stage in the Recovery Plan

A stage specifies the work to be performed when the Recovery Plan is executed. A stage work can be execute an user script or recover entities in case of failover. If there are multiple entities to recover in a stage, all of them will be recovered in parallel.

swagger:model recovery_plan_stage

func (*RecoveryPlanStage) ContextValidate added in v0.6.0

func (m *RecoveryPlanStage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan stage based on the context it is used

func (*RecoveryPlanStage) MarshalBinary added in v0.6.0

func (m *RecoveryPlanStage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanStage) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanStage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanStage) Validate added in v0.6.0

func (m *RecoveryPlanStage) Validate(formats strfmt.Registry) error

Validate validates this recovery plan stage

type RecoveryPlanStageStageWork added in v0.6.0

type RecoveryPlanStageStageWork struct {

	// Information about entities to be recovered. This can be either explicit entity list or entity filter to identify list of entities to be recovered.
	//
	RecoverEntities *RecoverEntities `json:"recover_entities,omitempty"`
}

RecoveryPlanStageStageWork Information about work to be performed as part of this stage on execution. Only one of recover_entities or script has to be provided.

swagger:model RecoveryPlanStageStageWork

func (*RecoveryPlanStageStageWork) ContextValidate added in v0.6.0

func (m *RecoveryPlanStageStageWork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan stage stage work based on the context it is used

func (*RecoveryPlanStageStageWork) MarshalBinary added in v0.6.0

func (m *RecoveryPlanStageStageWork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanStageStageWork) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanStageStageWork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanStageStageWork) Validate added in v0.6.0

func (m *RecoveryPlanStageStageWork) Validate(formats strfmt.Registry) error

Validate validates this recovery plan stage stage work

type RecoveryPlanSubnetConfig added in v0.6.0

type RecoveryPlanSubnetConfig struct {

	// External connectivity state of the subnet. This is applicable only for the subnet to be created in public cloud Availability Zone.
	//
	ExternalConnectivityState string `json:"external_connectivity_state,omitempty"`

	// Gateway IP address for the subnet.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	GatewayIP *string `json:"gateway_ip"`

	// Configurations for creating Layer2 stretches for the subnet.
	//
	L2StretchConfig []*RecoveryPlanL2StretchConfig `json:"l2_stretch_config"`

	// Prefix length for the subnet.
	//
	// Required: true
	// Maximum: 32
	// Minimum: 0
	PrefixLength *int32 `json:"prefix_length"`

	// Network subnet range carved out of given CIDR for this network. For example, if given gateway_ip is 10.0.0.0 and prefix_length is 24 then subnet_range can have start_ip_address and end_ip_address anywhere in the range 10.0.0.0 to 10.0.0.256.
	//
	SubnetRange *RecoveryPlanSubnetRangeConfig `json:"subnet_range,omitempty"`
}

RecoveryPlanSubnetConfig Subnet configuration for the Recovery Plan

Subnet configuration for network mapping in the Recovery Plan.

swagger:model recovery_plan_subnet_config

func (*RecoveryPlanSubnetConfig) ContextValidate added in v0.6.0

func (m *RecoveryPlanSubnetConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan subnet config based on the context it is used

func (*RecoveryPlanSubnetConfig) MarshalBinary added in v0.6.0

func (m *RecoveryPlanSubnetConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanSubnetConfig) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanSubnetConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanSubnetConfig) Validate added in v0.6.0

func (m *RecoveryPlanSubnetConfig) Validate(formats strfmt.Registry) error

Validate validates this recovery plan subnet config

type RecoveryPlanSubnetRangeConfig added in v0.6.0

type RecoveryPlanSubnetRangeConfig struct {

	// End IP address of the subnet range.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	EndIPAddress *string `json:"end_ip_address"`

	// Start IP address of the subnet range.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	StartIPAddress *string `json:"start_ip_address"`
}

RecoveryPlanSubnetRangeConfig Network subnet range.

Network subnet range.

swagger:model recovery_plan_subnet_range_config

func (*RecoveryPlanSubnetRangeConfig) ContextValidate added in v0.6.0

func (m *RecoveryPlanSubnetRangeConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recovery plan subnet range config based on context it is used

func (*RecoveryPlanSubnetRangeConfig) MarshalBinary added in v0.6.0

func (m *RecoveryPlanSubnetRangeConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanSubnetRangeConfig) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanSubnetRangeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanSubnetRangeConfig) Validate added in v0.6.0

func (m *RecoveryPlanSubnetRangeConfig) Validate(formats strfmt.Registry) error

Validate validates this recovery plan subnet range config

type RecoveryPlanVMIPAssignment added in v0.6.0

type RecoveryPlanVMIPAssignment struct {

	// List of IP configurations for a VM.
	//
	// Required: true
	IPConfigList []*RecoveryPlanVMIPAssignmentIPConfigListItems0 `json:"ip_config_list"`

	// Reference to the VM.
	// Required: true
	VMReference *VMReference `json:"vm_reference"`
}

RecoveryPlanVMIPAssignment IP configuration for a VM

IP configuration to be applied to a VM.

swagger:model recovery_plan_vm_ip_assignment

func (*RecoveryPlanVMIPAssignment) ContextValidate added in v0.6.0

func (m *RecoveryPlanVMIPAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan vm ip assignment based on the context it is used

func (*RecoveryPlanVMIPAssignment) MarshalBinary added in v0.6.0

func (m *RecoveryPlanVMIPAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanVMIPAssignment) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanVMIPAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanVMIPAssignment) Validate added in v0.6.0

func (m *RecoveryPlanVMIPAssignment) Validate(formats strfmt.Registry) error

Validate validates this recovery plan vm ip assignment

type RecoveryPlanVMIPAssignmentIPConfigListItems0 added in v0.6.0

type RecoveryPlanVMIPAssignmentIPConfigListItems0 struct {

	// IP address.
	//
	// Required: true
	// Pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
	IPAddress *string `json:"ip_address"`
}

RecoveryPlanVMIPAssignmentIPConfigListItems0 IP configuration.

swagger:model RecoveryPlanVMIPAssignmentIPConfigListItems0

func (*RecoveryPlanVMIPAssignmentIPConfigListItems0) ContextValidate added in v0.6.0

ContextValidate validates this recovery plan VM IP assignment IP config list items0 based on context it is used

func (*RecoveryPlanVMIPAssignmentIPConfigListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanVMIPAssignmentIPConfigListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanVMIPAssignmentIPConfigListItems0) Validate added in v0.6.0

Validate validates this recovery plan VM IP assignment IP config list items0

type RecoveryPlanVolumeGroupRecoveryInfo added in v0.6.0

type RecoveryPlanVolumeGroupRecoveryInfo struct {

	// Categories for filtering Volume Groups.
	CategoryFilter *CategoryFilter `json:"category_filter,omitempty"`

	// List of configuration information for each Volume Group specified explicitly or in the category filter. Each entry in this list will contain reference to the Volume Group, authentication protocol and the target secret to be used for authenticating the Volume Group.
	//
	VolumeGroupConfigInfoList []*RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0 `json:"volume_group_config_info_list"`

	// Reference of the Volume Groups to be recovered.
	VolumeGroupReference *VolumeGroupReference `json:"volume_group_reference,omitempty"`
}

RecoveryPlanVolumeGroupRecoveryInfo Volume Groups recovery information.

Information about Volume Groups to be recovered.

swagger:model recovery_plan_volume_group_recovery_info

func (*RecoveryPlanVolumeGroupRecoveryInfo) ContextValidate added in v0.6.0

func (m *RecoveryPlanVolumeGroupRecoveryInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recovery plan volume group recovery info based on the context it is used

func (*RecoveryPlanVolumeGroupRecoveryInfo) MarshalBinary added in v0.6.0

func (m *RecoveryPlanVolumeGroupRecoveryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryPlanVolumeGroupRecoveryInfo) UnmarshalBinary added in v0.6.0

func (m *RecoveryPlanVolumeGroupRecoveryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryPlanVolumeGroupRecoveryInfo) Validate added in v0.6.0

Validate validates this recovery plan volume group recovery info

type RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0 added in v0.6.0

type RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0 struct {

	// Type of authentication protocol to be used.
	AuthenticationType string `json:"authentication_type,omitempty"`

	// Authentication secret provided to iSCSI initiator for CHAP based authentication of the Volume Group.
	//
	// Max Length: 16
	// Min Length: 12
	// Format: password
	TargetSecret strfmt.Password `json:"target_secret,omitempty"`

	// Reference of the Volume Group.
	// Required: true
	VolumeGroupReference *VolumeGroupReference `json:"volume_group_reference"`
}

RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0 recovery plan volume group recovery info volume group config info list items0

swagger:model RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0

func (*RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0) ContextValidate added in v0.6.0

ContextValidate validate this recovery plan volume group recovery info volume group config info list items0 based on the context it is used

func (*RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*RecoveryPlanVolumeGroupRecoveryInfoVolumeGroupConfigInfoListItems0) Validate added in v0.6.0

Validate validates this recovery plan volume group recovery info volume group config info list items0

type Reference added in v0.6.0

type Reference struct {

	// kind
	Kind string `json:"kind,omitempty"`

	// name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// GET query on the URL will provide information on the source.
	//
	// Pattern: ^((((http[s]?):\/)?\/?([^:\/\s]+)((\/\w+)*(:[0-9]+)*?\/)([\w\-\.]+[^#?\s]+)(.*)?)(#[\w\-]+)?$|(http[s]?:\/\/([\w\d\-_\.])((\/?\w+\.*)*(:[0-9]+)*\/?)))
	URL string `json:"url,omitempty"`

	// uuid
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID string `json:"uuid,omitempty"`
}

Reference Reference

Reference to a kind. Either one of (kind, uuid) or url needs to be specified.

swagger:model reference

func (*Reference) ContextValidate added in v0.6.0

func (m *Reference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reference based on the context it is used

func (*Reference) MarshalBinary added in v0.6.0

func (m *Reference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Reference) UnmarshalBinary added in v0.6.0

func (m *Reference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Reference) Validate added in v0.6.0

func (m *Reference) Validate(formats strfmt.Registry) error

Validate validates this reference

type SMTPServer added in v0.6.0

type SMTPServer struct {

	// email address
	// Required: true
	EmailAddress *string `json:"email_address"`

	// server
	// Required: true
	Server *ClusterNetworkEntity `json:"server"`

	// type
	Type *string `json:"type,omitempty"`
}

SMTPServer SMTP server

SMTP Server.

swagger:model smtp_server

func (*SMTPServer) ContextValidate added in v0.6.0

func (m *SMTPServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this smtp server based on the context it is used

func (*SMTPServer) MarshalBinary added in v0.6.0

func (m *SMTPServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SMTPServer) UnmarshalBinary added in v0.6.0

func (m *SMTPServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SMTPServer) Validate added in v0.6.0

func (m *SMTPServer) Validate(formats strfmt.Registry) error

Validate validates this smtp server

type SoftwareType added in v0.6.0

type SoftwareType string

SoftwareType Software type

Software type

swagger:model software_type

func (SoftwareType) ContextValidate added in v0.6.0

func (m SoftwareType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this software type based on context it is used

func (SoftwareType) Validate added in v0.6.0

func (m SoftwareType) Validate(formats strfmt.Registry) error

Validate validates this software type

type SortOrder added in v0.6.0

type SortOrder string

SortOrder Sort order

The sort order in which results are returned

swagger:model sort_order

func (SortOrder) ContextValidate added in v0.6.0

func (m SortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sort order based on context it is used

func (SortOrder) Validate added in v0.6.0

func (m SortOrder) Validate(formats strfmt.Registry) error

Validate validates this sort order

type SslKey added in v0.6.0

type SslKey struct {

	// UTC date and time in RFC-3339 format when the key expires
	// Format: date-time
	ExpireDatetime strfmt.DateTime `json:"expire_datetime,omitempty"`

	// key name
	KeyName string `json:"key_name,omitempty"`

	// key type
	// Required: true
	KeyType *SslKeyType `json:"key_type"`

	// signing info
	SigningInfo *CertificationSigningInfo `json:"signing_info,omitempty"`
}

SslKey SSL certificate

SSL certificate.

swagger:model ssl_key

func (*SslKey) ContextValidate added in v0.6.0

func (m *SslKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ssl key based on the context it is used

func (*SslKey) MarshalBinary added in v0.6.0

func (m *SslKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SslKey) UnmarshalBinary added in v0.6.0

func (m *SslKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SslKey) Validate added in v0.6.0

func (m *SslKey) Validate(formats strfmt.Registry) error

Validate validates this ssl key

type SslKeyType added in v0.6.0

type SslKeyType string

SslKeyType SSL key type

SSL key type. Key types with RSA_2048, ECDSA_256, ECDSA_384 and ECDSA_521 are supported for key generation and importing.

swagger:model ssl_key_type

func (SslKeyType) ContextValidate added in v0.6.0

func (m SslKeyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ssl key type based on context it is used

func (SslKeyType) Validate added in v0.6.0

func (m SslKeyType) Validate(formats strfmt.Registry) error

Validate validates this ssl key type

type Subnet added in v0.5.1

type Subnet struct {

	// availability zone reference
	AvailabilityZoneReference *AvailabilityZoneReference `json:"availability_zone_reference,omitempty"`

	// cluster reference
	ClusterReference *ClusterReference `json:"cluster_reference,omitempty"`

	// A description for subnet.
	// Max Length: 1000
	Description string `json:"description,omitempty"`

	// subnet Name.
	// Required: true
	// Max Length: 256
	Name *string `json:"name"`

	// resources
	// Required: true
	Resources *SubnetResources `json:"resources"`
}

Subnet subnet Intent Spec with placement specified

An intentful representation of a subnet spec

swagger:model subnet

func (*Subnet) ContextValidate added in v0.5.1

func (m *Subnet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this subnet based on the context it is used

func (*Subnet) MarshalBinary added in v0.5.1

func (m *Subnet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Subnet) UnmarshalBinary added in v0.5.1

func (m *Subnet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Subnet) Validate added in v0.5.1

func (m *Subnet) Validate(formats strfmt.Registry) error

Validate validates this subnet

type SubnetDefStatus added in v0.6.0

type SubnetDefStatus struct {

	// availability zone reference
	AvailabilityZoneReference *AvailabilityZoneReference `json:"availability_zone_reference,omitempty"`

	// cluster reference
	ClusterReference *ClusterReference `json:"cluster_reference,omitempty"`

	// A description for subnet.
	Description string `json:"description,omitempty"`

	// Any error messages for the subnet, if in an error state.
	MessageList []*MessageResource `json:"message_list"`

	// subnet Name.
	// Required: true
	Name *string `json:"name"`

	// resources
	// Required: true
	Resources *SubnetResourcesDefStatus `json:"resources"`

	// The state of the subnet.
	State string `json:"state,omitempty"`
}

SubnetDefStatus subnet Intent Status with placement specified

An intentful representation of a subnet status

swagger:model subnet_def_status

func (*SubnetDefStatus) ContextValidate added in v0.6.0

func (m *SubnetDefStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this subnet def status based on the context it is used

func (*SubnetDefStatus) MarshalBinary added in v0.6.0

func (m *SubnetDefStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubnetDefStatus) UnmarshalBinary added in v0.6.0

func (m *SubnetDefStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubnetDefStatus) Validate added in v0.6.0

func (m *SubnetDefStatus) Validate(formats strfmt.Registry) error

Validate validates this subnet def status

type SubnetResources added in v0.5.1

type SubnetResources struct {

	// Whether the subnet should be realized on OVN stack or not.
	AdvancedNetworking bool `json:"advanced_networking,omitempty"`

	// List of availability zones from which resources are derived (Only supported on Xi).
	//
	AvailabilityZoneReferenceList []*AvailabilityZoneReference `json:"availability_zone_reference_list"`

	// Whether NAT should be performed for VPCs attaching to the subnet. This field is supported only for external subnets. NAT is enabled by default on external subnets.
	//
	EnableNat bool `json:"enable_nat,omitempty"`

	// External connectivity state (Only supported on Xi)
	ExternalConnectivityState string `json:"external_connectivity_state,omitempty"`

	// ip config
	IPConfig *IPConfig `json:"ip_config,omitempty"`

	// Whether the subnet is external subnet or not.
	IsExternal bool `json:"is_external,omitempty"`

	// network function chain reference
	NetworkFunctionChainReference *NetworkFunctionChainReference `json:"network_function_chain_reference,omitempty"`

	// List of IPs that are not considered while allocating IP addresses to Atlas ports.
	//
	ReservedIPAddressList []string `json:"reserved_ip_address_list"`

	// subnet type
	// Required: true
	SubnetType *string `json:"subnet_type"`

	// The virtual network this subnet belongs to (Only supported on Xi). This reference is deprecated, use vpc_reference instead.
	//
	VirtualNetworkReference *VirtualNetworkReference `json:"virtual_network_reference,omitempty"`

	// Reference to virtual switch
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	VirtualSwitchUUID string `json:"virtual_switch_uuid,omitempty"`

	// vlan id
	// Minimum: 0
	VlanID *int32 `json:"vlan_id,omitempty"`

	// The VPC this subnet belongs to (Only supported on Xi).
	//
	VpcReference *VpcReference `json:"vpc_reference,omitempty"`

	// vswitch name
	// Max Length: 64
	VswitchName string `json:"vswitch_name,omitempty"`
}

SubnetResources Subnet creation/modification spec

Subnet creation/modification spec.

swagger:model subnet_resources

func (*SubnetResources) ContextValidate added in v0.5.1

func (m *SubnetResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this subnet resources based on the context it is used

func (*SubnetResources) MarshalBinary added in v0.5.1

func (m *SubnetResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubnetResources) UnmarshalBinary added in v0.5.1

func (m *SubnetResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubnetResources) Validate added in v0.5.1

func (m *SubnetResources) Validate(formats strfmt.Registry) error

Validate validates this subnet resources

type SubnetResourcesDefStatus added in v0.6.0

type SubnetResourcesDefStatus struct {

	// Whether the subnet should be realized on OVN stack or not.
	AdvancedNetworking bool `json:"advanced_networking,omitempty"`

	// List of availability zones from which resources are derived (Only supported on Xi).
	//
	AvailabilityZoneReferenceList []*AvailabilityZoneReference `json:"availability_zone_reference_list"`

	// Whether NAT should be performed for VPCs attaching to the subnet. This field is supported only for external subnets. NAT is enabled by default on external subnets.
	//
	EnableNat bool `json:"enable_nat,omitempty"`

	// External connectivity state (Only supported on Xi)
	ExternalConnectivityState string `json:"external_connectivity_state,omitempty"`

	// ip config
	IPConfig *IPConfig `json:"ip_config,omitempty"`

	// ip usage stats
	IPUsageStats *IPUsageStats `json:"ip_usage_stats,omitempty"`

	// Whether the subnet is external subnet or not.
	IsExternal bool `json:"is_external,omitempty"`

	// migration state
	MigrationState string `json:"migration_state,omitempty"`

	// network function chain reference
	NetworkFunctionChainReference *NetworkFunctionChainReference `json:"network_function_chain_reference,omitempty"`

	// List of IPs that are not considered while allocating IP addresses to Atlas ports.
	//
	ReservedIPAddressList []string `json:"reserved_ip_address_list"`

	// subnet type
	SubnetType string `json:"subnet_type,omitempty"`

	// The virtual network this subnet belongs to (Only supported on Xi). This reference is deprecated, use vpc_reference instead.
	//
	VirtualNetworkReference *VirtualNetworkReference `json:"virtual_network_reference,omitempty"`

	// Reference to virtual switch
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	VirtualSwitchUUID string `json:"virtual_switch_uuid,omitempty"`

	// vlan id
	VlanID int32 `json:"vlan_id,omitempty"`

	// The VPC this subnet belongs to (Only supported on Xi).
	//
	VpcReference *VpcReference `json:"vpc_reference,omitempty"`

	// vswitch name
	VswitchName string `json:"vswitch_name,omitempty"`
}

SubnetResourcesDefStatus Subnet creation/modification status

Subnet creation/modification status.

swagger:model subnet_resources_def_status

func (*SubnetResourcesDefStatus) ContextValidate added in v0.6.0

func (m *SubnetResourcesDefStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this subnet resources def status based on the context it is used

func (*SubnetResourcesDefStatus) MarshalBinary added in v0.6.0

func (m *SubnetResourcesDefStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubnetResourcesDefStatus) UnmarshalBinary added in v0.6.0

func (m *SubnetResourcesDefStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubnetResourcesDefStatus) Validate added in v0.6.0

func (m *SubnetResourcesDefStatus) Validate(formats strfmt.Registry) error

Validate validates this subnet resources def status

type UserReference added in v0.5.2

type UserReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

UserReference Reference to a user

The reference to a user

swagger:model user_reference

func (*UserReference) ContextValidate added in v0.5.2

func (m *UserReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user reference based on the context it is used

func (*UserReference) MarshalBinary added in v0.5.2

func (m *UserReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserReference) UnmarshalBinary added in v0.5.2

func (m *UserReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserReference) Validate added in v0.5.2

func (m *UserReference) Validate(formats strfmt.Registry) error

Validate validates this user reference

type VMReference added in v0.6.0

type VMReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

VMReference Reference to a vm

The reference to a vm

swagger:model vm_reference

func (*VMReference) ContextValidate added in v0.6.0

func (m *VMReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vm reference based on the context it is used

func (*VMReference) MarshalBinary added in v0.6.0

func (m *VMReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMReference) UnmarshalBinary added in v0.6.0

func (m *VMReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMReference) Validate added in v0.6.0

func (m *VMReference) Validate(formats strfmt.Registry) error

Validate validates this vm reference

type VirtualNetworkReference added in v0.5.1

type VirtualNetworkReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

VirtualNetworkReference Reference to a virtual_network

The reference to a virtual_network

swagger:model virtual_network_reference

func (*VirtualNetworkReference) ContextValidate added in v0.5.1

func (m *VirtualNetworkReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual network reference based on the context it is used

func (*VirtualNetworkReference) MarshalBinary added in v0.5.1

func (m *VirtualNetworkReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualNetworkReference) UnmarshalBinary added in v0.5.1

func (m *VirtualNetworkReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualNetworkReference) Validate added in v0.5.1

func (m *VirtualNetworkReference) Validate(formats strfmt.Registry) error

Validate validates this virtual network reference

type VolumeGroupReference added in v0.6.0

type VolumeGroupReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

VolumeGroupReference Reference to a volume_group

The reference to a volume_group

swagger:model volume_group_reference

func (*VolumeGroupReference) ContextValidate added in v0.6.0

func (m *VolumeGroupReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume group reference based on the context it is used

func (*VolumeGroupReference) MarshalBinary added in v0.6.0

func (m *VolumeGroupReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeGroupReference) UnmarshalBinary added in v0.6.0

func (m *VolumeGroupReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeGroupReference) Validate added in v0.6.0

func (m *VolumeGroupReference) Validate(formats strfmt.Registry) error

Validate validates this volume group reference

type VpcReference added in v0.5.1

type VpcReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

VpcReference Reference to a vpc

The reference to a vpc

swagger:model vpc_reference

func (*VpcReference) ContextValidate added in v0.5.1

func (m *VpcReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vpc reference based on the context it is used

func (*VpcReference) MarshalBinary added in v0.5.1

func (m *VpcReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VpcReference) UnmarshalBinary added in v0.5.1

func (m *VpcReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VpcReference) Validate added in v0.5.1

func (m *VpcReference) Validate(formats strfmt.Registry) error

Validate validates this vpc reference

type VswitchConfig added in v0.6.0

type VswitchConfig struct {

	// NIC teaming policy.
	// Required: true
	NicTeamingPolicy *string `json:"nic_teaming_policy"`

	// Determines how the ethernet uplinks are selected for this vswitch.
	// Required: true
	UplinkGrouping *string `json:"uplink_grouping"`
}

VswitchConfig VSwitch configuration

VSwitch configuration.

swagger:model vswitch_config

func (*VswitchConfig) ContextValidate added in v0.6.0

func (m *VswitchConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vswitch config based on context it is used

func (*VswitchConfig) MarshalBinary added in v0.6.0

func (m *VswitchConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VswitchConfig) UnmarshalBinary added in v0.6.0

func (m *VswitchConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VswitchConfig) Validate added in v0.6.0

func (m *VswitchConfig) Validate(formats strfmt.Registry) error

Validate validates this vswitch config

type VtepGatewayReference added in v0.6.0

type VtepGatewayReference struct {

	// The kind name
	// Required: true
	// Read Only: true
	Kind string `json:"kind"`

	// name
	// Read Only: true
	// Max Length: 1024
	Name string `json:"name,omitempty"`

	// uuid
	// Required: true
	// Pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
	UUID *string `json:"uuid"`
}

VtepGatewayReference Reference to a vtep_gateway

The reference to a vtep_gateway

swagger:model vtep_gateway_reference

func (*VtepGatewayReference) ContextValidate added in v0.6.0

func (m *VtepGatewayReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vtep gateway reference based on the context it is used

func (*VtepGatewayReference) MarshalBinary added in v0.6.0

func (m *VtepGatewayReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VtepGatewayReference) UnmarshalBinary added in v0.6.0

func (m *VtepGatewayReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VtepGatewayReference) Validate added in v0.6.0

func (m *VtepGatewayReference) Validate(formats strfmt.Registry) error

Validate validates this vtep gateway reference

type WitnessConfiguration added in v0.6.0

type WitnessConfiguration struct {

	// Address of the witness, which will be witnessing this Recovery Plan. This will be same as Availability Zone URL, on which witness is deployed.
	//
	WitnessAddress string `json:"witness_address,omitempty"`

	// Time in seconds after which witness will trigger failover on this Recovery Plan in case there is a failure of source cluster or pause replication for entities in case there is a failure of target cluster.
	//
	// Minimum: 1
	WitnessFailoverTimeoutSecs int32 `json:"witness_failover_timeout_secs,omitempty"`
}

WitnessConfiguration Witness Configuration.

Witness configuration to be stored in Recovery Plan.

swagger:model witness_configuration

func (*WitnessConfiguration) ContextValidate added in v0.6.0

func (m *WitnessConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this witness configuration based on context it is used

func (*WitnessConfiguration) MarshalBinary added in v0.6.0

func (m *WitnessConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WitnessConfiguration) UnmarshalBinary added in v0.6.0

func (m *WitnessConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WitnessConfiguration) Validate added in v0.6.0

func (m *WitnessConfiguration) Validate(formats strfmt.Registry) error

Validate validates this witness configuration

Source Files

Jump to

Keyboard shortcuts

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