1. Packages
  2. Azure Native
  3. API Docs
  4. webpubsub
  5. listWebPubSubKeys
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.webpubsub.listWebPubSubKeys

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Get the access keys of the resource. Azure REST API version: 2023-02-01.

    Other available API versions: 2021-04-01-preview, 2021-06-01-preview, 2021-09-01-preview, 2023-03-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2024-01-01-preview, 2024-03-01, 2024-04-01-preview.

    Using listWebPubSubKeys

    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 listWebPubSubKeys(args: ListWebPubSubKeysArgs, opts?: InvokeOptions): Promise<ListWebPubSubKeysResult>
    function listWebPubSubKeysOutput(args: ListWebPubSubKeysOutputArgs, opts?: InvokeOptions): Output<ListWebPubSubKeysResult>
    def list_web_pub_sub_keys(resource_group_name: Optional[str] = None,
                              resource_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> ListWebPubSubKeysResult
    def list_web_pub_sub_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                              resource_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[ListWebPubSubKeysResult]
    func ListWebPubSubKeys(ctx *Context, args *ListWebPubSubKeysArgs, opts ...InvokeOption) (*ListWebPubSubKeysResult, error)
    func ListWebPubSubKeysOutput(ctx *Context, args *ListWebPubSubKeysOutputArgs, opts ...InvokeOption) ListWebPubSubKeysResultOutput

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

    public static class ListWebPubSubKeys 
    {
        public static Task<ListWebPubSubKeysResult> InvokeAsync(ListWebPubSubKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListWebPubSubKeysResult> Invoke(ListWebPubSubKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListWebPubSubKeysResult> listWebPubSubKeys(ListWebPubSubKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:webpubsub:listWebPubSubKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ResourceName string
    The name of the resource.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ResourceName string
    The name of the resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName String
    The name of the resource.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName string
    The name of the resource.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resource_name str
    The name of the resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName String
    The name of the resource.

    listWebPubSubKeys Result

    The following output properties are available:

    PrimaryConnectionString string
    Connection string constructed via the primaryKey
    PrimaryKey string
    The primary access key.
    SecondaryConnectionString string
    Connection string constructed via the secondaryKey
    SecondaryKey string
    The secondary access key.
    PrimaryConnectionString string
    Connection string constructed via the primaryKey
    PrimaryKey string
    The primary access key.
    SecondaryConnectionString string
    Connection string constructed via the secondaryKey
    SecondaryKey string
    The secondary access key.
    primaryConnectionString String
    Connection string constructed via the primaryKey
    primaryKey String
    The primary access key.
    secondaryConnectionString String
    Connection string constructed via the secondaryKey
    secondaryKey String
    The secondary access key.
    primaryConnectionString string
    Connection string constructed via the primaryKey
    primaryKey string
    The primary access key.
    secondaryConnectionString string
    Connection string constructed via the secondaryKey
    secondaryKey string
    The secondary access key.
    primary_connection_string str
    Connection string constructed via the primaryKey
    primary_key str
    The primary access key.
    secondary_connection_string str
    Connection string constructed via the secondaryKey
    secondary_key str
    The secondary access key.
    primaryConnectionString String
    Connection string constructed via the primaryKey
    primaryKey String
    The primary access key.
    secondaryConnectionString String
    Connection string constructed via the secondaryKey
    secondaryKey String
    The secondary access key.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi