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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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.
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:
- Communication
Service stringName - The name of the CommunicationService resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Communication
Service stringName - The name of the CommunicationService resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- communication
Service StringName - The name of the CommunicationService resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- communication
Service stringName - The name of the CommunicationService resource.
- resource
Group 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.
- communication
Service StringName - The name of the CommunicationService resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
listCommunicationServiceKeys Result
The following output properties are available:
- Primary
Connection stringString - CommunicationService connection string constructed via the primaryKey
- Primary
Key string - The primary access key.
- Secondary
Connection stringString - CommunicationService connection string constructed via the secondaryKey
- Secondary
Key string - The secondary access key.
- Primary
Connection stringString - CommunicationService connection string constructed via the primaryKey
- Primary
Key string - The primary access key.
- Secondary
Connection stringString - CommunicationService connection string constructed via the secondaryKey
- Secondary
Key string - The secondary access key.
- primary
Connection StringString - CommunicationService connection string constructed via the primaryKey
- primary
Key String - The primary access key.
- secondary
Connection StringString - CommunicationService connection string constructed via the secondaryKey
- secondary
Key String - The secondary access key.
- primary
Connection stringString - CommunicationService connection string constructed via the primaryKey
- primary
Key string - The primary access key.
- secondary
Connection stringString - CommunicationService connection string constructed via the secondaryKey
- secondary
Key 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.
- primary
Connection StringString - CommunicationService connection string constructed via the primaryKey
- primary
Key String - The primary access key.
- secondary
Connection StringString - CommunicationService 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
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi