Class VpcAccess
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.ApiGateway
Assembly: Pulumi.AliCloud.dll
Syntax
public class VpcAccess : CustomResource
Constructors
View SourceVpcAccess(String, VpcAccessArgs, CustomResourceOptions)
Create a VpcAccess resource with the given unique name, arguments, and options.
Declaration
public VpcAccess(string name, VpcAccessArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| VpcAccessArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceInstanceId
ID of the instance in VPC (ECS/Server Load Balance).
Declaration
public Output<string> InstanceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the vpc authorization.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Port
ID of the port corresponding to the instance.
Declaration
public Output<int> Port { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
VpcId
The vpc id of the vpc authorization.
Declaration
public Output<string> VpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, VpcAccessState, CustomResourceOptions)
Get an existing VpcAccess resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static VpcAccess Get(string name, Input<string> id, VpcAccessState 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. |
| VpcAccessState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| VpcAccess |