models

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudConsulCloudManager20231010CidrRange

type HashicorpCloudConsulCloudManager20231010CidrRange struct {

	// The IPv4 address range, including prefix in CIDR notation. For example, 172.25.16.0/24
	Address string `json:"address,omitempty"`

	// An optional description of the IP address range.
	Description string `json:"description,omitempty"`
}

HashicorpCloudConsulCloudManager20231010CidrRange CidrRange specifies an IP address and prefix in CIDR format.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.CidrRange

func (*HashicorpCloudConsulCloudManager20231010CidrRange) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cidr range based on context it is used

func (*HashicorpCloudConsulCloudManager20231010CidrRange) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010CidrRange) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010CidrRange) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cidr range

type HashicorpCloudConsulCloudManager20231010Cluster

type HashicorpCloudConsulCloudManager20231010Cluster struct {

	// Configuration for the cluster. Returned only for HashiCorp-managed clusters on HCP.
	Config *HashicorpCloudConsulCloudManager20231010ClusterConfig `json:"config,omitempty"`

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

	// Metadata of the cluster
	Meta *HashicorpCloudConsulCloudManager20231010Meta `json:"meta,omitempty"`

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

	// Resource id of the parent
	ParentResourceID string `json:"parent_resource_id,omitempty"`

	// Resource name of the parent
	ParentResourceName string `json:"parent_resource_name,omitempty"`

	// Region where the cluster is deployed
	Region *HashicorpCloudConsulCloudManager20231010Region `json:"region,omitempty"`

	// Resource ID of the cluster
	ResourceID string `json:"resource_id,omitempty"`

	// Resource name of the cluster
	ResourceName string `json:"resource_name,omitempty"`

	// Current state of the cluster.
	State string `json:"state,omitempty"`

	// Type of the cluster.
	Type string `json:"type,omitempty"`
}

HashicorpCloudConsulCloudManager20231010Cluster hashicorp cloud consul cloud manager 20231010 cluster

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Cluster

func (*HashicorpCloudConsulCloudManager20231010Cluster) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 cluster based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010Cluster) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Cluster) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Cluster) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cluster

type HashicorpCloudConsulCloudManager20231010ClusterConfig

type HashicorpCloudConsulCloudManager20231010ClusterConfig struct {

	// consul config
	ConsulConfig *HashicorpCloudConsulCloudManager20231010ConsulConfig `json:"consul_config,omitempty"`

	// Public and Private DNS names for the cluster
	DNSNames *HashicorpCloudConsulCloudManager20231010DNSNames `json:"dns_names,omitempty"`

	// NetworkConfig contains the network to deploy the Consul cluster into.
	NetworkConfig *HashicorpCloudConsulCloudManager20231010NetworkConfig `json:"network_config,omitempty"`

	// size
	Size *HashicorpCloudConsulCloudManager20231010ClusterConfigSize `json:"size,omitempty"`

	// The type of tier this Consul cluster is provisioned as.
	Tier *HashicorpCloudConsulCloudManager20231010ClusterConfigTier `json:"tier,omitempty"`
}

HashicorpCloudConsulCloudManager20231010ClusterConfig ClusterConfig holds the configuration for a Consul cluster.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterConfig

func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 cluster config based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cluster config

type HashicorpCloudConsulCloudManager20231010ClusterConfigSize

type HashicorpCloudConsulCloudManager20231010ClusterConfigSize string

HashicorpCloudConsulCloudManager20231010ClusterConfigSize Size corresponds to the size of the VM that a cluster is provisioned with. These sizes are represented as "t-shirt" sizes, with each corresponding to a specific instance type depending on the cloud provider.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterConfig.Size

const (

	// HashicorpCloudConsulCloudManager20231010ClusterConfigSizeUNSET captures enum value "UNSET"
	HashicorpCloudConsulCloudManager20231010ClusterConfigSizeUNSET HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "UNSET"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigSizeXSMALL captures enum value "X_SMALL"
	HashicorpCloudConsulCloudManager20231010ClusterConfigSizeXSMALL HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "X_SMALL"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigSizeSMALL captures enum value "SMALL"
	HashicorpCloudConsulCloudManager20231010ClusterConfigSizeSMALL HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "SMALL"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigSizeMEDIUM captures enum value "MEDIUM"
	HashicorpCloudConsulCloudManager20231010ClusterConfigSizeMEDIUM HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "MEDIUM"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigSizeLARGE captures enum value "LARGE"
	HashicorpCloudConsulCloudManager20231010ClusterConfigSizeLARGE HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "LARGE"
)

func (HashicorpCloudConsulCloudManager20231010ClusterConfigSize) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cluster config size based on context it is used

func (HashicorpCloudConsulCloudManager20231010ClusterConfigSize) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudConsulCloudManager20231010ClusterConfigSize.

func (HashicorpCloudConsulCloudManager20231010ClusterConfigSize) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cluster config size

type HashicorpCloudConsulCloudManager20231010ClusterConfigTier

type HashicorpCloudConsulCloudManager20231010ClusterConfigTier string

HashicorpCloudConsulCloudManager20231010ClusterConfigTier Tier represents the different groupings of features and cluster settings and determines the base billing product associated with a cluster resource.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterConfig.Tier

const (

	// HashicorpCloudConsulCloudManager20231010ClusterConfigTierDEVELOPMENT captures enum value "DEVELOPMENT"
	HashicorpCloudConsulCloudManager20231010ClusterConfigTierDEVELOPMENT HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "DEVELOPMENT"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigTierSTANDARD captures enum value "STANDARD"
	HashicorpCloudConsulCloudManager20231010ClusterConfigTierSTANDARD HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "STANDARD"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigTierPLUS captures enum value "PLUS"
	HashicorpCloudConsulCloudManager20231010ClusterConfigTierPLUS HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "PLUS"

	// HashicorpCloudConsulCloudManager20231010ClusterConfigTierPREMIUM captures enum value "PREMIUM"
	HashicorpCloudConsulCloudManager20231010ClusterConfigTierPREMIUM HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "PREMIUM"
)

func (HashicorpCloudConsulCloudManager20231010ClusterConfigTier) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cluster config tier based on context it is used

func (HashicorpCloudConsulCloudManager20231010ClusterConfigTier) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudConsulCloudManager20231010ClusterConfigTier.

func (HashicorpCloudConsulCloudManager20231010ClusterConfigTier) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cluster config tier

type HashicorpCloudConsulCloudManager20231010ClusterDetail

type HashicorpCloudConsulCloudManager20231010ClusterDetail struct {

	// Configuration for the cluster. Returned only for HashiCorp-managed clusters on HCP.
	Config *HashicorpCloudConsulCloudManager20231010ClusterConfig `json:"config,omitempty"`

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

	// Metadata of the cluster
	Meta *HashicorpCloudConsulCloudManager20231010Meta `json:"meta,omitempty"`

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

	// resource id of the parent
	ParentResourceID string `json:"parent_resource_id,omitempty"`

	// resource name of the parent
	ParentResourceName string `json:"parent_resource_name,omitempty"`

	// Region where the cluster is deployed
	Region *HashicorpCloudConsulCloudManager20231010Region `json:"region,omitempty"`

	// Resource ID of the cluster.
	ResourceID string `json:"resource_id,omitempty"`

	// Resource name of the cluster.
	ResourceName string `json:"resource_name,omitempty"`

	// Current state of the cluster.
	State string `json:"state,omitempty"`

	// Summary of the cluster
	Summary *HashicorpCloudConsulCloudManager20231010ClusterSummary `json:"summary,omitempty"`

	// Type of the cluster.
	Type string `json:"type,omitempty"`
}

HashicorpCloudConsulCloudManager20231010ClusterDetail hashicorp cloud consul cloud manager 20231010 cluster detail

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterDetail

func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 cluster detail based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cluster detail

type HashicorpCloudConsulCloudManager20231010ClusterSummary

type HashicorpCloudConsulCloudManager20231010ClusterSummary struct {

	// client count
	ClientCount int32 `json:"client_count,omitempty"`

	// node count
	NodeCount int32 `json:"node_count,omitempty"`

	// server count
	ServerCount int32 `json:"server_count,omitempty"`

	// service count
	ServiceCount int32 `json:"service_count,omitempty"`

	// service critical
	ServiceCritical int32 `json:"service_critical,omitempty"`

	// service passing
	ServicePassing int32 `json:"service_passing,omitempty"`

	// service warning
	ServiceWarning int32 `json:"service_warning,omitempty"`
}

HashicorpCloudConsulCloudManager20231010ClusterSummary hashicorp cloud consul cloud manager 20231010 cluster summary

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterSummary

func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cluster summary based on context it is used

func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 cluster summary

type HashicorpCloudConsulCloudManager20231010ConsulConfig

type HashicorpCloudConsulCloudManager20231010ConsulConfig struct {

	// `acl_enabled` stores if ACLs are enabled for this cluster or not.
	ACLEnabled bool `json:"acl_enabled,omitempty"`

	// `connect_enabled` flag denotes that the service mesh is enabled on the Consul servers.
	ConnectEnabled bool `json:"connect_enabled,omitempty"`

	// `datacenter` is the name of datacenter the Consul servers run in. If
	// not set, a default value of `dc1` is used.
	//
	// https://developer.hashicorp.com/consul/docs/agent/config/config-files#datacenter
	Datacenter string `json:"datacenter,omitempty"`
}

HashicorpCloudConsulCloudManager20231010ConsulConfig `ConsulConfig` exposes user settable configurations for a Consul cluster.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ConsulConfig

func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 consul config based on context it is used

func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 consul config

type HashicorpCloudConsulCloudManager20231010DNSNames

type HashicorpCloudConsulCloudManager20231010DNSNames struct {

	// `private` is the DNS name pointing to the cluster's private IP addresses.
	Private string `json:"private,omitempty"`

	// `public` is the DNS name pointing to the cluster's public IP addresses.
	Public string `json:"public,omitempty"`
}

HashicorpCloudConsulCloudManager20231010DNSNames DNSNames holds all of the cluster's DNS names.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.DNSNames

func (*HashicorpCloudConsulCloudManager20231010DNSNames) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 DNS names based on context it is used

func (*HashicorpCloudConsulCloudManager20231010DNSNames) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010DNSNames) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010DNSNames) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 DNS names

type HashicorpCloudConsulCloudManager20231010GetClusterResponse

type HashicorpCloudConsulCloudManager20231010GetClusterResponse struct {

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

HashicorpCloudConsulCloudManager20231010GetClusterResponse hashicorp cloud consul cloud manager 20231010 get cluster response

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.GetClusterResponse

func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 get cluster response based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 get cluster response

type HashicorpCloudConsulCloudManager20231010GetNodeResponse

type HashicorpCloudConsulCloudManager20231010GetNodeResponse struct {

	// Contains detailed information about the node
	Data *HashicorpCloudConsulCloudManager20231010NodeDetails `json:"data,omitempty"`
}

HashicorpCloudConsulCloudManager20231010GetNodeResponse hashicorp cloud consul cloud manager 20231010 get node response

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.GetNodeResponse

func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 get node response based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 get node response

type HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse

type HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse struct {

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

HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse hashicorp cloud consul cloud manager 20231010 get service instance response

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.GetServiceInstanceResponse

func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 get service instance response based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 get service instance response

type HashicorpCloudConsulCloudManager20231010ListClustersResponse

type HashicorpCloudConsulCloudManager20231010ListClustersResponse struct {

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

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

HashicorpCloudConsulCloudManager20231010ListClustersResponse hashicorp cloud consul cloud manager 20231010 list clusters response

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ListClustersResponse

func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 list clusters response based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 list clusters response

type HashicorpCloudConsulCloudManager20231010ListNodesResponse

type HashicorpCloudConsulCloudManager20231010ListNodesResponse struct {

	// list of nodes of a cluster
	Data []*HashicorpCloudConsulCloudManager20231010Node `json:"data"`

	// pagination information for the requesting next or previous page
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudConsulCloudManager20231010ListNodesResponse hashicorp cloud consul cloud manager 20231010 list nodes response

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ListNodesResponse

func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 list nodes response based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 list nodes response

type HashicorpCloudConsulCloudManager20231010Meta

type HashicorpCloudConsulCloudManager20231010Meta struct {

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

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

HashicorpCloudConsulCloudManager20231010Meta hashicorp cloud consul cloud manager 20231010 meta

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Meta

func (*HashicorpCloudConsulCloudManager20231010Meta) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 meta based on context it is used

func (*HashicorpCloudConsulCloudManager20231010Meta) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Meta) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Meta) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 meta

type HashicorpCloudConsulCloudManager20231010NetworkConfig

type HashicorpCloudConsulCloudManager20231010NetworkConfig struct {

	// A list of IP addresses used to restrict access to a cluster.
	IPAllowlist []*HashicorpCloudConsulCloudManager20231010CidrRange `json:"ip_allowlist"`

	// `private` indicates if this cluster's instances should be configured in a
	// non-externally accessible way.
	Private bool `json:"private,omitempty"`

	// This parameter is the network resource's `id`.
	ResourceID string `json:"resource_id,omitempty"`

	// This parameter is the network resource's `name`.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudConsulCloudManager20231010NetworkConfig NetworkConfig configures the network of the Consul cluster.

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NetworkConfig

func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 network config based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 network config

type HashicorpCloudConsulCloudManager20231010Node

type HashicorpCloudConsulCloudManager20231010Node struct {

	// IP address of the node
	Address string `json:"address,omitempty"`

	// Name of the cluster to which the node belongs
	ClusterName string `json:"cluster_name,omitempty"`

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

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

	// `resource_id` of the cluster to which the node belongs
	ParentResourceID string `json:"parent_resource_id,omitempty"`

	// Resource name of the cluster to which the node belongs
	ParentResourceName string `json:"parent_resource_name,omitempty"`

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

	// Tagged address of the node
	TaggedAddresses map[string]string `json:"tagged_addresses,omitempty"`
}

HashicorpCloudConsulCloudManager20231010Node hashicorp cloud consul cloud manager 20231010 node

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Node

func (*HashicorpCloudConsulCloudManager20231010Node) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 node based on context it is used

func (*HashicorpCloudConsulCloudManager20231010Node) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Node) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Node) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 node

type HashicorpCloudConsulCloudManager20231010NodeDetails

type HashicorpCloudConsulCloudManager20231010NodeDetails struct {

	// address of the node
	Address string `json:"address,omitempty"`

	// name of the cluster the node is part of
	ClusterName string `json:"cluster_name,omitempty"`

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

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

	// resource_id of the cluster to which the node belongs
	ParentResourceID string `json:"parent_resource_id,omitempty"`

	// resource_name of the cluster to which the node belongs
	ParentResourceName string `json:"parent_resource_name,omitempty"`

	// name of the partition the node belongs to
	Partition string `json:"partition,omitempty"`

	// service data of all the services running in the node
	ServiceData *HashicorpCloudConsulCloudManager20231010NodeServiceData `json:"service_data,omitempty"`

	// tagged addresses of the node
	TaggedAddresses map[string]string `json:"tagged_addresses,omitempty"`
}

HashicorpCloudConsulCloudManager20231010NodeDetails hashicorp cloud consul cloud manager 20231010 node details

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NodeDetails

func (*HashicorpCloudConsulCloudManager20231010NodeDetails) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 node details based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010NodeDetails) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NodeDetails) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NodeDetails) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 node details

type HashicorpCloudConsulCloudManager20231010NodeServiceData

type HashicorpCloudConsulCloudManager20231010NodeServiceData struct {

	// details of all service running on a node
	Details []*HashicorpCloudConsulCloudManager20231010NodeServiceDetails `json:"details"`

	// cumulative namespaces of all the services of the node
	Namespaces []string `json:"namespaces"`

	// cumulative tags of all services running on the node
	Tags []string `json:"tags"`
}

HashicorpCloudConsulCloudManager20231010NodeServiceData hashicorp cloud consul cloud manager 20231010 node service data

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NodeServiceData

func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) ContextValidate

ContextValidate validate this hashicorp cloud consul cloud manager 20231010 node service data based on the context it is used

func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 node service data

type HashicorpCloudConsulCloudManager20231010NodeServiceDetails

type HashicorpCloudConsulCloudManager20231010NodeServiceDetails struct {

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

	// instance_ids of the service
	InstanceIds []string `json:"instance_ids"`

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

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

	// different ports of node occupied by the service
	Ports []int32 `json:"ports"`

	// service name of the running service
	ServiceName string `json:"service_name,omitempty"`
}

HashicorpCloudConsulCloudManager20231010NodeServiceDetails hashicorp cloud consul cloud manager 20231010 node service details

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NodeServiceDetails

func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 node service details based on context it is used

func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 node service details

type HashicorpCloudConsulCloudManager20231010Region

type HashicorpCloudConsulCloudManager20231010Region struct {

	// provider
	Provider string `json:"provider,omitempty"`

	// region
	Region string `json:"region,omitempty"`
}

HashicorpCloudConsulCloudManager20231010Region hashicorp cloud consul cloud manager 20231010 region

swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Region

func (*HashicorpCloudConsulCloudManager20231010Region) ContextValidate

ContextValidate validates this hashicorp cloud consul cloud manager 20231010 region based on context it is used

func (*HashicorpCloudConsulCloudManager20231010Region) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Region) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsulCloudManager20231010Region) Validate

Validate validates this hashicorp cloud consul cloud manager 20231010 region

type HashicorpCloudGlobalNetworkManager20220215GetServiceResponse

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

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

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) Validate

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

type HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse

type HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse struct {

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

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

HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse hashicorp cloud global network manager 20220215 list cluster services response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClusterServicesResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) ContextValidate

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

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) Validate

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

type HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse

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

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

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) Validate

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

type HashicorpCloudGlobalNetworkManager20220215ListServicesResponse

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

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

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) Validate

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

type HashicorpCloudGlobalNetworkManager20220215Service

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"`

	// The unique identifier of the Consul cluster the service is registered with
	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”, meaning that it does not 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 an 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 where the service is deployed.
	Namespace string `json:"namespace,omitempty"`

	// Partition where the service is deployed.
	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, returns 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

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

func (*HashicorpCloudGlobalNetworkManager20220215Service) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Service) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Service) Validate

Validate validates this hashicorp cloud global network manager 20220215 service

type HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig

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

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

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) Validate

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

type HashicorpCloudGlobalNetworkManager20220215ServiceInstance

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"`

	// The unique identifier of the Consul cluster the service is registered with
	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 an 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 where the service is deployed.
	Namespace string `json:"namespace,omitempty"`

	// 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 where the service is deployed.
	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

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

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) Validate

Validate validates this hashicorp cloud global network manager 20220215 service instance

type HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup

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

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

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) Validate

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

Source Files

Jump to

Keyboard shortcuts

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