1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. fast
  5. getAzureServiceDiscovery
f5 BIG-IP v3.17.1 published on Friday, May 10, 2024 by Pulumi

f5bigip.fast.getAzureServiceDiscovery

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.17.1 published on Friday, May 10, 2024 by Pulumi

    Use this data source (f5bigip.fast.getAzureServiceDiscovery) to get the Azure 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.getAzureServiceDiscovery({
        resourceGroup: "testazurerg",
        subscriptionId: "testazuresid",
        tagKey: "testazuretag",
        tagValue: "testazurevalue",
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    tc3 = f5bigip.fast.get_azure_service_discovery(resource_group="testazurerg",
        subscription_id="testazuresid",
        tag_key="testazuretag",
        tag_value="testazurevalue")
    
    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.GetAzureServiceDiscovery(ctx, &fast.GetAzureServiceDiscoveryArgs{
    			ResourceGroup:  "testazurerg",
    			SubscriptionId: "testazuresid",
    			TagKey:         pulumi.StringRef("testazuretag"),
    			TagValue:       pulumi.StringRef("testazurevalue"),
    		}, 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.GetAzureServiceDiscovery.Invoke(new()
        {
            ResourceGroup = "testazurerg",
            SubscriptionId = "testazuresid",
            TagKey = "testazuretag",
            TagValue = "testazurevalue",
        });
    
    });
    
    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.GetAzureServiceDiscoveryArgs;
    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.getAzureServiceDiscovery(GetAzureServiceDiscoveryArgs.builder()
                .resourceGroup("testazurerg")
                .subscriptionId("testazuresid")
                .tagKey("testazuretag")
                .tagValue("testazurevalue")
                .build());
    
        }
    }
    
    variables:
      TC3:
        fn::invoke:
          Function: f5bigip:fast:getAzureServiceDiscovery
          Arguments:
            resourceGroup: testazurerg
            subscriptionId: testazuresid
            tagKey: testazuretag
            tagValue: testazurevalue
    

    Using getAzureServiceDiscovery

    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 getAzureServiceDiscovery(args: GetAzureServiceDiscoveryArgs, opts?: InvokeOptions): Promise<GetAzureServiceDiscoveryResult>
    function getAzureServiceDiscoveryOutput(args: GetAzureServiceDiscoveryOutputArgs, opts?: InvokeOptions): Output<GetAzureServiceDiscoveryResult>
    def get_azure_service_discovery(address_realm: Optional[str] = None,
                                    credential_update: Optional[bool] = None,
                                    minimum_monitors: Optional[str] = None,
                                    port: Optional[int] = None,
                                    resource_group: Optional[str] = None,
                                    subscription_id: 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) -> GetAzureServiceDiscoveryResult
    def get_azure_service_discovery_output(address_realm: Optional[pulumi.Input[str]] = None,
                                    credential_update: Optional[pulumi.Input[bool]] = None,
                                    minimum_monitors: Optional[pulumi.Input[str]] = None,
                                    port: Optional[pulumi.Input[int]] = None,
                                    resource_group: Optional[pulumi.Input[str]] = None,
                                    subscription_id: 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[GetAzureServiceDiscoveryResult]
    func GetAzureServiceDiscovery(ctx *Context, args *GetAzureServiceDiscoveryArgs, opts ...InvokeOption) (*GetAzureServiceDiscoveryResult, error)
    func GetAzureServiceDiscoveryOutput(ctx *Context, args *GetAzureServiceDiscoveryOutputArgs, opts ...InvokeOption) GetAzureServiceDiscoveryResultOutput

    > Note: This function is named GetAzureServiceDiscovery in the Go SDK.

    public static class GetAzureServiceDiscovery 
    {
        public static Task<GetAzureServiceDiscoveryResult> InvokeAsync(GetAzureServiceDiscoveryArgs args, InvokeOptions? opts = null)
        public static Output<GetAzureServiceDiscoveryResult> Invoke(GetAzureServiceDiscoveryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAzureServiceDiscoveryResult> getAzureServiceDiscovery(GetAzureServiceDiscoveryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: f5bigip:fast/getAzureServiceDiscovery:getAzureServiceDiscovery
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroup string
    Azure Resource Group name.
    SubscriptionId string
    Azure subscription ID.
    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.
    MinimumMonitors string
    Member is down when fewer than minimum monitors report it healthy.
    Port int
    Port to be used for Azure service discovery,default 80.
    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.
    Type string
    UndetectableAction string
    Action to take when node cannot be detected,default remove.
    UpdateInterval string
    Update interval for service discovery.
    ResourceGroup string
    Azure Resource Group name.
    SubscriptionId string
    Azure subscription ID.
    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.
    MinimumMonitors string
    Member is down when fewer than minimum monitors report it healthy.
    Port int
    Port to be used for Azure service discovery,default 80.
    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.
    Type string
    UndetectableAction string
    Action to take when node cannot be detected,default remove.
    UpdateInterval string
    Update interval for service discovery.
    resourceGroup String
    Azure Resource Group name.
    subscriptionId String
    Azure subscription ID.
    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.
    minimumMonitors String
    Member is down when fewer than minimum monitors report it healthy.
    port Integer
    Port to be used for Azure service discovery,default 80.
    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.
    type String
    undetectableAction String
    Action to take when node cannot be detected,default remove.
    updateInterval String
    Update interval for service discovery.
    resourceGroup string
    Azure Resource Group name.
    subscriptionId string
    Azure subscription ID.
    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.
    minimumMonitors string
    Member is down when fewer than minimum monitors report it healthy.
    port number
    Port to be used for Azure service discovery,default 80.
    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.
    type string
    undetectableAction string
    Action to take when node cannot be detected,default remove.
    updateInterval string
    Update interval for service discovery.
    resource_group str
    Azure Resource Group name.
    subscription_id str
    Azure subscription ID.
    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.
    minimum_monitors str
    Member is down when fewer than minimum monitors report it healthy.
    port int
    Port to be used for Azure service discovery,default 80.
    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.
    type str
    undetectable_action str
    Action to take when node cannot be detected,default remove.
    update_interval str
    Update interval for service discovery.
    resourceGroup String
    Azure Resource Group name.
    subscriptionId String
    Azure subscription ID.
    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.
    minimumMonitors String
    Member is down when fewer than minimum monitors report it healthy.
    port Number
    Port to be used for Azure service discovery,default 80.
    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.
    type String
    undetectableAction String
    Action to take when node cannot be detected,default remove.
    updateInterval String
    Update interval for service discovery.

    getAzureServiceDiscovery Result

    The following output properties are available:

    AzureSdJson string
    The JSON for Azure service discovery block.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceGroup string
    SubscriptionId string
    AddressRealm string
    CredentialUpdate bool
    MinimumMonitors string
    Port int
    TagKey string
    TagValue string
    Type string
    UndetectableAction string
    UpdateInterval string
    AzureSdJson string
    The JSON for Azure service discovery block.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceGroup string
    SubscriptionId string
    AddressRealm string
    CredentialUpdate bool
    MinimumMonitors string
    Port int
    TagKey string
    TagValue string
    Type string
    UndetectableAction string
    UpdateInterval string
    azureSdJson String
    The JSON for Azure service discovery block.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceGroup String
    subscriptionId String
    addressRealm String
    credentialUpdate Boolean
    minimumMonitors String
    port Integer
    tagKey String
    tagValue String
    type String
    undetectableAction String
    updateInterval String
    azureSdJson string
    The JSON for Azure service discovery block.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceGroup string
    subscriptionId string
    addressRealm string
    credentialUpdate boolean
    minimumMonitors string
    port number
    tagKey string
    tagValue string
    type string
    undetectableAction string
    updateInterval string
    azure_sd_json str
    The JSON for Azure service discovery block.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_group str
    subscription_id str
    address_realm str
    credential_update bool
    minimum_monitors str
    port int
    tag_key str
    tag_value str
    type str
    undetectable_action str
    update_interval str
    azureSdJson String
    The JSON for Azure service discovery block.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceGroup String
    subscriptionId String
    addressRealm String
    credentialUpdate Boolean
    minimumMonitors String
    port Number
    tagKey String
    tagValue 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 bigip Terraform Provider.
    f5bigip logo
    f5 BIG-IP v3.17.1 published on Friday, May 10, 2024 by Pulumi