Class Target
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.Kong
Assembly: Pulumi.Kong.dll
Syntax
public class Target : CustomResource
Constructors
View SourceTarget(String, TargetArgs, CustomResourceOptions)
Create a Target resource with the given unique name, arguments, and options.
Declaration
public Target(string name, TargetArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TargetArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceTargetAddress
Declaration
public Output<string> TargetAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UpstreamId
Declaration
public Output<string> UpstreamId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Weight
Declaration
public Output<int> Weight { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, TargetState, CustomResourceOptions)
Get an existing Target resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Target Get(string name, Input<string> id, TargetState 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. |
| TargetState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Target |