Class CommunicationRelayClient
- java.lang.Object
-
- com.azure.communication.networktraversal.CommunicationRelayClient
-
public final class CommunicationRelayClient extends Object
Synchronous client interface for Communication Service NetworkTraversal operationsInstantiating a synchronous CommunicationRelayClient
// You can find your endpoint and access key from your resource in the Azure Portal String endpoint = "https://<RESOURCE_NAME>.communication.azure.com"; AzureKeyCredential keyCredential = new AzureKeyCredential("<access-key>"); CommunicationRelayClient communicationRelayClient = new CommunicationRelayClientBuilder() .endpoint(endpoint) .credential(keyCredential) .buildClient();
View
this
for additional ways to construct the client.- See Also:
CommunicationRelayClientBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunicationRelayConfiguration
getRelayConfiguration()
Gets a Relay Configuration.CommunicationRelayConfiguration
getRelayConfiguration(GetRelayConfigurationOptions options)
Gets a Relay Configuration for a CommunicationUserIdentifier.com.azure.core.http.rest.Response<CommunicationRelayConfiguration>
getRelayConfigurationWithResponse(GetRelayConfigurationOptions options, com.azure.core.util.Context context)
Gets a Relay Configuration with response.
-
-
-
Method Detail
-
getRelayConfiguration
public CommunicationRelayConfiguration getRelayConfiguration()
Gets a Relay Configuration.- Returns:
- The obtained Communication Relay Configuration
-
getRelayConfiguration
public CommunicationRelayConfiguration getRelayConfiguration(GetRelayConfigurationOptions options)
Gets a Relay Configuration for a CommunicationUserIdentifier.- Parameters:
options
- of the GetRelayConfigurationOptions request- Returns:
- The obtained Communication Relay Configuration
-
getRelayConfigurationWithResponse
public com.azure.core.http.rest.Response<CommunicationRelayConfiguration> getRelayConfigurationWithResponse(GetRelayConfigurationOptions options, com.azure.core.util.Context context)
Gets a Relay Configuration with response.- Parameters:
options
- of the GetRelayConfigurationOptions requestcontext
- AContext
representing the request context.- Returns:
- The obtained Communication Relay Configuration
-
-