upgrade

package
v0.0.0-...-d31b8a1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptableComponentVersion

type AcceptableComponentVersion struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// List of component versions
	AcceptableVersions []string `json:"acceptable_versions"`

	// Node type
	ComponentType string `json:"component_type"`
}

type AcceptableComponentVersionList

type AcceptableComponentVersionList struct {

	// Acceptable version whitelist for different components
	Results []AcceptableComponentVersion `json:"results"`
}

type AwsAccount

type AwsAccount struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// List of authorized users
	AuthUsers []CloudUserInfo `json:"auth_users,omitempty"`

	// Cloud Type
	CloudType string `json:"cloud_type"`

	// Instance statistics
	InstanceStats *InstanceStats `json:"instance_stats,omitempty"`

	// Tenant ID of the cloud account
	TenantId string `json:"tenant_id,omitempty"`

	// Access key of cloud account
	AccessKey string `json:"access_key,omitempty"`

	// Is the AWS authorization mechanism based on Identity and Access Management(IAM) service?
	AuthMechanismIam bool `json:"auth_mechanism_iam,omitempty"`

	// External id for the IAM role csm needs to assume
	ExternalId string `json:"external_id,omitempty"`

	// Service Role Name for IAM role csm needs to assume
	GatewayRoleName string `json:"gateway_role_name,omitempty"`

	// Has a managed VPC?
	HasManagedVpc string `json:"has_managed_vpc,omitempty"`

	// Amazon Resource Names (ARNs) uniquely identify AWS resources. We will use it here to identify the IAM role csm needs to assume.
	IamRoleArn string `json:"iam_role_arn,omitempty"`

	// Count of the regions available
	RegionsCount int64 `json:"regions_count,omitempty"`

	// Secret key of cloud account
	SecretKey string `json:"secret_key,omitempty"`

	// Status of the account
	Status *AwsAccountStatus `json:"status,omitempty"`

	// VPC statistics
	VpcStats *VpcStats `json:"vpc_stats,omitempty"`
}

type AwsAccountStatus

type AwsAccountStatus struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Status of the account credentials synched at the auto interval
	CredentialsStatus string `json:"credentials_status,omitempty"`

	// State of inventory sync
	InventorySyncState string `json:"inventory_sync_state,omitempty"`

	// State of inventory sync
	InventorySyncStatus string `json:"inventory_sync_status,omitempty"`
}

type AwsAccountsListResult

type AwsAccountsListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Instance statistics accross all accounts managed by CSM
	AllAccountsInstanceStats *InstanceStats `json:"all_accounts_instance_stats,omitempty"`

	// Vpc statistics accross all accounts managed by CSM
	AllAccountsVpcStats *VpcStats `json:"all_accounts_vpc_stats,omitempty"`

	// AWS accounts list result
	Results []AwsAccount `json:"results"`
}

type AwsAvailabilityZoneInfo

type AwsAvailabilityZoneInfo struct {

	// Display name of the availability zone
	DisplayName string `json:"display_name,omitempty"`

	// ID of the availability zone
	Id string `json:"id,omitempty"`
}

Availability Zone information

type AwsGatewayAmiInfo

type AwsGatewayAmiInfo struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// The ID of the Amazon Machine Image
	AmiId string `json:"ami_id"`

	// Name of the Aws Region in which ami is present
	RegionId string `json:"region_id"`
}

type AwsGatewayAmisListResult

type AwsGatewayAmisListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Aws Gateway amis list
	Results []AwsGatewayAmiInfo `json:"results,omitempty"`
}

type AwsGatewayConfig

type AwsGatewayConfig struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The ID of the Amazon Machine Image on which this gateway resides
	AmiId string `json:"ami_id,omitempty"`

	// Flag to identify if default quarantine policy is enabled
	DefaultQuarantinePolicyEnabled bool `json:"default_quarantine_policy_enabled,omitempty"`

	// Aws Gateway HA configuration
	GatewayHaConfiguration []AwsGatewayHaConfig `json:"gateway_ha_configuration,omitempty"`

	// Flag to identify if HA is enabled
	IsHaEnabled bool `json:"is_ha_enabled,omitempty"`

	// The key pair name required to authenticate into any instance
	KeyPairName string `json:"key_pair_name,omitempty"`

	// Determines if connection to NSX Manager is via public IP or private IP
	NsxManagerConnection string `json:"nsx_manager_connection,omitempty"`
}

type AwsGatewayDeployConfig

type AwsGatewayDeployConfig struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// ID of the Aws account
	AccountId string `json:"account_id"`

	// Configuration of this gateway
	Configuration *AwsGatewayConfig `json:"configuration,omitempty"`

	// ID of the vpc
	VpcId string `json:"vpc_id"`
}

type AwsGatewayHaConfig

type AwsGatewayHaConfig struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Availability Zone
	AvailabilityZone string `json:"availability_zone"`

	// Downlink subnet
	DownlinkSubnet string `json:"downlink_subnet"`

	// Index of HA that indicates whether gateway is primary or secondary. If index is 0, then it is primary gateway. Else secondary gateway.
	GatewayHaIndex int64 `json:"gateway_ha_index"`

	// Management subnet
	ManagementSubnet string `json:"management_subnet"`

	// Uplink subnet
	UplinkSubnet string `json:"uplink_subnet"`
}

type AwsGatewayInfo

type AwsGatewayInfo struct {

	// Configuration of this gateway
	Configuration *AwsGatewayConfig `json:"configuration,omitempty"`

	// Array of gateway statuses
	GatewayStatus *AwsGatewayStatus `json:"gateway_status,omitempty"`
}

type AwsGatewayInstanceStatus

type AwsGatewayInstanceStatus struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Different states of gateway deployment
	DeploymentState string `json:"deployment_state,omitempty"`

	// Status of gateway instance deployment in percentage
	DeploymentStatus int64 `json:"deployment_status,omitempty"`

	// Error code for gateway deployment/undeployment failure
	ErrorCode int64 `json:"error_code,omitempty"`

	// Error message for gateway deployment/undeployment failure
	ErrorMessage string `json:"error_message,omitempty"`

	// Index of HA that indicates whether gateway is primary or secondary. If index is 0, then it is primary gateway. Else secondary gateway.
	GatewayHaIndex int64 `json:"gateway_ha_index,omitempty"`

	// ID of the gateway instance
	GatewayInstanceId string `json:"gateway_instance_id,omitempty"`

	// Name of the gateway instance
	GatewayName string `json:"gateway_name,omitempty"`

	// NSX Node ID of the public cloud gateway
	GatewayNodeId string `json:"gateway_node_id,omitempty"`

	// Gateway instance status
	GatewayStatus string `json:"gateway_status,omitempty"`

	// NSX transport node id of the public cloud gateway
	GatewayTnId string `json:"gateway_tn_id,omitempty"`

	// Flag to identify if this is an active gateway
	IsGatewayActive bool `json:"is_gateway_active,omitempty"`

	// Private IP address of the virtual machine
	PrivateIp string `json:"private_ip,omitempty"`

	// Public IP address of the virtual machine
	PublicIp string `json:"public_ip,omitempty"`
}

type AwsGatewayStatus

type AwsGatewayStatus struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// NSX gateway cluster id
	GatewayClusterId string `json:"gateway_cluster_id,omitempty"`

	// Array of gateway statuses
	GatewayInstancesStatus []AwsGatewayInstanceStatus `json:"gateway_instances_status,omitempty"`
}

type AwsGatewayUndeployConfig

type AwsGatewayUndeployConfig struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// ID of the Aws account
	AccountId string `json:"account_id"`

	// ID of the gateway instance
	InstanceId string `json:"instance_id"`
}

type AwsGatewaysListResult

type AwsGatewaysListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Vpc list
	Results []AwsGatewayDeployConfig `json:"results,omitempty"`
}

type AwsKeyPair

type AwsKeyPair struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Name of the Aws Key Pair
	Name string `json:"name"`
}

type AwsKeyPairList

type AwsKeyPairList struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Aws Key Pairs list
	Results []AwsKeyPair `json:"results,omitempty"`
}

type AwsRegion

type AwsRegion struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// Availability zones under this region
	AvailabilityZones []AwsAvailabilityZoneInfo `json:"availability_zones,omitempty"`

	// Gateway statistics
	GatewayStats *GatewayStats `json:"gateway_stats,omitempty"`

	// Has a managed VPC?
	HasManagedVpc bool `json:"has_managed_vpc,omitempty"`

	// Instance statistics
	InstanceStats *InstanceStats `json:"instance_stats,omitempty"`

	// VPC statistics
	VpcStats *VpcStats `json:"vpc_stats,omitempty"`
}

type AwsRegionsListResult

type AwsRegionsListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Aws Regions list result
	Results []AwsRegion `json:"results,omitempty"`
}

type AwsSubnet

type AwsSubnet struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Timestamp of last modification
	LastSyncTime int64 `json:"_last_sync_time,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	AvailabilityZone string `json:"availability_zone,omitempty"`

	// IPV4 CIDR Block for the Vpc
	Cidr string `json:"cidr"`

	// ID of subnet
	Id string `json:"id"`

	// ID of the vpc
	VpcId string `json:"vpc_id"`
}

type AwsSubnetListResult

type AwsSubnetListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Aws subnets list result
	Results []AwsSubnet `json:"results"`
}

type AwsVirtualMachine

type AwsVirtualMachine struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource
	ResourceType string `json:"resource_type"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// Agent Status
	AgentStatus string `json:"agent_status,omitempty"`

	// Agent version details
	AgentVersion string `json:"agent_version,omitempty"`

	// Cloud tags for the virtual machine
	CloudTags []CloudTag `json:"cloud_tags,omitempty"`

	// List of Error Messages obtained from PCM related to VM
	ErrorMessages []ComputeInstanceErrorMessage `json:"error_messages,omitempty"`

	// Index of HA that indicates whether gateway is primary or secondary. If index is 0, then it is primary gateway. Else secondary gateway.
	GatewayHaIndex int64 `json:"gateway_ha_index,omitempty"`

	// Gateway Status
	GatewayStatus string `json:"gateway_status,omitempty"`

	// Flag to identify if this VM is a gateway node
	IsGateway bool `json:"is_gateway,omitempty"`

	// Flag to identify if this VM is an active gateway node
	IsGatewayActive bool `json:"is_gateway_active,omitempty"`

	// Logical Switch display name
	LogicalSwitchDisplayName string `json:"logical_switch_display_name,omitempty"`

	// Logical Switch ID
	LogicalSwitchId string `json:"logical_switch_id,omitempty"`

	// Indicate if vm is managed by NSX or not
	ManagedByNsx bool `json:"managed_by_nsx,omitempty"`

	// IP address provided by Nsx
	NsxIp string `json:"nsx_ip,omitempty"`

	// Operating system details
	OsDetails string `json:"os_details,omitempty"`

	// Operating system of the virtual machine
	OsType string `json:"os_type,omitempty"`

	// Private IP address of the virtual machine
	PrivateIp string `json:"private_ip,omitempty"`

	// Public IP address of the virtual machine
	PublicIp string `json:"public_ip,omitempty"`

	// Quarantine State of VM
	QuarantineState string `json:"quarantine_state,omitempty"`

	// Availability Zone of the virtual machine
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// Region of the virtual machine
	Region string `json:"region,omitempty"`

	// VPC id of the virtual machine
	Vpc string `json:"vpc,omitempty"`

	// VPC name of the virtual machine
	VpcName string `json:"vpc_name,omitempty"`
}

type AwsVpc

type AwsVpc struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// AMI id
	AmiId string `json:"ami_id,omitempty"`

	// IPV4 CIDR Block for the Vpc
	Cidr string `json:"cidr,omitempty"`

	// Gateway details for the Vpc
	GatewayInfo *AwsGatewayInfo `json:"gateway_info,omitempty"`

	// Managed, unmanaged and error instance counts for the Vpc
	InstanceStats *InstanceStats `json:"instance_stats,omitempty"`

	// Flag to identify if this is the management Vpc
	IsManagementVpc bool `json:"is_management_vpc,omitempty"`

	// State of the Vpc
	OpStatus string `json:"op_status,omitempty"`

	// Id of the AWS region
	RegionId string `json:"region_id,omitempty"`

	// Transport zones for the Vpc
	TransportZones []TransportZoneInfo `json:"transport_zones,omitempty"`
}

type AwsVpcListResult

type AwsVpcListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Vpc list
	Results []AwsVpc `json:"results,omitempty"`
}

type BulkUpdateUpgradeUnitGroupsRequest

type BulkUpdateUpgradeUnitGroupsRequest struct {
	Requests []UpgradeUnitGroup `json:"requests"`
}

type CcpUpgradeStatus

type CcpUpgradeStatus struct {

	// Can the upgrade of the remaining units in this component be skipped
	CanSkip bool `json:"can_skip,omitempty"`

	// Component type for the upgrade status
	ComponentType string `json:"component_type,omitempty"`

	// Details about the upgrade status
	Details string `json:"details,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Upgrade status of component
	Status string `json:"status,omitempty"`
}

type CloudAccount

type CloudAccount struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// List of authorized users
	AuthUsers []CloudUserInfo `json:"auth_users,omitempty"`

	// Cloud Type
	CloudType string `json:"cloud_type"`

	// Instance statistics
	InstanceStats *InstanceStats `json:"instance_stats,omitempty"`

	// Tenant ID of the cloud account
	TenantId string `json:"tenant_id,omitempty"`
}

type CloudTag

type CloudTag struct {

	// Tag key
	Key string `json:"key,omitempty"`

	// Tag value
	Value string `json:"value,omitempty"`
}

type CloudUserInfo

type CloudUserInfo struct {

	// Display name of the user
	DisplayName string `json:"display_name,omitempty"`

	// ID of the user
	Id string `json:"id,omitempty"`
}

User information

type CloudVirtualMachine

type CloudVirtualMachine struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource
	ResourceType string `json:"resource_type"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// Agent Status
	AgentStatus string `json:"agent_status,omitempty"`

	// Agent version details
	AgentVersion string `json:"agent_version,omitempty"`

	// Cloud tags for the virtual machine
	CloudTags []CloudTag `json:"cloud_tags,omitempty"`

	// List of Error Messages obtained from PCM related to VM
	ErrorMessages []ComputeInstanceErrorMessage `json:"error_messages,omitempty"`

	// Index of HA that indicates whether gateway is primary or secondary. If index is 0, then it is primary gateway. Else secondary gateway.
	GatewayHaIndex int64 `json:"gateway_ha_index,omitempty"`

	// Gateway Status
	GatewayStatus string `json:"gateway_status,omitempty"`

	// Flag to identify if this VM is a gateway node
	IsGateway bool `json:"is_gateway,omitempty"`

	// Flag to identify if this VM is an active gateway node
	IsGatewayActive bool `json:"is_gateway_active,omitempty"`

	// Logical Switch display name
	LogicalSwitchDisplayName string `json:"logical_switch_display_name,omitempty"`

	// Logical Switch ID
	LogicalSwitchId string `json:"logical_switch_id,omitempty"`

	// Indicate if vm is managed by NSX or not
	ManagedByNsx bool `json:"managed_by_nsx,omitempty"`

	// IP address provided by Nsx
	NsxIp string `json:"nsx_ip,omitempty"`

	// Operating system details
	OsDetails string `json:"os_details,omitempty"`

	// Operating system of the virtual machine
	OsType string `json:"os_type,omitempty"`

	// Private IP address of the virtual machine
	PrivateIp string `json:"private_ip,omitempty"`

	// Public IP address of the virtual machine
	PublicIp string `json:"public_ip,omitempty"`

	// Quarantine State of VM
	QuarantineState string `json:"quarantine_state,omitempty"`
}

type CloudVirtualMachinesListResult

type CloudVirtualMachinesListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Regions list result
	Results []CloudVirtualMachine `json:"results,omitempty"`
}

type ComponentTargetVersion

type ComponentTargetVersion struct {
	ComponentType string `json:"component_type,omitempty"`

	TargetVersion string `json:"target_version,omitempty"`
}

type ComponentUpgradeStatus

type ComponentUpgradeStatus struct {

	// Can the upgrade of the remaining units in this component be skipped
	CanSkip bool `json:"can_skip,omitempty"`

	// Component type for the upgrade status
	ComponentType string `json:"component_type,omitempty"`

	// Details about the upgrade status
	Details string `json:"details,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Upgrade status of component
	Status string `json:"status,omitempty"`
}

type ComputeInstanceErrorMessage

type ComputeInstanceErrorMessage struct {

	// Error message string to indicate, if it is NSX or cloud operation generated error.
	DetailedMessage string `json:"detailed_message,omitempty"`

	// an error id contract obtained from PCM
	ErrorId int64 `json:"error_id,omitempty"`
}

An error id and message pair

type CsmConfig

type CsmConfig struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Csm appliance status
	CsmApplianceStatus string `json:"csm_appliance_status,omitempty"`

	// Specifies whether this is a single/multi region deployment
	SingleRegion bool `json:"single_region,omitempty"`
}

type CsmStatus

type CsmStatus struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Name of the Csm instance
	DisplayName string `json:"display_name,omitempty"`

	// Identifier of the Csm appliance
	Id string `json:"id,omitempty"`

	// ip address of Csm instance
	IpAddress string `json:"ip_address,omitempty"`

	// mode of running of Csm instance
	ManagedByVmware bool `json:"managed_by_vmware,omitempty"`

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

type EdgeUpgradeStatus

type EdgeUpgradeStatus struct {

	// Can the upgrade of the remaining units in this component be skipped
	CanSkip bool `json:"can_skip,omitempty"`

	// Component type for the upgrade status
	ComponentType string `json:"component_type,omitempty"`

	// Details about the upgrade status
	Details string `json:"details,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Upgrade status of component
	Status string `json:"status,omitempty"`
}

type GatewayStats

type GatewayStats struct {

	// Gateways with status DEPLOYING
	Deploying int64 `json:"deploying,omitempty"`

	// Gateways with status DOWN
	Down int64 `json:"down,omitempty"`

	// Gateways with status UP
	Up int64 `json:"up,omitempty"`
}

Gateway statistics

type HostUpgradeStatus

type HostUpgradeStatus struct {

	// Can the upgrade of the remaining units in this component be skipped
	CanSkip bool `json:"can_skip,omitempty"`

	// Component type for the upgrade status
	ComponentType string `json:"component_type,omitempty"`

	// Details about the upgrade status
	Details string `json:"details,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Upgrade status of component
	Status string `json:"status,omitempty"`
}

type InstanceStats

type InstanceStats struct {

	// Instances with status error
	Error_ int64 `json:"error,omitempty"`

	// Instances with status managed
	Managed int64 `json:"managed,omitempty"`

	// Instances with status unmanaged
	Unmanaged int64 `json:"unmanaged,omitempty"`

	// Number of virtual cores
	Vcpus int64 `json:"vcpus,omitempty"`
}

Instance statistics

type LogicalSwitchInfo

type LogicalSwitchInfo struct {

	// Number of instances on this logical switch
	InstancesCount int64 `json:"instances_count,omitempty"`

	// Flag to identify if this is the default logical switch
	IsDefaultLogicalSwitch bool `json:"is_default_logical_switch,omitempty"`

	// Name of the logical switch
	LogicalSwitchDisplayName string `json:"logical_switch_display_name,omitempty"`

	// ID of the logical switch
	LogicalSwitchId string `json:"logical_switch_id,omitempty"`

	// This tag is applied on cloud compute resource to be attached to this logical switch
	NsxSwitchTag string `json:"nsx_switch_tag,omitempty"`
}

type NodeInfo

type NodeInfo struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Component version of the node
	ComponentVersion string `json:"component_version,omitempty"`

	// Name of the node
	DisplayName string `json:"display_name,omitempty"`

	// Identifier of the node
	Id string `json:"id,omitempty"`

	// Node type
	Type_ string `json:"type,omitempty"`
}

type NodeInfoListResult

type NodeInfoListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged Collection of Nodes
	Results []NodeInfo `json:"results"`
}

type NodeSummary

type NodeSummary struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Component version
	ComponentVersion string `json:"component_version,omitempty"`

	// Number of nodes of the type and at the component version
	NodeCount int32 `json:"node_count,omitempty"`

	// Node type
	Type_ string `json:"type,omitempty"`
}

type NodeSummaryList

type NodeSummaryList struct {

	// List of Node Summary
	Results []NodeSummary `json:"results"`
}

type NsxManagerAccount

type NsxManagerAccount struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// Fully Qualified Domain Name
	Fqdn string `json:"fqdn,omitempty"`

	// Password of the NSX Manager Account
	Password string `json:"password,omitempty"`

	// Private IP Address of the NSX Manager Account
	PrivateIp string `json:"private_ip,omitempty"`

	// Public IP Address of the NSX Manager Account
	PublicIp string `json:"public_ip,omitempty"`

	// Tenant ID of the NSX Manager account
	TenantId string `json:"tenant_id,omitempty"`

	// Thumb print of the NSX Manager Account
	Thumbprint string `json:"thumbprint,omitempty"`

	// Username of the NSX Manager Account
	Username string `json:"username"`
}

type NsxManagerAccountsListResult

type NsxManagerAccountsListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// NSX Manager Accounts list
	Results []NsxManagerAccount `json:"results,omitempty"`
}

type ReorderRequest

type ReorderRequest struct {

	// id of the upgrade unit group/upgrade unit before/after which the upgrade unit group/upgrade unit is to be placed
	Id string `json:"id"`

	// flag indicating whether the upgrade unit group/upgrade unit is to be placed before or after the specified upgrade unit group/upgrade unit
	IsBefore bool `json:"is_before,omitempty"`
}

type TransportZoneInfo

type TransportZoneInfo struct {

	// Flag to identify if this is the underlay transport zone
	IsUnderlayTransportZone bool `json:"is_underlay_transport_zone,omitempty"`

	// Logical switches for the transport zone
	LogicalSwitches []LogicalSwitchInfo `json:"logical_switches,omitempty"`

	// Name of the transport zone
	TransportZoneDisplayName string `json:"transport_zone_display_name,omitempty"`

	// ID of the transport zone
	TransportZoneId string `json:"transport_zone_id,omitempty"`
}

type UpgradeHistory

type UpgradeHistory struct {

	// Version before the upgrade started
	InitialVersion string `json:"initial_version"`

	// Version being upgraded to
	TargetVersion string `json:"target_version"`

	// Timestamp (in milliseconds since epoch) when the upgrade was performed
	Timestamp int64 `json:"timestamp"`

	// Status of the upgrade
	UpgradeStatus string `json:"upgrade_status"`
}

type UpgradeHistoryList

type UpgradeHistoryList struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Upgrade history list
	Results []UpgradeHistory `json:"results,omitempty"`
}

type UpgradePlanSettings

type UpgradePlanSettings struct {

	// Upgrade Method to specify whether the upgrade is to be performed serially or in parallel
	Parallel bool `json:"parallel,omitempty"`

	// Flag to indicate whether to pause the upgrade after upgrade of each group is completed
	PauseAfterEachGroup bool `json:"pause_after_each_group,omitempty"`

	// Flag to indicate whether to pause the upgrade plan execution when an error occurs
	PauseOnError bool `json:"pause_on_error,omitempty"`
}

type UpgradeStatus

type UpgradeStatus struct {

	// CCP upgrade status
	CcpStatus *CcpUpgradeStatus `json:"ccp_status,omitempty"`

	// List of component statuses
	ComponentStatus []ComponentUpgradeStatus `json:"component_status,omitempty"`

	// Edge upgrade status
	EdgeStatus *EdgeUpgradeStatus `json:"edge_status,omitempty"`

	// Host upgrade status
	HostStatus *HostUpgradeStatus `json:"host_status,omitempty"`

	// Status of upgrade
	OverallUpgradeStatus string `json:"overall_upgrade_status,omitempty"`
}

type UpgradeSummary

type UpgradeSummary struct {
	ComponentTargetVersions []ComponentTargetVersion `json:"component_target_versions,omitempty"`

	// Current system version
	SystemVersion string `json:"system_version,omitempty"`

	// Target system version
	TargetVersion string `json:"target_version,omitempty"`

	// Name of the last successfully uploaded upgrade bundle file
	UpgradeBundleFileName string `json:"upgrade_bundle_file_name,omitempty"`

	// Current version of upgrade coordinator
	UpgradeCoordinatorVersion string `json:"upgrade_coordinator_version,omitempty"`

	// Status of upgrade
	UpgradeStatus string `json:"upgrade_status,omitempty"`
}

type UpgradeTaskProperties

type UpgradeTaskProperties struct {

	// helper for the task
	ActionName string `json:"action_name,omitempty"`

	// Name of Bundle
	BundleName string `json:"bundle_name"`

	// Bundle arguments
	Parameters []common.KeyValuePair `json:"parameters,omitempty"`
}

Task properties

type UpgradeUnit

type UpgradeUnit struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// This is component version e.g. if upgrade unit is of type edge, then this is edge version.
	CurrentVersion string `json:"current_version,omitempty"`

	// Name of the upgrade unit
	DisplayName string `json:"display_name,omitempty"`

	// Info of the group to which this upgrade unit belongs
	Group *UpgradeUnitGroupInfo `json:"group,omitempty"`

	// Identifier of the upgrade unit
	Id string `json:"id,omitempty"`

	// Metadata about upgrade unit
	Metadata []common.KeyValuePair `json:"metadata,omitempty"`

	// Upgrade unit type
	Type_ string `json:"type,omitempty"`

	// List of warnings indicating issues with the upgrade unit that may result in upgrade failure
	Warnings []string `json:"warnings,omitempty"`
}

type UpgradeUnitAggregateInfo

type UpgradeUnitAggregateInfo struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// This is component version e.g. if upgrade unit is of type edge, then this is edge version.
	CurrentVersion string `json:"current_version,omitempty"`

	// Name of the upgrade unit
	DisplayName string `json:"display_name,omitempty"`

	// List of errors occurred during upgrade of this upgrade unit
	Errors []string `json:"errors,omitempty"`

	// Info of the group to which this upgrade unit belongs
	Group *UpgradeUnitGroupInfo `json:"group,omitempty"`

	// Identifier of the upgrade unit
	Id string `json:"id,omitempty"`

	// Metadata about upgrade unit
	Metadata []common.KeyValuePair `json:"metadata,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Status of upgrade unit
	Status string `json:"status,omitempty"`

	// Upgrade unit type
	Type_ string `json:"type,omitempty"`

	// List of warnings indicating issues with the upgrade unit that may result in upgrade failure
	Warnings []string `json:"warnings,omitempty"`
}

type UpgradeUnitAggregateInfoListResult

type UpgradeUnitAggregateInfoListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged collection of UpgradeUnit AggregateInfo
	Results []UpgradeUnitAggregateInfo `json:"results,omitempty"`
}

type UpgradeUnitGroup

type UpgradeUnitGroup struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// Flag to indicate whether upgrade of this group is enabled or not
	Enabled bool `json:"enabled,omitempty"`

	// Extended configuration for the group
	ExtendedConfiguration []common.KeyValuePair `json:"extended_configuration,omitempty"`

	// Upgrade method to specify whether the upgrade is to be performed in parallel or serially
	Parallel bool `json:"parallel,omitempty"`

	// Component type
	Type_ string `json:"type"`

	// Number of upgrade units in the group
	UpgradeUnitCount int32 `json:"upgrade_unit_count,omitempty"`

	// List of upgrade units in the group
	UpgradeUnits []UpgradeUnit `json:"upgrade_units,omitempty"`
}

type UpgradeUnitGroupAggregateInfo

type UpgradeUnitGroupAggregateInfo struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// Flag to indicate whether upgrade of this group is enabled or not
	Enabled bool `json:"enabled,omitempty"`

	// Extended configuration for the group
	ExtendedConfiguration []common.KeyValuePair `json:"extended_configuration,omitempty"`

	// Number of nodes in the upgrade unit group that failed upgrade
	FailedCount int32 `json:"failed_count,omitempty"`

	// Upgrade method to specify whether the upgrade is to be performed in parallel or serially
	Parallel bool `json:"parallel,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Upgrade status of upgrade unit group
	Status string `json:"status,omitempty"`

	// Component type
	Type_ string `json:"type"`

	// Number of upgrade units in the group
	UpgradeUnitCount int32 `json:"upgrade_unit_count,omitempty"`

	// List of upgrade units in the group
	UpgradeUnits []UpgradeUnit `json:"upgrade_units,omitempty"`
}

type UpgradeUnitGroupAggregateInfoListResult

type UpgradeUnitGroupAggregateInfoListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged collection of upgrade status for upgrade unit groups
	Results []UpgradeUnitGroupAggregateInfo `json:"results,omitempty"`
}

type UpgradeUnitGroupInfo

type UpgradeUnitGroupInfo struct {

	// Name of the group
	DisplayName string `json:"display_name,omitempty"`

	// Identifier of group
	Id string `json:"id,omitempty"`
}

type UpgradeUnitGroupListResult

type UpgradeUnitGroupListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged Collection of Upgrade unit groups
	Results []UpgradeUnitGroup `json:"results"`
}

type UpgradeUnitGroupStatus

type UpgradeUnitGroupStatus struct {

	// Number of nodes in the upgrade unit group that failed upgrade
	FailedCount int32 `json:"failed_count,omitempty"`

	// Identifier for upgrade unit group
	GroupId string `json:"group_id,omitempty"`

	// Name of the upgrade unit group
	GroupName string `json:"group_name,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Upgrade status of upgrade unit group
	Status string `json:"status,omitempty"`

	// Number of upgrade units in the group
	UpgradeUnitCount int32 `json:"upgrade_unit_count,omitempty"`
}

type UpgradeUnitGroupStatusListResult

type UpgradeUnitGroupStatusListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged collection of upgrade status for upgrade unit groups
	Results []UpgradeUnitGroupStatus `json:"results,omitempty"`
}

type UpgradeUnitList

type UpgradeUnitList struct {

	// Collection of Upgrade units
	List []UpgradeUnit `json:"list"`
}

type UpgradeUnitListResult

type UpgradeUnitListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged Collection of Upgrade units
	Results []UpgradeUnit `json:"results"`
}

type UpgradeUnitStatus

type UpgradeUnitStatus struct {

	// Name of upgrade unit
	DisplayName string `json:"display_name,omitempty"`

	// List of errors occurred during upgrade of this upgrade unit
	Errors []string `json:"errors,omitempty"`

	// Identifier of upgrade unit
	Id string `json:"id,omitempty"`

	// Indicator of upgrade progress in percentage
	PercentComplete float32 `json:"percent_complete,omitempty"`

	// Status of upgrade unit
	Status string `json:"status,omitempty"`
}

type UpgradeUnitStatusListResult

type UpgradeUnitStatusListResult struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// Opaque cursor to be used for getting next page of records (supplied by current result page)
	Cursor string `json:"cursor,omitempty"`

	// Count of results found (across all pages), set only on first page
	ResultCount int64 `json:"result_count,omitempty"`

	SortAscending bool `json:"sort_ascending,omitempty"`

	// Field by which records are sorted
	SortBy string `json:"sort_by,omitempty"`

	// Paged Collection of upgrade units status
	Results []UpgradeUnitStatus `json:"results"`
}

type UpgradeUnitTypeStats

type UpgradeUnitTypeStats struct {

	// Number of nodes
	NodeCount int32 `json:"node_count,omitempty"`

	// Number of nodes with issues that may cause upgrade failure
	NodeWithIssuesCount int32 `json:"node_with_issues_count,omitempty"`

	// Type of upgrade unit
	Type_ string `json:"type,omitempty"`

	// Version of the upgrade unit
	Version string `json:"version,omitempty"`
}

type UpgradeUnitTypeStatsList

type UpgradeUnitTypeStatsList struct {

	// List of upgrade unit type stats
	Results []UpgradeUnitTypeStats `json:"results,omitempty"`
}

type VersionList

type VersionList struct {

	// The server will populate this field when returing the resource. Ignored on PUT and POST.
	Links []common.ResourceLink `json:"_links,omitempty"`

	Schema string `json:"_schema,omitempty"`

	Self *common.SelfResourceLink `json:"_self,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
	Revision int64 `json:"_revision"`

	// Timestamp of resource creation
	CreateTime int64 `json:"_create_time,omitempty"`

	// ID of the user who created this resource
	CreateUser string `json:"_create_user,omitempty"`

	// Timestamp of last modification
	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`

	// ID of the user who last modified this resource
	LastModifiedUser string `json:"_last_modified_user,omitempty"`

	// Indicates system owned resource
	SystemOwned bool `json:"_system_owned,omitempty"`

	// Description of this resource
	Description string `json:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName string `json:"display_name,omitempty"`

	// Unique identifier of this resource
	Id string `json:"id,omitempty"`

	// The type of this resource.
	ResourceType string `json:"resource_type,omitempty"`

	// Opaque identifiers meaningful to the API user
	Tags []common.Tag `json:"tags,omitempty"`

	// List of component versions
	AcceptableVersions []string `json:"acceptable_versions"`
}

type VpcStats

type VpcStats struct {

	// VPCs with status managed
	Managed int64 `json:"managed,omitempty"`

	// VPCs with status unmanaged
	Unmanaged int64 `json:"unmanaged,omitempty"`
}

VPC statistics

Source Files

Jump to

Keyboard shortcuts

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