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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.communication.listCommunicationServiceKeys
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get the access keys of the CommunicationService resource. Azure REST API version: 2023-03-31.
Other available API versions: 2023-04-01, 2023-04-01-preview, 2023-06-01-preview, 2024-09-01-preview.
Using listCommunicationServiceKeys
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 listCommunicationServiceKeys(args: ListCommunicationServiceKeysArgs, opts?: InvokeOptions): Promise<ListCommunicationServiceKeysResult>
function listCommunicationServiceKeysOutput(args: ListCommunicationServiceKeysOutputArgs, opts?: InvokeOptions): Output<ListCommunicationServiceKeysResult>def list_communication_service_keys(communication_service_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> ListCommunicationServiceKeysResult
def list_communication_service_keys_output(communication_service_name: Optional[pulumi.Input[str]] = None,
                                    resource_group_name: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[ListCommunicationServiceKeysResult]func ListCommunicationServiceKeys(ctx *Context, args *ListCommunicationServiceKeysArgs, opts ...InvokeOption) (*ListCommunicationServiceKeysResult, error)
func ListCommunicationServiceKeysOutput(ctx *Context, args *ListCommunicationServiceKeysOutputArgs, opts ...InvokeOption) ListCommunicationServiceKeysResultOutput> Note: This function is named ListCommunicationServiceKeys in the Go SDK.
public static class ListCommunicationServiceKeys 
{
    public static Task<ListCommunicationServiceKeysResult> InvokeAsync(ListCommunicationServiceKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListCommunicationServiceKeysResult> Invoke(ListCommunicationServiceKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListCommunicationServiceKeysResult> listCommunicationServiceKeys(ListCommunicationServiceKeysArgs args, InvokeOptions options)
public static Output<ListCommunicationServiceKeysResult> listCommunicationServiceKeys(ListCommunicationServiceKeysArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:communication:listCommunicationServiceKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CommunicationService stringName 
- The name of the CommunicationService resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- CommunicationService stringName 
- The name of the CommunicationService resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- communicationService StringName 
- The name of the CommunicationService resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- communicationService stringName 
- The name of the CommunicationService resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- communication_service_ strname 
- The name of the CommunicationService resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- communicationService StringName 
- The name of the CommunicationService resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
listCommunicationServiceKeys Result
The following output properties are available:
- PrimaryConnection stringString 
- CommunicationService connection string constructed via the primaryKey
- PrimaryKey string
- The primary access key.
- SecondaryConnection stringString 
- CommunicationService connection string constructed via the secondaryKey
- SecondaryKey string
- The secondary access key.
- PrimaryConnection stringString 
- CommunicationService connection string constructed via the primaryKey
- PrimaryKey string
- The primary access key.
- SecondaryConnection stringString 
- CommunicationService connection string constructed via the secondaryKey
- SecondaryKey string
- The secondary access key.
- primaryConnection StringString 
- CommunicationService connection string constructed via the primaryKey
- primaryKey String
- The primary access key.
- secondaryConnection StringString 
- CommunicationService connection string constructed via the secondaryKey
- secondaryKey String
- The secondary access key.
- primaryConnection stringString 
- CommunicationService connection string constructed via the primaryKey
- primaryKey string
- The primary access key.
- secondaryConnection stringString 
- CommunicationService connection string constructed via the secondaryKey
- secondaryKey string
- The secondary access key.
- primary_connection_ strstring 
- CommunicationService connection string constructed via the primaryKey
- primary_key str
- The primary access key.
- secondary_connection_ strstring 
- CommunicationService connection string constructed via the secondaryKey
- secondary_key str
- The secondary access key.
- primaryConnection StringString 
- CommunicationService connection string constructed via the primaryKey
- primaryKey String
- The primary access key.
- secondaryConnection StringString 
- CommunicationService 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
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi