1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. vmwareengine
  6. vmwareengine/v1
  7. NetworkPeering

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new network peering between the peer network and VMware Engine network provided in a NetworkPeering resource. Auto-naming is currently not supported for this resource.

    Create NetworkPeering Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkPeering(name: string, args: NetworkPeeringArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkPeering(resource_name: str,
                       args: NetworkPeeringArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkPeering(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       peer_network_type: Optional[NetworkPeeringPeerNetworkType] = None,
                       network_peering_id: Optional[str] = None,
                       peer_network: Optional[str] = None,
                       vmware_engine_network: Optional[str] = None,
                       exchange_subnet_routes: Optional[bool] = None,
                       export_custom_routes: Optional[bool] = None,
                       export_custom_routes_with_public_ip: Optional[bool] = None,
                       import_custom_routes: Optional[bool] = None,
                       import_custom_routes_with_public_ip: Optional[bool] = None,
                       peer_mtu: Optional[int] = None,
                       description: Optional[str] = None,
                       project: Optional[str] = None,
                       request_id: Optional[str] = None)
    func NewNetworkPeering(ctx *Context, name string, args NetworkPeeringArgs, opts ...ResourceOption) (*NetworkPeering, error)
    public NetworkPeering(string name, NetworkPeeringArgs args, CustomResourceOptions? opts = null)
    public NetworkPeering(String name, NetworkPeeringArgs args)
    public NetworkPeering(String name, NetworkPeeringArgs args, CustomResourceOptions options)
    
    type: google-native:vmwareengine/v1:NetworkPeering
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "google-native_vmwareengine_v1_network_peering" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args NetworkPeeringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkPeeringArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkPeeringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkPeeringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkPeeringArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkPeeringResource = new GoogleNative.VMwareEngine.V1.NetworkPeering("networkPeeringResource", new()
    {
        PeerNetworkType = GoogleNative.VMwareEngine.V1.NetworkPeeringPeerNetworkType.PeerNetworkTypeUnspecified,
        NetworkPeeringId = "string",
        PeerNetwork = "string",
        VmwareEngineNetwork = "string",
        ExchangeSubnetRoutes = false,
        ExportCustomRoutes = false,
        ExportCustomRoutesWithPublicIp = false,
        ImportCustomRoutes = false,
        ImportCustomRoutesWithPublicIp = false,
        PeerMtu = 0,
        Description = "string",
        Project = "string",
        RequestId = "string",
    });
    
    example, err := vmwareengine.NewNetworkPeering(ctx, "networkPeeringResource", &vmwareengine.NetworkPeeringArgs{
    	PeerNetworkType:                vmwareengine.NetworkPeeringPeerNetworkTypePeerNetworkTypeUnspecified,
    	NetworkPeeringId:               pulumi.String("string"),
    	PeerNetwork:                    pulumi.String("string"),
    	VmwareEngineNetwork:            pulumi.String("string"),
    	ExchangeSubnetRoutes:           pulumi.Bool(false),
    	ExportCustomRoutes:             pulumi.Bool(false),
    	ExportCustomRoutesWithPublicIp: pulumi.Bool(false),
    	ImportCustomRoutes:             pulumi.Bool(false),
    	ImportCustomRoutesWithPublicIp: pulumi.Bool(false),
    	PeerMtu:                        pulumi.Int(0),
    	Description:                    pulumi.String("string"),
    	Project:                        pulumi.String("string"),
    	RequestId:                      pulumi.String("string"),
    })
    
    resource "google-native_vmwareengine_v1_network_peering" "networkPeeringResource" {
      lifecycle {
        create_before_destroy = true
      }
      peer_network_type                   = "PEER_NETWORK_TYPE_UNSPECIFIED"
      network_peering_id                  = "string"
      peer_network                        = "string"
      vmware_engine_network               = "string"
      exchange_subnet_routes              = false
      export_custom_routes                = false
      export_custom_routes_with_public_ip = false
      import_custom_routes                = false
      import_custom_routes_with_public_ip = false
      peer_mtu                            = 0
      description                         = "string"
      project                             = "string"
      request_id                          = "string"
    }
    
    var networkPeeringResource = new NetworkPeering("networkPeeringResource", NetworkPeeringArgs.builder()
        .peerNetworkType(com.pulumi.googlenative.vmwareengine_v1.enums.NetworkPeeringPeerNetworkType.PeerNetworkTypeUnspecified)
        .networkPeeringId("string")
        .peerNetwork("string")
        .vmwareEngineNetwork("string")
        .exchangeSubnetRoutes(false)
        .exportCustomRoutes(false)
        .exportCustomRoutesWithPublicIp(false)
        .importCustomRoutes(false)
        .importCustomRoutesWithPublicIp(false)
        .peerMtu(0)
        .description("string")
        .project("string")
        .requestId("string")
        .build());
    
    network_peering_resource = google_native.vmwareengine.v1.NetworkPeering("networkPeeringResource",
        peer_network_type=google_native.vmwareengine.v1.NetworkPeeringPeerNetworkType.PEER_NETWORK_TYPE_UNSPECIFIED,
        network_peering_id="string",
        peer_network="string",
        vmware_engine_network="string",
        exchange_subnet_routes=False,
        export_custom_routes=False,
        export_custom_routes_with_public_ip=False,
        import_custom_routes=False,
        import_custom_routes_with_public_ip=False,
        peer_mtu=0,
        description="string",
        project="string",
        request_id="string")
    
    const networkPeeringResource = new google_native.vmwareengine.v1.NetworkPeering("networkPeeringResource", {
        peerNetworkType: google_native.vmwareengine.v1.NetworkPeeringPeerNetworkType.PeerNetworkTypeUnspecified,
        networkPeeringId: "string",
        peerNetwork: "string",
        vmwareEngineNetwork: "string",
        exchangeSubnetRoutes: false,
        exportCustomRoutes: false,
        exportCustomRoutesWithPublicIp: false,
        importCustomRoutes: false,
        importCustomRoutesWithPublicIp: false,
        peerMtu: 0,
        description: "string",
        project: "string",
        requestId: "string",
    });
    
    type: google-native:vmwareengine/v1:NetworkPeering
    properties:
        description: string
        exchangeSubnetRoutes: false
        exportCustomRoutes: false
        exportCustomRoutesWithPublicIp: false
        importCustomRoutes: false
        importCustomRoutesWithPublicIp: false
        networkPeeringId: string
        peerMtu: 0
        peerNetwork: string
        peerNetworkType: PEER_NETWORK_TYPE_UNSPECIFIED
        project: string
        requestId: string
        vmwareEngineNetwork: string
    

    NetworkPeering Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NetworkPeering resource accepts the following input properties:

    NetworkPeeringId string
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    PeerNetwork string
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    PeerNetworkType Pulumi.GoogleNative.VMwareEngine.V1.NetworkPeeringPeerNetworkType
    The type of the network to peer with the VMware Engine network.
    VmwareEngineNetwork string
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    Description string
    Optional. User-provided description for this network peering.
    ExchangeSubnetRoutes bool
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    ExportCustomRoutes bool
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    ExportCustomRoutesWithPublicIp bool
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    ImportCustomRoutes bool
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    ImportCustomRoutesWithPublicIp bool
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    PeerMtu int
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    Project string
    RequestId string
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    NetworkPeeringId string
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    PeerNetwork string
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    PeerNetworkType NetworkPeeringPeerNetworkType
    The type of the network to peer with the VMware Engine network.
    VmwareEngineNetwork string
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    Description string
    Optional. User-provided description for this network peering.
    ExchangeSubnetRoutes bool
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    ExportCustomRoutes bool
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    ExportCustomRoutesWithPublicIp bool
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    ImportCustomRoutes bool
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    ImportCustomRoutesWithPublicIp bool
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    PeerMtu int
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    Project string
    RequestId string
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    network_peering_id string
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    peer_network string
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    peer_network_type "PEER_NETWORK_TYPE_UNSPECIFIED" | "STANDARD" | "VMWARE_ENGINE_NETWORK" | "PRIVATE_SERVICES_ACCESS" | "NETAPP_CLOUD_VOLUMES" | "THIRD_PARTY_SERVICE" | "DELL_POWERSCALE"
    The type of the network to peer with the VMware Engine network.
    vmware_engine_network string
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    description string
    Optional. User-provided description for this network peering.
    exchange_subnet_routes bool
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    export_custom_routes bool
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    export_custom_routes_with_public_ip bool
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    import_custom_routes bool
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    import_custom_routes_with_public_ip bool
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    peer_mtu number
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    project string
    request_id string
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    networkPeeringId String
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    peerNetwork String
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    peerNetworkType NetworkPeeringPeerNetworkType
    The type of the network to peer with the VMware Engine network.
    vmwareEngineNetwork String
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    description String
    Optional. User-provided description for this network peering.
    exchangeSubnetRoutes Boolean
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    exportCustomRoutes Boolean
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    exportCustomRoutesWithPublicIp Boolean
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    importCustomRoutes Boolean
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    importCustomRoutesWithPublicIp Boolean
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    peerMtu Integer
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    project String
    requestId String
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    networkPeeringId string
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    peerNetwork string
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    peerNetworkType NetworkPeeringPeerNetworkType
    The type of the network to peer with the VMware Engine network.
    vmwareEngineNetwork string
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    description string
    Optional. User-provided description for this network peering.
    exchangeSubnetRoutes boolean
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    exportCustomRoutes boolean
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    exportCustomRoutesWithPublicIp boolean
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    importCustomRoutes boolean
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    importCustomRoutesWithPublicIp boolean
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    peerMtu number
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    project string
    requestId string
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    network_peering_id str
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    peer_network str
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    peer_network_type NetworkPeeringPeerNetworkType
    The type of the network to peer with the VMware Engine network.
    vmware_engine_network str
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    description str
    Optional. User-provided description for this network peering.
    exchange_subnet_routes bool
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    export_custom_routes bool
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    export_custom_routes_with_public_ip bool
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    import_custom_routes bool
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    import_custom_routes_with_public_ip bool
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    peer_mtu int
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    project str
    request_id str
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    networkPeeringId String
    Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)
    peerNetwork String
    The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.
    peerNetworkType "PEER_NETWORK_TYPE_UNSPECIFIED" | "STANDARD" | "VMWARE_ENGINE_NETWORK" | "PRIVATE_SERVICES_ACCESS" | "NETAPP_CLOUD_VOLUMES" | "THIRD_PARTY_SERVICE" | "DELL_POWERSCALE"
    The type of the network to peer with the VMware Engine network.
    vmwareEngineNetwork String
    The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.
    description String
    Optional. User-provided description for this network peering.
    exchangeSubnetRoutes Boolean
    Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
    exportCustomRoutes Boolean
    Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
    exportCustomRoutesWithPublicIp Boolean
    Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
    importCustomRoutes Boolean
    Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
    importCustomRoutesWithPublicIp Boolean
    Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
    peerMtu Number
    Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.
    project String
    requestId String
    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkPeering resource produces the following output properties:

    CreateTime string
    Creation time of this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    State string
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    StateDetails string
    Output Only. Details about the current state of the network peering.
    Uid string
    System-generated unique identifier for the resource.
    UpdateTime string
    Last update time of this resource.
    CreateTime string
    Creation time of this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    State string
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    StateDetails string
    Output Only. Details about the current state of the network peering.
    Uid string
    System-generated unique identifier for the resource.
    UpdateTime string
    Last update time of this resource.
    create_time string
    Creation time of this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    state string
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    state_details string
    Output Only. Details about the current state of the network peering.
    uid string
    System-generated unique identifier for the resource.
    update_time string
    Last update time of this resource.
    createTime String
    Creation time of this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    state String
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    stateDetails String
    Output Only. Details about the current state of the network peering.
    uid String
    System-generated unique identifier for the resource.
    updateTime String
    Last update time of this resource.
    createTime string
    Creation time of this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    state string
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    stateDetails string
    Output Only. Details about the current state of the network peering.
    uid string
    System-generated unique identifier for the resource.
    updateTime string
    Last update time of this resource.
    create_time str
    Creation time of this resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    state str
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    state_details str
    Output Only. Details about the current state of the network peering.
    uid str
    System-generated unique identifier for the resource.
    update_time str
    Last update time of this resource.
    createTime String
    Creation time of this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering
    state String
    State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
    stateDetails String
    Output Only. Details about the current state of the network peering.
    uid String
    System-generated unique identifier for the resource.
    updateTime String
    Last update time of this resource.

    Look up Existing NetworkPeering Resource

    Get an existing NetworkPeering resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): NetworkPeering
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> NetworkPeering
    func GetNetworkPeering(ctx *Context, name string, id IDInput, state *NetworkPeeringState, opts ...ResourceOption) (*NetworkPeering, error)
    public static NetworkPeering Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static NetworkPeering get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingNetworkPeering:    type: google-native:vmwareengine/v1:NetworkPeering    get:      id: ${id}
    import {
      to = google-native_vmwareengine_v1_network_peering.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state NetworkPeeringState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    NetworkPeeringPeerNetworkType

    Required. The type of the network to peer with the VMware Engine network.

    NameValueDescription
    PeerNetworkTypeUnspecifiedPEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    StandardSTANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    VmwareEngineNetworkVMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    PrivateServicesAccessPRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NetappCloudVolumesNETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    ThirdPartyServiceTHIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    DellPowerscaleDELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers
    NameValueDescription
    NetworkPeeringPeerNetworkTypePeerNetworkTypeUnspecifiedPEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    NetworkPeeringPeerNetworkTypeStandardSTANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    NetworkPeeringPeerNetworkTypeVmwareEngineNetworkVMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    NetworkPeeringPeerNetworkTypePrivateServicesAccessPRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NetworkPeeringPeerNetworkTypeNetappCloudVolumesNETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    NetworkPeeringPeerNetworkTypeThirdPartyServiceTHIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    NetworkPeeringPeerNetworkTypeDellPowerscaleDELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers
    ValueDescription
    PEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    STANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    VMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    PRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    THIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    DELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers
    NameValueDescription
    PeerNetworkTypeUnspecifiedPEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    StandardSTANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    VmwareEngineNetworkVMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    PrivateServicesAccessPRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NetappCloudVolumesNETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    ThirdPartyServiceTHIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    DellPowerscaleDELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers
    NameValueDescription
    PeerNetworkTypeUnspecifiedPEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    StandardSTANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    VmwareEngineNetworkVMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    PrivateServicesAccessPRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NetappCloudVolumesNETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    ThirdPartyServiceTHIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    DellPowerscaleDELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers
    NameValueDescription
    PEER_NETWORK_TYPE_UNSPECIFIEDPEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    STANDARDSTANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    VMWARE_ENGINE_NETWORKVMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    PRIVATE_SERVICES_ACCESSPRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NETAPP_CLOUD_VOLUMESNETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    THIRD_PARTY_SERVICETHIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    DELL_POWERSCALEDELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers
    ValueDescription
    PEER_NETWORK_TYPE_UNSPECIFIEDUnspecified
    STANDARDPeering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.
    VMWARE_ENGINE_NETWORKPeering connection used for connecting to another VMware Engine network.
    PRIVATE_SERVICES_ACCESSPeering connection used for establishing private services access.
    NETAPP_CLOUD_VOLUMESPeering connection used for connecting to NetApp Cloud Volumes.
    THIRD_PARTY_SERVICEPeering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.
    DELL_POWERSCALEPeering connection used for connecting to Dell PowerScale Filers

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo Google Cloud Native

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial