1. Packages
  2. Azure Native v1
  3. API Docs
  4. eventgrid
  5. listTopicSharedAccessKeys
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.eventgrid.listTopicSharedAccessKeys

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    List the two keys used to publish to a topic. API Version: 2020-06-01.

    Using listTopicSharedAccessKeys

    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 listTopicSharedAccessKeys(args: ListTopicSharedAccessKeysArgs, opts?: InvokeOptions): Promise<ListTopicSharedAccessKeysResult>
    function listTopicSharedAccessKeysOutput(args: ListTopicSharedAccessKeysOutputArgs, opts?: InvokeOptions): Output<ListTopicSharedAccessKeysResult>
    def list_topic_shared_access_keys(resource_group_name: Optional[str] = None,
                                      topic_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> ListTopicSharedAccessKeysResult
    def list_topic_shared_access_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                      topic_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[ListTopicSharedAccessKeysResult]
    func ListTopicSharedAccessKeys(ctx *Context, args *ListTopicSharedAccessKeysArgs, opts ...InvokeOption) (*ListTopicSharedAccessKeysResult, error)
    func ListTopicSharedAccessKeysOutput(ctx *Context, args *ListTopicSharedAccessKeysOutputArgs, opts ...InvokeOption) ListTopicSharedAccessKeysResultOutput

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

    public static class ListTopicSharedAccessKeys 
    {
        public static Task<ListTopicSharedAccessKeysResult> InvokeAsync(ListTopicSharedAccessKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListTopicSharedAccessKeysResult> Invoke(ListTopicSharedAccessKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListTopicSharedAccessKeysResult> listTopicSharedAccessKeys(ListTopicSharedAccessKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:eventgrid:listTopicSharedAccessKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group within the user's subscription.
    TopicName string
    Name of the topic.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    TopicName string
    Name of the topic.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    topicName String
    Name of the topic.
    resourceGroupName string
    The name of the resource group within the user's subscription.
    topicName string
    Name of the topic.
    resource_group_name str
    The name of the resource group within the user's subscription.
    topic_name str
    Name of the topic.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    topicName String
    Name of the topic.

    listTopicSharedAccessKeys 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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi