1. Packages
  2. Azure Native v2
  3. API Docs
  4. eventhub
  5. listDisasterRecoveryConfigKeys
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.eventhub.listDisasterRecoveryConfigKeys

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the primary and secondary connection strings for the Namespace. Azure REST API version: 2022-10-01-preview.

Other available API versions: 2023-01-01-preview, 2024-01-01, 2024-05-01-preview.

Using listDisasterRecoveryConfigKeys

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 listDisasterRecoveryConfigKeys(args: ListDisasterRecoveryConfigKeysArgs, opts?: InvokeOptions): Promise<ListDisasterRecoveryConfigKeysResult>
function listDisasterRecoveryConfigKeysOutput(args: ListDisasterRecoveryConfigKeysOutputArgs, opts?: InvokeOptions): Output<ListDisasterRecoveryConfigKeysResult>
Copy
def list_disaster_recovery_config_keys(alias: Optional[str] = None,
                                       authorization_rule_name: Optional[str] = None,
                                       namespace_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> ListDisasterRecoveryConfigKeysResult
def list_disaster_recovery_config_keys_output(alias: Optional[pulumi.Input[str]] = None,
                                       authorization_rule_name: Optional[pulumi.Input[str]] = None,
                                       namespace_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[ListDisasterRecoveryConfigKeysResult]
Copy
func ListDisasterRecoveryConfigKeys(ctx *Context, args *ListDisasterRecoveryConfigKeysArgs, opts ...InvokeOption) (*ListDisasterRecoveryConfigKeysResult, error)
func ListDisasterRecoveryConfigKeysOutput(ctx *Context, args *ListDisasterRecoveryConfigKeysOutputArgs, opts ...InvokeOption) ListDisasterRecoveryConfigKeysResultOutput
Copy

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

public static class ListDisasterRecoveryConfigKeys 
{
    public static Task<ListDisasterRecoveryConfigKeysResult> InvokeAsync(ListDisasterRecoveryConfigKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListDisasterRecoveryConfigKeysResult> Invoke(ListDisasterRecoveryConfigKeysInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListDisasterRecoveryConfigKeysResult> listDisasterRecoveryConfigKeys(ListDisasterRecoveryConfigKeysArgs args, InvokeOptions options)
public static Output<ListDisasterRecoveryConfigKeysResult> listDisasterRecoveryConfigKeys(ListDisasterRecoveryConfigKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:eventhub:listDisasterRecoveryConfigKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Alias
This property is required.
Changes to this property will trigger replacement.
string
The Disaster Recovery configuration name
AuthorizationRuleName
This property is required.
Changes to this property will trigger replacement.
string
The authorization rule name.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
The Namespace name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the azure subscription.
Alias
This property is required.
Changes to this property will trigger replacement.
string
The Disaster Recovery configuration name
AuthorizationRuleName
This property is required.
Changes to this property will trigger replacement.
string
The authorization rule name.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
The Namespace name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the azure subscription.
alias
This property is required.
Changes to this property will trigger replacement.
String
The Disaster Recovery configuration name
authorizationRuleName
This property is required.
Changes to this property will trigger replacement.
String
The authorization rule name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
The Namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group within the azure subscription.
alias
This property is required.
Changes to this property will trigger replacement.
string
The Disaster Recovery configuration name
authorizationRuleName
This property is required.
Changes to this property will trigger replacement.
string
The authorization rule name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
string
The Namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the azure subscription.
alias
This property is required.
Changes to this property will trigger replacement.
str
The Disaster Recovery configuration name
authorization_rule_name
This property is required.
Changes to this property will trigger replacement.
str
The authorization rule name.
namespace_name
This property is required.
Changes to this property will trigger replacement.
str
The Namespace name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group within the azure subscription.
alias
This property is required.
Changes to this property will trigger replacement.
String
The Disaster Recovery configuration name
authorizationRuleName
This property is required.
Changes to this property will trigger replacement.
String
The authorization rule name.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
The Namespace name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group within the azure subscription.

listDisasterRecoveryConfigKeys Result

The following output properties are available:

AliasPrimaryConnectionString string
Primary connection string of the alias if GEO DR is enabled
AliasSecondaryConnectionString string
Secondary connection string of the alias if GEO DR is enabled
KeyName string
A string that describes the AuthorizationRule.
PrimaryConnectionString string
Primary connection string of the created namespace AuthorizationRule.
PrimaryKey string
A base64-encoded 256-bit primary key for signing and validating the SAS token.
SecondaryConnectionString string
Secondary connection string of the created namespace AuthorizationRule.
SecondaryKey string
A base64-encoded 256-bit primary key for signing and validating the SAS token.
AliasPrimaryConnectionString string
Primary connection string of the alias if GEO DR is enabled
AliasSecondaryConnectionString string
Secondary connection string of the alias if GEO DR is enabled
KeyName string
A string that describes the AuthorizationRule.
PrimaryConnectionString string
Primary connection string of the created namespace AuthorizationRule.
PrimaryKey string
A base64-encoded 256-bit primary key for signing and validating the SAS token.
SecondaryConnectionString string
Secondary connection string of the created namespace AuthorizationRule.
SecondaryKey string
A base64-encoded 256-bit primary key for signing and validating the SAS token.
aliasPrimaryConnectionString String
Primary connection string of the alias if GEO DR is enabled
aliasSecondaryConnectionString String
Secondary connection string of the alias if GEO DR is enabled
keyName String
A string that describes the AuthorizationRule.
primaryConnectionString String
Primary connection string of the created namespace AuthorizationRule.
primaryKey String
A base64-encoded 256-bit primary key for signing and validating the SAS token.
secondaryConnectionString String
Secondary connection string of the created namespace AuthorizationRule.
secondaryKey String
A base64-encoded 256-bit primary key for signing and validating the SAS token.
aliasPrimaryConnectionString string
Primary connection string of the alias if GEO DR is enabled
aliasSecondaryConnectionString string
Secondary connection string of the alias if GEO DR is enabled
keyName string
A string that describes the AuthorizationRule.
primaryConnectionString string
Primary connection string of the created namespace AuthorizationRule.
primaryKey string
A base64-encoded 256-bit primary key for signing and validating the SAS token.
secondaryConnectionString string
Secondary connection string of the created namespace AuthorizationRule.
secondaryKey string
A base64-encoded 256-bit primary key for signing and validating the SAS token.
alias_primary_connection_string str
Primary connection string of the alias if GEO DR is enabled
alias_secondary_connection_string str
Secondary connection string of the alias if GEO DR is enabled
key_name str
A string that describes the AuthorizationRule.
primary_connection_string str
Primary connection string of the created namespace AuthorizationRule.
primary_key str
A base64-encoded 256-bit primary key for signing and validating the SAS token.
secondary_connection_string str
Secondary connection string of the created namespace AuthorizationRule.
secondary_key str
A base64-encoded 256-bit primary key for signing and validating the SAS token.
aliasPrimaryConnectionString String
Primary connection string of the alias if GEO DR is enabled
aliasSecondaryConnectionString String
Secondary connection string of the alias if GEO DR is enabled
keyName String
A string that describes the AuthorizationRule.
primaryConnectionString String
Primary connection string of the created namespace AuthorizationRule.
primaryKey String
A base64-encoded 256-bit primary key for signing and validating the SAS token.
secondaryConnectionString String
Secondary connection string of the created namespace AuthorizationRule.
secondaryKey String
A base64-encoded 256-bit primary key for signing and validating the SAS token.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi