Show / Hide Table of Contents

Class Target

Inheritance
System.Object
Resource
CustomResource
Target
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 Source

Target(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 Source

TargetAddress

Declaration
public Output<string> TargetAddress { get; }
Property Value
Type Description
Output<System.String>
View Source

UpstreamId

Declaration
public Output<string> UpstreamId { get; }
Property Value
Type Description
Output<System.String>
View Source

Weight

Declaration
public Output<int> Weight { get; }
Property Value
Type Description
Output<System.Int32>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.