예제 #1
0
 /// <summary> Initializes a new instance of PhoneNumbersClient. </summary>
 /// <param name="clientDiagnostics"> The handler for diagnostic messaging in the client. </param>
 /// <param name="pipeline"> The HTTP pipeline for sending and receiving REST requests and responses. </param>
 /// <param name="endpoint"> The communication resource, for example https://resourcename.communication.azure.com. </param>
 /// <param name="apiVersion"> Api Version. </param>
 private PhoneNumbersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2021-03-07")
 {
     RestClient         = new InternalPhoneNumbersRestClient(clientDiagnostics, pipeline, endpoint, apiVersion);
     _clientDiagnostics = clientDiagnostics;
     _pipeline          = pipeline;
 }
 internal InternalPhoneNumbersClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2022-01-11-preview2")
 {
     RestClient         = new InternalPhoneNumbersRestClient(clientDiagnostics, pipeline, endpoint, apiVersion);
     _clientDiagnostics = clientDiagnostics;
     _pipeline          = pipeline;
 }