Class ExternalVpnGateway
Represents a VPN gateway managed outside of GCP.
To get more information about ExternalVpnGateway, see:
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public class ExternalVpnGateway : CustomResource
Constructors
View SourceExternalVpnGateway(String, ExternalVpnGatewayArgs, CustomResourceOptions)
Create a ExternalVpnGateway resource with the given unique name, arguments, and options.
Declaration
public ExternalVpnGateway(string name, ExternalVpnGatewayArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ExternalVpnGatewayArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
An optional description of this resource.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Interfaces
A list of interfaces on this external VPN gateway. Structure is documented below.
Declaration
public Output<ImmutableArray<ExternalVpnGatewayInterface>> Interfaces { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ExternalVpnGatewayInterface>> |
Name
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z? which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RedundancyType
Indicates the redundancy type of this external VPN gateway
Declaration
public Output<string> RedundancyType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SelfLink
The URI of the created resource.
Declaration
public Output<string> SelfLink { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ExternalVpnGatewayState, CustomResourceOptions)
Get an existing ExternalVpnGateway resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ExternalVpnGateway Get(string name, Input<string> id, ExternalVpnGatewayState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ExternalVpnGatewayState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ExternalVpnGateway |