f5 BIG-IP v3.17.10 published on Tuesday, Apr 8, 2025 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)
public static Output<GetGceServiceDiscoveryResult> getGceServiceDiscovery(GetGceServiceDiscoveryArgs args, InvokeOptions options)
fn::invoke:
  function: f5bigip:fast/getGceServiceDiscovery:getGceServiceDiscovery
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Region string
- GCE region in which ADC is running.
- TagKey string
- The tag key associated with the node to add to this pool.
- TagValue string
- The tag value associated with the node to add to this pool.
- AddressRealm string
- Specifies whether to look for public or private IP addresses,default private.
- CredentialUpdate bool
- Specifies whether you are updating your credentials,default false.
- EncodedCredentials string
- Base 64 encoded service account credentials JSON.
- MinimumMonitors string
- Member is down when fewer than minimum monitors report it healthy.
- Port int
- Port to be used for AWS service discovery,default 80.
- ProjectId string
- For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- Type string
- UndetectableAction string
- Action to take when node cannot be detected,default remove.
- UpdateInterval string
- Update interval for service discovery.
- Region string
- GCE region in which ADC is running.
- TagKey string
- The tag key associated with the node to add to this pool.
- TagValue string
- The tag value associated with the node to add to this pool.
- AddressRealm string
- Specifies whether to look for public or private IP addresses,default private.
- CredentialUpdate bool
- Specifies whether you are updating your credentials,default false.
- EncodedCredentials string
- Base 64 encoded service account credentials JSON.
- MinimumMonitors string
- Member is down when fewer than minimum monitors report it healthy.
- Port int
- Port to be used for AWS service discovery,default 80.
- ProjectId string
- For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- Type string
- UndetectableAction string
- Action to take when node cannot be detected,default remove.
- UpdateInterval string
- Update interval for service discovery.
- region String
- GCE region in which ADC is running.
- tagKey String
- The tag key associated with the node to add to this pool.
- tagValue String
- The tag value associated with the node to add to this pool.
- addressRealm String
- Specifies whether to look for public or private IP addresses,default private.
- credentialUpdate Boolean
- Specifies whether you are updating your credentials,default false.
- encodedCredentials String
- Base 64 encoded service account credentials JSON.
- minimumMonitors String
- Member is down when fewer than minimum monitors report it healthy.
- port Integer
- Port to be used for AWS service discovery,default 80.
- projectId String
- For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type String
- undetectableAction String
- Action to take when node cannot be detected,default remove.
- updateInterval String
- Update interval for service discovery.
- region string
- GCE region in which ADC is running.
- tagKey string
- The tag key associated with the node to add to this pool.
- tagValue string
- The tag value associated with the node to add to this pool.
- addressRealm string
- Specifies whether to look for public or private IP addresses,default private.
- credentialUpdate boolean
- Specifies whether you are updating your credentials,default false.
- encodedCredentials string
- Base 64 encoded service account credentials JSON.
- minimumMonitors string
- Member is down when fewer than minimum monitors report it healthy.
- port number
- Port to be used for AWS service discovery,default 80.
- projectId string
- For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type string
- undetectableAction string
- Action to take when node cannot be detected,default remove.
- updateInterval 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.
- tagKey String
- The tag key associated with the node to add to this pool.
- tagValue String
- The tag value associated with the node to add to this pool.
- addressRealm String
- Specifies whether to look for public or private IP addresses,default private.
- credentialUpdate Boolean
- Specifies whether you are updating your credentials,default false.
- encodedCredentials String
- Base 64 encoded service account credentials JSON.
- minimumMonitors String
- Member is down when fewer than minimum monitors report it healthy.
- port Number
- Port to be used for AWS service discovery,default 80.
- projectId String
- For Google Cloud Engine (GCE) only: The ID of the project in which the members are located.
- type String
- undetectableAction String
- Action to take when node cannot be detected,default remove.
- updateInterval String
- Update interval for service discovery.
getGceServiceDiscovery Result
The following output properties are available:
- GceSd stringJson 
- The JSON for GCE service discovery block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- TagKey string
- TagValue string
- AddressRealm string
- CredentialUpdate bool
- EncodedCredentials string
- MinimumMonitors string
- Port int
- ProjectId string
- Type string
- UndetectableAction string
- UpdateInterval string
- GceSd stringJson 
- The JSON for GCE service discovery block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- TagKey string
- TagValue string
- AddressRealm string
- CredentialUpdate bool
- EncodedCredentials string
- MinimumMonitors string
- Port int
- ProjectId string
- Type string
- UndetectableAction string
- UpdateInterval string
- gceSd StringJson 
- The JSON for GCE service discovery block.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- tagKey String
- tagValue String
- addressRealm String
- credentialUpdate Boolean
- encodedCredentials String
- minimumMonitors String
- port Integer
- projectId String
- type String
- undetectableAction String
- updateInterval String
- gceSd stringJson 
- The JSON for GCE service discovery block.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- tagKey string
- tagValue string
- addressRealm string
- credentialUpdate boolean
- encodedCredentials string
- minimumMonitors string
- port number
- projectId string
- type string
- undetectableAction string
- updateInterval 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
- gceSd StringJson 
- The JSON for GCE service discovery block.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- tagKey String
- tagValue String
- addressRealm String
- credentialUpdate Boolean
- encodedCredentials String
- minimumMonitors String
- port Number
- projectId String
- type String
- undetectableAction String
- updateInterval String
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the bigipTerraform Provider.