1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. ssl
  5. getVWanConfig
f5 BIG-IP v3.17.4 published on Wednesday, Sep 11, 2024 by Pulumi

f5bigip.ssl.getVWanConfig

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.17.4 published on Wednesday, Sep 11, 2024 by Pulumi

    Use this data source (f5bigip.ssl.getVWanConfig) to get the vWAN site config from Azure VWAN Site

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const vwanconfig = f5bigip.ssl.getVWanConfig({
        azureVwanResourcegroup: "azurevwan-bigip-rg-9c8d",
        azureVwanName: "azurevwan-bigip-vwan-9c8d",
        azureVwanVpnsite: "azurevwan-bigip-vsite-9c8d",
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    vwanconfig = f5bigip.ssl.get_v_wan_config(azure_vwan_resourcegroup="azurevwan-bigip-rg-9c8d",
        azure_vwan_name="azurevwan-bigip-vwan-9c8d",
        azure_vwan_vpnsite="azurevwan-bigip-vsite-9c8d")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/ssl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ssl.GetVWanConfig(ctx, &ssl.GetVWanConfigArgs{
    			AzureVwanResourcegroup: "azurevwan-bigip-rg-9c8d",
    			AzureVwanName:          "azurevwan-bigip-vwan-9c8d",
    			AzureVwanVpnsite:       "azurevwan-bigip-vsite-9c8d",
    		}, 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 vwanconfig = F5BigIP.Ssl.GetVWanConfig.Invoke(new()
        {
            AzureVwanResourcegroup = "azurevwan-bigip-rg-9c8d",
            AzureVwanName = "azurevwan-bigip-vwan-9c8d",
            AzureVwanVpnsite = "azurevwan-bigip-vsite-9c8d",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.ssl.SslFunctions;
    import com.pulumi.f5bigip.ssl.inputs.GetVWanConfigArgs;
    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 vwanconfig = SslFunctions.getVWanConfig(GetVWanConfigArgs.builder()
                .azureVwanResourcegroup("azurevwan-bigip-rg-9c8d")
                .azureVwanName("azurevwan-bigip-vwan-9c8d")
                .azureVwanVpnsite("azurevwan-bigip-vsite-9c8d")
                .build());
    
        }
    }
    
    variables:
      vwanconfig:
        fn::invoke:
          Function: f5bigip:ssl:getVWanConfig
          Arguments:
            azureVwanResourcegroup: azurevwan-bigip-rg-9c8d
            azureVwanName: azurevwan-bigip-vwan-9c8d
            azureVwanVpnsite: azurevwan-bigip-vsite-9c8d
    

    Pre-required Environment Settings:

    • AZURE_CLIENT_ID - (Required) Set this environment variable with the Azure app client ID to use.

    • AZURE_CLIENT_SECRET - (Required) Set this environment variable with the Azure app secret to use.

    • AZURE_SUBSCRIPTION_ID - (Required) Set this environment variable with the Azure subscription ID to use.

    • AZURE_TENANT_ID - (Required) Set this environment variable with the Tenant ID to which to authenticate.

    • STORAGE_ACCOUNT_NAME - (Required) Set this environment variable with the storage account for download config.

    • STORAGE_ACCOUNT_KEY - (Required) Specifies the storage account key to authenticate,set this Environment variable with account key value.

    Using getVWanConfig

    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 getVWanConfig(args: GetVWanConfigArgs, opts?: InvokeOptions): Promise<GetVWanConfigResult>
    function getVWanConfigOutput(args: GetVWanConfigOutputArgs, opts?: InvokeOptions): Output<GetVWanConfigResult>
    def get_v_wan_config(azure_vwan_name: Optional[str] = None,
                         azure_vwan_resourcegroup: Optional[str] = None,
                         azure_vwan_vpnsite: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetVWanConfigResult
    def get_v_wan_config_output(azure_vwan_name: Optional[pulumi.Input[str]] = None,
                         azure_vwan_resourcegroup: Optional[pulumi.Input[str]] = None,
                         azure_vwan_vpnsite: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetVWanConfigResult]
    func GetVWanConfig(ctx *Context, args *GetVWanConfigArgs, opts ...InvokeOption) (*GetVWanConfigResult, error)
    func GetVWanConfigOutput(ctx *Context, args *GetVWanConfigOutputArgs, opts ...InvokeOption) GetVWanConfigResultOutput

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

    public static class GetVWanConfig 
    {
        public static Task<GetVWanConfigResult> InvokeAsync(GetVWanConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetVWanConfigResult> Invoke(GetVWanConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVWanConfigResult> getVWanConfig(GetVWanConfigArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: f5bigip:ssl/getVWanConfig:getVWanConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AzureVwanName string
    Name of the Azure vWAN Name
    AzureVwanResourcegroup string
    Name of the Azure vWAN resource group
    AzureVwanVpnsite string
    Name of the Azure vWAN VPN site from which configuration to be download
    AzureVwanName string
    Name of the Azure vWAN Name
    AzureVwanResourcegroup string
    Name of the Azure vWAN resource group
    AzureVwanVpnsite string
    Name of the Azure vWAN VPN site from which configuration to be download
    azureVwanName String
    Name of the Azure vWAN Name
    azureVwanResourcegroup String
    Name of the Azure vWAN resource group
    azureVwanVpnsite String
    Name of the Azure vWAN VPN site from which configuration to be download
    azureVwanName string
    Name of the Azure vWAN Name
    azureVwanResourcegroup string
    Name of the Azure vWAN resource group
    azureVwanVpnsite string
    Name of the Azure vWAN VPN site from which configuration to be download
    azure_vwan_name str
    Name of the Azure vWAN Name
    azure_vwan_resourcegroup str
    Name of the Azure vWAN resource group
    azure_vwan_vpnsite str
    Name of the Azure vWAN VPN site from which configuration to be download
    azureVwanName String
    Name of the Azure vWAN Name
    azureVwanResourcegroup String
    Name of the Azure vWAN resource group
    azureVwanVpnsite String
    Name of the Azure vWAN VPN site from which configuration to be download

    getVWanConfig Result

    The following output properties are available:

    AzureVwanName string
    AzureVwanResourcegroup string
    AzureVwanVpnsite string
    BigipGwIp string
    (type string) provides IP address of BIGIP G/W for IPSec Endpoint.
    HubAddressSpace string
    (type string) Provides IP Address space used on vWAN Hub.
    HubConnectedSubnets List<string>
    (type list) Provides Subnets connected to vWAN Hub.
    Id string
    The provider-assigned unique ID for this managed resource.
    PresharedKey string
    (type string) provides pre-shared-key used for IPSec Tunnel creation.
    VwanGwAddresses List<string>
    (type list) Provides vWAN Gateway Address for IPSec End point
    AzureVwanName string
    AzureVwanResourcegroup string
    AzureVwanVpnsite string
    BigipGwIp string
    (type string) provides IP address of BIGIP G/W for IPSec Endpoint.
    HubAddressSpace string
    (type string) Provides IP Address space used on vWAN Hub.
    HubConnectedSubnets []string
    (type list) Provides Subnets connected to vWAN Hub.
    Id string
    The provider-assigned unique ID for this managed resource.
    PresharedKey string
    (type string) provides pre-shared-key used for IPSec Tunnel creation.
    VwanGwAddresses []string
    (type list) Provides vWAN Gateway Address for IPSec End point
    azureVwanName String
    azureVwanResourcegroup String
    azureVwanVpnsite String
    bigipGwIp String
    (type string) provides IP address of BIGIP G/W for IPSec Endpoint.
    hubAddressSpace String
    (type string) Provides IP Address space used on vWAN Hub.
    hubConnectedSubnets List<String>
    (type list) Provides Subnets connected to vWAN Hub.
    id String
    The provider-assigned unique ID for this managed resource.
    presharedKey String
    (type string) provides pre-shared-key used for IPSec Tunnel creation.
    vwanGwAddresses List<String>
    (type list) Provides vWAN Gateway Address for IPSec End point
    azureVwanName string
    azureVwanResourcegroup string
    azureVwanVpnsite string
    bigipGwIp string
    (type string) provides IP address of BIGIP G/W for IPSec Endpoint.
    hubAddressSpace string
    (type string) Provides IP Address space used on vWAN Hub.
    hubConnectedSubnets string[]
    (type list) Provides Subnets connected to vWAN Hub.
    id string
    The provider-assigned unique ID for this managed resource.
    presharedKey string
    (type string) provides pre-shared-key used for IPSec Tunnel creation.
    vwanGwAddresses string[]
    (type list) Provides vWAN Gateway Address for IPSec End point
    azure_vwan_name str
    azure_vwan_resourcegroup str
    azure_vwan_vpnsite str
    bigip_gw_ip str
    (type string) provides IP address of BIGIP G/W for IPSec Endpoint.
    hub_address_space str
    (type string) Provides IP Address space used on vWAN Hub.
    hub_connected_subnets Sequence[str]
    (type list) Provides Subnets connected to vWAN Hub.
    id str
    The provider-assigned unique ID for this managed resource.
    preshared_key str
    (type string) provides pre-shared-key used for IPSec Tunnel creation.
    vwan_gw_addresses Sequence[str]
    (type list) Provides vWAN Gateway Address for IPSec End point
    azureVwanName String
    azureVwanResourcegroup String
    azureVwanVpnsite String
    bigipGwIp String
    (type string) provides IP address of BIGIP G/W for IPSec Endpoint.
    hubAddressSpace String
    (type string) Provides IP Address space used on vWAN Hub.
    hubConnectedSubnets List<String>
    (type list) Provides Subnets connected to vWAN Hub.
    id String
    The provider-assigned unique ID for this managed resource.
    presharedKey String
    (type string) provides pre-shared-key used for IPSec Tunnel creation.
    vwanGwAddresses List<String>
    (type list) Provides vWAN Gateway Address for IPSec End point

    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.4 published on Wednesday, Sep 11, 2024 by Pulumi