models

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 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 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 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 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 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 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 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 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 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 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 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 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 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 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

Jump to

Keyboard shortcuts

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