Documentation ¶
Index ¶
- type HashicorpCloudNetwork20200907AWSCreateRequestTGWData
- type HashicorpCloudNetwork20200907AWSNetworkData
- type HashicorpCloudNetwork20200907AWSPeeringTarget
- type HashicorpCloudNetwork20200907AWSTGWData
- type HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest
- func (m *HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907CreateHVNRouteRequest
- type HashicorpCloudNetwork20200907CreateHVNRouteResponse
- type HashicorpCloudNetwork20200907CreatePeeringRequest
- type HashicorpCloudNetwork20200907CreatePeeringResponse
- type HashicorpCloudNetwork20200907CreateRequest
- type HashicorpCloudNetwork20200907CreateResponse
- type HashicorpCloudNetwork20200907CreateTGWAttachmentRequest
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907CreateTGWAttachmentResponse
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907DeleteHVNRouteResponse
- type HashicorpCloudNetwork20200907DeletePeeringResponse
- type HashicorpCloudNetwork20200907DeleteResponse
- type HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse
- func (m *HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907GetHVNRouteResponse
- type HashicorpCloudNetwork20200907GetPeeringResponse
- type HashicorpCloudNetwork20200907GetResponse
- type HashicorpCloudNetwork20200907GetTGWAttachmentResponse
- type HashicorpCloudNetwork20200907HVNRoute
- type HashicorpCloudNetwork20200907HVNRouteState
- type HashicorpCloudNetwork20200907HVNRouteTarget
- type HashicorpCloudNetwork20200907ListDependenciesResponse
- type HashicorpCloudNetwork20200907ListHVNRoutesResponse
- type HashicorpCloudNetwork20200907ListPeeringsResponse
- type HashicorpCloudNetwork20200907ListResponse
- type HashicorpCloudNetwork20200907ListTGWAttachmentsResponse
- func (m *HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907Network
- type HashicorpCloudNetwork20200907NetworkProviderNetworkData
- func (m *HashicorpCloudNetwork20200907NetworkProviderNetworkData) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudNetwork20200907NetworkProviderNetworkData) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudNetwork20200907NetworkProviderNetworkData) Validate(formats strfmt.Registry) error
- type HashicorpCloudNetwork20200907NetworkState
- type HashicorpCloudNetwork20200907NetworkTarget
- type HashicorpCloudNetwork20200907Peering
- type HashicorpCloudNetwork20200907PeeringState
- type HashicorpCloudNetwork20200907PeeringTarget
- type HashicorpCloudNetwork20200907TGWAttachment
- type HashicorpCloudNetwork20200907TGWAttachmentProviderData
- type HashicorpCloudNetwork20200907TGWAttachmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudNetwork20200907AWSCreateRequestTGWData ¶
type HashicorpCloudNetwork20200907AWSCreateRequestTGWData struct { string `json:"resource_share_arn,omitempty"` // tgw_id is the ID of the Transit Gateway TgwID string `json:"tgw_id,omitempty"` }ResourceShareArn
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 ¶
func (m *HashicorpCloudNetwork20200907AWSCreateRequestTGWData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907AWSCreateRequestTGWData) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907AWSCreateRequestTGWData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudNetwork20200907AWSPeeringTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907AWSPeeringTarget) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907AWSPeeringTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907AWSTGWData ¶
type HashicorpCloudNetwork20200907AWSTGWData struct { // account_id is the ID of the AWS account where TGW belongs too AccountID string `json:"account_id,omitempty"` // 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
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 ¶
func (m *HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) Validate ¶
func (m *HashicorpCloudNetwork20200907AssociateHVNWithAWSRoute53PrivateHostedZoneRequest) Validate(formats strfmt.Registry) error
Validate validates this hashicorp cloud network 20200907 associate h v n with a w s route53 private hosted zone request
type HashicorpCloudNetwork20200907CreateHVNRouteRequest ¶ added in v0.6.0
type HashicorpCloudNetwork20200907CreateHVNRouteRequest struct { // destination is a destination CIDR for this HVN Route Destination string `json:"destination,omitempty"` // hvn is the HVN where a route being created Hvn *cloud.HashicorpCloudLocationLink `json:"hvn,omitempty"` // id is a user generated id for the route ID string `json:"id,omitempty"` // target is a target for this HVN Route Target *HashicorpCloudNetwork20200907HVNRouteTarget `json:"target,omitempty"` }
HashicorpCloudNetwork20200907CreateHVNRouteRequest hashicorp cloud network 20200907 create h v n route request
swagger:model hashicorp.cloud.network_20200907.CreateHVNRouteRequest
func (*HashicorpCloudNetwork20200907CreateHVNRouteRequest) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907CreateHVNRouteRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreateHVNRouteRequest) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907CreateHVNRouteRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907CreateHVNRouteResponse ¶ added in v0.6.0
type HashicorpCloudNetwork20200907CreateHVNRouteResponse struct { // operation is the operation that represents the pending creation of the HVN Route. Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // route is the newly created route Route *HashicorpCloudNetwork20200907HVNRoute `json:"route,omitempty"` }
HashicorpCloudNetwork20200907CreateHVNRouteResponse hashicorp cloud network 20200907 create h v n route response
swagger:model hashicorp.cloud.network_20200907.CreateHVNRouteResponse
func (*HashicorpCloudNetwork20200907CreateHVNRouteResponse) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907CreateHVNRouteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreateHVNRouteResponse) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907CreateHVNRouteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907CreatePeeringRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreatePeeringRequest) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907CreatePeeringRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907CreatePeeringResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreatePeeringResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907CreatePeeringResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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 ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) Validate ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentRequestProviderData) Validate(formats strfmt.Registry) error
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 ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907CreateTGWAttachmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907DeleteHVNRouteResponse ¶ added in v0.6.0
type HashicorpCloudNetwork20200907DeleteHVNRouteResponse struct { // operation is the operation that represents the pending deletion of an HVN route. Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudNetwork20200907DeleteHVNRouteResponse hashicorp cloud network 20200907 delete h v n route response
swagger:model hashicorp.cloud.network_20200907.DeleteHVNRouteResponse
func (*HashicorpCloudNetwork20200907DeleteHVNRouteResponse) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907DeleteHVNRouteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907DeleteHVNRouteResponse) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907DeleteHVNRouteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907DeletePeeringResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907DeletePeeringResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907DeletePeeringResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907DeleteTGWAttachmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907GetHVNRouteResponse ¶ added in v0.8.0
type HashicorpCloudNetwork20200907GetHVNRouteResponse struct { // route Route *HashicorpCloudNetwork20200907HVNRoute `json:"route,omitempty"` }
HashicorpCloudNetwork20200907GetHVNRouteResponse hashicorp cloud network 20200907 get h v n route response
swagger:model hashicorp.cloud.network_20200907.GetHVNRouteResponse
func (*HashicorpCloudNetwork20200907GetHVNRouteResponse) MarshalBinary ¶ added in v0.8.0
func (m *HashicorpCloudNetwork20200907GetHVNRouteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907GetHVNRouteResponse) UnmarshalBinary ¶ added in v0.8.0
func (m *HashicorpCloudNetwork20200907GetHVNRouteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907GetPeeringResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907GetPeeringResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907GetPeeringResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudNetwork20200907GetTGWAttachmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907GetTGWAttachmentResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907GetTGWAttachmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907HVNRoute ¶ added in v0.6.0
type HashicorpCloudNetwork20200907HVNRoute struct { // created_at is a timestamp when HVN Route was originally created // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // destination is a destination CIDR for this HVN Route Destination string `json:"destination,omitempty"` // HVN is a link to the HVN the Route belongs to Hvn *cloud.HashicorpCloudLocationLink `json:"hvn,omitempty"` // id is the user set, slug identifier for the HVN Route. It is unique // within a given HVN but not globally unique. ID string `json:"id,omitempty"` // state is the state of this HVN Route State HashicorpCloudNetwork20200907HVNRouteState `json:"state,omitempty"` // target is a target for this HVN Route Target *HashicorpCloudNetwork20200907HVNRouteTarget `json:"target,omitempty"` }
HashicorpCloudNetwork20200907HVNRoute HVNRoute represents an HVN Route
swagger:model hashicorp.cloud.network_20200907.HVNRoute
func (*HashicorpCloudNetwork20200907HVNRoute) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907HVNRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907HVNRoute) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907HVNRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907HVNRouteState ¶ added in v0.6.0
type HashicorpCloudNetwork20200907HVNRouteState string
HashicorpCloudNetwork20200907HVNRouteState state is one of the states the TGW Attachment could be in.
swagger:model hashicorp.cloud.network_20200907.HVNRoute.State
const ( // HashicorpCloudNetwork20200907HVNRouteStateUNSET captures enum value "UNSET" HashicorpCloudNetwork20200907HVNRouteStateUNSET HashicorpCloudNetwork20200907HVNRouteState = "UNSET" // HashicorpCloudNetwork20200907HVNRouteStatePENDING captures enum value "PENDING" HashicorpCloudNetwork20200907HVNRouteStatePENDING HashicorpCloudNetwork20200907HVNRouteState = "PENDING" // HashicorpCloudNetwork20200907HVNRouteStateCREATING captures enum value "CREATING" HashicorpCloudNetwork20200907HVNRouteStateCREATING HashicorpCloudNetwork20200907HVNRouteState = "CREATING" // HashicorpCloudNetwork20200907HVNRouteStateACTIVE captures enum value "ACTIVE" HashicorpCloudNetwork20200907HVNRouteStateACTIVE HashicorpCloudNetwork20200907HVNRouteState = "ACTIVE" // HashicorpCloudNetwork20200907HVNRouteStateFAILED captures enum value "FAILED" HashicorpCloudNetwork20200907HVNRouteStateFAILED HashicorpCloudNetwork20200907HVNRouteState = "FAILED" // HashicorpCloudNetwork20200907HVNRouteStateDELETING captures enum value "DELETING" HashicorpCloudNetwork20200907HVNRouteStateDELETING HashicorpCloudNetwork20200907HVNRouteState = "DELETING" )
type HashicorpCloudNetwork20200907HVNRouteTarget ¶ added in v0.6.0
type HashicorpCloudNetwork20200907HVNRouteTarget struct { // hvn_connection is a link-type target for HVN connections (peerings and TGW attachments) HvnConnection *cloud.HashicorpCloudLocationLink `json:"hvn_connection,omitempty"` }
HashicorpCloudNetwork20200907HVNRouteTarget HVNRouteTarget is a wrapper around HVN Route target that allows us to add more types of targets in the future.
swagger:model hashicorp.cloud.network_20200907.HVNRouteTarget
func (*HashicorpCloudNetwork20200907HVNRouteTarget) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907HVNRouteTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907HVNRouteTarget) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907HVNRouteTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907ListDependenciesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907ListDependenciesResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907ListDependenciesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907ListHVNRoutesResponse ¶ added in v0.6.0
type HashicorpCloudNetwork20200907ListHVNRoutesResponse struct { // Pagination contains the pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // routes is a list of HVN Routes matching request Routes []*HashicorpCloudNetwork20200907HVNRoute `json:"routes"` }
HashicorpCloudNetwork20200907ListHVNRoutesResponse hashicorp cloud network 20200907 list h v n routes response
swagger:model hashicorp.cloud.network_20200907.ListHVNRoutesResponse
func (*HashicorpCloudNetwork20200907ListHVNRoutesResponse) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907ListHVNRoutesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907ListHVNRoutesResponse) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907ListHVNRoutesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudNetwork20200907ListPeeringsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907ListPeeringsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907ListPeeringsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907ListTGWAttachmentsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudNetwork20200907NetworkProviderNetworkData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907NetworkProviderNetworkData) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907NetworkProviderNetworkData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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" )
type HashicorpCloudNetwork20200907NetworkTarget ¶ added in v0.6.0
type HashicorpCloudNetwork20200907NetworkTarget struct { // hvn is the managed HVN needing to be peered with. Hvn *cloud.HashicorpCloudLocationLink `json:"hvn,omitempty"` }
HashicorpCloudNetwork20200907NetworkTarget NetworkTarget is a Peering.Target based on another HVN.
swagger:model hashicorp.cloud.network_20200907.NetworkTarget
func (*HashicorpCloudNetwork20200907NetworkTarget) MarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907NetworkTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907NetworkTarget) UnmarshalBinary ¶ added in v0.6.0
func (m *HashicorpCloudNetwork20200907NetworkTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // UpdatedAt is a timestamp when peering was originally created // // Output only. // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,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
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" )
type HashicorpCloudNetwork20200907PeeringTarget ¶
type HashicorpCloudNetwork20200907PeeringTarget struct { // aws target AwsTarget *HashicorpCloudNetwork20200907AWSPeeringTarget `json:"aws_target,omitempty"` // hvn target HvnTarget *HashicorpCloudNetwork20200907NetworkTarget `json:"hvn_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
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 // // Output only. // Read Only: true // Format: date-time ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"` // HVN is a link to the HVN the TGW Attachment belongs to. // // Output only. // Read Only: true 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 // // Output only. // Read Only: true State HashicorpCloudNetwork20200907TGWAttachmentState `json:"state,omitempty"` // updated_at is a timestamp when TGW Attachment was last updated. // // Output only. // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,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
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 ¶
func (m *HashicorpCloudNetwork20200907TGWAttachmentProviderData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudNetwork20200907TGWAttachmentProviderData) UnmarshalBinary ¶
func (m *HashicorpCloudNetwork20200907TGWAttachmentProviderData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudNetwork20200907TGWAttachmentState ¶
type HashicorpCloudNetwork20200907TGWAttachmentState string
HashicorpCloudNetwork20200907TGWAttachmentState state is one of the states the TGW Attachment could be in.
Output only.
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" )
Source Files ¶
- hashicorp_cloud_network20200907_a_w_s_create_request_t_g_w_data.go
- hashicorp_cloud_network20200907_a_w_s_network_data.go
- hashicorp_cloud_network20200907_a_w_s_peering_target.go
- hashicorp_cloud_network20200907_a_w_s_t_g_w_data.go
- hashicorp_cloud_network20200907_associate_h_v_n_with_a_w_s_route53_private_hosted_zone_request.go
- hashicorp_cloud_network20200907_create_h_v_n_route_request.go
- hashicorp_cloud_network20200907_create_h_v_n_route_response.go
- hashicorp_cloud_network20200907_create_peering_request.go
- hashicorp_cloud_network20200907_create_peering_response.go
- hashicorp_cloud_network20200907_create_request.go
- hashicorp_cloud_network20200907_create_response.go
- hashicorp_cloud_network20200907_create_t_g_w_attachment_request.go
- hashicorp_cloud_network20200907_create_t_g_w_attachment_request_provider_data.go
- hashicorp_cloud_network20200907_create_t_g_w_attachment_response.go
- hashicorp_cloud_network20200907_delete_h_v_n_route_response.go
- hashicorp_cloud_network20200907_delete_peering_response.go
- hashicorp_cloud_network20200907_delete_response.go
- hashicorp_cloud_network20200907_delete_t_g_w_attachment_response.go
- hashicorp_cloud_network20200907_get_h_v_n_route_response.go
- hashicorp_cloud_network20200907_get_peering_response.go
- hashicorp_cloud_network20200907_get_response.go
- hashicorp_cloud_network20200907_get_t_g_w_attachment_response.go
- hashicorp_cloud_network20200907_h_v_n_route.go
- hashicorp_cloud_network20200907_h_v_n_route_state.go
- hashicorp_cloud_network20200907_h_v_n_route_target.go
- hashicorp_cloud_network20200907_list_dependencies_response.go
- hashicorp_cloud_network20200907_list_h_v_n_routes_response.go
- hashicorp_cloud_network20200907_list_peerings_response.go
- hashicorp_cloud_network20200907_list_response.go
- hashicorp_cloud_network20200907_list_t_g_w_attachments_response.go
- hashicorp_cloud_network20200907_network.go
- hashicorp_cloud_network20200907_network_provider_network_data.go
- hashicorp_cloud_network20200907_network_state.go
- hashicorp_cloud_network20200907_network_target.go
- hashicorp_cloud_network20200907_peering.go
- hashicorp_cloud_network20200907_peering_state.go
- hashicorp_cloud_network20200907_peering_target.go
- hashicorp_cloud_network20200907_t_g_w_attachment.go
- hashicorp_cloud_network20200907_t_g_w_attachment_provider_data.go
- hashicorp_cloud_network20200907_t_g_w_attachment_state.go