models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudNetwork20200907AWSCreateRequestTGWData

type HashicorpCloudNetwork20200907AWSCreateRequestTGWData struct {

	// resource_share_arn is an ARN of the Resource Share that is needed to grant HCP access to the Transit Gateway.
	ResourceShareArn string `json:"resource_share_arn,omitempty"`

	// tgw_id is the ID of the Transit Gateway
	TgwID string `json:"tgw_id,omitempty"`
}

HashicorpCloudNetwork20200907AWSCreateRequestTGWData CreateRequestTGWData is AWS specific details needed to initiate a request to create a Transit Gateway attachment.

swagger:model hashicorp.cloud.network_20200907.AWS.CreateRequestTGWData

func (*HashicorpCloudNetwork20200907AWSCreateRequestTGWData) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSCreateRequestTGWData) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSCreateRequestTGWData) Validate

Validate validates this hashicorp cloud network 20200907 a w s create request t g w data

type HashicorpCloudNetwork20200907AWSNetworkData

type HashicorpCloudNetwork20200907AWSNetworkData struct {

	// account_id is the AWS Account ID.
	AccountID string `json:"account_id,omitempty"`
}

HashicorpCloudNetwork20200907AWSNetworkData NetworkData contains information about the underlying VPC.

swagger:model hashicorp.cloud.network_20200907.AWS.NetworkData

func (*HashicorpCloudNetwork20200907AWSNetworkData) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSNetworkData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSNetworkData) Validate

Validate validates this hashicorp cloud network 20200907 a w s network data

type HashicorpCloudNetwork20200907AWSPeeringTarget

type HashicorpCloudNetwork20200907AWSPeeringTarget struct {

	// AccountId is the Account ID where target ID belongs to
	AccountID string `json:"account_id,omitempty"`

	// Cidr is the IPv4 CIDR block of the target VPC
	Cidr string `json:"cidr,omitempty"`

	// Region is the region of the target VPC
	Region string `json:"region,omitempty"`

	// VpcId is the id of a target VPC
	VpcID string `json:"vpc_id,omitempty"`
}

HashicorpCloudNetwork20200907AWSPeeringTarget PeeringTarget is AWS specific details about a target for network peering

swagger:model hashicorp.cloud.network_20200907.AWS.PeeringTarget

func (*HashicorpCloudNetwork20200907AWSPeeringTarget) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSPeeringTarget) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSPeeringTarget) Validate

Validate validates this hashicorp cloud network 20200907 a w s peering target

type HashicorpCloudNetwork20200907AWSTGWData

type HashicorpCloudNetwork20200907AWSTGWData struct {

	// tgw_id is the ID of the Transit Gateway
	TgwID string `json:"tgw_id,omitempty"`
}

HashicorpCloudNetwork20200907AWSTGWData TGWData is AWS specific details for Transit Gateway that are stored by HCP and available to the public API.

swagger:model hashicorp.cloud.network_20200907.AWS.TGWData

func (*HashicorpCloudNetwork20200907AWSTGWData) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSTGWData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AWSTGWData) Validate

Validate validates this hashicorp cloud network 20200907 a w s t g w data

type HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest

type HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest struct {

	// hosted_zone_id is the ID of the hosted zone in the external AWS account.
	HostedZoneID string `json:"hosted_zone_id,omitempty"`

	// hvn_id is the id of the HVN the private hosted zone should be associated with.
	HvnID string `json:"hvn_id,omitempty"`

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

HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest See NetworkService.AssociateHVNWithAWSRoute53PrivateHostedZone for more details.

swagger:model hashicorp.cloud.network_20200907.AssociateHVNWithAWSRoute53PrivateHostedZoneRequest

func (*HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) Validate

Validate validates this hashicorp cloud network 20200907 associate h v n with a w s route53 private hosted zone request

type HashicorpCloudNetwork20200907CreatePeeringRequest

type HashicorpCloudNetwork20200907CreatePeeringRequest struct {

	// peering is the peering to be created.
	Peering *HashicorpCloudNetwork20200907Peering `json:"peering,omitempty"`
}

HashicorpCloudNetwork20200907CreatePeeringRequest CreatePeeringRequest is a request type for CreatePeering endpoint

swagger:model hashicorp.cloud.network_20200907.CreatePeeringRequest

func (*HashicorpCloudNetwork20200907CreatePeeringRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreatePeeringRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreatePeeringRequest) Validate

Validate validates this hashicorp cloud network 20200907 create peering request

type HashicorpCloudNetwork20200907CreatePeeringResponse

type HashicorpCloudNetwork20200907CreatePeeringResponse struct {

	// operation is the operation representing the async create
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// Peering is the created peering
	Peering *HashicorpCloudNetwork20200907Peering `json:"peering,omitempty"`
}

HashicorpCloudNetwork20200907CreatePeeringResponse CreatePeeringResponse is a response type for CreatePeering endpoint

swagger:model hashicorp.cloud.network_20200907.CreatePeeringResponse

func (*HashicorpCloudNetwork20200907CreatePeeringResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreatePeeringResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreatePeeringResponse) Validate

Validate validates this hashicorp cloud network 20200907 create peering response

type HashicorpCloudNetwork20200907CreateRequest

type HashicorpCloudNetwork20200907CreateRequest struct {

	// network is the network object to be created.
	Network *HashicorpCloudNetwork20200907Network `json:"network,omitempty"`
}

HashicorpCloudNetwork20200907CreateRequest hashicorp cloud network 20200907 create request

swagger:model hashicorp.cloud.network_20200907.CreateRequest

func (*HashicorpCloudNetwork20200907CreateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateRequest) Validate

Validate validates this hashicorp cloud network 20200907 create request

type HashicorpCloudNetwork20200907CreateResponse

type HashicorpCloudNetwork20200907CreateResponse struct {

	// network is the created network.
	Network *HashicorpCloudNetwork20200907Network `json:"network,omitempty"`

	// operation is the newly created Network in the PENDING state.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudNetwork20200907CreateResponse hashicorp cloud network 20200907 create response

swagger:model hashicorp.cloud.network_20200907.CreateResponse

func (*HashicorpCloudNetwork20200907CreateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateResponse) Validate

Validate validates this hashicorp cloud network 20200907 create response

type HashicorpCloudNetwork20200907CreateTGWAttachmentRequest

type HashicorpCloudNetwork20200907CreateTGWAttachmentRequest struct {

	// cidrs is a list of destination CIDRs this TGW attachment will be routing to through the
	// transit gateway.
	Cidrs []string `json:"cidrs"`

	// HVN is a link to the HVN the TGW Attachment belongs to.
	Hvn *cloud.HashicorpCloudLocationLink `json:"hvn,omitempty"`

	// id is the user-set transit gateway attachment slug ID, optional for now, if not present we will use internal-id.
	ID string `json:"id,omitempty"`

	// provider_data is the provider specific data to create a TGW Attachment.
	// For AWS it includes the transit gateway ID and the resource share ARN.
	ProviderData *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData `json:"provider_data,omitempty"`
}

HashicorpCloudNetwork20200907CreateTGWAttachmentRequest hashicorp cloud network 20200907 create t g w attachment request

swagger:model hashicorp.cloud.network_20200907.CreateTGWAttachmentRequest

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) Validate

Validate validates this hashicorp cloud network 20200907 create t g w attachment request

type HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData

type HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData struct {

	// aws data
	AwsData *HashicorpCloudNetwork20200907AWSCreateRequestTGWData `json:"aws_data,omitempty"`
}

HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData CreateTGWAttachmentRequestProviderData is the provider specific data to create a TGW attachment. It is to be distinguished from TGWAttachment.ProviderData despite having overlapping fields.

swagger:model hashicorp.cloud.network_20200907.CreateTGWAttachmentRequestProviderData

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) Validate

Validate validates this hashicorp cloud network 20200907 create t g w attachment request provider data

type HashicorpCloudNetwork20200907CreateTGWAttachmentResponse

type HashicorpCloudNetwork20200907CreateTGWAttachmentResponse struct {

	// operation is the operation that represents the pending creation of the TGW attachment.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// tgw_attachment is the TGW attachment that was just created.
	TgwAttachment *HashicorpCloudNetwork20200907TGWAttachment `json:"tgw_attachment,omitempty"`
}

HashicorpCloudNetwork20200907CreateTGWAttachmentResponse hashicorp cloud network 20200907 create t g w attachment response

swagger:model hashicorp.cloud.network_20200907.CreateTGWAttachmentResponse

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) Validate

Validate validates this hashicorp cloud network 20200907 create t g w attachment response

type HashicorpCloudNetwork20200907DeletePeeringResponse

type HashicorpCloudNetwork20200907DeletePeeringResponse struct {

	// Operation created to monitor deletion process
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudNetwork20200907DeletePeeringResponse DeletePeeringResponse is a response type for DeletePeering endpoint

swagger:model hashicorp.cloud.network_20200907.DeletePeeringResponse

func (*HashicorpCloudNetwork20200907DeletePeeringResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeletePeeringResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeletePeeringResponse) Validate

Validate validates this hashicorp cloud network 20200907 delete peering response

type HashicorpCloudNetwork20200907DeleteResponse

type HashicorpCloudNetwork20200907DeleteResponse struct {

	// operation is the operation that represents the pending deletion of HVN
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudNetwork20200907DeleteResponse See NetworkService.Delete for more details

swagger:model hashicorp.cloud.network_20200907.DeleteResponse

func (*HashicorpCloudNetwork20200907DeleteResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeleteResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeleteResponse) Validate

Validate validates this hashicorp cloud network 20200907 delete response

type HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse

type HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse struct {

	// Operation created to monitor deletion process
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse DeleteTGWAttachmentResponse is a response type for DeleteTGWAttachment endpoint

swagger:model hashicorp.cloud.network_20200907.DeleteTGWAttachmentResponse

func (*HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) Validate

Validate validates this hashicorp cloud network 20200907 delete t g w attachment response

type HashicorpCloudNetwork20200907GetPeeringResponse

type HashicorpCloudNetwork20200907GetPeeringResponse struct {

	// Peering is the requested peering
	Peering *HashicorpCloudNetwork20200907Peering `json:"peering,omitempty"`
}

HashicorpCloudNetwork20200907GetPeeringResponse GetPeeringResponse is a response type for GetPeering endpoint

swagger:model hashicorp.cloud.network_20200907.GetPeeringResponse

func (*HashicorpCloudNetwork20200907GetPeeringResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetPeeringResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetPeeringResponse) Validate

Validate validates this hashicorp cloud network 20200907 get peering response

type HashicorpCloudNetwork20200907GetResponse

type HashicorpCloudNetwork20200907GetResponse struct {

	// network is the retrieved network.
	Network *HashicorpCloudNetwork20200907Network `json:"network,omitempty"`
}

HashicorpCloudNetwork20200907GetResponse hashicorp cloud network 20200907 get response

swagger:model hashicorp.cloud.network_20200907.GetResponse

func (*HashicorpCloudNetwork20200907GetResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetResponse) Validate

Validate validates this hashicorp cloud network 20200907 get response

type HashicorpCloudNetwork20200907GetTGWAttachmentResponse

type HashicorpCloudNetwork20200907GetTGWAttachmentResponse struct {

	// twg_attachment is a retrieved TGW Attachment
	TgwAttachment *HashicorpCloudNetwork20200907TGWAttachment `json:"tgw_attachment,omitempty"`
}

HashicorpCloudNetwork20200907GetTGWAttachmentResponse hashicorp cloud network 20200907 get t g w attachment response

swagger:model hashicorp.cloud.network_20200907.GetTGWAttachmentResponse

func (*HashicorpCloudNetwork20200907GetTGWAttachmentResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetTGWAttachmentResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetTGWAttachmentResponse) Validate

Validate validates this hashicorp cloud network 20200907 get t g w attachment response

type HashicorpCloudNetwork20200907ListDependenciesResponse

type HashicorpCloudNetwork20200907ListDependenciesResponse struct {

	// dependencies is the set of service dependencies.
	Dependencies []*cloud.HashicorpCloudLocationLink `json:"dependencies"`

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

HashicorpCloudNetwork20200907ListDependenciesResponse See NetworkService.ListDependencies

swagger:model hashicorp.cloud.network_20200907.ListDependenciesResponse

func (*HashicorpCloudNetwork20200907ListDependenciesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListDependenciesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListDependenciesResponse) Validate

Validate validates this hashicorp cloud network 20200907 list dependencies response

type HashicorpCloudNetwork20200907ListPeeringsResponse

type HashicorpCloudNetwork20200907ListPeeringsResponse struct {

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

	// Peerings is a list of peerings
	Peerings []*HashicorpCloudNetwork20200907Peering `json:"peerings"`
}

HashicorpCloudNetwork20200907ListPeeringsResponse ListPeeringsResponse is a response type for ListPeerings endpoint

swagger:model hashicorp.cloud.network_20200907.ListPeeringsResponse

func (*HashicorpCloudNetwork20200907ListPeeringsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListPeeringsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListPeeringsResponse) Validate

Validate validates this hashicorp cloud network 20200907 list peerings response

type HashicorpCloudNetwork20200907ListResponse

type HashicorpCloudNetwork20200907ListResponse struct {

	// networks are the retrieved networks.
	Networks []*HashicorpCloudNetwork20200907Network `json:"networks"`

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

HashicorpCloudNetwork20200907ListResponse hashicorp cloud network 20200907 list response

swagger:model hashicorp.cloud.network_20200907.ListResponse

func (*HashicorpCloudNetwork20200907ListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListResponse) Validate

Validate validates this hashicorp cloud network 20200907 list response

type HashicorpCloudNetwork20200907ListTGWAttachmentsResponse

type HashicorpCloudNetwork20200907ListTGWAttachmentsResponse struct {

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

	// transit_gateway_attachments is a list of found TGW Attachments
	TgwAttachments []*HashicorpCloudNetwork20200907TGWAttachment `json:"tgw_attachments"`
}

HashicorpCloudNetwork20200907ListTGWAttachmentsResponse hashicorp cloud network 20200907 list t g w attachments response

swagger:model hashicorp.cloud.network_20200907.ListTGWAttachmentsResponse

func (*HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) Validate

Validate validates this hashicorp cloud network 20200907 list t g w attachments response

type HashicorpCloudNetwork20200907Network

type HashicorpCloudNetwork20200907Network struct {

	// cidr_block is the IP range of the HVN.
	CidrBlock string `json:"cidr_block,omitempty"`

	// created_at is a timestamp when the network was originally created
	//
	// Output only.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// id is the unique ID for this operation used in other RPC calls.
	// This ID is only guaranteed to be unique within the region that
	// the operation is running in.
	ID string `json:"id,omitempty"`

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

	// provider_network_data contains information about the underlying cloud provider network.
	//
	// Output only.
	// Read Only: true
	ProviderNetworkData *HashicorpCloudNetwork20200907NetworkProviderNetworkData `json:"provider_network_data,omitempty"`

	// state is the current state of the network.
	//
	// Output only.
	// Read Only: true
	State HashicorpCloudNetwork20200907NetworkState `json:"state,omitempty"`
}

HashicorpCloudNetwork20200907Network Network represents a single operation.

swagger:model hashicorp.cloud.network_20200907.Network

func (*HashicorpCloudNetwork20200907Network) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907Network) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907Network) Validate

Validate validates this hashicorp cloud network 20200907 network

type HashicorpCloudNetwork20200907NetworkProviderNetworkData

type HashicorpCloudNetwork20200907NetworkProviderNetworkData struct {

	// aws network data
	AwsNetworkData *HashicorpCloudNetwork20200907AWSNetworkData `json:"aws_network_data,omitempty"`
}

HashicorpCloudNetwork20200907NetworkProviderNetworkData ProviderNetworkData contains information about the underlying cloud provider network.

swagger:model hashicorp.cloud.network_20200907.Network.ProviderNetworkData

func (*HashicorpCloudNetwork20200907NetworkProviderNetworkData) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907NetworkProviderNetworkData) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907NetworkProviderNetworkData) Validate

Validate validates this hashicorp cloud network 20200907 network provider network data

type HashicorpCloudNetwork20200907NetworkState

type HashicorpCloudNetwork20200907NetworkState string

HashicorpCloudNetwork20200907NetworkState State is the state of the network resource. Note that this state represents the abstract network itself, not necessarilly whether network connectivity is currently available or not.

swagger:model hashicorp.cloud.network_20200907.Network.State

const (

	// HashicorpCloudNetwork20200907NetworkStateUNSET captures enum value "UNSET"
	HashicorpCloudNetwork20200907NetworkStateUNSET HashicorpCloudNetwork20200907NetworkState = "UNSET"

	// HashicorpCloudNetwork20200907NetworkStateCREATING captures enum value "CREATING"
	HashicorpCloudNetwork20200907NetworkStateCREATING HashicorpCloudNetwork20200907NetworkState = "CREATING"

	// HashicorpCloudNetwork20200907NetworkStateSTABLE captures enum value "STABLE"
	HashicorpCloudNetwork20200907NetworkStateSTABLE HashicorpCloudNetwork20200907NetworkState = "STABLE"

	// HashicorpCloudNetwork20200907NetworkStateFAILED captures enum value "FAILED"
	HashicorpCloudNetwork20200907NetworkStateFAILED HashicorpCloudNetwork20200907NetworkState = "FAILED"

	// HashicorpCloudNetwork20200907NetworkStateDELETING captures enum value "DELETING"
	HashicorpCloudNetwork20200907NetworkStateDELETING HashicorpCloudNetwork20200907NetworkState = "DELETING"

	// HashicorpCloudNetwork20200907NetworkStateDELETED captures enum value "DELETED"
	HashicorpCloudNetwork20200907NetworkStateDELETED HashicorpCloudNetwork20200907NetworkState = "DELETED"
)

func (HashicorpCloudNetwork20200907NetworkState) Validate

Validate validates this hashicorp cloud network 20200907 network state

type HashicorpCloudNetwork20200907Peering

type HashicorpCloudNetwork20200907Peering struct {

	// CreatedAt is a timestamp when peering was originally created
	//
	// Output only.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// ExpiresAt is the timestamp after which peering will be considered
	// Expired if it doesn't transition into Accepted or Active state before that
	//
	// Output only.
	// Read Only: true
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"`

	// Hvn is the a link to the HVN where peering belongs to.
	Hvn *cloud.HashicorpCloudLocationLink `json:"hvn,omitempty"`

	// Id is the id of a peering.
	ID string `json:"id,omitempty"`

	// ProviderPeeringId is the id of this peering in the cloud provider
	//
	// Output only.
	// Read Only: true
	ProviderPeeringID string `json:"provider_peering_id,omitempty"`

	// State is the state of a peering
	//
	// Output only.
	// Read Only: true
	State HashicorpCloudNetwork20200907PeeringState `json:"state,omitempty"`

	// Target is a provider specific details about peering target
	Target *HashicorpCloudNetwork20200907PeeringTarget `json:"target,omitempty"`
}

HashicorpCloudNetwork20200907Peering Peering represents a network peering between HVN VPC and target VPC

swagger:model hashicorp.cloud.network_20200907.Peering

func (*HashicorpCloudNetwork20200907Peering) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907Peering) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907Peering) Validate

Validate validates this hashicorp cloud network 20200907 peering

type HashicorpCloudNetwork20200907PeeringState

type HashicorpCloudNetwork20200907PeeringState string

HashicorpCloudNetwork20200907PeeringState hashicorp cloud network 20200907 peering state

swagger:model hashicorp.cloud.network_20200907.Peering.State

const (

	// HashicorpCloudNetwork20200907PeeringStateUNSET captures enum value "UNSET"
	HashicorpCloudNetwork20200907PeeringStateUNSET HashicorpCloudNetwork20200907PeeringState = "UNSET"

	// HashicorpCloudNetwork20200907PeeringStateCREATING captures enum value "CREATING"
	HashicorpCloudNetwork20200907PeeringStateCREATING HashicorpCloudNetwork20200907PeeringState = "CREATING"

	// HashicorpCloudNetwork20200907PeeringStatePENDINGACCEPTANCE captures enum value "PENDING_ACCEPTANCE"
	HashicorpCloudNetwork20200907PeeringStatePENDINGACCEPTANCE HashicorpCloudNetwork20200907PeeringState = "PENDING_ACCEPTANCE"

	// HashicorpCloudNetwork20200907PeeringStateACCEPTED captures enum value "ACCEPTED"
	HashicorpCloudNetwork20200907PeeringStateACCEPTED HashicorpCloudNetwork20200907PeeringState = "ACCEPTED"

	// HashicorpCloudNetwork20200907PeeringStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudNetwork20200907PeeringStateACTIVE HashicorpCloudNetwork20200907PeeringState = "ACTIVE"

	// HashicorpCloudNetwork20200907PeeringStateFAILED captures enum value "FAILED"
	HashicorpCloudNetwork20200907PeeringStateFAILED HashicorpCloudNetwork20200907PeeringState = "FAILED"

	// HashicorpCloudNetwork20200907PeeringStateEXPIRED captures enum value "EXPIRED"
	HashicorpCloudNetwork20200907PeeringStateEXPIRED HashicorpCloudNetwork20200907PeeringState = "EXPIRED"

	// HashicorpCloudNetwork20200907PeeringStateREJECTED captures enum value "REJECTED"
	HashicorpCloudNetwork20200907PeeringStateREJECTED HashicorpCloudNetwork20200907PeeringState = "REJECTED"

	// HashicorpCloudNetwork20200907PeeringStateDELETING captures enum value "DELETING"
	HashicorpCloudNetwork20200907PeeringStateDELETING HashicorpCloudNetwork20200907PeeringState = "DELETING"
)

func (HashicorpCloudNetwork20200907PeeringState) Validate

Validate validates this hashicorp cloud network 20200907 peering state

type HashicorpCloudNetwork20200907PeeringTarget

type HashicorpCloudNetwork20200907PeeringTarget struct {

	// aws target
	AwsTarget *HashicorpCloudNetwork20200907AWSPeeringTarget `json:"aws_target,omitempty"`
}

HashicorpCloudNetwork20200907PeeringTarget hashicorp cloud network 20200907 peering target

swagger:model hashicorp.cloud.network_20200907.Peering.Target

func (*HashicorpCloudNetwork20200907PeeringTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907PeeringTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907PeeringTarget) Validate

Validate validates this hashicorp cloud network 20200907 peering target

type HashicorpCloudNetwork20200907TGWAttachment

type HashicorpCloudNetwork20200907TGWAttachment struct {

	// cidrs is a list of CIDRs this TGW attachment is associated with
	Cidrs []string `json:"cidrs"`

	// created_at is a timestamp when TGW Attachment was originally created
	//
	// Output only.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// ExpiresAt is the timestamp after which TGW Attachment will be considered
	// Expired if it doesn't transition into Accepted or Active state before that
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"`

	// HVN is a link to the HVN the TGW Attachment belongs to.
	Hvn *cloud.HashicorpCloudLocationLink `json:"hvn,omitempty"`

	// id is the user set, slug identifier for the TGW Attachment. It is unique
	// within a given project but not globally unique. For a globally unique
	// identifier, refer to the internal_id.
	ID string `json:"id,omitempty"`

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

	// provider_data is a provider specific data for this TGW Attachment
	ProviderData *HashicorpCloudNetwork20200907TGWAttachmentProviderData `json:"provider_data,omitempty"`

	// provider_tgw_attachment_id is the id of this TGW Attachment in the cloud provider
	ProviderTgwAttachmentID string `json:"provider_tgw_attachment_id,omitempty"`

	// state is the state of this TGW Attachment
	State HashicorpCloudNetwork20200907TGWAttachmentState `json:"state,omitempty"`
}

HashicorpCloudNetwork20200907TGWAttachment TGWAttachment represents HVN's Transit Gateway Attachment

swagger:model hashicorp.cloud.network_20200907.TGWAttachment

func (*HashicorpCloudNetwork20200907TGWAttachment) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907TGWAttachment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907TGWAttachment) Validate

Validate validates this hashicorp cloud network 20200907 t g w attachment

type HashicorpCloudNetwork20200907TGWAttachmentProviderData

type HashicorpCloudNetwork20200907TGWAttachmentProviderData struct {

	// aws data
	AwsData *HashicorpCloudNetwork20200907AWSTGWData `json:"aws_data,omitempty"`
}

HashicorpCloudNetwork20200907TGWAttachmentProviderData ProviderData in public proto is different from ProviderData in private proto. For more information, see/proto-internal/tgw_attachment.proto.

swagger:model hashicorp.cloud.network_20200907.TGWAttachment.ProviderData

func (*HashicorpCloudNetwork20200907TGWAttachmentProviderData) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907TGWAttachmentProviderData) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907TGWAttachmentProviderData) Validate

Validate validates this hashicorp cloud network 20200907 t g w attachment provider data

type HashicorpCloudNetwork20200907TGWAttachmentState

type HashicorpCloudNetwork20200907TGWAttachmentState string

HashicorpCloudNetwork20200907TGWAttachmentState state is one of the states the TGW Attachment could be in.

swagger:model hashicorp.cloud.network_20200907.TGWAttachment.State

const (

	// HashicorpCloudNetwork20200907TGWAttachmentStateUNSET captures enum value "UNSET"
	HashicorpCloudNetwork20200907TGWAttachmentStateUNSET HashicorpCloudNetwork20200907TGWAttachmentState = "UNSET"

	// HashicorpCloudNetwork20200907TGWAttachmentStateCREATING captures enum value "CREATING"
	HashicorpCloudNetwork20200907TGWAttachmentStateCREATING HashicorpCloudNetwork20200907TGWAttachmentState = "CREATING"

	// HashicorpCloudNetwork20200907TGWAttachmentStatePENDINGACCEPTANCE captures enum value "PENDING_ACCEPTANCE"
	HashicorpCloudNetwork20200907TGWAttachmentStatePENDINGACCEPTANCE HashicorpCloudNetwork20200907TGWAttachmentState = "PENDING_ACCEPTANCE"

	// HashicorpCloudNetwork20200907TGWAttachmentStateACCEPTED captures enum value "ACCEPTED"
	HashicorpCloudNetwork20200907TGWAttachmentStateACCEPTED HashicorpCloudNetwork20200907TGWAttachmentState = "ACCEPTED"

	// HashicorpCloudNetwork20200907TGWAttachmentStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudNetwork20200907TGWAttachmentStateACTIVE HashicorpCloudNetwork20200907TGWAttachmentState = "ACTIVE"

	// HashicorpCloudNetwork20200907TGWAttachmentStateFAILED captures enum value "FAILED"
	HashicorpCloudNetwork20200907TGWAttachmentStateFAILED HashicorpCloudNetwork20200907TGWAttachmentState = "FAILED"

	// HashicorpCloudNetwork20200907TGWAttachmentStateREJECTED captures enum value "REJECTED"
	HashicorpCloudNetwork20200907TGWAttachmentStateREJECTED HashicorpCloudNetwork20200907TGWAttachmentState = "REJECTED"

	// HashicorpCloudNetwork20200907TGWAttachmentStateDELETING captures enum value "DELETING"
	HashicorpCloudNetwork20200907TGWAttachmentStateDELETING HashicorpCloudNetwork20200907TGWAttachmentState = "DELETING"

	// HashicorpCloudNetwork20200907TGWAttachmentStateEXPIRED captures enum value "EXPIRED"
	HashicorpCloudNetwork20200907TGWAttachmentStateEXPIRED HashicorpCloudNetwork20200907TGWAttachmentState = "EXPIRED"
)

func (HashicorpCloudNetwork20200907TGWAttachmentState) Validate

Validate validates this hashicorp cloud network 20200907 t g w attachment state

Source Files

Jump to

Keyboard shortcuts

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