f5 BIG-IP v3.17.4 published on Wednesday, Sep 11, 2024 by Pulumi
f5bigip.fast.getGceServiceDiscovery
Explore with Pulumi AI
Use this data source (f5bigip.fast.getGceServiceDiscovery
) to get the GCE Service discovery config to be used for http
/https
app deployment in FAST.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const TC3 = f5bigip.fast.getGceServiceDiscovery({
tagKey: "testgcetag",
tagValue: "testgcevalue",
region: "testgceregion",
});
import pulumi
import pulumi_f5bigip as f5bigip
tc3 = f5bigip.fast.get_gce_service_discovery(tag_key="testgcetag",
tag_value="testgcevalue",
region="testgceregion")
package main
import (
"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/fast"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fast.GetGceServiceDiscovery(ctx, &fast.GetGceServiceDiscoveryArgs{
TagKey: "testgcetag",
TagValue: "testgcevalue",
Region: "testgceregion",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
return await Deployment.RunAsync(() =>
{
var TC3 = F5BigIP.Fast.GetGceServiceDiscovery.Invoke(new()
{
TagKey = "testgcetag",
TagValue = "testgcevalue",
Region = "testgceregion",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.f5bigip.fast.FastFunctions;
import com.pulumi.f5bigip.fast.inputs.GetGceServiceDiscoveryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var TC3 = FastFunctions.getGceServiceDiscovery(GetGceServiceDiscoveryArgs.builder()
.tagKey("testgcetag")
.tagValue("testgcevalue")
.region("testgceregion")
.build());
}
}
variables:
TC3:
fn::invoke:
Function: f5bigip:fast:getGceServiceDiscovery
Arguments:
tagKey: testgcetag
tagValue: testgcevalue
region: testgceregion
Using getGceServiceDiscovery
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGceServiceDiscovery(args: GetGceServiceDiscoveryArgs, opts?: InvokeOptions): Promise<GetGceServiceDiscoveryResult>
function getGceServiceDiscoveryOutput(args: GetGceServiceDiscoveryOutputArgs, opts?: InvokeOptions): Output<GetGceServiceDiscoveryResult>
def get_gce_service_discovery(address_realm: Optional[str] = None,
credential_update: Optional[bool] = None,
encoded_credentials: Optional[str] = None,
minimum_monitors: Optional[str] = None,
port: Optional[int] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tag_key: Optional[str] = None,
tag_value: Optional[str] = None,
type: Optional[str] = None,
undetectable_action: Optional[str] = None,
update_interval: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGceServiceDiscoveryResult
def get_gce_service_discovery_output(address_realm: Optional[pulumi.Input[str]] = None,
credential_update: Optional[pulumi.Input[bool]] = None,
encoded_credentials: Optional[pulumi.Input[str]] = None,
minimum_monitors: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
tag_key: Optional[pulumi.Input[str]] = None,
tag_value: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
undetectable_action: Optional[pulumi.Input[str]] = None,
update_interval: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGceServiceDiscoveryResult]
func GetGceServiceDiscovery(ctx *Context, args *GetGceServiceDiscoveryArgs, opts ...InvokeOption) (*GetGceServiceDiscoveryResult, error)
func GetGceServiceDiscoveryOutput(ctx *Context, args *GetGceServiceDiscoveryOutputArgs, opts ...InvokeOption) GetGceServiceDiscoveryResultOutput
> Note: This function is named GetGceServiceDiscovery
in the Go SDK.
public static class GetGceServiceDiscovery
{
public static Task<GetGceServiceDiscoveryResult> InvokeAsync(GetGceServiceDiscoveryArgs args, InvokeOptions? opts = null)
public static Output<GetGceServiceDiscoveryResult> Invoke(GetGceServiceDiscoveryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGceServiceDiscoveryResult> getGceServiceDiscovery(GetGceServiceDiscoveryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: f5bigip:fast/getGceServiceDiscovery:getGceServiceDiscovery
arguments:
# arguments dictionary
The following arguments are supported:
- Region string
- GCE region in which ADC is running.
- Tag
Key string - The tag key associated with the node to add to this pool.
- Tag
Value string - The tag value associated with the node to add to this pool.
- Address
Realm string - Specifies whether to look for public or private IP addresses,default
private
. - Credential
Update bool - Specifies whether you are updating your credentials,default
false
. - Encoded
Credentials string - Base 64 encoded service account credentials JSON.
- Minimum
Monitors string - Member is down when fewer than minimum monitors report it healthy.
- Port int
- Port to be used for AWS service discovery,default
80
. - Project
Id string - For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- Type string
- Undetectable
Action string - Action to take when node cannot be detected,default
remove
. - Update
Interval string - Update interval for service discovery.
- Region string
- GCE region in which ADC is running.
- Tag
Key string - The tag key associated with the node to add to this pool.
- Tag
Value string - The tag value associated with the node to add to this pool.
- Address
Realm string - Specifies whether to look for public or private IP addresses,default
private
. - Credential
Update bool - Specifies whether you are updating your credentials,default
false
. - Encoded
Credentials string - Base 64 encoded service account credentials JSON.
- Minimum
Monitors string - Member is down when fewer than minimum monitors report it healthy.
- Port int
- Port to be used for AWS service discovery,default
80
. - Project
Id string - For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- Type string
- Undetectable
Action string - Action to take when node cannot be detected,default
remove
. - Update
Interval string - Update interval for service discovery.
- region String
- GCE region in which ADC is running.
- tag
Key String - The tag key associated with the node to add to this pool.
- tag
Value String - The tag value associated with the node to add to this pool.
- address
Realm String - Specifies whether to look for public or private IP addresses,default
private
. - credential
Update Boolean - Specifies whether you are updating your credentials,default
false
. - encoded
Credentials String - Base 64 encoded service account credentials JSON.
- minimum
Monitors String - Member is down when fewer than minimum monitors report it healthy.
- port Integer
- Port to be used for AWS service discovery,default
80
. - project
Id String - For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type String
- undetectable
Action String - Action to take when node cannot be detected,default
remove
. - update
Interval String - Update interval for service discovery.
- region string
- GCE region in which ADC is running.
- tag
Key string - The tag key associated with the node to add to this pool.
- tag
Value string - The tag value associated with the node to add to this pool.
- address
Realm string - Specifies whether to look for public or private IP addresses,default
private
. - credential
Update boolean - Specifies whether you are updating your credentials,default
false
. - encoded
Credentials string - Base 64 encoded service account credentials JSON.
- minimum
Monitors string - Member is down when fewer than minimum monitors report it healthy.
- port number
- Port to be used for AWS service discovery,default
80
. - project
Id string - For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type string
- undetectable
Action string - Action to take when node cannot be detected,default
remove
. - update
Interval string - Update interval for service discovery.
- region str
- GCE region in which ADC is running.
- tag_
key str - The tag key associated with the node to add to this pool.
- tag_
value str - The tag value associated with the node to add to this pool.
- address_
realm str - Specifies whether to look for public or private IP addresses,default
private
. - credential_
update bool - Specifies whether you are updating your credentials,default
false
. - encoded_
credentials str - Base 64 encoded service account credentials JSON.
- minimum_
monitors str - Member is down when fewer than minimum monitors report it healthy.
- port int
- Port to be used for AWS service discovery,default
80
. - project_
id str - For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type str
- undetectable_
action str - Action to take when node cannot be detected,default
remove
. - update_
interval str - Update interval for service discovery.
- region String
- GCE region in which ADC is running.
- tag
Key String - The tag key associated with the node to add to this pool.
- tag
Value String - The tag value associated with the node to add to this pool.
- address
Realm String - Specifies whether to look for public or private IP addresses,default
private
. - credential
Update Boolean - Specifies whether you are updating your credentials,default
false
. - encoded
Credentials String - Base 64 encoded service account credentials JSON.
- minimum
Monitors String - Member is down when fewer than minimum monitors report it healthy.
- port Number
- Port to be used for AWS service discovery,default
80
. - project
Id String - For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type String
- undetectable
Action String - Action to take when node cannot be detected,default
remove
. - update
Interval String - Update interval for service discovery.
getGceServiceDiscovery Result
The following output properties are available:
- Gce
Sd stringJson - The JSON for GCE service discovery block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Tag
Key string - Tag
Value string - Address
Realm string - Credential
Update bool - Encoded
Credentials string - Minimum
Monitors string - Port int
- Project
Id string - Type string
- Undetectable
Action string - Update
Interval string
- Gce
Sd stringJson - The JSON for GCE service discovery block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Tag
Key string - Tag
Value string - Address
Realm string - Credential
Update bool - Encoded
Credentials string - Minimum
Monitors string - Port int
- Project
Id string - Type string
- Undetectable
Action string - Update
Interval string
- gce
Sd StringJson - The JSON for GCE service discovery block.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- tag
Key String - tag
Value String - address
Realm String - credential
Update Boolean - encoded
Credentials String - minimum
Monitors String - port Integer
- project
Id String - type String
- undetectable
Action String - update
Interval String
- gce
Sd stringJson - The JSON for GCE service discovery block.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- tag
Key string - tag
Value string - address
Realm string - credential
Update boolean - encoded
Credentials string - minimum
Monitors string - port number
- project
Id string - type string
- undetectable
Action string - update
Interval string
- gce_
sd_ strjson - The JSON for GCE service discovery block.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- tag_
key str - tag_
value str - address_
realm str - credential_
update bool - encoded_
credentials str - minimum_
monitors str - port int
- project_
id str - type str
- undetectable_
action str - update_
interval str
- gce
Sd StringJson - The JSON for GCE service discovery block.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- tag
Key String - tag
Value String - address
Realm String - credential
Update Boolean - encoded
Credentials String - minimum
Monitors String - port Number
- project
Id String - type String
- undetectable
Action String - update
Interval String
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigip
Terraform Provider.