1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. listVpnLinkConnectionDefaultSharedKey
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi

azure-native.network.listVpnLinkConnectionDefaultSharedKey

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi

Gets the value of the shared key of VpnLink connection specified. Azure REST API version: 2024-03-01.

Other available API versions: 2024-05-01.

Using listVpnLinkConnectionDefaultSharedKey

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 listVpnLinkConnectionDefaultSharedKey(args: ListVpnLinkConnectionDefaultSharedKeyArgs, opts?: InvokeOptions): Promise<ListVpnLinkConnectionDefaultSharedKeyResult>
function listVpnLinkConnectionDefaultSharedKeyOutput(args: ListVpnLinkConnectionDefaultSharedKeyOutputArgs, opts?: InvokeOptions): Output<ListVpnLinkConnectionDefaultSharedKeyResult>
Copy
def list_vpn_link_connection_default_shared_key(connection_name: Optional[str] = None,
                                                gateway_name: Optional[str] = None,
                                                link_connection_name: Optional[str] = None,
                                                resource_group_name: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> ListVpnLinkConnectionDefaultSharedKeyResult
def list_vpn_link_connection_default_shared_key_output(connection_name: Optional[pulumi.Input[str]] = None,
                                                gateway_name: Optional[pulumi.Input[str]] = None,
                                                link_connection_name: Optional[pulumi.Input[str]] = None,
                                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[ListVpnLinkConnectionDefaultSharedKeyResult]
Copy
func ListVpnLinkConnectionDefaultSharedKey(ctx *Context, args *ListVpnLinkConnectionDefaultSharedKeyArgs, opts ...InvokeOption) (*ListVpnLinkConnectionDefaultSharedKeyResult, error)
func ListVpnLinkConnectionDefaultSharedKeyOutput(ctx *Context, args *ListVpnLinkConnectionDefaultSharedKeyOutputArgs, opts ...InvokeOption) ListVpnLinkConnectionDefaultSharedKeyResultOutput
Copy

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

public static class ListVpnLinkConnectionDefaultSharedKey 
{
    public static Task<ListVpnLinkConnectionDefaultSharedKeyResult> InvokeAsync(ListVpnLinkConnectionDefaultSharedKeyArgs args, InvokeOptions? opts = null)
    public static Output<ListVpnLinkConnectionDefaultSharedKeyResult> Invoke(ListVpnLinkConnectionDefaultSharedKeyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListVpnLinkConnectionDefaultSharedKeyResult> listVpnLinkConnectionDefaultSharedKey(ListVpnLinkConnectionDefaultSharedKeyArgs args, InvokeOptions options)
public static Output<ListVpnLinkConnectionDefaultSharedKeyResult> listVpnLinkConnectionDefaultSharedKey(ListVpnLinkConnectionDefaultSharedKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:listVpnLinkConnectionDefaultSharedKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn connection.
GatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gateway.
LinkConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn link connection.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn connection.
GatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gateway.
LinkConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn link connection.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
connectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vpn connection.
gatewayName
This property is required.
Changes to this property will trigger replacement.
String
The name of the gateway.
linkConnectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vpn link connection.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
connectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn connection.
gatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gateway.
linkConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn link connection.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
connection_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the vpn connection.
gateway_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the gateway.
link_connection_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the vpn link connection.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
connectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vpn connection.
gatewayName
This property is required.
Changes to this property will trigger replacement.
String
The name of the gateway.
linkConnectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vpn link connection.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

listVpnLinkConnectionDefaultSharedKey Result

The following output properties are available:

Properties Pulumi.AzureNative.Network.Outputs.SharedKeyPropertiesResponse
Properties of the shared key.
Type string
Resource type.
Id string
Resource ID.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
Properties SharedKeyPropertiesResponse
Properties of the shared key.
Type string
Resource type.
Id string
Resource ID.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
properties SharedKeyPropertiesResponse
Properties of the shared key.
type String
Resource type.
id String
Resource ID.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
properties SharedKeyPropertiesResponse
Properties of the shared key.
type string
Resource type.
id string
Resource ID.
name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
properties SharedKeyPropertiesResponse
Properties of the shared key.
type str
Resource type.
id str
Resource ID.
name str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
properties Property Map
Properties of the shared key.
type String
Resource type.
id String
Resource ID.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.

Supporting Types

SharedKeyPropertiesResponse

ProvisioningState This property is required. string
The provisioning state of the SharedKey resource.
SharedKey string
The value of the shared key for the vpn link connection.
SharedKeyLength int
The length of the shared key for the vpn link connection.
ProvisioningState This property is required. string
The provisioning state of the SharedKey resource.
SharedKey string
The value of the shared key for the vpn link connection.
SharedKeyLength int
The length of the shared key for the vpn link connection.
provisioningState This property is required. String
The provisioning state of the SharedKey resource.
sharedKey String
The value of the shared key for the vpn link connection.
sharedKeyLength Integer
The length of the shared key for the vpn link connection.
provisioningState This property is required. string
The provisioning state of the SharedKey resource.
sharedKey string
The value of the shared key for the vpn link connection.
sharedKeyLength number
The length of the shared key for the vpn link connection.
provisioning_state This property is required. str
The provisioning state of the SharedKey resource.
shared_key str
The value of the shared key for the vpn link connection.
shared_key_length int
The length of the shared key for the vpn link connection.
provisioningState This property is required. String
The provisioning state of the SharedKey resource.
sharedKey String
The value of the shared key for the vpn link connection.
sharedKeyLength Number
The length of the shared key for the vpn link connection.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi