F5 BIG-IP

Pulumi Official
Package maintained by Pulumi
v3.8.0 published on Tuesday, May 31, 2022 by Pulumi

EventServiceDiscovery

Example Usage

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new F5BigIP.EventServiceDiscovery("test", new F5BigIP.EventServiceDiscoveryArgs
        {
            Nodes = 
            {
                new F5BigIP.Inputs.EventServiceDiscoveryNodeArgs
                {
                    Id = "newNode1",
                    Ip = "192.168.2.3",
                    Port = 8080,
                },
                new F5BigIP.Inputs.EventServiceDiscoveryNodeArgs
                {
                    Id = "newNode2",
                    Ip = "192.168.2.4",
                    Port = 8080,
                },
            },
            Taskid = "~Sample_event_sd~My_app~My_pool",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := f5bigip.NewEventServiceDiscovery(ctx, "test", &f5bigip.EventServiceDiscoveryArgs{
			Nodes: EventServiceDiscoveryNodeArray{
				&EventServiceDiscoveryNodeArgs{
					Id:   pulumi.String("newNode1"),
					Ip:   pulumi.String("192.168.2.3"),
					Port: pulumi.Int(8080),
				},
				&EventServiceDiscoveryNodeArgs{
					Id:   pulumi.String("newNode2"),
					Ip:   pulumi.String("192.168.2.4"),
					Port: pulumi.Int(8080),
				},
			},
			Taskid: pulumi.String("~Sample_event_sd~My_app~My_pool"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

test = f5bigip.EventServiceDiscovery("test",
    nodes=[
        f5bigip.EventServiceDiscoveryNodeArgs(
            id="newNode1",
            ip="192.168.2.3",
            port=8080,
        ),
        f5bigip.EventServiceDiscoveryNodeArgs(
            id="newNode2",
            ip="192.168.2.4",
            port=8080,
        ),
    ],
    taskid="~Sample_event_sd~My_app~My_pool")
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const test = new f5bigip.EventServiceDiscovery("test", {
    nodes: [
        {
            id: "newNode1",
            ip: "192.168.2.3",
            port: 8080,
        },
        {
            id: "newNode2",
            ip: "192.168.2.4",
            port: 8080,
        },
    ],
    taskid: "~Sample_event_sd~My_app~My_pool",
});

Coming soon!

Create a EventServiceDiscovery Resource

new EventServiceDiscovery(name: string, args: EventServiceDiscoveryArgs, opts?: CustomResourceOptions);
@overload
def EventServiceDiscovery(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          nodes: Optional[Sequence[EventServiceDiscoveryNodeArgs]] = None,
                          taskid: Optional[str] = None)
@overload
def EventServiceDiscovery(resource_name: str,
                          args: EventServiceDiscoveryArgs,
                          opts: Optional[ResourceOptions] = None)
func NewEventServiceDiscovery(ctx *Context, name string, args EventServiceDiscoveryArgs, opts ...ResourceOption) (*EventServiceDiscovery, error)
public EventServiceDiscovery(string name, EventServiceDiscoveryArgs args, CustomResourceOptions? opts = null)
public EventServiceDiscovery(String name, EventServiceDiscoveryArgs args)
public EventServiceDiscovery(String name, EventServiceDiscoveryArgs args, CustomResourceOptions options)
type: f5bigip:EventServiceDiscovery
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EventServiceDiscoveryArgs
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 EventServiceDiscoveryArgs
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 EventServiceDiscoveryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EventServiceDiscoveryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EventServiceDiscoveryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EventServiceDiscovery Resource Properties

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

Inputs

The EventServiceDiscovery resource accepts the following input properties:

Taskid string

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

Nodes List<Pulumi.F5BigIP.Inputs.EventServiceDiscoveryNodeArgs>

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

Taskid string

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

Nodes []EventServiceDiscoveryNodeArgs

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid String

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes List<EventServiceDiscoveryNodeArgs>

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid string

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes EventServiceDiscoveryNodeArgs[]

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid str

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes Sequence[EventServiceDiscoveryNodeArgs]

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid String

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes List<Property Map>

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing EventServiceDiscovery Resource

Get an existing EventServiceDiscovery 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>, state?: EventServiceDiscoveryState, opts?: CustomResourceOptions): EventServiceDiscovery
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        nodes: Optional[Sequence[EventServiceDiscoveryNodeArgs]] = None,
        taskid: Optional[str] = None) -> EventServiceDiscovery
func GetEventServiceDiscovery(ctx *Context, name string, id IDInput, state *EventServiceDiscoveryState, opts ...ResourceOption) (*EventServiceDiscovery, error)
public static EventServiceDiscovery Get(string name, Input<string> id, EventServiceDiscoveryState? state, CustomResourceOptions? opts = null)
public static EventServiceDiscovery get(String name, Output<String> id, EventServiceDiscoveryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Nodes List<Pulumi.F5BigIP.Inputs.EventServiceDiscoveryNodeArgs>

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

Taskid string

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

Nodes []EventServiceDiscoveryNodeArgs

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

Taskid string

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes List<EventServiceDiscoveryNodeArgs>

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid String

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes EventServiceDiscoveryNodeArgs[]

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid string

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes Sequence[EventServiceDiscoveryNodeArgs]

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid str

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

nodes List<Property Map>

Map of node which will be added to pool which will be having node name(id),node address(ip) and node port(port)

taskid String

servicediscovery endpoint ( Below example shows how to create endpoing using AS3 )

Supporting Types

EventServiceDiscoveryNode

Id string
Ip string
Port int
Id string
Ip string
Port int
id String
ip String
port Integer
id string
ip string
port number
id str
ip str
port int
id String
ip String
port Number

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes

This Pulumi package is based on the bigip Terraform Provider.