1. Packages
  2. Azure Native
  3. API Docs
  4. eventgrid
  5. listNamespaceTopicSharedAccessKeys
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.eventgrid.listNamespaceTopicSharedAccessKeys

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 v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

List the two keys used to publish to a namespace topic.

Uses Azure REST API version 2025-02-15.

Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native eventgrid [ApiVersion]. See the version guide for details.

Using listNamespaceTopicSharedAccessKeys

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 listNamespaceTopicSharedAccessKeys(args: ListNamespaceTopicSharedAccessKeysArgs, opts?: InvokeOptions): Promise<ListNamespaceTopicSharedAccessKeysResult>
function listNamespaceTopicSharedAccessKeysOutput(args: ListNamespaceTopicSharedAccessKeysOutputArgs, opts?: InvokeOptions): Output<ListNamespaceTopicSharedAccessKeysResult>
Copy
def list_namespace_topic_shared_access_keys(namespace_name: Optional[str] = None,
                                            resource_group_name: Optional[str] = None,
                                            topic_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> ListNamespaceTopicSharedAccessKeysResult
def list_namespace_topic_shared_access_keys_output(namespace_name: Optional[pulumi.Input[str]] = None,
                                            resource_group_name: Optional[pulumi.Input[str]] = None,
                                            topic_name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[ListNamespaceTopicSharedAccessKeysResult]
Copy
func ListNamespaceTopicSharedAccessKeys(ctx *Context, args *ListNamespaceTopicSharedAccessKeysArgs, opts ...InvokeOption) (*ListNamespaceTopicSharedAccessKeysResult, error)
func ListNamespaceTopicSharedAccessKeysOutput(ctx *Context, args *ListNamespaceTopicSharedAccessKeysOutputArgs, opts ...InvokeOption) ListNamespaceTopicSharedAccessKeysResultOutput
Copy

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

public static class ListNamespaceTopicSharedAccessKeys 
{
    public static Task<ListNamespaceTopicSharedAccessKeysResult> InvokeAsync(ListNamespaceTopicSharedAccessKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListNamespaceTopicSharedAccessKeysResult> Invoke(ListNamespaceTopicSharedAccessKeysInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListNamespaceTopicSharedAccessKeysResult> listNamespaceTopicSharedAccessKeys(ListNamespaceTopicSharedAccessKeysArgs args, InvokeOptions options)
public static Output<ListNamespaceTopicSharedAccessKeysResult> listNamespaceTopicSharedAccessKeys(ListNamespaceTopicSharedAccessKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:eventgrid:listNamespaceTopicSharedAccessKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
TopicName
This property is required.
Changes to this property will trigger replacement.
string
Name of the topic.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
TopicName
This property is required.
Changes to this property will trigger replacement.
string
Name of the topic.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription.
topicName
This property is required.
Changes to this property will trigger replacement.
String
Name of the topic.
namespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
topicName
This property is required.
Changes to this property will trigger replacement.
string
Name of the topic.
namespace_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the namespace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription.
topic_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the topic.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription.
topicName
This property is required.
Changes to this property will trigger replacement.
String
Name of the topic.

listNamespaceTopicSharedAccessKeys Result

The following output properties are available:

Key1 string
Shared access key1 for the topic.
Key2 string
Shared access key2 for the topic.
Key1 string
Shared access key1 for the topic.
Key2 string
Shared access key2 for the topic.
key1 String
Shared access key1 for the topic.
key2 String
Shared access key2 for the topic.
key1 string
Shared access key1 for the topic.
key2 string
Shared access key2 for the topic.
key1 str
Shared access key1 for the topic.
key2 str
Shared access key2 for the topic.
key1 String
Shared access key1 for the topic.
key2 String
Shared access key2 for the topic.

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 v3.2.0 published on Monday, Apr 14, 2025 by Pulumi