This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.servicebus.listNamespaceKeys
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Gets the primary and secondary connection strings for the namespace.
Uses Azure REST API version 2022-01-01-preview.
Other available API versions: 2022-10-01-preview, 2023-01-01-preview, 2024-01-01.
Using listNamespaceKeys
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 listNamespaceKeys(args: ListNamespaceKeysArgs, opts?: InvokeOptions): Promise<ListNamespaceKeysResult>
function listNamespaceKeysOutput(args: ListNamespaceKeysOutputArgs, opts?: InvokeOptions): Output<ListNamespaceKeysResult>def list_namespace_keys(authorization_rule_name: Optional[str] = None,
                        namespace_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> ListNamespaceKeysResult
def list_namespace_keys_output(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[ListNamespaceKeysResult]func ListNamespaceKeys(ctx *Context, args *ListNamespaceKeysArgs, opts ...InvokeOption) (*ListNamespaceKeysResult, error)
func ListNamespaceKeysOutput(ctx *Context, args *ListNamespaceKeysOutputArgs, opts ...InvokeOption) ListNamespaceKeysResultOutput> Note: This function is named ListNamespaceKeys in the Go SDK.
public static class ListNamespaceKeys 
{
    public static Task<ListNamespaceKeysResult> InvokeAsync(ListNamespaceKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListNamespaceKeysResult> Invoke(ListNamespaceKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListNamespaceKeysResult> listNamespaceKeys(ListNamespaceKeysArgs args, InvokeOptions options)
public static Output<ListNamespaceKeysResult> listNamespaceKeys(ListNamespaceKeysArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:servicebus:listNamespaceKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- string
- The authorization rule name.
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- string
- The authorization rule name.
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- String
- The authorization rule name.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- string
- The authorization rule name.
- namespaceName string
- The namespace name
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- str
- The authorization rule name.
- namespace_name str
- The namespace name
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- String
- The authorization rule name.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
listNamespaceKeys Result
The following output properties are available:
- AliasPrimary stringConnection String 
- Primary connection string of the alias if GEO DR is enabled
- AliasSecondary stringConnection String 
- Secondary connection string of the alias if GEO DR is enabled
- KeyName string
- A string that describes the authorization rule.
- PrimaryConnection stringString 
- Primary connection string of the created namespace authorization rule.
- PrimaryKey string
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- SecondaryConnection stringString 
- Secondary connection string of the created namespace authorization rule.
- SecondaryKey string
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- AliasPrimary stringConnection String 
- Primary connection string of the alias if GEO DR is enabled
- AliasSecondary stringConnection String 
- Secondary connection string of the alias if GEO DR is enabled
- KeyName string
- A string that describes the authorization rule.
- PrimaryConnection stringString 
- Primary connection string of the created namespace authorization rule.
- PrimaryKey string
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- SecondaryConnection stringString 
- Secondary connection string of the created namespace authorization rule.
- SecondaryKey string
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- aliasPrimary StringConnection String 
- Primary connection string of the alias if GEO DR is enabled
- aliasSecondary StringConnection String 
- Secondary connection string of the alias if GEO DR is enabled
- keyName String
- A string that describes the authorization rule.
- primaryConnection StringString 
- Primary connection string of the created namespace authorization rule.
- primaryKey String
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondaryConnection StringString 
- Secondary connection string of the created namespace authorization rule.
- secondaryKey String
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- aliasPrimary stringConnection String 
- Primary connection string of the alias if GEO DR is enabled
- aliasSecondary stringConnection String 
- Secondary connection string of the alias if GEO DR is enabled
- keyName string
- A string that describes the authorization rule.
- primaryConnection stringString 
- Primary connection string of the created namespace authorization rule.
- primaryKey string
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondaryConnection stringString 
- Secondary connection string of the created namespace authorization rule.
- secondaryKey string
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- alias_primary_ strconnection_ string 
- Primary connection string of the alias if GEO DR is enabled
- alias_secondary_ strconnection_ string 
- Secondary connection string of the alias if GEO DR is enabled
- key_name str
- A string that describes the authorization rule.
- primary_connection_ strstring 
- Primary connection string of the created namespace authorization rule.
- primary_key str
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondary_connection_ strstring 
- Secondary connection string of the created namespace authorization rule.
- secondary_key str
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- aliasPrimary StringConnection String 
- Primary connection string of the alias if GEO DR is enabled
- aliasSecondary StringConnection String 
- Secondary connection string of the alias if GEO DR is enabled
- keyName String
- A string that describes the authorization rule.
- primaryConnection StringString 
- Primary connection string of the created namespace authorization rule.
- primaryKey String
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondaryConnection StringString 
- Secondary connection string of the created namespace authorization rule.
- secondaryKey String
- A base64-encoded 256-bit primary key for signing and validating the SAS token.
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 v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi