@@ -68,7 +68,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
68
68
/// <return>
69
69
/// A response object containing the response body and response headers.
70
70
/// </return>
71
- public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < ManagedIdentityCredentialResource > > > ListByFactoryWithHttpMessagesAsync ( string resourceGroupName , string factoryName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
71
+ public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < CredentialResource > > > ListByFactoryWithHttpMessagesAsync ( string resourceGroupName , string factoryName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
72
72
{
73
73
74
74
@@ -242,7 +242,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
242
242
throw ex ;
243
243
}
244
244
// Create Result
245
- var _result = new Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < ManagedIdentityCredentialResource > > ( ) ;
245
+ var _result = new Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < CredentialResource > > ( ) ;
246
246
_result . Request = _httpRequest ;
247
247
_result . Response = _httpResponse ;
248
248
@@ -256,7 +256,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
256
256
_responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
257
257
try
258
258
{
259
- _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < Page < ManagedIdentityCredentialResource > > ( _responseContent , this . Client . DeserializationSettings ) ;
259
+ _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < Page < CredentialResource > > ( _responseContent , this . Client . DeserializationSettings ) ;
260
260
}
261
261
catch ( Newtonsoft . Json . JsonException ex )
262
262
{
@@ -296,7 +296,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
296
296
/// which it should match existing entity or can be * for unconditional update.
297
297
/// </param>
298
298
/// <param name='properties'>
299
- /// Managed Identity Credential properties .
299
+ /// Properties of credentials .
300
300
/// </param>
301
301
/// <param name='customHeaders'>
302
302
/// Headers that will be added to request.
@@ -319,7 +319,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
319
319
/// <return>
320
320
/// A response object containing the response body and response headers.
321
321
/// </return>
322
- public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < ManagedIdentityCredentialResource > > CreateOrUpdateWithHttpMessagesAsync ( string resourceGroupName , string factoryName , string credentialName , ManagedIdentityCredential properties , string ifMatch = default ( string ) , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
322
+ public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < CredentialResource > > CreateOrUpdateWithHttpMessagesAsync ( string resourceGroupName , string factoryName , string credentialName , Credential properties , string ifMatch = default ( string ) , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
323
323
{
324
324
325
325
@@ -393,7 +393,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
393
393
}
394
394
395
395
396
- ManagedIdentityCredentialResource credential = new ManagedIdentityCredentialResource ( ) ;
396
+ CredentialResource credential = new CredentialResource ( ) ;
397
397
if ( properties != null )
398
398
{
399
399
credential . Properties = properties ;
@@ -536,7 +536,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
536
536
throw ex ;
537
537
}
538
538
// Create Result
539
- var _result = new Microsoft . Rest . Azure . AzureOperationResponse < ManagedIdentityCredentialResource > ( ) ;
539
+ var _result = new Microsoft . Rest . Azure . AzureOperationResponse < CredentialResource > ( ) ;
540
540
_result . Request = _httpRequest ;
541
541
_result . Response = _httpResponse ;
542
542
@@ -550,7 +550,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
550
550
_responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
551
551
try
552
552
{
553
- _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < ManagedIdentityCredentialResource > ( _responseContent , this . Client . DeserializationSettings ) ;
553
+ _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < CredentialResource > ( _responseContent , this . Client . DeserializationSettings ) ;
554
554
}
555
555
catch ( Newtonsoft . Json . JsonException ex )
556
556
{
@@ -611,7 +611,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
611
611
/// <return>
612
612
/// A response object containing the response body and response headers.
613
613
/// </return>
614
- public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < ManagedIdentityCredentialResource > > GetWithHttpMessagesAsync ( string resourceGroupName , string factoryName , string credentialName , string ifNoneMatch = default ( string ) , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
614
+ public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < CredentialResource > > GetWithHttpMessagesAsync ( string resourceGroupName , string factoryName , string credentialName , string ifNoneMatch = default ( string ) , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
615
615
{
616
616
617
617
@@ -816,7 +816,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
816
816
throw ex ;
817
817
}
818
818
// Create Result
819
- var _result = new Microsoft . Rest . Azure . AzureOperationResponse < ManagedIdentityCredentialResource > ( ) ;
819
+ var _result = new Microsoft . Rest . Azure . AzureOperationResponse < CredentialResource > ( ) ;
820
820
_result . Request = _httpRequest ;
821
821
_result . Response = _httpResponse ;
822
822
@@ -830,7 +830,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
830
830
_responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
831
831
try
832
832
{
833
- _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < ManagedIdentityCredentialResource > ( _responseContent , this . Client . DeserializationSettings ) ;
833
+ _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < CredentialResource > ( _responseContent , this . Client . DeserializationSettings ) ;
834
834
}
835
835
catch ( Newtonsoft . Json . JsonException ex )
836
836
{
@@ -1124,7 +1124,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
1124
1124
/// <return>
1125
1125
/// A response object containing the response body and response headers.
1126
1126
/// </return>
1127
- public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < ManagedIdentityCredentialResource > > > ListByFactoryNextWithHttpMessagesAsync ( string nextPageLink , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
1127
+ public async System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < CredentialResource > > > ListByFactoryNextWithHttpMessagesAsync ( string nextPageLink , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
1128
1128
{
1129
1129
1130
1130
if ( nextPageLink == null )
@@ -1242,7 +1242,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
1242
1242
throw ex ;
1243
1243
}
1244
1244
// Create Result
1245
- var _result = new Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < ManagedIdentityCredentialResource > > ( ) ;
1245
+ var _result = new Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < CredentialResource > > ( ) ;
1246
1246
_result . Request = _httpRequest ;
1247
1247
_result . Response = _httpResponse ;
1248
1248
@@ -1256,7 +1256,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
1256
1256
_responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
1257
1257
try
1258
1258
{
1259
- _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < Page < ManagedIdentityCredentialResource > > ( _responseContent , this . Client . DeserializationSettings ) ;
1259
+ _result . Body = Microsoft . Rest . Serialization . SafeJsonConvert . DeserializeObject < Page < CredentialResource > > ( _responseContent , this . Client . DeserializationSettings ) ;
1260
1260
}
1261
1261
catch ( Newtonsoft . Json . JsonException ex )
1262
1262
{
0 commit comments