Initializes a new instance of the CommunicationRelayClient class.
Connection string to connect to an Azure Communication Service resource. Example: "endpoint=https://contoso.eastus.communications.azure.net/;accesskey=secret";
Optional. Options to configure the HTTP pipeline.
Initializes a new instance of the CommunicationRelayClient class using an Azure KeyCredential.
The endpoint of the service (ex: https://contoso.eastus.communications.azure.net).
An object that is used to authenticate requests to the service. Use the AzureKeyCredential or @azure/identity
to create a credential.
Optional. Options to configure the HTTP pipeline.
Initializes a new instance of the CommunicationRelayClient class using a TokenCredential.
The endpoint of the service (ex: https://contoso.eastus.communications.azure.net).
An object that is used to authenticate requests to the service. Use the AzureKeyCredential or @azure/identity
to create a credential.
Optional. Options to configure the HTTP pipeline.
Gets a TURN credential for a user
Additional options for the request.
Gets a TURN credential for a user
The specified routeType for the relay request
Additional options for the request.
Gets a TURN credential for a user
The user for whom to issue a token
The specified routeType for the relay request
Additional options for the request.
Generated using TypeDoc
Client class for the Azure Communication Services Relay client.