f5 BIG-IP v3.17.6 published on Monday, Oct 28, 2024 by Pulumi
f5bigip.fast.getAzureServiceDiscovery
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- Resource
Group string - Azure Resource Group name.
 - Subscription
Id string - Azure subscription ID.
 - 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. - Minimum
Monitors string - 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 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.
 - Type string
 - Undetectable
Action string - Action to take when node cannot be detected,default 
remove. - Update
Interval string - Update interval for service discovery.
 
- Resource
Group string - Azure Resource Group name.
 - Subscription
Id string - Azure subscription ID.
 - 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. - Minimum
Monitors string - 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 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.
 - Type string
 - Undetectable
Action string - Action to take when node cannot be detected,default 
remove. - Update
Interval string - Update interval for service discovery.
 
- resource
Group String - Azure Resource Group name.
 - subscription
Id String - Azure subscription ID.
 - 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. - minimum
Monitors String - Member is down when fewer than minimum monitors report it healthy.
 - port Integer
 - Port to be used for Azure service discovery,default 
80. - 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.
 - type String
 - undetectable
Action String - Action to take when node cannot be detected,default 
remove. - update
Interval String - Update interval for service discovery.
 
- resource
Group string - Azure Resource Group name.
 - subscription
Id string - Azure subscription ID.
 - 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. - minimum
Monitors string - Member is down when fewer than minimum monitors report it healthy.
 - port number
 - Port to be used for Azure service discovery,default 
80. - 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.
 - type string
 - undetectable
Action string - Action to take when node cannot be detected,default 
remove. - update
Interval 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.
 
- resource
Group String - Azure Resource Group name.
 - subscription
Id String - Azure subscription ID.
 - 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. - minimum
Monitors String - Member is down when fewer than minimum monitors report it healthy.
 - port Number
 - Port to be used for Azure service discovery,default 
80. - 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.
 - type String
 - undetectable
Action String - Action to take when node cannot be detected,default 
remove. - update
Interval String - Update interval for service discovery.
 
getAzureServiceDiscovery Result
The following output properties are available:
- Azure
Sd stringJson  - The JSON for Azure service discovery block.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Resource
Group string - Subscription
Id string - Address
Realm string - Credential
Update bool - Minimum
Monitors string - Port int
 - Tag
Key string - Tag
Value string - Type string
 - Undetectable
Action string - Update
Interval string 
- Azure
Sd stringJson  - The JSON for Azure service discovery block.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Resource
Group string - Subscription
Id string - Address
Realm string - Credential
Update bool - Minimum
Monitors string - Port int
 - Tag
Key string - Tag
Value string - Type string
 - Undetectable
Action string - Update
Interval string 
- azure
Sd StringJson  - The JSON for Azure service discovery block.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - resource
Group String - subscription
Id String - address
Realm String - credential
Update Boolean - minimum
Monitors String - port Integer
 - tag
Key String - tag
Value String - type String
 - undetectable
Action String - update
Interval String 
- azure
Sd stringJson  - The JSON for Azure service discovery block.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - resource
Group string - subscription
Id string - address
Realm string - credential
Update boolean - minimum
Monitors string - port number
 - tag
Key string - tag
Value string - type string
 - undetectable
Action string - update
Interval string 
- azure_
sd_ strjson  - 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 
- azure
Sd StringJson  - The JSON for Azure service discovery block.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - resource
Group String - subscription
Id String - address
Realm String - credential
Update Boolean - minimum
Monitors String - port Number
 - tag
Key String - tag
Value 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 
bigipTerraform Provider.