@@ -292,27 +292,27 @@ public virtual Response GetConnections(string category, bool? includeAll, string
292292 /// <param name="cancellationToken"> The cancellation token to use. </param>
293293 /// <exception cref="ArgumentNullException"> <paramref name="connectionName"/> is null. </exception>
294294 /// <exception cref="ArgumentException"> <paramref name="connectionName"/> is an empty string, and was expected to be non-empty. </exception>
295- public virtual async Task < Response < GetConnectionResponse > > GetConnectionAsync ( string connectionName , CancellationToken cancellationToken = default )
295+ public virtual async Task < Response < ConnectionResponse > > GetConnectionAsync ( string connectionName , CancellationToken cancellationToken = default )
296296 {
297297 Argument . AssertNotNullOrEmpty ( connectionName , nameof ( connectionName ) ) ;
298298
299299 RequestContext context = FromCancellationToken ( cancellationToken ) ;
300300 Response response = await GetConnectionAsync ( connectionName , context ) . ConfigureAwait ( false ) ;
301- return Response . FromValue ( GetConnectionResponse . FromResponse ( response ) , response ) ;
301+ return Response . FromValue ( ConnectionResponse . FromResponse ( response ) , response ) ;
302302 }
303303
304304 /// <summary> Get the details of a single connection, without credentials. </summary>
305305 /// <param name="connectionName"> Connection Name. </param>
306306 /// <param name="cancellationToken"> The cancellation token to use. </param>
307307 /// <exception cref="ArgumentNullException"> <paramref name="connectionName"/> is null. </exception>
308308 /// <exception cref="ArgumentException"> <paramref name="connectionName"/> is an empty string, and was expected to be non-empty. </exception>
309- public virtual Response < GetConnectionResponse > GetConnection ( string connectionName , CancellationToken cancellationToken = default )
309+ public virtual Response < ConnectionResponse > GetConnection ( string connectionName , CancellationToken cancellationToken = default )
310310 {
311311 Argument . AssertNotNullOrEmpty ( connectionName , nameof ( connectionName ) ) ;
312312
313313 RequestContext context = FromCancellationToken ( cancellationToken ) ;
314314 Response response = GetConnection ( connectionName , context ) ;
315- return Response . FromValue ( GetConnectionResponse . FromResponse ( response ) , response ) ;
315+ return Response . FromValue ( ConnectionResponse . FromResponse ( response ) , response ) ;
316316 }
317317
318318 /// <summary>
@@ -399,15 +399,15 @@ public virtual Response GetConnection(string connectionName, RequestContext cont
399399 /// <param name="cancellationToken"> The cancellation token to use. </param>
400400 /// <exception cref="ArgumentNullException"> <paramref name="connectionName"/> or <paramref name="ignored"/> is null. </exception>
401401 /// <exception cref="ArgumentException"> <paramref name="connectionName"/> is an empty string, and was expected to be non-empty. </exception>
402- public virtual async Task < Response < GetConnectionResponse > > GetConnectionWithSecretsAsync ( string connectionName , string ignored , CancellationToken cancellationToken = default )
402+ public virtual async Task < Response < ConnectionResponse > > GetConnectionWithSecretsAsync ( string connectionName , string ignored , CancellationToken cancellationToken = default )
403403 {
404404 Argument . AssertNotNullOrEmpty ( connectionName , nameof ( connectionName ) ) ;
405405 Argument . AssertNotNull ( ignored , nameof ( ignored ) ) ;
406406
407407 GetConnectionWithSecretsRequest getConnectionWithSecretsRequest = new GetConnectionWithSecretsRequest ( ignored , null ) ;
408408 RequestContext context = FromCancellationToken ( cancellationToken ) ;
409409 Response response = await GetConnectionWithSecretsAsync ( connectionName , getConnectionWithSecretsRequest . ToRequestContent ( ) , context ) . ConfigureAwait ( false ) ;
410- return Response . FromValue ( GetConnectionResponse . FromResponse ( response ) , response ) ;
410+ return Response . FromValue ( ConnectionResponse . FromResponse ( response ) , response ) ;
411411 }
412412
413413 /// <summary> Get the details of a single connection, including credentials (if available). </summary>
@@ -416,15 +416,15 @@ public virtual async Task<Response<GetConnectionResponse>> GetConnectionWithSecr
416416 /// <param name="cancellationToken"> The cancellation token to use. </param>
417417 /// <exception cref="ArgumentNullException"> <paramref name="connectionName"/> or <paramref name="ignored"/> is null. </exception>
418418 /// <exception cref="ArgumentException"> <paramref name="connectionName"/> is an empty string, and was expected to be non-empty. </exception>
419- public virtual Response < GetConnectionResponse > GetConnectionWithSecrets ( string connectionName , string ignored , CancellationToken cancellationToken = default )
419+ public virtual Response < ConnectionResponse > GetConnectionWithSecrets ( string connectionName , string ignored , CancellationToken cancellationToken = default )
420420 {
421421 Argument . AssertNotNullOrEmpty ( connectionName , nameof ( connectionName ) ) ;
422422 Argument . AssertNotNull ( ignored , nameof ( ignored ) ) ;
423423
424424 GetConnectionWithSecretsRequest getConnectionWithSecretsRequest = new GetConnectionWithSecretsRequest ( ignored , null ) ;
425425 RequestContext context = FromCancellationToken ( cancellationToken ) ;
426426 Response response = GetConnectionWithSecrets ( connectionName , getConnectionWithSecretsRequest . ToRequestContent ( ) , context ) ;
427- return Response . FromValue ( GetConnectionResponse . FromResponse ( response ) , response ) ;
427+ return Response . FromValue ( ConnectionResponse . FromResponse ( response ) , response ) ;
428428 }
429429
430430 /// <summary>
@@ -515,7 +515,7 @@ public virtual Response GetConnectionWithSecrets(string connectionName, RequestC
515515 /// <param name="includeAll"> Indicates whether to list datastores. Service default: do not list datastores. </param>
516516 /// <param name="target"> Target of the workspace connection. </param>
517517 /// <param name="cancellationToken"> The cancellation token to use. </param>
518- public virtual async Task < Response < GetConnectionResponse > > GetDefaultConnectionAsync ( ConnectionType category , bool ? withCredential = null , bool ? includeAll = null , string target = null , CancellationToken cancellationToken = default )
518+ public virtual async Task < Response < ConnectionResponse > > GetDefaultConnectionAsync ( ConnectionType category , bool ? withCredential = null , bool ? includeAll = null , string target = null , CancellationToken cancellationToken = default )
519519 {
520520 ListConnectionsResponse connections = await GetConnectionsAsync ( category , includeAll , target , cancellationToken ) . ConfigureAwait ( false ) ;
521521
@@ -536,7 +536,7 @@ public virtual async Task<Response<GetConnectionResponse>> GetDefaultConnectionA
536536 /// <param name="includeAll"> Indicates whether to list datastores. Service default: do not list datastores. </param>
537537 /// <param name="target"> Target of the workspace connection. </param>
538538 /// <param name="cancellationToken"> The cancellation token to use. </param>
539- public virtual Response < GetConnectionResponse > GetDefaultConnection ( ConnectionType category , bool ? withCredential = null , bool ? includeAll = null , string target = null , CancellationToken cancellationToken = default )
539+ public virtual Response < ConnectionResponse > GetDefaultConnection ( ConnectionType category , bool ? withCredential = null , bool ? includeAll = null , string target = null , CancellationToken cancellationToken = default )
540540 {
541541 ListConnectionsResponse connections = GetConnections ( category , includeAll , target , cancellationToken ) ;
542542
0 commit comments