1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. network
  6. getVirtualNetworkGatewayVpnProfilePackageUrl
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v2.90.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v2.90.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.

    Uses Azure REST API version 2023-02-01.

    Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

    Using getVirtualNetworkGatewayVpnProfilePackageUrl

    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 getVirtualNetworkGatewayVpnProfilePackageUrl(args: GetVirtualNetworkGatewayVpnProfilePackageUrlArgs, opts?: InvokeOptions): Promise<GetVirtualNetworkGatewayVpnProfilePackageUrlResult>
    function getVirtualNetworkGatewayVpnProfilePackageUrlOutput(args: GetVirtualNetworkGatewayVpnProfilePackageUrlOutputArgs, opts?: InvokeOptions): Output<GetVirtualNetworkGatewayVpnProfilePackageUrlResult>
    def get_virtual_network_gateway_vpn_profile_package_url(resource_group_name: Optional[str] = None,
                                                            virtual_network_gateway_name: Optional[str] = None,
                                                            opts: Optional[InvokeOptions] = None) -> GetVirtualNetworkGatewayVpnProfilePackageUrlResult
    def get_virtual_network_gateway_vpn_profile_package_url_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                                            virtual_network_gateway_name: Optional[pulumi.Input[str]] = None,
                                                            opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNetworkGatewayVpnProfilePackageUrlResult]
    func GetVirtualNetworkGatewayVpnProfilePackageUrl(ctx *Context, args *GetVirtualNetworkGatewayVpnProfilePackageUrlArgs, opts ...InvokeOption) (*GetVirtualNetworkGatewayVpnProfilePackageUrlResult, error)
    func GetVirtualNetworkGatewayVpnProfilePackageUrlOutput(ctx *Context, args *GetVirtualNetworkGatewayVpnProfilePackageUrlOutputArgs, opts ...InvokeOption) GetVirtualNetworkGatewayVpnProfilePackageUrlResultOutput

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

    public static class GetVirtualNetworkGatewayVpnProfilePackageUrl 
    {
        public static Task<GetVirtualNetworkGatewayVpnProfilePackageUrlResult> InvokeAsync(GetVirtualNetworkGatewayVpnProfilePackageUrlArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualNetworkGatewayVpnProfilePackageUrlResult> Invoke(GetVirtualNetworkGatewayVpnProfilePackageUrlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVirtualNetworkGatewayVpnProfilePackageUrlResult> getVirtualNetworkGatewayVpnProfilePackageUrl(GetVirtualNetworkGatewayVpnProfilePackageUrlArgs args, InvokeOptions options)
    public static Output<GetVirtualNetworkGatewayVpnProfilePackageUrlResult> getVirtualNetworkGatewayVpnProfilePackageUrl(GetVirtualNetworkGatewayVpnProfilePackageUrlArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:network:getVirtualNetworkGatewayVpnProfilePackageUrl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group.
    VirtualNetworkGatewayName string
    The name of the virtual network gateway.
    ResourceGroupName string
    The name of the resource group.
    VirtualNetworkGatewayName string
    The name of the virtual network gateway.
    resourceGroupName String
    The name of the resource group.
    virtualNetworkGatewayName String
    The name of the virtual network gateway.
    resourceGroupName string
    The name of the resource group.
    virtualNetworkGatewayName string
    The name of the virtual network gateway.
    resource_group_name str
    The name of the resource group.
    virtual_network_gateway_name str
    The name of the virtual network gateway.
    resourceGroupName String
    The name of the resource group.
    virtualNetworkGatewayName String
    The name of the virtual network gateway.

    getVirtualNetworkGatewayVpnProfilePackageUrl Result

    The following output properties are available:

    Value string
    Value string
    value String
    value string
    value str
    value String

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v2.90.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial