models

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 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 HashicorpCloudBoundary20211221Cluster

type HashicorpCloudBoundary20211221Cluster struct {

	// boundary_version is the version of the HCP Boundary running in this cluster.
	BoundaryVersion string `json:"boundary_version,omitempty"`

	// cluster_id is the id of the cluster set by user on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// cluster_url is the generated vanity url.
	ClusterURL string `json:"cluster_url,omitempty"`

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

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// marketing_sku is the marketing sku of the cluster [standard, plus]
	MarketingSku *HashicorpCloudBoundary20211221ClusterMarketingSKU `json:"marketing_sku,omitempty"`

	// state is the current state of the cluster.
	State *HashicorpCloudBoundary20211221ClusterState `json:"state,omitempty"`
}

HashicorpCloudBoundary20211221Cluster Cluster represents a single HCP Boundary cluster.

swagger:model hashicorp.cloud.boundary_20211221.Cluster

func (*HashicorpCloudBoundary20211221Cluster) ContextValidate

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

ContextValidate validate this hashicorp cloud boundary 20211221 cluster based on the context it is used

func (*HashicorpCloudBoundary20211221Cluster) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Cluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Cluster) Validate

Validate validates this hashicorp cloud boundary 20211221 cluster

type HashicorpCloudBoundary20211221ClusterMarketingSKU added in v0.44.0

type HashicorpCloudBoundary20211221ClusterMarketingSKU string

HashicorpCloudBoundary20211221ClusterMarketingSKU ClusterMarketingSKU is available SKUs for HCP Boundary clusters used for in billing and enterprise feature

- CLUSTER_MARKETING_SKU_UNSPECIFIED: CLUSTER_MARKETING_SKU_UNSPECIFIED is unspecified

  • CLUSTER_MARKETING_SKU_STANDARD: CLUSTER_MARKETING_SKU_STANDARD is 'standard' SKU
  • CLUSTER_MARKETING_SKU_PLUS: CLUSTER_MARKETING_SKU_PLUS is a 'plus' SKU

swagger:model hashicorp.cloud.boundary_20211221.ClusterMarketingSKU

const (

	// HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUUNSPECIFIED captures enum value "CLUSTER_MARKETING_SKU_UNSPECIFIED"
	HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUUNSPECIFIED HashicorpCloudBoundary20211221ClusterMarketingSKU = "CLUSTER_MARKETING_SKU_UNSPECIFIED"

	// HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUSTANDARD captures enum value "CLUSTER_MARKETING_SKU_STANDARD"
	HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUSTANDARD HashicorpCloudBoundary20211221ClusterMarketingSKU = "CLUSTER_MARKETING_SKU_STANDARD"

	// HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUPLUS captures enum value "CLUSTER_MARKETING_SKU_PLUS"
	HashicorpCloudBoundary20211221ClusterMarketingSKUCLUSTERMARKETINGSKUPLUS HashicorpCloudBoundary20211221ClusterMarketingSKU = "CLUSTER_MARKETING_SKU_PLUS"
)

func (HashicorpCloudBoundary20211221ClusterMarketingSKU) ContextValidate added in v0.44.0

ContextValidate validates this hashicorp cloud boundary 20211221 cluster marketing s k u based on context it is used

func (HashicorpCloudBoundary20211221ClusterMarketingSKU) Pointer added in v0.44.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudBoundary20211221ClusterMarketingSKU.

func (HashicorpCloudBoundary20211221ClusterMarketingSKU) Validate added in v0.44.0

Validate validates this hashicorp cloud boundary 20211221 cluster marketing s k u

type HashicorpCloudBoundary20211221ClusterState

type HashicorpCloudBoundary20211221ClusterState string

HashicorpCloudBoundary20211221ClusterState State is the state of the HCP Boundary cluster.

  • STATE_INVALID_UNSPECIFIED: STATE_INVALID_UNSPECIFIED is used when state is not valid.
  • STATE_PENDING: STATE_PENDING is used when cluster is waiting for creation.
  • STATE_CREATING: STATE_CREATING is used when cluster is creating.
  • STATE_RUNNING: STATE_RUNNING is used when cluster is up and running.
  • STATE_FAILED: STATE_FAILED is used when cluster failed to be created.
  • STATE_DELETING: STATE_DELETING is used when cluster received a deletion request.
  • STATE_DELETED: STATE_DELETED is used when cluster finished deleting.
  • STATE_UPDATING: STATE_UPDATING is used when cluster finished updating.

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

const (

	// HashicorpCloudBoundary20211221ClusterStateSTATEINVALIDUNSPECIFIED captures enum value "STATE_INVALID_UNSPECIFIED"
	HashicorpCloudBoundary20211221ClusterStateSTATEINVALIDUNSPECIFIED HashicorpCloudBoundary20211221ClusterState = "STATE_INVALID_UNSPECIFIED"

	// HashicorpCloudBoundary20211221ClusterStateSTATEPENDING captures enum value "STATE_PENDING"
	HashicorpCloudBoundary20211221ClusterStateSTATEPENDING HashicorpCloudBoundary20211221ClusterState = "STATE_PENDING"

	// HashicorpCloudBoundary20211221ClusterStateSTATECREATING captures enum value "STATE_CREATING"
	HashicorpCloudBoundary20211221ClusterStateSTATECREATING HashicorpCloudBoundary20211221ClusterState = "STATE_CREATING"

	// HashicorpCloudBoundary20211221ClusterStateSTATERUNNING captures enum value "STATE_RUNNING"
	HashicorpCloudBoundary20211221ClusterStateSTATERUNNING HashicorpCloudBoundary20211221ClusterState = "STATE_RUNNING"

	// HashicorpCloudBoundary20211221ClusterStateSTATEFAILED captures enum value "STATE_FAILED"
	HashicorpCloudBoundary20211221ClusterStateSTATEFAILED HashicorpCloudBoundary20211221ClusterState = "STATE_FAILED"

	// HashicorpCloudBoundary20211221ClusterStateSTATEDELETING captures enum value "STATE_DELETING"
	HashicorpCloudBoundary20211221ClusterStateSTATEDELETING HashicorpCloudBoundary20211221ClusterState = "STATE_DELETING"

	// HashicorpCloudBoundary20211221ClusterStateSTATEDELETED captures enum value "STATE_DELETED"
	HashicorpCloudBoundary20211221ClusterStateSTATEDELETED HashicorpCloudBoundary20211221ClusterState = "STATE_DELETED"

	// HashicorpCloudBoundary20211221ClusterStateSTATEUPDATING captures enum value "STATE_UPDATING"
	HashicorpCloudBoundary20211221ClusterStateSTATEUPDATING HashicorpCloudBoundary20211221ClusterState = "STATE_UPDATING"
)

func (HashicorpCloudBoundary20211221ClusterState) ContextValidate

ContextValidate validates this hashicorp cloud boundary 20211221 cluster state based on context it is used

func (HashicorpCloudBoundary20211221ClusterState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudBoundary20211221ClusterState.

func (HashicorpCloudBoundary20211221ClusterState) Validate

Validate validates this hashicorp cloud boundary 20211221 cluster state

type HashicorpCloudBoundary20211221CreateRequest

type HashicorpCloudBoundary20211221CreateRequest struct {

	// boundary_release is the boundary version to deploy
	BoundaryRelease string `json:"boundary_release,omitempty"`

	// cluster_id is the id of the cluster set by user on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// marketing_sku is the marketing sku of the cluster [standard, plus]
	MarketingSku *HashicorpCloudBoundary20211221ClusterMarketingSKU `json:"marketing_sku,omitempty"`

	// password is the initial password to use to setup initial login
	Password string `json:"password,omitempty"`

	// username is the admin username to setup for initial login
	Username string `json:"username,omitempty"`
}

HashicorpCloudBoundary20211221CreateRequest CreateRequest is a request to create a single HCP Boundary cluster.

swagger:model hashicorp.cloud.boundary_20211221.CreateRequest

func (*HashicorpCloudBoundary20211221CreateRequest) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 create request based on the context it is used

func (*HashicorpCloudBoundary20211221CreateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateRequest) Validate

Validate validates this hashicorp cloud boundary 20211221 create request

type HashicorpCloudBoundary20211221CreateResponse

type HashicorpCloudBoundary20211221CreateResponse struct {

	// cluster_id is the ID of the Boundary cluster that users set on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// cluster_url is the generated vanity url.
	ClusterURL string `json:"cluster_url,omitempty"`

	// operation tracks the asynchronous creation of the Boundary cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudBoundary20211221CreateResponse CreateResponse is a response on cluster creation.

swagger:model hashicorp.cloud.boundary_20211221.CreateResponse

func (*HashicorpCloudBoundary20211221CreateResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 create response based on the context it is used

func (*HashicorpCloudBoundary20211221CreateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221CreateResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 create response

type HashicorpCloudBoundary20211221DeleteResponse

type HashicorpCloudBoundary20211221DeleteResponse struct {

	// operation tracks the asynchronous creation of the Boundary cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudBoundary20211221DeleteResponse DeleteResponse is a response from cluster deletion.

swagger:model hashicorp.cloud.boundary_20211221.DeleteResponse

func (*HashicorpCloudBoundary20211221DeleteResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 delete response based on the context it is used

func (*HashicorpCloudBoundary20211221DeleteResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221DeleteResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221DeleteResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 delete response

type HashicorpCloudBoundary20211221GetResponse

type HashicorpCloudBoundary20211221GetResponse struct {

	// Cluster represents a single HCP Boundary cluster.
	Cluster *HashicorpCloudBoundary20211221Cluster `json:"cluster,omitempty"`
}

HashicorpCloudBoundary20211221GetResponse GetResponse is a response from getting an existing cluster.

swagger:model hashicorp.cloud.boundary_20211221.GetResponse

func (*HashicorpCloudBoundary20211221GetResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 get response based on the context it is used

func (*HashicorpCloudBoundary20211221GetResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221GetResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221GetResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 get response

type HashicorpCloudBoundary20211221ListResponse

type HashicorpCloudBoundary20211221ListResponse struct {

	// Clusters are the retrieved Boundary clusters.
	Clusters []*HashicorpCloudBoundary20211221Cluster `json:"clusters"`

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudBoundary20211221ListResponse ListResponse is a response of the list request.

swagger:model hashicorp.cloud.boundary_20211221.ListResponse

func (*HashicorpCloudBoundary20211221ListResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 list response based on the context it is used

func (*HashicorpCloudBoundary20211221ListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221ListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221ListResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 list response

type HashicorpCloudBoundary20211221MaintenanceWindow

type HashicorpCloudBoundary20211221MaintenanceWindow struct {

	// day_of_week is the one of 7 days in a week
	DayOfWeek *HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek `json:"day_of_week,omitempty"`

	// end is the last hour of the window
	// Format: date-time
	End strfmt.DateTime `json:"end,omitempty"`

	// start is the start hour of the window
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`
}

HashicorpCloudBoundary20211221MaintenanceWindow MaintenanceWindow is the time window in which upgrades will occur

swagger:model hashicorp.cloud.boundary_20211221.MaintenanceWindow

func (*HashicorpCloudBoundary20211221MaintenanceWindow) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 maintenance window based on the context it is used

func (*HashicorpCloudBoundary20211221MaintenanceWindow) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindow) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindow) Validate

Validate validates this hashicorp cloud boundary 20211221 maintenance window

type HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek

type HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek string

HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek DayOfWeek is the days of the week enumerated

- DAY_OF_WEEK_UNSPECIFIED: DAY_OF_WEEK_UNSPECIFIED is an unspecified DayOfWeek

  • DAY_OF_WEEK_MONDAY: DAY_OF_WEEK_MONDAY is Monday
  • DAY_OF_WEEK_TUESDAY: DAY_OF_WEEK_TUESDAY is Tuesday
  • DAY_OF_WEEK_WEDNESDAY: DAY_OF_WEEK_WEDNESDAY is Wednesday
  • DAY_OF_WEEK_THURSDAY: DAY_OF_WEEK_THURSDAY is Thursday
  • DAY_OF_WEEK_FRIDAY: DAY_OF_WEEK_FRIDAY is Friday
  • DAY_OF_WEEK_SATURDAY: DAY_OF_WEEK_SATURDAY is Saturday
  • DAY_OF_WEEK_SUNDAY: DAY_OF_WEEK_SUNDAY is Sunday

swagger:model hashicorp.cloud.boundary_20211221.MaintenanceWindow.DayOfWeek

const (

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKUNSPECIFIED captures enum value "DAY_OF_WEEK_UNSPECIFIED"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKUNSPECIFIED HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_UNSPECIFIED"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKMONDAY captures enum value "DAY_OF_WEEK_MONDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKMONDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_MONDAY"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKTUESDAY captures enum value "DAY_OF_WEEK_TUESDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKTUESDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_TUESDAY"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKWEDNESDAY captures enum value "DAY_OF_WEEK_WEDNESDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKWEDNESDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_WEDNESDAY"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKTHURSDAY captures enum value "DAY_OF_WEEK_THURSDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKTHURSDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_THURSDAY"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKFRIDAY captures enum value "DAY_OF_WEEK_FRIDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKFRIDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_FRIDAY"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKSATURDAY captures enum value "DAY_OF_WEEK_SATURDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKSATURDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_SATURDAY"

	// HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKSUNDAY captures enum value "DAY_OF_WEEK_SUNDAY"
	HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeekDAYOFWEEKSUNDAY HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek = "DAY_OF_WEEK_SUNDAY"
)

func (HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek) ContextValidate

ContextValidate validates this hashicorp cloud boundary 20211221 maintenance window day of week based on context it is used

func (HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek.

func (HashicorpCloudBoundary20211221MaintenanceWindowDayOfWeek) Validate

Validate validates this hashicorp cloud boundary 20211221 maintenance window day of week

type HashicorpCloudBoundary20211221MaintenanceWindowGetResponse

type HashicorpCloudBoundary20211221MaintenanceWindowGetResponse struct {

	// maintenance_window contains time frame that user set we want to update the cluster.
	MaintenanceWindow *HashicorpCloudBoundary20211221MaintenanceWindow `json:"maintenance_window,omitempty"`

	// upgrade_type contains upgrade methods set for this clusters.
	UpgradeType *HashicorpCloudBoundary20211221UpgradeType `json:"upgrade_type,omitempty"`
}

HashicorpCloudBoundary20211221MaintenanceWindowGetResponse MaintenanceWindowGetResponse is a response for fetching the maintenance set for this cluster.

swagger:model hashicorp.cloud.boundary_20211221.MaintenanceWindowGetResponse

func (*HashicorpCloudBoundary20211221MaintenanceWindowGetResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 maintenance window get response based on the context it is used

func (*HashicorpCloudBoundary20211221MaintenanceWindowGetResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindowGetResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindowGetResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 maintenance window get response

type HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest

type HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest struct {

	// cluster_id is the ID of the cluster to set the maintenance window for.
	ClusterID string `json:"cluster_id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// maintenance_window contains time frame that we want to update the cluster.
	MaintenanceWindow *HashicorpCloudBoundary20211221MaintenanceWindow `json:"maintenance_window,omitempty"`

	// upgrade_type contains upgrade methods for the clusters
	UpgradeType *HashicorpCloudBoundary20211221UpgradeType `json:"upgrade_type,omitempty"`
}

HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest MaintenanceWindowUpdateRequest is the request to update the maintenance window for a cluster.

swagger:model hashicorp.cloud.boundary_20211221.MaintenanceWindowUpdateRequest

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 maintenance window update request based on the context it is used

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest) Validate

Validate validates this hashicorp cloud boundary 20211221 maintenance window update request

type HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse

type HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse struct {

	// operation tracks the asynchronous update of a cluster maintenance window.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse MaintenanceWindowUpdateResponse is the response to update the maintenance window for a cluster.

swagger:model hashicorp.cloud.boundary_20211221.MaintenanceWindowUpdateResponse

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 maintenance window update response based on the context it is used

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 maintenance window update response

type HashicorpCloudBoundary20211221Session

type HashicorpCloudBoundary20211221Session struct {

	// id is the ID of the Session.
	ID string `json:"id,omitempty"`

	// status is the current status of this session.
	Status string `json:"status,omitempty"`

	// type is the type of the Session (e.g. tcp).
	Type string `json:"type,omitempty"`
}

HashicorpCloudBoundary20211221Session Session represents single Boundary session.

swagger:model hashicorp.cloud.boundary_20211221.Session

func (*HashicorpCloudBoundary20211221Session) ContextValidate

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

ContextValidate validates this hashicorp cloud boundary 20211221 session based on context it is used

func (*HashicorpCloudBoundary20211221Session) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Session) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221Session) Validate

Validate validates this hashicorp cloud boundary 20211221 session

type HashicorpCloudBoundary20211221SessionsResponse

type HashicorpCloudBoundary20211221SessionsResponse struct {

	// Sessions are the retrieved list of Boundary sessions.
	Sessions []*HashicorpCloudBoundary20211221Session `json:"sessions"`
}

HashicorpCloudBoundary20211221SessionsResponse SessionsResponse is a response from getting an existing cluster.

swagger:model hashicorp.cloud.boundary_20211221.SessionsResponse

func (*HashicorpCloudBoundary20211221SessionsResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 sessions response based on the context it is used

func (*HashicorpCloudBoundary20211221SessionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221SessionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221SessionsResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 sessions response

type HashicorpCloudBoundary20211221UpdateRequest

type HashicorpCloudBoundary20211221UpdateRequest struct {

	// cluster_id is the id of the cluster set by user on creation.
	ClusterID string `json:"cluster_id,omitempty"`

	// Location specifies the project to list from. If region is not specified,
	// all regions are returned.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudBoundary20211221UpdateRequest UpdateRequest is the request for updating HCP Boundary.

swagger:model hashicorp.cloud.boundary_20211221.UpdateRequest

func (*HashicorpCloudBoundary20211221UpdateRequest) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 update request based on the context it is used

func (*HashicorpCloudBoundary20211221UpdateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221UpdateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221UpdateRequest) Validate

Validate validates this hashicorp cloud boundary 20211221 update request

type HashicorpCloudBoundary20211221UpdateResponse

type HashicorpCloudBoundary20211221UpdateResponse struct {

	// operation tracks the asynchronous update of the Boundary cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudBoundary20211221UpdateResponse UpdateResponse is a response of the update request.

swagger:model hashicorp.cloud.boundary_20211221.UpdateResponse

func (*HashicorpCloudBoundary20211221UpdateResponse) ContextValidate

ContextValidate validate this hashicorp cloud boundary 20211221 update response based on the context it is used

func (*HashicorpCloudBoundary20211221UpdateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221UpdateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudBoundary20211221UpdateResponse) Validate

Validate validates this hashicorp cloud boundary 20211221 update response

type HashicorpCloudBoundary20211221UpgradeType

type HashicorpCloudBoundary20211221UpgradeType string

HashicorpCloudBoundary20211221UpgradeType UpgradeType is the upgrade method for the cluster

- UPGRADE_TYPE_UNSPECIFIED: UPGRADE_TYPE_UNSPECIFIED is an unspecified upgrade type

  • UPGRADE_TYPE_AUTOMATIC: UPGRADE_TYPE_AUTOMATIC is the upgrade type where we pick the schedule
  • UPGRADE_TYPE_SCHEDULED: UPGRADE_TYPE_SCHEDULED is the upgrade type where the user picks the schedule

swagger:model hashicorp.cloud.boundary_20211221.UpgradeType

const (

	// HashicorpCloudBoundary20211221UpgradeTypeUPGRADETYPEUNSPECIFIED captures enum value "UPGRADE_TYPE_UNSPECIFIED"
	HashicorpCloudBoundary20211221UpgradeTypeUPGRADETYPEUNSPECIFIED HashicorpCloudBoundary20211221UpgradeType = "UPGRADE_TYPE_UNSPECIFIED"

	// HashicorpCloudBoundary20211221UpgradeTypeUPGRADETYPEAUTOMATIC captures enum value "UPGRADE_TYPE_AUTOMATIC"
	HashicorpCloudBoundary20211221UpgradeTypeUPGRADETYPEAUTOMATIC HashicorpCloudBoundary20211221UpgradeType = "UPGRADE_TYPE_AUTOMATIC"

	// HashicorpCloudBoundary20211221UpgradeTypeUPGRADETYPESCHEDULED captures enum value "UPGRADE_TYPE_SCHEDULED"
	HashicorpCloudBoundary20211221UpgradeTypeUPGRADETYPESCHEDULED HashicorpCloudBoundary20211221UpgradeType = "UPGRADE_TYPE_SCHEDULED"
)

func (HashicorpCloudBoundary20211221UpgradeType) ContextValidate

ContextValidate validates this hashicorp cloud boundary 20211221 upgrade type based on context it is used

func (HashicorpCloudBoundary20211221UpgradeType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudBoundary20211221UpgradeType.

func (HashicorpCloudBoundary20211221UpgradeType) Validate

Validate validates this hashicorp cloud boundary 20211221 upgrade type

Jump to

Keyboard shortcuts

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