UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

161 lines (160 loc) 4.91 kB
import * as pulumi from "@pulumi/pulumi"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const TC3 = f5bigip.fast.getGceServiceDiscovery({ * tagKey: "testgcetag", * tagValue: "testgcevalue", * region: "testgceregion", * }); * ``` */ export declare function getGceServiceDiscovery(args: GetGceServiceDiscoveryArgs, opts?: pulumi.InvokeOptions): Promise<GetGceServiceDiscoveryResult>; /** * A collection of arguments for invoking getGceServiceDiscovery. */ export interface GetGceServiceDiscoveryArgs { /** * Specifies whether to look for public or private IP addresses,default `private`. */ addressRealm?: string; /** * Specifies whether you are updating your credentials,default `false`. */ credentialUpdate?: boolean; /** * Base 64 encoded service account credentials JSON. */ encodedCredentials?: string; /** * Member is down when fewer than minimum monitors report it healthy. */ minimumMonitors?: string; /** * Port to be used for AWS service discovery,default `80`. */ port?: number; /** * For Google Cloud Engine (GCE) only: The ID of the project in which the members are located. */ projectId?: string; /** * GCE region in which ADC is running. */ region: string; /** * The tag key associated with the node to add to this pool. */ tagKey: string; /** * The tag value associated with the node to add to this pool. */ tagValue: string; type?: string; /** * Action to take when node cannot be detected,default `remove`. */ undetectableAction?: string; /** * Update interval for service discovery. */ updateInterval?: string; } /** * A collection of values returned by getGceServiceDiscovery. */ export interface GetGceServiceDiscoveryResult { readonly addressRealm?: string; readonly credentialUpdate?: boolean; readonly encodedCredentials?: string; /** * The JSON for GCE service discovery block. */ readonly gceSdJson: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly minimumMonitors?: string; readonly port?: number; readonly projectId?: string; readonly region: string; readonly tagKey: string; readonly tagValue: string; readonly type?: string; readonly undetectableAction?: string; readonly updateInterval?: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const TC3 = f5bigip.fast.getGceServiceDiscovery({ * tagKey: "testgcetag", * tagValue: "testgcevalue", * region: "testgceregion", * }); * ``` */ export declare function getGceServiceDiscoveryOutput(args: GetGceServiceDiscoveryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGceServiceDiscoveryResult>; /** * A collection of arguments for invoking getGceServiceDiscovery. */ export interface GetGceServiceDiscoveryOutputArgs { /** * Specifies whether to look for public or private IP addresses,default `private`. */ addressRealm?: pulumi.Input<string>; /** * Specifies whether you are updating your credentials,default `false`. */ credentialUpdate?: pulumi.Input<boolean>; /** * Base 64 encoded service account credentials JSON. */ encodedCredentials?: pulumi.Input<string>; /** * Member is down when fewer than minimum monitors report it healthy. */ minimumMonitors?: pulumi.Input<string>; /** * Port to be used for AWS service discovery,default `80`. */ port?: pulumi.Input<number>; /** * For Google Cloud Engine (GCE) only: The ID of the project in which the members are located. */ projectId?: pulumi.Input<string>; /** * GCE region in which ADC is running. */ region: pulumi.Input<string>; /** * The tag key associated with the node to add to this pool. */ tagKey: pulumi.Input<string>; /** * The tag value associated with the node to add to this pool. */ tagValue: pulumi.Input<string>; type?: pulumi.Input<string>; /** * Action to take when node cannot be detected,default `remove`. */ undetectableAction?: pulumi.Input<string>; /** * Update interval for service discovery. */ updateInterval?: pulumi.Input<string>; }