models

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0 Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudGlobalNetworkManager20220215ACLInfo added in v0.45.0

type HashicorpCloudGlobalNetworkManager20220215ACLInfo struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ACLInfo hashicorp cloud global network manager 20220215 ACL info

swagger:model hashicorp.cloud.global_network_manager_20220215.ACLInfo

func (*HashicorpCloudGlobalNetworkManager20220215ACLInfo) ContextValidate added in v0.45.0

ContextValidate validates this hashicorp cloud global network manager 20220215 ACL info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ACLInfo) MarshalBinary added in v0.45.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ACLInfo) UnmarshalBinary added in v0.45.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ACLInfo) Validate added in v0.45.0

Validate validates this hashicorp cloud global network manager 20220215 ACL info

type HashicorpCloudGlobalNetworkManager20220215AdminPartition added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215AdminPartition struct {

	// description is the description of the consul admin partition
	Description string `json:"description,omitempty"`

	// name is the name of the consul admin partition
	Name string `json:"name,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AdminPartition hashicorp cloud global network manager 20220215 admin partition

swagger:model hashicorp.cloud.global_network_manager_20220215.AdminPartition

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartition) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 admin partition based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartition) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartition) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartition) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 admin partition

type HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility struct {

	// description is the description of the consul admin partition
	Description string `json:"description,omitempty"`

	// ineligibility_reasons is a list of reasons why this particular partition is ineligible for peering.
	// Empty list means the partition is eligible.
	IneligibilityReasons []*HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason `json:"ineligibility_reasons"`

	// name is the name of the consul admin partition
	Name string `json:"name,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility hashicorp cloud global network manager 20220215 admin partition with eligibility

swagger:model hashicorp.cloud.global_network_manager_20220215.AdminPartitionWithEligibility

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 admin partition with eligibility based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 admin partition with eligibility

type HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse

type HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse struct {

	// bootstrap
	Bootstrap *HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap `json:"bootstrap,omitempty"`

	// cluster
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse hashicorp cloud global network manager 20220215 agent bootstrap response

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentBootstrapResponse

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 agent bootstrap response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 agent bootstrap response

type HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse

type HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse struct {

	// servers is the configuration and TLS status of each consul server in a cluster
	Servers []*HashicorpCloudGlobalNetworkManager20220215Server `json:"servers"`
}

HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse hashicorp cloud global network manager 20220215 agent discover response

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentDiscoverResponse

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 agent discover response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 agent discover response

type HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse

type HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse interface{}

HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse hashicorp cloud global network manager 20220215 agent push server state response

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentPushServerStateResponse

type HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary struct {

	// critical service instances
	CriticalServiceInstances int32 `json:"critical_service_instances,omitempty"`

	// passing service instances
	PassingServiceInstances int32 `json:"passing_service_instances,omitempty"`

	// total service instances
	TotalServiceInstances int32 `json:"total_service_instances,omitempty"`

	// total services
	TotalServices int32 `json:"total_services,omitempty"`

	// warning service instances
	WarningServiceInstances int32 `json:"warning_service_instances,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary AggregateServiceSummary is a summary service count, service instance count, and the health of the service instances.

swagger:model hashicorp.cloud.global_network_manager_20220215.AggregateServiceSummary

func (*HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 aggregate service summary based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 aggregate service summary

type HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo

type HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo struct {

	// failure tolerance
	FailureTolerance int32 `json:"failure_tolerance,omitempty"`

	// healthy
	Healthy bool `json:"healthy,omitempty"`

	// min quorum
	MinQuorum int32 `json:"min_quorum,omitempty"`

	// num servers
	NumServers int32 `json:"num_servers,omitempty"`

	// num voters
	NumVoters int32 `json:"num_voters,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo hashicorp cloud global network manager 20220215 auto pilot info

swagger:model hashicorp.cloud.global_network_manager_20220215.AutoPilotInfo

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 auto pilot info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) Validate

Validate validates this hashicorp cloud global network manager 20220215 auto pilot info

type HashicorpCloudGlobalNetworkManager20220215CVE added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215CVE struct {

	// documentation
	Documentation []string `json:"documentation"`
}

HashicorpCloudGlobalNetworkManager20220215CVE hashicorp cloud global network manager 20220215 c v e

swagger:model hashicorp.cloud.global_network_manager_20220215.CVE

func (*HashicorpCloudGlobalNetworkManager20220215CVE) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 c v e based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215CVE) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CVE) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CVE) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 c v e

type HashicorpCloudGlobalNetworkManager20220215Cluster

type HashicorpCloudGlobalNetworkManager20220215Cluster struct {

	// active_server_count is the number of servers that have checked in and are reported as running
	ActiveServerCount int32 `json:"active_server_count,omitempty"`

	// bootstrap expect
	BootstrapExpect int32 `json:"bootstrap_expect,omitempty"`

	// consul_access_level is the level of access CCM has to the Consul cluster
	ConsulAccessLevel *HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel `json:"consul_access_level,omitempty"`

	// Consul version of the cluster
	ConsulVersion string `json:"consul_version,omitempty"`

	// created_at is the timestamp of when the cluster was first created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// whether this is an existing self-managed cluster
	ExistingCluster bool `json:"existing_cluster,omitempty"`

	// whether this Consul cluster is managed by HCP
	HcpManaged bool `json:"hcp_managed,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// licensing is the Consul licensing information
	Licensing *HashicorpCloudGlobalNetworkManager20220215Licensing `json:"licensing,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// resource_id is the unique identifier for the cluster
	ResourceID string `json:"resource_id,omitempty"`

	// resource_link_url is the location.Link encoded as a url including the organization, project, type and ID
	ResourceLinkURL string `json:"resource_link_url,omitempty"`

	// source of the cluster
	Source *HashicorpCloudGlobalNetworkManager20220215ClusterSource `json:"source,omitempty"`

	// current state of the cluster
	State *HashicorpCloudGlobalNetworkManager20220215ClusterState `json:"state,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215Cluster hashicorp cloud global network manager 20220215 cluster

swagger:model hashicorp.cloud.global_network_manager_20220215.Cluster

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 cluster based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster

type HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap

type HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap struct {

	// bootstrap_expect is the number of consul servers that is expected to join a quorum
	BootstrapExpect int32 `json:"bootstrap_expect,omitempty"`

	// consul_config is the embedded consul configuration. It will always return valid JSON.
	ConsulConfig string `json:"consul_config,omitempty"`

	// gossip_key is the consul gossip key for bootstrapping the configuration. Should we move this into a Secrets message?
	GossipKey string `json:"gossip_key,omitempty"`

	// id is the name of the cluster
	ID string `json:"id,omitempty"`

	// management_token is the management token for this cluster.
	ManagementToken string `json:"management_token,omitempty"`

	// server_tls is the public key, private key and certificate_authorities for bootstrapping consul RPC TLS.
	ServerTLS *HashicorpCloudGlobalNetworkManager20220215ServerTLS `json:"server_tls,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap hashicorp cloud global network manager 20220215 cluster bootstrap

swagger:model hashicorp.cloud.global_network_manager_20220215.ClusterBootstrap

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 cluster bootstrap based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster bootstrap

type HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel string

HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel - CONSUL_ACCESS_LEVEL_UNSPECIFIED: the access level is unspecified

  • CONSUL_ACCESS_LEVEL_GLOBAL_READ_ONLY: CCM has global-read-only access to the Consul cluster
  • CONSUL_ACCESS_LEVEL_GLOBAL_READ_WRITE: CCM has global-read-write access to the Consul cluster

swagger:model hashicorp.cloud.global_network_manager_20220215.Cluster.ConsulAccessLevel

const (

	// HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevelCONSULACCESSLEVELUNSPECIFIED captures enum value "CONSUL_ACCESS_LEVEL_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevelCONSULACCESSLEVELUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel = "CONSUL_ACCESS_LEVEL_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevelCONSULACCESSLEVELGLOBALREADONLY captures enum value "CONSUL_ACCESS_LEVEL_GLOBAL_READ_ONLY"
	HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevelCONSULACCESSLEVELGLOBALREADONLY HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel = "CONSUL_ACCESS_LEVEL_GLOBAL_READ_ONLY"

	// HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevelCONSULACCESSLEVELGLOBALREADWRITE captures enum value "CONSUL_ACCESS_LEVEL_GLOBAL_READ_WRITE"
	HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevelCONSULACCESSLEVELGLOBALREADWRITE HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel = "CONSUL_ACCESS_LEVEL_GLOBAL_READ_WRITE"
)

func (HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 cluster consul access level based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel) Pointer added in v0.62.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel.

func (HashicorpCloudGlobalNetworkManager20220215ClusterConsulAccessLevel) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 cluster consul access level

type HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer struct {

	// display_error is an error to give to the front end to determine on-going issues for customers
	DisplayError *cloud.GoogleRPCStatus `json:"display_error,omitempty"`

	// exported_services_count is the total number of services exported to the peer cluster/partition
	ExportedServicesCount string `json:"exported_services_count,omitempty"`

	// imported_services_count is the total number of services imported from the peer cluster/partition
	ImportedServicesCount string `json:"imported_services_count,omitempty"`

	// last_heartbeat_timestamp is the timestamp the last heartbeat was received from this peer cluster/partition.
	// Format: date-time
	LastHeartbeatTimestamp strfmt.DateTime `json:"last_heartbeat_timestamp,omitempty"`

	// peer_cluster_id is the user settable GNM cluster name of the peer.
	PeerClusterID string `json:"peer_cluster_id,omitempty"`

	// peer_cluster_location is the location of the peer GNM cluster
	PeerClusterLocation *cloud.HashicorpCloudLocationLocation `json:"peer_cluster_location,omitempty"`

	// peer_name is the name of the peer
	PeerName string `json:"peer_name,omitempty"`

	// peer_partition_name is the name of the admin partition on the peer cluster
	PeerPartitionName string `json:"peer_partition_name,omitempty"`

	// peering_connection_id is the slug ID of the GNM peering connection
	PeeringConnectionID string `json:"peering_connection_id,omitempty"`

	// peering_connection_location is the location of the GNM peering connections
	PeeringConnectionLocation *cloud.HashicorpCloudLocationLocation `json:"peering_connection_location,omitempty"`

	// peering_connection_status is the overall status of the peering connection
	PeeringConnectionStatus *HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus `json:"peering_connection_status,omitempty"`

	// peering_status is the state of this individual peer
	PeeringStatus *HashicorpCloudGlobalNetworkManager20220215PeerState `json:"peering_status,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer hashicorp cloud global network manager 20220215 cluster partition peer

swagger:model hashicorp.cloud.global_network_manager_20220215.ClusterPartitionPeer

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 cluster partition peer based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 cluster partition peer

type HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers struct {

	// cluster_id is the user settable GNM cluster name.
	ClusterID string `json:"cluster_id,omitempty"`

	// licensing is the Consul licensing information
	Licensing *HashicorpCloudGlobalNetworkManager20220215Licensing `json:"licensing,omitempty"`

	// partition_name is the name of the admin partition on the cluster
	PartitionName string `json:"partition_name,omitempty"`

	// peers is the list of cluster peers connected to the above cluster and partition
	Peers []*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeer `json:"peers"`
}

HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers hashicorp cloud global network manager 20220215 cluster partition peers

swagger:model hashicorp.cloud.global_network_manager_20220215.ClusterPartitionPeers

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 cluster partition peers based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 cluster partition peers

type HashicorpCloudGlobalNetworkManager20220215ClusterSource

type HashicorpCloudGlobalNetworkManager20220215ClusterSource string

HashicorpCloudGlobalNetworkManager20220215ClusterSource hashicorp cloud global network manager 20220215 cluster source

swagger:model hashicorp.cloud.global_network_manager_20220215.Cluster.Source

const (

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEUNSPECIFIED captures enum value "SOURCE_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEKUBERNETES captures enum value "SOURCE_KUBERNETES"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEKUBERNETES HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_KUBERNETES"

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEHCP captures enum value "SOURCE_HCP"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEHCP HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_HCP"

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEVM captures enum value "SOURCE_VM"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEVM HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_VM"
)

func (HashicorpCloudGlobalNetworkManager20220215ClusterSource) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 cluster source based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ClusterSource) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ClusterSource.

func (HashicorpCloudGlobalNetworkManager20220215ClusterSource) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster source

type HashicorpCloudGlobalNetworkManager20220215ClusterState

type HashicorpCloudGlobalNetworkManager20220215ClusterState string

HashicorpCloudGlobalNetworkManager20220215ClusterState - STATE_UPDATING: UPDATING should remain the default and generically used state. If no custom status required, people should stick with UPDATING rather than proliferating UPDATING_* without an explicit need

  • STATE_UPDATING_TOKEN: UPDATING_TOKEN is an edge-case of UPDATING intended to be used so

that frontend can display a custom status for it.

swagger:model hashicorp.cloud.global_network_manager_20220215.Cluster.State

const (

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUNSPECIFIED captures enum value "STATE_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEPENDING captures enum value "STATE_PENDING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEPENDING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_PENDING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATECREATING captures enum value "STATE_CREATING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATECREATING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_CREATING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERUNNING captures enum value "STATE_RUNNING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERUNNING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_RUNNING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEFAILED captures enum value "STATE_FAILED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEFAILED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_FAILED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUPDATING captures enum value "STATE_UPDATING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUPDATING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_UPDATING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERESTORING captures enum value "STATE_RESTORING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERESTORING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_RESTORING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETING captures enum value "STATE_DELETING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_DELETING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETED captures enum value "STATE_DELETED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_DELETED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDISCONNECTED captures enum value "STATE_DISCONNECTED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDISCONNECTED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_DISCONNECTED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUPDATINGTOKEN captures enum value "STATE_UPDATING_TOKEN"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUPDATINGTOKEN HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_UPDATING_TOKEN"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEPENDINGINVALIDTOKEN captures enum value "STATE_PENDING_INVALID_TOKEN"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEPENDINGINVALIDTOKEN HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_PENDING_INVALID_TOKEN"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDISCONNECTEDINVALIDTOKEN captures enum value "STATE_DISCONNECTED_INVALID_TOKEN"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDISCONNECTEDINVALIDTOKEN HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_DISCONNECTED_INVALID_TOKEN"
)

func (HashicorpCloudGlobalNetworkManager20220215ClusterState) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 cluster state based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ClusterState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ClusterState.

func (HashicorpCloudGlobalNetworkManager20220215ClusterState) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster state

type HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion struct {

	// documentation
	Documentation []string `json:"documentation"`

	// end of life
	EndOfLife bool `json:"end_of_life,omitempty"`

	// minor versions
	MinorVersions map[string]HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion `json:"minor_versions,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion hashicorp cloud global network manager 20220215 consul major version

swagger:model hashicorp.cloud.global_network_manager_20220215.ConsulMajorVersion

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 consul major version based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 consul major version

type HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion struct {

	// cve
	Cve []string `json:"cve"`

	// cve enterprise only
	CveEnterpriseOnly []string `json:"cve_enterprise_only"`

	// documentation
	Documentation []string `json:"documentation"`

	// hcp recommended
	HcpRecommended bool `json:"hcp_recommended,omitempty"`

	// hcp supported
	HcpSupported bool `json:"hcp_supported,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion hashicorp cloud global network manager 20220215 consul minor version

swagger:model hashicorp.cloud.global_network_manager_20220215.ConsulMinorVersion

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 consul minor version based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ConsulMinorVersion) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 consul minor version

type HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse

type HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse struct {

	// client_id is the oauth client_id used to authenticate consul to global-network-manager. This _may_ move into a separate secrets RPC later on.
	ClientID string `json:"client_id,omitempty"`

	// client_secret is the oauth client_secret used to authenticate consul to global-network-manager. This _may_ move into a separate secrets RPC later on.
	ClientSecret string `json:"client_secret,omitempty"`

	// cluster is the viewable representation of the cluster.
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse hashicorp cloud global network manager 20220215 create cluster response

swagger:model hashicorp.cloud.global_network_manager_20220215.CreateClusterResponse

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 create cluster response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 create cluster response

type HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse struct {

	// peering connections
	PeeringConnections []*HashicorpCloudGlobalNetworkManager20220215PeeringConnection `json:"peering_connections"`
}

HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse hashicorp cloud global network manager 20220215 create peering connections response

swagger:model hashicorp.cloud.global_network_manager_20220215.CreatePeeringConnectionsResponse

func (*HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 create peering connections response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreatePeeringConnectionsResponse) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 create peering connections response

type HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse

type HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse struct {

	// cluster is the viewable representation of the cluster
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse hashicorp cloud global network manager 20220215 delete cluster response

swagger:model hashicorp.cloud.global_network_manager_20220215.DeleteClusterResponse

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 delete cluster response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 delete cluster response

type HashicorpCloudGlobalNetworkManager20220215DeletePeeringConnectionResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215DeletePeeringConnectionResponse interface{}

HashicorpCloudGlobalNetworkManager20220215DeletePeeringConnectionResponse hashicorp cloud global network manager 20220215 delete peering connection response

swagger:model hashicorp.cloud.global_network_manager_20220215.DeletePeeringConnectionResponse

type HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter struct {

	// filters summaries to the provided cluster names. If empty, all are included
	Clusters []string `json:"clusters"`
}

HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter hashicorp cloud global network manager 20220215 get aggregate service summary request filter

swagger:model hashicorp.cloud.global_network_manager_20220215.GetAggregateServiceSummaryRequest.Filter

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 get aggregate service summary request filter based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryRequestFilter) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 get aggregate service summary request filter

type HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse

type HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse struct {

	// aggregate_service_summary_by_kind breaks down service instance health by Service Kind.
	AggregateServiceSummaryByKind map[string]HashicorpCloudGlobalNetworkManager20220215AggregateServiceSummary `json:"aggregate_service_summary_by_kind,omitempty"`

	// critical service instances
	CriticalServiceInstances int32 `json:"critical_service_instances,omitempty"`

	// location is the location of the services with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// passing service instances
	PassingServiceInstances int32 `json:"passing_service_instances,omitempty"`

	// total service instances
	TotalServiceInstances int32 `json:"total_service_instances,omitempty"`

	// TODO: remove these fields in favor of just returning aggregate_service_summary_by_kind.
	// aggregate_service_summary_by_kind can be reduced to total fields (which this is currently).
	TotalServices int32 `json:"total_services,omitempty"`

	// warning service instances
	WarningServiceInstances int32 `json:"warning_service_instances,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse hashicorp cloud global network manager 20220215 get aggregate service summary response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetAggregateServiceSummaryResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get aggregate service summary response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get aggregate service summary response

type HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse

type HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse struct {

	// ACL token required to make request to the consul API through HTTP Proxy
	ACLToken string `json:"acl_token,omitempty"`

	// URL to access the Consul API
	APIURL string `json:"api_url,omitempty"`

	// URL to the Consul UI
	UIURL string `json:"ui_url,omitempty"`

	// highest Consul server version
	Version string `json:"version,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse hashicorp cloud global network manager 20220215 get cluster API info response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterAPIInfoResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 get cluster API info response based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get cluster API info response

type HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse struct {

	// accessor_id is the Consul accessor id of the cluster's management token
	AccessorID string `json:"accessor_id,omitempty"`

	// invalid_reasons are the reasons why the token is invalid. If the token
	// is not invalid (it is valid, unknown, or n/a), this will returned
	// "unspecified". A token could potentially be invalid for multiple reasons,
	// so lists all reasons
	InvalidReasons []*HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason `json:"invalid_reasons"`

	// time_until_expiration is the amount of time until the token expires.
	// If a token has no expiration, returned duration returned will be nil.
	// Already expired tokens are indicated by TOKEN_INVALID_REASON_DOES_NOT_EXIST
	TimeUntilExpiration string `json:"time_until_expiration,omitempty"`

	// validity_status is the token's validity status
	ValidityStatus *HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus `json:"validity_status,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse hashicorp cloud global network manager 20220215 get cluster management token details response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterManagementTokenDetailsResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 get cluster management token details response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterManagementTokenDetailsResponse) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 get cluster management token details response

type HashicorpCloudGlobalNetworkManager20220215GetClusterResponse

type HashicorpCloudGlobalNetworkManager20220215GetClusterResponse struct {

	// cluster is the viewable representation of the cluster.
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterResponse hashicorp cloud global network manager 20220215 get cluster response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get cluster response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get cluster response

type HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse

type HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse struct {

	// oauth client_id for the consul cluster service principal
	ClientID string `json:"client_id,omitempty"`

	// oauth client_secret for the consul cluster service principal
	ClientSecret string `json:"client_secret,omitempty"`

	// HCP resource link
	ResourceLinkURL string `json:"resource_link_url,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse hashicorp cloud global network manager 20220215 get cluster secrets response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterSecretsResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 get cluster secrets response based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get cluster secrets response

type HashicorpCloudGlobalNetworkManager20220215GetServiceResponse added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215GetServiceResponse struct {

	// data
	Data *HashicorpCloudGlobalNetworkManager20220215Service `json:"data,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetServiceResponse hashicorp cloud global network manager 20220215 get service response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetServiceResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 get service response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 get service response

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter struct {

	// clusters matches summaries on the cluster name
	Clusters []string `json:"clusters"`

	// kinds matches service kind. If empty, this defaults to all kinds
	Kinds []*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind `json:"kinds"`

	// name_substr matches summaries that contain a case-insensitive substring in their service name
	NameSubstr string `json:"name_substr,omitempty"`

	// namespaces matches summaries on the namespace name
	Namespaces []string `json:"namespaces"`

	// partitions matches summaries on the partition name
	Partitions []string `json:"partitions"`
}

HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter hashicorp cloud global network manager 20220215 get service summaries request filter

swagger:model hashicorp.cloud.global_network_manager_20220215.GetServiceSummariesRequest.Filter

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get service summaries request filter based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) Validate

Validate validates this hashicorp cloud global network manager 20220215 get service summaries request filter

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse struct {

	// pagination meta response
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// services
	Services []*HashicorpCloudGlobalNetworkManager20220215ServiceSummary `json:"services"`
}

HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse hashicorp cloud global network manager 20220215 get service summaries response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetServiceSummariesResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get service summaries response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get service summaries response

type HashicorpCloudGlobalNetworkManager20220215GetTrialResponse added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215GetTrialResponse struct {

	// trial
	Trial *HashicorpCloudGlobalNetworkManager20220215Trial `json:"trial,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetTrialResponse hashicorp cloud global network manager 20220215 get trial response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetTrialResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetTrialResponse) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 get trial response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetTrialResponse) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetTrialResponse) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetTrialResponse) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 get trial response

type HashicorpCloudGlobalNetworkManager20220215Licensing added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215Licensing string

HashicorpCloudGlobalNetworkManager20220215Licensing - LICENSING_UNSPECIFIED: the Consul licensing information is unspecified

  • LICENSING_ENTERPRISE: the cluster has a valid Consul Enterprise license
  • LICENSING_EXPIRED_ENTERPRISE: the cluster has an expired Consul Enterprise license
  • LICENSING_OSS: the cluster is running Consul OSS
  • LICENSING_OSS_FREE_TRIAL: the cluster is running Consul OSS with an active HCP Consul free trial
  • LICENSING_COMMUNITY: the cluster is running Consul community edition
  • LICENSING_COMMUNITY_TRIAL: the cluster is running Consul community edition with an active HCP Consul trial

swagger:model hashicorp.cloud.global_network_manager_20220215.Licensing

const (

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGUNSPECIFIED captures enum value "LICENSING_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGENTERPRISE captures enum value "LICENSING_ENTERPRISE"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGENTERPRISE HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_ENTERPRISE"

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGEXPIREDENTERPRISE captures enum value "LICENSING_EXPIRED_ENTERPRISE"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGEXPIREDENTERPRISE HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_EXPIRED_ENTERPRISE"

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGOSS captures enum value "LICENSING_OSS"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGOSS HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_OSS"

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGOSSFREETRIAL captures enum value "LICENSING_OSS_FREE_TRIAL"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGOSSFREETRIAL HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_OSS_FREE_TRIAL"

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGCOMMUNITY captures enum value "LICENSING_COMMUNITY"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGCOMMUNITY HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_COMMUNITY"

	// HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGCOMMUNITYTRIAL captures enum value "LICENSING_COMMUNITY_TRIAL"
	HashicorpCloudGlobalNetworkManager20220215LicensingLICENSINGCOMMUNITYTRIAL HashicorpCloudGlobalNetworkManager20220215Licensing = "LICENSING_COMMUNITY_TRIAL"
)

func (HashicorpCloudGlobalNetworkManager20220215Licensing) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 licensing based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215Licensing) Pointer added in v0.62.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215Licensing.

func (HashicorpCloudGlobalNetworkManager20220215Licensing) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 licensing

type HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse struct {

	// partitions
	Partitions []*HashicorpCloudGlobalNetworkManager20220215AdminPartition `json:"partitions"`
}

HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse hashicorp cloud global network manager 20220215 list cluster partitions response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClusterPartitionsResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list cluster partitions response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterPartitionsResponse) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list cluster partitions response

type HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse

type HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse struct {

	// id is the user settable GNM cluster name
	ID string `json:"id,omitempty"`

	// location is the location of the cluster with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Server is the configuration and TLS status of each consul server in a cluster
	Server []*HashicorpCloudGlobalNetworkManager20220215Server `json:"server"`
}

HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse hashicorp cloud global network manager 20220215 list cluster servers response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClusterServersResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 list cluster servers response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 list cluster servers response

type HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType

type HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType string

HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType Type limits responses to the specified cluster type

- TYPE_UNSPECIFIED: unspecified type to filter on. If this error appears, default to self-managed clusters

  • TYPE_ALL: all cluster types
  • TYPE_SELF: self-managed clusters
  • TYPE_HCP: HCP-managed clusters

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersRequest.Type

const (

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEUNSPECIFIED captures enum value "TYPE_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEALL captures enum value "TYPE_ALL"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEALL HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_ALL"

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPESELF captures enum value "TYPE_SELF"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPESELF HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_SELF"

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEHCP captures enum value "TYPE_HCP"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEHCP HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_HCP"
)

func (HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 list clusters request type based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType.

func (HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType) Validate

Validate validates this hashicorp cloud global network manager 20220215 list clusters request type

type HashicorpCloudGlobalNetworkManager20220215ListClustersResponse

type HashicorpCloudGlobalNetworkManager20220215ListClustersResponse struct {

	// clusters
	Clusters []*HashicorpCloudGlobalNetworkManager20220215Cluster `json:"clusters"`

	// pagination response containing the page tokens for future requests
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ListClustersResponse hashicorp cloud global network manager 20220215 list clusters response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 list clusters response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 list clusters response

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse struct {

	// clusters
	Clusters []*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility `json:"clusters"`
}

HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse hashicorp cloud global network manager 20220215 list clusters with acceptor eligibility response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersWithAcceptorEligibilityResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list clusters with acceptor eligibility response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponse) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list clusters with acceptor eligibility response

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility struct {

	// hcp_public indicates if this is an HCP-managed, public cluster
	HcpPublic bool `json:"hcp_public,omitempty"`

	// id is the user settable GNM cluster name.
	ID string `json:"id,omitempty"`

	// ineligibility_reasons is the list of reasons why this cluster is ineligible. Empty
	// list means this cluster is eligible.
	IneligibilityReasons []*HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason `json:"ineligibility_reasons"`

	// partitions are the Consul admin partitions on the cluster
	Partitions []*HashicorpCloudGlobalNetworkManager20220215AdminPartition `json:"partitions"`
}

HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility hashicorp cloud global network manager 20220215 list clusters with acceptor eligibility response cluster with acceptor eligibility

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersWithAcceptorEligibilityResponse.ClusterWithAcceptorEligibility

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list clusters with acceptor eligibility response cluster with acceptor eligibility based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithAcceptorEligibilityResponseClusterWithAcceptorEligibility) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list clusters with acceptor eligibility response cluster with acceptor eligibility

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse struct {

	// clusters
	Clusters []*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility `json:"clusters"`
}

HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse hashicorp cloud global network manager 20220215 list clusters with dialer eligibility response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersWithDialerEligibilityResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list clusters with dialer eligibility response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponse) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list clusters with dialer eligibility response

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility struct {

	// connectivity_options is a list of network connectivity options for the two clusters
	// involved in the prospective peering connection
	ConnectivityOptions []*HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption `json:"connectivity_options"`

	// id is the user settable GNM cluster name.
	ID string `json:"id,omitempty"`

	// ineligibility_reasons is the list of reasons why this cluster is ineligible. Empty
	// list means this cluster is eligible.
	IneligibilityReasons []*HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason `json:"ineligibility_reasons"`

	// partitions are the Consul admin partitions on the cluster
	Partitions []*HashicorpCloudGlobalNetworkManager20220215AdminPartitionWithEligibility `json:"partitions"`
}

HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility hashicorp cloud global network manager 20220215 list clusters with dialer eligibility response cluster with dialer eligibility

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersWithDialerEligibilityResponse.ClusterWithDialerEligibility

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list clusters with dialer eligibility response cluster with dialer eligibility based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersWithDialerEligibilityResponseClusterWithDialerEligibility) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list clusters with dialer eligibility response cluster with dialer eligibility

type HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse struct {

	// cves
	Cves map[string]HashicorpCloudGlobalNetworkManager20220215CVE `json:"cves,omitempty"`

	// major versions
	MajorVersions map[string]HashicorpCloudGlobalNetworkManager20220215ConsulMajorVersion `json:"major_versions,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse hashicorp cloud global network manager 20220215 list consul versions response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListConsulVersionsResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list consul versions response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListConsulVersionsResponse) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list consul versions response

type HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse struct {

	// cluster partition peers
	ClusterPartitionPeers []*HashicorpCloudGlobalNetworkManager20220215ClusterPartitionPeers `json:"cluster_partition_peers"`
}

HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse hashicorp cloud global network manager 20220215 list peers by cluster partition response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListPeersByClusterPartitionResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list peers by cluster partition response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListPeersByClusterPartitionResponse) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 list peers by cluster partition response

type HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse struct {

	// data
	Data []*HashicorpCloudGlobalNetworkManager20220215ServiceInstance `json:"data"`

	// pagination response containing the page tokens for future requests
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse hashicorp cloud global network manager 20220215 list service instances response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListServiceInstancesResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list service instances response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 list service instances response

type HashicorpCloudGlobalNetworkManager20220215ListServicesResponse added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215ListServicesResponse struct {

	// data
	Data []*HashicorpCloudGlobalNetworkManager20220215Service `json:"data"`

	// pagination response containing the page tokens for future requests
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ListServicesResponse hashicorp cloud global network manager 20220215 list services response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListServicesResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 list services response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 list services response

type HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity string

HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity NetworkConnectivity is a list of options for connecting the underlying network infrastructure

- UNSPECIFIED: UNSPECIFIED means network connnectivity is left up to the user

  • HVN_TO_HVN_PEERING: Triggers an automatic peering of two HVNs for connectivity

swagger:model hashicorp.cloud.global_network_manager_20220215.NetworkConnectivity

const (

	// HashicorpCloudGlobalNetworkManager20220215NetworkConnectivityUNSPECIFIED captures enum value "UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215NetworkConnectivityUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity = "UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215NetworkConnectivityHVNTOHVNPEERING captures enum value "HVN_TO_HVN_PEERING"
	HashicorpCloudGlobalNetworkManager20220215NetworkConnectivityHVNTOHVNPEERING HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity = "HVN_TO_HVN_PEERING"
)

func (HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 network connectivity based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity) Pointer added in v0.40.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity.

func (HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 network connectivity

type HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason string

HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason PartitionPeeringIneligibilityReason indicates a reason why a peering connection is not possible with a particular partition

swagger:model hashicorp.cloud.global_network_manager_20220215.PartitionPeeringIneligibilityReason

const (

	// HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReasonPARTITIONINELIGIBILITYUNDEFINED captures enum value "PARTITION_INELIGIBILITY_UNDEFINED"
	HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReasonPARTITIONINELIGIBILITYUNDEFINED HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason = "PARTITION_INELIGIBILITY_UNDEFINED"

	// HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReasonPARTITIONINELIGIBILITYPEERINGALREADYEXISTS captures enum value "PARTITION_INELIGIBILITY_PEERING_ALREADY_EXISTS"
	HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReasonPARTITIONINELIGIBILITYPEERINGALREADYEXISTS HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason = "PARTITION_INELIGIBILITY_PEERING_ALREADY_EXISTS"
)

func (HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 partition peering ineligibility reason based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason) Pointer added in v0.40.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason.

func (HashicorpCloudGlobalNetworkManager20220215PartitionPeeringIneligibilityReason) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 partition peering ineligibility reason

type HashicorpCloudGlobalNetworkManager20220215Peer added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215Peer struct {

	// cluster
	Cluster *cloud.HashicorpCloudLocationLink `json:"cluster,omitempty"`

	// cluster partition
	ClusterPartition string `json:"cluster_partition,omitempty"`

	// peer meta
	PeerMeta map[string]string `json:"peer_meta,omitempty"`

	// peer name
	PeerName string `json:"peer_name,omitempty"`

	// server_external_addresses contains user-provided addresses to include in the acceptor's peering token.
	// Typically used to specify load balancers that route external traffic to the Consul servers.
	ServerExternalAddresses []string `json:"server_external_addresses"`
}

HashicorpCloudGlobalNetworkManager20220215Peer Peer represents a single side of the peering connection

swagger:model hashicorp.cloud.global_network_manager_20220215.Peer

func (*HashicorpCloudGlobalNetworkManager20220215Peer) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 peer based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Peer) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Peer) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Peer) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 peer

type HashicorpCloudGlobalNetworkManager20220215PeerDialer added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215PeerDialer struct {

	// cluster
	Cluster *cloud.HashicorpCloudLocationLink `json:"cluster,omitempty"`

	// cluster partition
	ClusterPartition string `json:"cluster_partition,omitempty"`

	// network connectivity
	NetworkConnectivity *HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity `json:"network_connectivity,omitempty"`

	// peer meta
	PeerMeta map[string]string `json:"peer_meta,omitempty"`

	// peer name
	PeerName string `json:"peer_name,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215PeerDialer PeerDialer is used when creating a peering connection in order to specify options only available to the Dialer peer

swagger:model hashicorp.cloud.global_network_manager_20220215.PeerDialer

func (*HashicorpCloudGlobalNetworkManager20220215PeerDialer) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 peer dialer based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215PeerDialer) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215PeerDialer) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215PeerDialer) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 peer dialer

type HashicorpCloudGlobalNetworkManager20220215PeerState added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215PeerState string

HashicorpCloudGlobalNetworkManager20220215PeerState PeerState is the state of the peering connection

swagger:model hashicorp.cloud.global_network_manager_20220215.PeerState

const (

	// HashicorpCloudGlobalNetworkManager20220215PeerStateUNDEFINED captures enum value "UNDEFINED"
	HashicorpCloudGlobalNetworkManager20220215PeerStateUNDEFINED HashicorpCloudGlobalNetworkManager20220215PeerState = "UNDEFINED"

	// HashicorpCloudGlobalNetworkManager20220215PeerStatePENDING captures enum value "PENDING"
	HashicorpCloudGlobalNetworkManager20220215PeerStatePENDING HashicorpCloudGlobalNetworkManager20220215PeerState = "PENDING"

	// HashicorpCloudGlobalNetworkManager20220215PeerStateESTABLISHING captures enum value "ESTABLISHING"
	HashicorpCloudGlobalNetworkManager20220215PeerStateESTABLISHING HashicorpCloudGlobalNetworkManager20220215PeerState = "ESTABLISHING"

	// HashicorpCloudGlobalNetworkManager20220215PeerStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudGlobalNetworkManager20220215PeerStateACTIVE HashicorpCloudGlobalNetworkManager20220215PeerState = "ACTIVE"

	// HashicorpCloudGlobalNetworkManager20220215PeerStateFAILING captures enum value "FAILING"
	HashicorpCloudGlobalNetworkManager20220215PeerStateFAILING HashicorpCloudGlobalNetworkManager20220215PeerState = "FAILING"

	// HashicorpCloudGlobalNetworkManager20220215PeerStateDELETING captures enum value "DELETING"
	HashicorpCloudGlobalNetworkManager20220215PeerStateDELETING HashicorpCloudGlobalNetworkManager20220215PeerState = "DELETING"

	// HashicorpCloudGlobalNetworkManager20220215PeerStateTERMINATED captures enum value "TERMINATED"
	HashicorpCloudGlobalNetworkManager20220215PeerStateTERMINATED HashicorpCloudGlobalNetworkManager20220215PeerState = "TERMINATED"
)

func (HashicorpCloudGlobalNetworkManager20220215PeerState) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 peer state based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215PeerState) Pointer added in v0.40.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215PeerState.

func (HashicorpCloudGlobalNetworkManager20220215PeerState) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 peer state

type HashicorpCloudGlobalNetworkManager20220215PeeringConnection added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215PeeringConnection struct {

	// created_at is the timestamp of when the peering_connection was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// display_error is an error to give to the front end to determine on-going issues for customers
	DisplayError *cloud.GoogleRPCStatus `json:"display_error,omitempty"`

	// location is the location of the peering connection (composite of the org/project)
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// network_connectivity is used to determine how the underlying network
	// infrastructure is connected
	NetworkConnectivity *HashicorpCloudGlobalNetworkManager20220215NetworkConnectivity `json:"network_connectivity,omitempty"`

	// peering_connection_id is slug ID of the peering connection
	PeeringConnectionID string `json:"peering_connection_id,omitempty"`

	// updated_at is the timestamp of when the peering_connection was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215PeeringConnection hashicorp cloud global network manager 20220215 peering connection

swagger:model hashicorp.cloud.global_network_manager_20220215.PeeringConnection

func (*HashicorpCloudGlobalNetworkManager20220215PeeringConnection) ContextValidate added in v0.40.0

ContextValidate validate this hashicorp cloud global network manager 20220215 peering connection based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215PeeringConnection) MarshalBinary added in v0.40.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215PeeringConnection) UnmarshalBinary added in v0.40.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215PeeringConnection) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 peering connection

type HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus added in v0.45.0

type HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus string

HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus PeeringConnectionStatus is the overall, summarized status of the peering connection, as determined by the states of the individual peers as well as the state of the PeeringConnection

swagger:model hashicorp.cloud.global_network_manager_20220215.PeeringConnectionStatus

const (

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGUNDEFINED captures enum value "PEERING_UNDEFINED"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGUNDEFINED HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus = "PEERING_UNDEFINED"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGCONNECTING captures enum value "PEERING_CONNECTING"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGCONNECTING HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus = "PEERING_CONNECTING"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGACTIVE captures enum value "PEERING_ACTIVE"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGACTIVE HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus = "PEERING_ACTIVE"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGDELETING captures enum value "PEERING_DELETING"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGDELETING HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus = "PEERING_DELETING"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGFAILING captures enum value "PEERING_FAILING"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGFAILING HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus = "PEERING_FAILING"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGUNSYNCED captures enum value "PEERING_UNSYNCED"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatusPEERINGUNSYNCED HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus = "PEERING_UNSYNCED"
)

func (HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus) ContextValidate added in v0.45.0

ContextValidate validates this hashicorp cloud global network manager 20220215 peering connection status based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus) Pointer added in v0.45.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus.

func (HashicorpCloudGlobalNetworkManager20220215PeeringConnectionStatus) Validate added in v0.45.0

Validate validates this hashicorp cloud global network manager 20220215 peering connection status

type HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption string

HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption PeeringConnectivityOption indicates an option for establishing network connectivity between two clusters for the purposes of cluster peering

swagger:model hashicorp.cloud.global_network_manager_20220215.PeeringConnectivityOption

const (

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYUNDEFINED captures enum value "PEERING_CONNECTIVITY_UNDEFINED"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYUNDEFINED HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption = "PEERING_CONNECTIVITY_UNDEFINED"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYHVNTOHVNPEERING captures enum value "PEERING_CONNECTIVITY_HVN_TO_HVN_PEERING"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYHVNTOHVNPEERING HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption = "PEERING_CONNECTIVITY_HVN_TO_HVN_PEERING"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYMESHGATEWAY captures enum value "PEERING_CONNECTIVITY_MESH_GATEWAY"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYMESHGATEWAY HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption = "PEERING_CONNECTIVITY_MESH_GATEWAY"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYHCPPUBLIC captures enum value "PEERING_CONNECTIVITY_HCP_PUBLIC"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYHCPPUBLIC HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption = "PEERING_CONNECTIVITY_HCP_PUBLIC"

	// HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYINTRAHVN captures enum value "PEERING_CONNECTIVITY_INTRA_HVN"
	HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOptionPEERINGCONNECTIVITYINTRAHVN HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption = "PEERING_CONNECTIVITY_INTRA_HVN"
)

func (HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 peering connectivity option based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption) Pointer added in v0.40.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption.

func (HashicorpCloudGlobalNetworkManager20220215PeeringConnectivityOption) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 peering connectivity option

type HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason string

HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason PeeringIneligibilityReason indicates a reason why a peering connection is not possible

swagger:model hashicorp.cloud.global_network_manager_20220215.PeeringIneligibilityReason

const (

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYUNDEFINED captures enum value "INELIGIBILITY_UNDEFINED"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYUNDEFINED HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_UNDEFINED"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYMINVERSIONNOTMET captures enum value "INELIGIBILITY_MIN_VERSION_NOT_MET"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYMINVERSIONNOTMET HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_MIN_VERSION_NOT_MET"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYPEERINGNOTENABLED captures enum value "INELIGIBILITY_PEERING_NOT_ENABLED"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYPEERINGNOTENABLED HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_PEERING_NOT_ENABLED"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCROSSCLOUDPREMIUMTIERREQUIRED captures enum value "INELIGIBILITY_CROSS_CLOUD_PREMIUM_TIER_REQUIRED"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCROSSCLOUDPREMIUMTIERREQUIRED HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_CROSS_CLOUD_PREMIUM_TIER_REQUIRED"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCROSSREGIONPLUSTIERREQUIRED captures enum value "INELIGIBILITY_CROSS_REGION_PLUS_TIER_REQUIRED"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCROSSREGIONPLUSTIERREQUIRED HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_CROSS_REGION_PLUS_TIER_REQUIRED"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYNOCONNECTIVITYPOSSIBLE captures enum value "INELIGIBILITY_NO_CONNECTIVITY_POSSIBLE"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYNOCONNECTIVITYPOSSIBLE HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_NO_CONNECTIVITY_POSSIBLE"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYINELIGIBLEBILLINGPLAN captures enum value "INELIGIBILITY_INELIGIBLE_BILLING_PLAN"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYINELIGIBLEBILLINGPLAN HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_INELIGIBLE_BILLING_PLAN"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCLUSTERINVALIDSTATE captures enum value "INELIGIBILITY_CLUSTER_INVALID_STATE"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCLUSTERINVALIDSTATE HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_CLUSTER_INVALID_STATE"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCONSULACCESSREADONLY captures enum value "INELIGIBILITY_CONSUL_ACCESS_READ_ONLY"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYCONSULACCESSREADONLY HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_CONSUL_ACCESS_READ_ONLY"

	// HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYINVALIDLICENSE captures enum value "INELIGIBILITY_INVALID_LICENSE"
	HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReasonINELIGIBILITYINVALIDLICENSE HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason = "INELIGIBILITY_INVALID_LICENSE"
)

func (HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 peering ineligibility reason based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason) Pointer added in v0.40.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason.

func (HashicorpCloudGlobalNetworkManager20220215PeeringIneligibilityReason) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 peering ineligibility reason

type HashicorpCloudGlobalNetworkManager20220215RaftInfo

type HashicorpCloudGlobalNetworkManager20220215RaftInfo struct {

	// applied index
	AppliedIndex string `json:"applied_index,omitempty"`

	// is leader
	IsLeader bool `json:"is_leader,omitempty"`

	// known leader
	KnownLeader bool `json:"known_leader,omitempty"`

	// time since last contact
	TimeSinceLastContact string `json:"time_since_last_contact,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215RaftInfo hashicorp cloud global network manager 20220215 raft info

swagger:model hashicorp.cloud.global_network_manager_20220215.RaftInfo

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 raft info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) Validate

Validate validates this hashicorp cloud global network manager 20220215 raft info

type HashicorpCloudGlobalNetworkManager20220215Server

type HashicorpCloudGlobalNetworkManager20220215Server struct {

	// failure_tolerance is the number of nodes remaining that could fail before the cluster loses stability
	FailureTolerance int32 `json:"failure_tolerance,omitempty"`

	// gossip_port is the Consul serf port
	GossipPort int32 `json:"gossip_port,omitempty"`

	// id is the consul server ID
	ID string `json:"id,omitempty"`

	// lan_address is the local network address of the consul server
	LanAddress string `json:"lan_address,omitempty"`

	// min_quorum is the minimum number of consul servers needed for a quorum
	MinQuorum int32 `json:"min_quorum,omitempty"`

	// name is the consul server name
	Name string `json:"name,omitempty"`

	// rpc_port is the Consul RPC port
	RPCPort int32 `json:"rpc_port,omitempty"`

	// scada_status is the scada provider client's current status
	ScadaStatus string `json:"scada_status,omitempty"`

	// tls_enabled is true if consul RPCs are encrypted
	TLSEnabled bool `json:"tls_enabled,omitempty"`

	// tls_expiry is the date and time that Consul's TLS certificate expires
	// Format: date-time
	TLSExpiry strfmt.DateTime `json:"tls_expiry,omitempty"`

	// version is the consul version
	Version string `json:"version,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215Server hashicorp cloud global network manager 20220215 server

swagger:model hashicorp.cloud.global_network_manager_20220215.Server

func (*HashicorpCloudGlobalNetworkManager20220215Server) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 server based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Server) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Server) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Server) Validate

Validate validates this hashicorp cloud global network manager 20220215 server

type HashicorpCloudGlobalNetworkManager20220215ServerState

type HashicorpCloudGlobalNetworkManager20220215ServerState struct {

	// acl
	ACL *HashicorpCloudGlobalNetworkManager20220215ACLInfo `json:"acl,omitempty"`

	// autopilot
	Autopilot *HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo `json:"autopilot,omitempty"`

	// datacenter
	Datacenter string `json:"datacenter,omitempty"`

	// gossip port
	GossipPort int32 `json:"gossip_port,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// lan address
	LanAddress string `json:"lan_address,omitempty"`

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

	// raft
	Raft *HashicorpCloudGlobalNetworkManager20220215RaftInfo `json:"raft,omitempty"`

	// rpc port
	RPCPort int32 `json:"rpc_port,omitempty"`

	// scada status
	ScadaStatus string `json:"scada_status,omitempty"`

	// tls
	TLS *HashicorpCloudGlobalNetworkManager20220215TLSInfo `json:"tls,omitempty"`

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

HashicorpCloudGlobalNetworkManager20220215ServerState hashicorp cloud global network manager 20220215 server state

swagger:model hashicorp.cloud.global_network_manager_20220215.ServerState

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 server state based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) Validate

Validate validates this hashicorp cloud global network manager 20220215 server state

type HashicorpCloudGlobalNetworkManager20220215ServerTLS

type HashicorpCloudGlobalNetworkManager20220215ServerTLS struct {

	// cert
	Cert string `json:"cert,omitempty"`

	// certificate authorities
	CertificateAuthorities []string `json:"certificate_authorities"`

	// private key
	PrivateKey string `json:"private_key,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServerTLS hashicorp cloud global network manager 20220215 server TLS

swagger:model hashicorp.cloud.global_network_manager_20220215.ServerTLS

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 server TLS based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) Validate

Validate validates this hashicorp cloud global network manager 20220215 server TLS

type HashicorpCloudGlobalNetworkManager20220215Service added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215Service struct {

	// checks critical
	ChecksCritical int32 `json:"checks_critical,omitempty"`

	// checks passing
	ChecksPassing int32 `json:"checks_passing,omitempty"`

	// checks warning
	ChecksWarning int32 `json:"checks_warning,omitempty"`

	// Which Consul cluster the service is registered on
	ClusterID string `json:"cluster_id,omitempty"`

	// V2 resource id for parent cluster
	ClusterResourceID string `json:"cluster_resource_id,omitempty"`

	// V2 resource name for parent cluster
	ClusterResourceName string `json:"cluster_resource_name,omitempty"`

	// True if the service is “connect native”, aka it doesn’t use an Envoy proxy.
	ConnectNative bool `json:"connect_native,omitempty"`

	// True if the service is connected to a gateway.
	ConnectedWithGateway bool `json:"connected_with_gateway,omitempty"`

	// True if the service is connected to a envoy mesh proxy.
	ConnectedWithProxy bool `json:"connected_with_proxy,omitempty"`

	// Union of all the external sources on the service instances.
	ExternalSources []string `json:"external_sources"`

	// Only applies for “gateway” type services
	GatewayConfig *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig `json:"gateway_config,omitempty"`

	// instance count
	InstanceCount int32 `json:"instance_count,omitempty"`

	// Kind of service
	// Possible values: "", "typical", "connect-proxy", "mesh-gateway", "terminating-gateway", "ingress-gateway"
	// "destination", "api-gateway"
	Kind string `json:"kind,omitempty"`

	// Represents how external service requests are handled with regards to mutual TLS protocol
	// Possible values: "", "strict", "permissive"
	MtlsMode string `json:"mtls_mode,omitempty"`

	// Name of the service
	Name string `json:"name,omitempty"`

	// namespace of the service
	Namespace string `json:"namespace,omitempty"`

	// partition of the service
	Partition string `json:"partition,omitempty"`

	// A name defined at the admin partition level to help determine if two services are the same.
	SamenessGroup *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup `json:"sameness_group,omitempty"`

	// Each instance of a service can have its own tags. At the service level, we return a set of all tags of all service instances.
	Tags []string `json:"tags"`

	// Determines whether service traffic is forced to pass through the sidecar proxy.
	TransparentProxy bool `json:"transparent_proxy,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215Service hashicorp cloud global network manager 20220215 service

swagger:model hashicorp.cloud.global_network_manager_20220215.Service

func (*HashicorpCloudGlobalNetworkManager20220215Service) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 service based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Service) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Service) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Service) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 service

type HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig struct {

	// associated service count
	AssociatedServiceCount int32 `json:"associated_service_count,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig hashicorp cloud global network manager 20220215 service gateway config

swagger:model hashicorp.cloud.global_network_manager_20220215.Service.GatewayConfig

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 service gateway config based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 service gateway config

type HashicorpCloudGlobalNetworkManager20220215ServiceInstance added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215ServiceInstance struct {

	// Service-specific IP address or hostname. If no value is specified, the IP address of the agent node is used by default.
	Address string `json:"address,omitempty"`

	// Which Consul cluster the service is registered on
	ClusterID string `json:"cluster_id,omitempty"`

	// V2 resource id for parent cluster
	ClusterResourceID string `json:"cluster_resource_id,omitempty"`

	// V2 resource name for parent cluster
	ClusterResourceName string `json:"cluster_resource_name,omitempty"`

	// True if the service is connected to a envoy mesh proxy.
	ConnectedWithProxy bool `json:"connected_with_proxy,omitempty"`

	// external source
	ExternalSource string `json:"external_source,omitempty"`

	// Service instance ID
	ID string `json:"id,omitempty"`

	// Kind of service
	Kind string `json:"kind,omitempty"`

	// meta
	Meta map[string]string `json:"meta,omitempty"`

	// Service name
	Name string `json:"name,omitempty"`

	// namespace of the service
	Namespace string `json:"namespace,omitempty"`

	// Which Consul node the service is registered on
	Node string `json:"node,omitempty"`

	// node checks critical
	NodeChecksCritical int32 `json:"node_checks_critical,omitempty"`

	// node checks passing
	NodeChecksPassing int32 `json:"node_checks_passing,omitempty"`

	// node checks warning
	NodeChecksWarning int32 `json:"node_checks_warning,omitempty"`

	// partition of the service
	Partition string `json:"partition,omitempty"`

	// Port number of the service
	Port int32 `json:"port,omitempty"`

	// proxy checks critical
	ProxyChecksCritical int32 `json:"proxy_checks_critical,omitempty"`

	// proxy checks passing
	ProxyChecksPassing int32 `json:"proxy_checks_passing,omitempty"`

	// proxy checks warning
	ProxyChecksWarning int32 `json:"proxy_checks_warning,omitempty"`

	// service checks critical
	ServiceChecksCritical int32 `json:"service_checks_critical,omitempty"`

	// service checks passing
	ServiceChecksPassing int32 `json:"service_checks_passing,omitempty"`

	// service checks warning
	ServiceChecksWarning int32 `json:"service_checks_warning,omitempty"`

	// Represents overall service instance health status as determined by the highest elevated health check
	// This can be any of "passing", "warning", "critical", "none"
	Status string `json:"status,omitempty"`

	// tags
	Tags []string `json:"tags"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceInstance hashicorp cloud global network manager 20220215 service instance

swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceInstance

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 service instance based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 service instance

type HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup struct {

	// name
	Name string `json:"name,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup hashicorp cloud global network manager 20220215 service sameness group

swagger:model hashicorp.cloud.global_network_manager_20220215.Service.SamenessGroup

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 service sameness group based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 service sameness group

type HashicorpCloudGlobalNetworkManager20220215ServiceSummary

type HashicorpCloudGlobalNetworkManager20220215ServiceSummary struct {

	// critical
	Critical int32 `json:"critical,omitempty"`

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

	// passing
	Passing int32 `json:"passing,omitempty"`

	// summaries
	Summaries []*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry `json:"summaries"`

	// total service instances for the service after applying any requested filters
	Total int32 `json:"total,omitempty"`

	// warning
	Warning int32 `json:"warning,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceSummary ServiceSummary is an aggregate summary about the health of a service across one or more clusters

swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceSummary

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 service summary based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) Validate

Validate validates this hashicorp cloud global network manager 20220215 service summary

type HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry

type HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry struct {

	// cluster is the ID of the cluster the summary is from
	Cluster string `json:"cluster,omitempty"`

	// critical
	Critical int32 `json:"critical,omitempty"`

	// kind of service
	Kind *HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind `json:"kind,omitempty"`

	// namespace of the service
	Namespace string `json:"namespace,omitempty"`

	// partition of the service
	Partition string `json:"partition,omitempty"`

	// passing
	Passing int32 `json:"passing,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`

	// updated_at is the last time the service entry was updated in the DB
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// warning
	Warning int32 `json:"warning,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry hashicorp cloud global network manager 20220215 service summary entry

swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceSummary.Entry

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 service summary entry based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) Validate

Validate validates this hashicorp cloud global network manager 20220215 service summary entry

type HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind added in v0.40.0

type HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind string

HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind Kind is the kind of the service that was registered in the Catalog. https://developer.hashicorp.com/consul/api-docs/agent/service#kind

- KIND_UNSPECIFIED: The default, unspecified service kind. Kind unknown.

  • KIND_TYPICAL: A typical, classic Consul service.
  • KIND_CONNECT_PROXY: A Connect proxy instance.
  • KIND_MESH_GATEWAY: A mesh gateway service instance.
  • KIND_TERMINATING_GATEWAY: A terminating gateway service instance.
  • KIND_INGRESS_GATEWAY: An ingress gateway service instance.
  • KIND_DESTINATION: A Destination for the Connect feature.
  • KIND_API_GATEWAY: An API gateway service instance

swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceSummary.Kind

const (

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDUNSPECIFIED captures enum value "KIND_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDTYPICAL captures enum value "KIND_TYPICAL"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDTYPICAL HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_TYPICAL"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDCONNECTPROXY captures enum value "KIND_CONNECT_PROXY"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDCONNECTPROXY HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_CONNECT_PROXY"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDMESHGATEWAY captures enum value "KIND_MESH_GATEWAY"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDMESHGATEWAY HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_MESH_GATEWAY"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDTERMINATINGGATEWAY captures enum value "KIND_TERMINATING_GATEWAY"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDTERMINATINGGATEWAY HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_TERMINATING_GATEWAY"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDINGRESSGATEWAY captures enum value "KIND_INGRESS_GATEWAY"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDINGRESSGATEWAY HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_INGRESS_GATEWAY"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDDESTINATION captures enum value "KIND_DESTINATION"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDDESTINATION HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_DESTINATION"

	// HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDAPIGATEWAY captures enum value "KIND_API_GATEWAY"
	HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKindKINDAPIGATEWAY HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind = "KIND_API_GATEWAY"
)

func (HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind) ContextValidate added in v0.40.0

ContextValidate validates this hashicorp cloud global network manager 20220215 service summary kind based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind) Pointer added in v0.40.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind.

func (HashicorpCloudGlobalNetworkManager20220215ServiceSummaryKind) Validate added in v0.40.0

Validate validates this hashicorp cloud global network manager 20220215 service summary kind

type HashicorpCloudGlobalNetworkManager20220215TLSInfo

type HashicorpCloudGlobalNetworkManager20220215TLSInfo struct {

	// cert expiry
	// Format: date-time
	CertExpiry strfmt.DateTime `json:"cert_expiry,omitempty"`

	// cert name
	CertName string `json:"cert_name,omitempty"`

	// cert serial
	CertSerial string `json:"cert_serial,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// verify incoming
	VerifyIncoming bool `json:"verify_incoming,omitempty"`

	// verify outgoing
	VerifyOutgoing bool `json:"verify_outgoing,omitempty"`

	// verify server hostname
	VerifyServerHostname bool `json:"verify_server_hostname,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215TLSInfo hashicorp cloud global network manager 20220215 TLS info

swagger:model hashicorp.cloud.global_network_manager_20220215.TLSInfo

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 TLS info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) Validate

Validate validates this hashicorp cloud global network manager 20220215 TLS info

type HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason string

HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason TokenInvalidReason provides the reason why a token is invalid

- TOKEN_INVALID_REASON_UNSPECIFIED: Token's invalid reason is unspecified because token is not invalid

  • TOKEN_INVALID_REASON_DOES_NOT_EXIST: Token is invalid because it does not exist. Expired tokens are deleted

and therefore do not exist

  • TOKEN_INVALID_REASON_NO_POLICIES: Token is invalid because no policies are applied to it
  • TOKEN_INVALID_REASON_MULTIPLE_POLICIES: Token is invalid because it has more than one policy applied to it
  • TOKEN_INVALID_REASON_INCORRECT_POLICY: Token is invalid because it does not have the expected policy applied to it

swagger:model hashicorp.cloud.global_network_manager_20220215.TokenInvalidReason

const (

	// HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONUNSPECIFIED captures enum value "TOKEN_INVALID_REASON_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason = "TOKEN_INVALID_REASON_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONDOESNOTEXIST captures enum value "TOKEN_INVALID_REASON_DOES_NOT_EXIST"
	HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONDOESNOTEXIST HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason = "TOKEN_INVALID_REASON_DOES_NOT_EXIST"

	// HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONNOPOLICIES captures enum value "TOKEN_INVALID_REASON_NO_POLICIES"
	HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONNOPOLICIES HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason = "TOKEN_INVALID_REASON_NO_POLICIES"

	// HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONMULTIPLEPOLICIES captures enum value "TOKEN_INVALID_REASON_MULTIPLE_POLICIES"
	HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONMULTIPLEPOLICIES HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason = "TOKEN_INVALID_REASON_MULTIPLE_POLICIES"

	// HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONINCORRECTPOLICY captures enum value "TOKEN_INVALID_REASON_INCORRECT_POLICY"
	HashicorpCloudGlobalNetworkManager20220215TokenInvalidReasonTOKENINVALIDREASONINCORRECTPOLICY HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason = "TOKEN_INVALID_REASON_INCORRECT_POLICY"
)

func (HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 token invalid reason based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason) Pointer added in v0.62.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason.

func (HashicorpCloudGlobalNetworkManager20220215TokenInvalidReason) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 token invalid reason

type HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus string

HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus TokenValidityStatus is a token's validity status

- TOKEN_VALIDITY_STATUS_UNSPECIFIED: Token's validity is unspecified. This includes when CCM is unable to successfully request token information from Consul to do the validation

  • TOKEN_VALIDITY_STATUS_NOT_APPLICABLE: Token validity is not applicable when requesting a token that we do not

support validation

  • TOKEN_VALIDITY_STATUS_VALID: Token is valid
  • TOKEN_VALIDITY_STATUS_INVALID: Token is invalid

swagger:model hashicorp.cloud.global_network_manager_20220215.TokenValidityStatus

const (

	// HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSUNSPECIFIED captures enum value "TOKEN_VALIDITY_STATUS_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus = "TOKEN_VALIDITY_STATUS_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSNOTAPPLICABLE captures enum value "TOKEN_VALIDITY_STATUS_NOT_APPLICABLE"
	HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSNOTAPPLICABLE HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus = "TOKEN_VALIDITY_STATUS_NOT_APPLICABLE"

	// HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSVALID captures enum value "TOKEN_VALIDITY_STATUS_VALID"
	HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSVALID HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus = "TOKEN_VALIDITY_STATUS_VALID"

	// HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSINVALID captures enum value "TOKEN_VALIDITY_STATUS_INVALID"
	HashicorpCloudGlobalNetworkManager20220215TokenValidityStatusTOKENVALIDITYSTATUSINVALID HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus = "TOKEN_VALIDITY_STATUS_INVALID"
)

func (HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 token validity status based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus) Pointer added in v0.62.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus.

func (HashicorpCloudGlobalNetworkManager20220215TokenValidityStatus) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 token validity status

type HashicorpCloudGlobalNetworkManager20220215Trial added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215Trial struct {

	// end_date indicates the end date of the trial period
	// Format: date-time
	EndDate strfmt.DateTime `json:"end_date,omitempty"`

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// start_date indicates the start date of the trial, if this is NULL, then the trial has not started
	// Format: date-time
	StartDate strfmt.DateTime `json:"start_date,omitempty"`

	// trial_status indicates the current state of the HCP Consul trial for this organization
	TrialStatus *HashicorpCloudGlobalNetworkManager20220215TrialStatus `json:"trial_status,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215Trial hashicorp cloud global network manager 20220215 trial

swagger:model hashicorp.cloud.global_network_manager_20220215.Trial

func (*HashicorpCloudGlobalNetworkManager20220215Trial) ContextValidate added in v0.62.0

ContextValidate validate this hashicorp cloud global network manager 20220215 trial based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Trial) MarshalBinary added in v0.62.0

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Trial) UnmarshalBinary added in v0.62.0

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Trial) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 trial

type HashicorpCloudGlobalNetworkManager20220215TrialStatus added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215TrialStatus string

HashicorpCloudGlobalNetworkManager20220215TrialStatus TrialStatus is status of an organization's trial

- TRIAL_STATUS_UNSPECIFIED: trial status is not specified

  • TRIAL_STATUS_UNSTARTED: trial has not started
  • TRIAL_STATUS_IN_PROGRESS: trial is in progress
  • TRIAL_STATUS_EXPIRED: trial is expired
  • TRIAL_STATUS_INELIGIBLE: organization is ineligible for a trial

swagger:model hashicorp.cloud.global_network_manager_20220215.TrialStatus

const (

	// HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSUNSPECIFIED captures enum value "TRIAL_STATUS_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215TrialStatus = "TRIAL_STATUS_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSUNSTARTED captures enum value "TRIAL_STATUS_UNSTARTED"
	HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSUNSTARTED HashicorpCloudGlobalNetworkManager20220215TrialStatus = "TRIAL_STATUS_UNSTARTED"

	// HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSINPROGRESS captures enum value "TRIAL_STATUS_IN_PROGRESS"
	HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSINPROGRESS HashicorpCloudGlobalNetworkManager20220215TrialStatus = "TRIAL_STATUS_IN_PROGRESS"

	// HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSEXPIRED captures enum value "TRIAL_STATUS_EXPIRED"
	HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSEXPIRED HashicorpCloudGlobalNetworkManager20220215TrialStatus = "TRIAL_STATUS_EXPIRED"

	// HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSINELIGIBLE captures enum value "TRIAL_STATUS_INELIGIBLE"
	HashicorpCloudGlobalNetworkManager20220215TrialStatusTRIALSTATUSINELIGIBLE HashicorpCloudGlobalNetworkManager20220215TrialStatus = "TRIAL_STATUS_INELIGIBLE"
)

func (HashicorpCloudGlobalNetworkManager20220215TrialStatus) ContextValidate added in v0.62.0

ContextValidate validates this hashicorp cloud global network manager 20220215 trial status based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215TrialStatus) Pointer added in v0.62.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215TrialStatus.

func (HashicorpCloudGlobalNetworkManager20220215TrialStatus) Validate added in v0.62.0

Validate validates this hashicorp cloud global network manager 20220215 trial status

type HashicorpCloudGlobalNetworkManager20220215UpdateClusterResponse added in v0.62.0

type HashicorpCloudGlobalNetworkManager20220215UpdateClusterResponse interface{}

HashicorpCloudGlobalNetworkManager20220215UpdateClusterResponse Currently returning an empty response instead of returning the request

fields with updated values. There are sensitive fields that we may not
want to return. Returning empty to avoid inconsistencies with returning
some fields but not others

swagger:model hashicorp.cloud.global_network_manager_20220215.UpdateClusterResponse

Source Files

Jump to

Keyboard shortcuts

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