azure-native.webpubsub.listWebPubSubKeys
Explore with Pulumi AI
Get the access keys of the resource.
Uses Azure REST API version 2024-03-01.
Other available API versions: 2023-02-01, 2023-03-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2024-01-01-preview, 2024-04-01-preview, 2024-08-01-preview, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native webpubsub [ApiVersion]
. See the version guide for details.
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)
public static Output<ListWebPubSubKeysResult> listWebPubSubKeys(ListWebPubSubKeysArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:webpubsub:listWebPubSubKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the resource.
listWebPubSubKeys Result
The following output properties are available:
- Primary
Connection stringString - Connection string constructed via the primaryKey
- Primary
Key string - The primary access key.
- Secondary
Connection stringString - Connection string constructed via the secondaryKey
- Secondary
Key string - The secondary access key.
- Primary
Connection stringString - Connection string constructed via the primaryKey
- Primary
Key string - The primary access key.
- Secondary
Connection stringString - Connection string constructed via the secondaryKey
- Secondary
Key string - The secondary access key.
- primary
Connection StringString - Connection string constructed via the primaryKey
- primary
Key String - The primary access key.
- secondary
Connection StringString - Connection string constructed via the secondaryKey
- secondary
Key String - The secondary access key.
- primary
Connection stringString - Connection string constructed via the primaryKey
- primary
Key string - The primary access key.
- secondary
Connection stringString - Connection string constructed via the secondaryKey
- secondary
Key string - The secondary access key.
- primary_
connection_ strstring - Connection string constructed via the primaryKey
- primary_
key str - The primary access key.
- secondary_
connection_ strstring - Connection string constructed via the secondaryKey
- secondary_
key str - The secondary access key.
- primary
Connection StringString - Connection string constructed via the primaryKey
- primary
Key String - The primary access key.
- secondary
Connection StringString - Connection string constructed via the secondaryKey
- secondary
Key String - The secondary access key.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0