1. Packages
  2. Azure Native
  3. API Docs
  4. eventgrid
  5. listNamespaceSharedAccessKeys
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.eventgrid.listNamespaceSharedAccessKeys

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    List the two keys used to publish to a namespace. Azure REST API version: 2023-06-01-preview.

    Other available API versions: 2023-12-15-preview, 2024-06-01-preview.

    Using listNamespaceSharedAccessKeys

    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 listNamespaceSharedAccessKeys(args: ListNamespaceSharedAccessKeysArgs, opts?: InvokeOptions): Promise<ListNamespaceSharedAccessKeysResult>
    function listNamespaceSharedAccessKeysOutput(args: ListNamespaceSharedAccessKeysOutputArgs, opts?: InvokeOptions): Output<ListNamespaceSharedAccessKeysResult>
    def list_namespace_shared_access_keys(namespace_name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> ListNamespaceSharedAccessKeysResult
    def list_namespace_shared_access_keys_output(namespace_name: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[ListNamespaceSharedAccessKeysResult]
    func ListNamespaceSharedAccessKeys(ctx *Context, args *ListNamespaceSharedAccessKeysArgs, opts ...InvokeOption) (*ListNamespaceSharedAccessKeysResult, error)
    func ListNamespaceSharedAccessKeysOutput(ctx *Context, args *ListNamespaceSharedAccessKeysOutputArgs, opts ...InvokeOption) ListNamespaceSharedAccessKeysResultOutput

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

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

    The following arguments are supported:

    NamespaceName string
    Name of the namespace.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    NamespaceName string
    Name of the namespace.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    namespaceName String
    Name of the namespace.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    namespaceName string
    Name of the namespace.
    resourceGroupName string
    The name of the resource group within the user's subscription.
    namespace_name str
    Name of the namespace.
    resource_group_name str
    The name of the resource group within the user's subscription.
    namespaceName String
    Name of the namespace.
    resourceGroupName String
    The name of the resource group within the user's subscription.

    listNamespaceSharedAccessKeys Result

    The following output properties are available:

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi