models

package
v0.90.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 a w s create request t g w data based on context it is used

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) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 a w s network data based on context it is used

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) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 a w s peering target based on context it is used

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 {

	// 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) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 a w s t g w data based on context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 associate h v n with a w s route53 private hosted zone request based on the context it is used

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 HashicorpCloudNetwork20200907AzureHopType added in v0.76.0

type HashicorpCloudNetwork20200907AzureHopType string

HashicorpCloudNetwork20200907AzureHopType hashicorp cloud network 20200907 azure hop type

swagger:model hashicorp.cloud.network_20200907.AzureHopType

const (

	// HashicorpCloudNetwork20200907AzureHopTypeVIRTUALAPPLIANCE captures enum value "VIRTUAL_APPLIANCE"
	HashicorpCloudNetwork20200907AzureHopTypeVIRTUALAPPLIANCE HashicorpCloudNetwork20200907AzureHopType = "VIRTUAL_APPLIANCE"

	// HashicorpCloudNetwork20200907AzureHopTypeVIRTUALNETWORKGATEWAY captures enum value "VIRTUAL_NETWORK_GATEWAY"
	HashicorpCloudNetwork20200907AzureHopTypeVIRTUALNETWORKGATEWAY HashicorpCloudNetwork20200907AzureHopType = "VIRTUAL_NETWORK_GATEWAY"
)

func (HashicorpCloudNetwork20200907AzureHopType) ContextValidate added in v0.76.0

ContextValidate validates this hashicorp cloud network 20200907 azure hop type based on context it is used

func (HashicorpCloudNetwork20200907AzureHopType) Pointer added in v0.76.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudNetwork20200907AzureHopType.

func (HashicorpCloudNetwork20200907AzureHopType) Validate added in v0.76.0

Validate validates this hashicorp cloud network 20200907 azure hop type

type HashicorpCloudNetwork20200907AzureNetworkData

type HashicorpCloudNetwork20200907AzureNetworkData interface{}

HashicorpCloudNetwork20200907AzureNetworkData NetworkData contains information about the underlying VNet

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

type HashicorpCloudNetwork20200907AzurePeeringTarget

type HashicorpCloudNetwork20200907AzurePeeringTarget struct {

	// allow_forwarded_traffic affects whether the forwarded traffic originating
	// from the peered VNET is allowed in the HVN.
	AllowForwardedTraffic bool `json:"allow_forwarded_traffic,omitempty"`

	// application_id is the ID of the Active Directory application
	// registered for a single peering request.
	ApplicationID string `json:"application_id,omitempty"`

	// region is the region where the VNet is located.
	Region string `json:"region,omitempty"`

	// resource_group_name is the name of the resource group where the VNet
	// is located.
	ResourceGroupName string `json:"resource_group_name,omitempty"`

	// subscription_id is the ID of the customer subscription where the VNet
	// is located.
	SubscriptionID string `json:"subscription_id,omitempty"`

	// tenant_id is the ID of the customer tenant where the VNet is located.
	TenantID string `json:"tenant_id,omitempty"`

	// use_remote_gateways affects whether the HVN should use the gateway of the peereed VNET.
	// If the flag is set to true, and allowGatewayTransit on remote VNET is also true,
	// the HVN will use gateways of remote virtual network for transit. Only one peering
	// can have this flag set to true.
	UseRemoteGateways bool `json:"use_remote_gateways,omitempty"`

	// vnet_name is the name of the VNet.
	VnetName string `json:"vnet_name,omitempty"`
}

HashicorpCloudNetwork20200907AzurePeeringTarget PeeringTarget is Azure specific details about a target for network peering

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

func (*HashicorpCloudNetwork20200907AzurePeeringTarget) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 azure peering target based on context it is used

func (*HashicorpCloudNetwork20200907AzurePeeringTarget) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AzurePeeringTarget) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AzurePeeringTarget) Validate

Validate validates this hashicorp cloud network 20200907 azure peering target

type HashicorpCloudNetwork20200907AzureRoute added in v0.76.0

type HashicorpCloudNetwork20200907AzureRoute struct {

	// Only applicable for VIRTUAL_APPLIANCE. Specifies the IP address of the appliance to forward the traffic to.
	NextHopIPAddress string `json:"next_hop_ip_address,omitempty"`

	// The type of Azure hop the packet should be sent to.
	NextHopType *HashicorpCloudNetwork20200907AzureHopType `json:"next_hop_type,omitempty"`
}

HashicorpCloudNetwork20200907AzureRoute hashicorp cloud network 20200907 azure route

swagger:model hashicorp.cloud.network_20200907.AzureRoute

func (*HashicorpCloudNetwork20200907AzureRoute) ContextValidate added in v0.76.0

ContextValidate validate this hashicorp cloud network 20200907 azure route based on the context it is used

func (*HashicorpCloudNetwork20200907AzureRoute) MarshalBinary added in v0.76.0

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AzureRoute) UnmarshalBinary added in v0.76.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907AzureRoute) Validate added in v0.76.0

Validate validates this hashicorp cloud network 20200907 azure route

type HashicorpCloudNetwork20200907CreateHVNRouteRequest

type HashicorpCloudNetwork20200907CreateHVNRouteRequest struct {

	// azure_route contains specific configuration about the azure route
	AzureRoute *HashicorpCloudNetwork20200907AzureRoute `json:"azure_route,omitempty"`

	// 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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create h v n route request based on the context it is used

func (*HashicorpCloudNetwork20200907CreateHVNRouteRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateHVNRouteRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateHVNRouteRequest) Validate

Validate validates this hashicorp cloud network 20200907 create h v n route request

type HashicorpCloudNetwork20200907CreateHVNRouteResponse

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create h v n route response based on the context it is used

func (*HashicorpCloudNetwork20200907CreateHVNRouteResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateHVNRouteResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateHVNRouteResponse) Validate

Validate validates this hashicorp cloud network 20200907 create h v n route response

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create peering request based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create peering response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create request based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create t g w attachment request based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create t g w attachment request provider data based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create t g w attachment response based on the context it is used

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 HashicorpCloudNetwork20200907CreateTokenRequest

type HashicorpCloudNetwork20200907CreateTokenRequest struct {

	// id the id of the HVN we are creating a token for.
	ID string `json:"id,omitempty"`

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

HashicorpCloudNetwork20200907CreateTokenRequest CreateTokenRequest is a request type for the CreateToken endpoint.

swagger:model hashicorp.cloud.network_20200907.CreateTokenRequest

func (*HashicorpCloudNetwork20200907CreateTokenRequest) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 create token request based on the context it is used

func (*HashicorpCloudNetwork20200907CreateTokenRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTokenRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTokenRequest) Validate

Validate validates this hashicorp cloud network 20200907 create token request

type HashicorpCloudNetwork20200907CreateTokenResponse

type HashicorpCloudNetwork20200907CreateTokenResponse struct {

	// token is a JWT granting authentication and authorization to create a peering against an HVN.
	Token string `json:"token,omitempty"`
}

HashicorpCloudNetwork20200907CreateTokenResponse CreateTokenResponse is a response type for CreateToken endpoint.

swagger:model hashicorp.cloud.network_20200907.CreateTokenResponse

func (*HashicorpCloudNetwork20200907CreateTokenResponse) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 create token response based on context it is used

func (*HashicorpCloudNetwork20200907CreateTokenResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTokenResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907CreateTokenResponse) Validate

Validate validates this hashicorp cloud network 20200907 create token response

type HashicorpCloudNetwork20200907DeleteHVNRouteResponse

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 delete h v n route response based on the context it is used

func (*HashicorpCloudNetwork20200907DeleteHVNRouteResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeleteHVNRouteResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907DeleteHVNRouteResponse) Validate

Validate validates this hashicorp cloud network 20200907 delete h v n route 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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 delete peering response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 delete response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 delete t g w attachment response based on the context it is used

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 HashicorpCloudNetwork20200907GetHVNRouteResponse

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 get h v n route response based on the context it is used

func (*HashicorpCloudNetwork20200907GetHVNRouteResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetHVNRouteResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907GetHVNRouteResponse) Validate

Validate validates this hashicorp cloud network 20200907 get h v n route 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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 get peering response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 get response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 get t g w attachment response based on the context it is used

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 HashicorpCloudNetwork20200907HVNRoute

type HashicorpCloudNetwork20200907HVNRoute struct {

	// azure route
	AzureRoute *HashicorpCloudNetwork20200907AzureRoute `json:"azure_route,omitempty"`

	// 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) ContextValidate

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

ContextValidate validate this hashicorp cloud network 20200907 h v n route based on the context it is used

func (*HashicorpCloudNetwork20200907HVNRoute) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907HVNRoute) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907HVNRoute) Validate

Validate validates this hashicorp cloud network 20200907 h v n route

type HashicorpCloudNetwork20200907HVNRouteState

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

func (HashicorpCloudNetwork20200907HVNRouteState) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 h v n route state based on context it is used

func (HashicorpCloudNetwork20200907HVNRouteState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudNetwork20200907HVNRouteState.

func (HashicorpCloudNetwork20200907HVNRouteState) Validate

Validate validates this hashicorp cloud network 20200907 h v n route state

type HashicorpCloudNetwork20200907HVNRouteTarget

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 h v n route target based on the context it is used

func (*HashicorpCloudNetwork20200907HVNRouteTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907HVNRouteTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907HVNRouteTarget) Validate

Validate validates this hashicorp cloud network 20200907 h v n route target

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 list dependencies response based on the context it is used

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 HashicorpCloudNetwork20200907ListHVNRoutesResponse

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 list h v n routes response based on the context it is used

func (*HashicorpCloudNetwork20200907ListHVNRoutesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListHVNRoutesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907ListHVNRoutesResponse) Validate

Validate validates this hashicorp cloud network 20200907 list h v n routes 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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 list peerings response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 list response based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 list t g w attachments response based on the context it is used

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) ContextValidate

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

ContextValidate validate this hashicorp cloud network 20200907 network based on the context it is used

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

	// azure network data
	AzureNetworkData HashicorpCloudNetwork20200907AzureNetworkData `json:"azure_network_data,omitempty"`
}

HashicorpCloudNetwork20200907NetworkProviderNetworkData ProviderNetworkData contains information about the underlying cloud provider network.

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

func (*HashicorpCloudNetwork20200907NetworkProviderNetworkData) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 network provider network data based on the context it is used

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) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 network state based on context it is used

func (HashicorpCloudNetwork20200907NetworkState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudNetwork20200907NetworkState.

func (HashicorpCloudNetwork20200907NetworkState) Validate

Validate validates this hashicorp cloud network 20200907 network state

type HashicorpCloudNetwork20200907NetworkTarget

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 network target based on the context it is used

func (*HashicorpCloudNetwork20200907NetworkTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907NetworkTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudNetwork20200907NetworkTarget) Validate

Validate validates this hashicorp cloud network 20200907 network target

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

	// SourceChannel is a string representing the issuer of the peering request
	//
	// Output only.
	// Read Only: true
	SourceChannel string `json:"source_channel,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) ContextValidate

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

ContextValidate validate this hashicorp cloud network 20200907 peering based on the context it is used

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) ContextValidate

ContextValidate validates this hashicorp cloud network 20200907 peering state based on context it is used

func (HashicorpCloudNetwork20200907PeeringState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudNetwork20200907PeeringState.

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

	// azure target
	AzureTarget *HashicorpCloudNetwork20200907AzurePeeringTarget `json:"azure_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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 peering target based on the context it is used

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
	//
	// 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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 t g w attachment based on the context it is used

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) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 t g w attachment provider data based on the context it is used

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.

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

func (HashicorpCloudNetwork20200907TGWAttachmentState) ContextValidate

ContextValidate validate this hashicorp cloud network 20200907 t g w attachment state based on the context it is used

func (HashicorpCloudNetwork20200907TGWAttachmentState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudNetwork20200907TGWAttachmentState.

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