Skip to main content

VpcPeeringCreateBaseRequest

Type Alias VpcPeeringCreateBaseRequest 

Source
pub type VpcPeeringCreateBaseRequest = VpcPeeringCreateRequest;
Expand description

Base VPC peering creation request (for backward compatibility)

Aliased Type§

pub struct VpcPeeringCreateBaseRequest {
    pub provider: Option<String>,
    pub command_type: Option<String>,
    pub aws_region: Option<String>,
    pub aws_account_id: Option<String>,
    pub vpc_id: Option<String>,
    pub vpc_cidr: Option<String>,
    pub vpc_cidrs: Option<Vec<String>>,
    pub gcp_project_id: Option<String>,
    pub network_name: Option<String>,
}

Fields§

§provider: Option<String>

Cloud provider discriminator (e.g. “AWS”, “GCP”).

§command_type: Option<String>

Read-only on the response; populated by the server.

§aws_region: Option<String>

AWS region. Wire name: region (spec required for AWS).

§aws_account_id: Option<String>

AWS account ID (spec required for AWS).

§vpc_id: Option<String>

AWS VPC ID (spec required for AWS).

§vpc_cidr: Option<String>

VPC CIDR. AWS only; optional.

§vpc_cidrs: Option<Vec<String>>

List of VPC CIDRs. AWS only; optional.

§gcp_project_id: Option<String>

GCP project UID. Wire name: vpcProjectUid (spec required for GCP).

§network_name: Option<String>

GCP network name. Wire name: vpcNetworkName (spec required for GCP).