1. Packages
  2. Azure Native v1
  3. API Docs
  4. communication
  5. listCommunicationServiceKeys
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.communication.listCommunicationServiceKeys

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

    Get the access keys of the CommunicationService resource. API Version: 2020-08-20.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:communication:listCommunicationServiceKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CommunicationServiceName string
    The name of the CommunicationService resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    CommunicationServiceName string
    The name of the CommunicationService resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    communicationServiceName String
    The name of the CommunicationService resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    communicationServiceName string
    The name of the CommunicationService resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    communication_service_name str
    The name of the CommunicationService resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    communicationServiceName String
    The name of the CommunicationService resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listCommunicationServiceKeys Result

    The following output properties are available:

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

    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