@@ -68,7 +68,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
6868 /// <return>
6969 /// A response object containing the response body and response headers.
7070 /// </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 ) )
7272 {
7373
7474
@@ -242,7 +242,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
242242 throw ex ;
243243 }
244244 // 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 > > ( ) ;
246246 _result . Request = _httpRequest ;
247247 _result . Response = _httpResponse ;
248248
@@ -256,7 +256,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
256256 _responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
257257 try
258258 {
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 ) ;
260260 }
261261 catch ( Newtonsoft . Json . JsonException ex )
262262 {
@@ -296,7 +296,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
296296 /// which it should match existing entity or can be * for unconditional update.
297297 /// </param>
298298 /// <param name='properties'>
299- /// Managed Identity Credential properties .
299+ /// Properties of credentials .
300300 /// </param>
301301 /// <param name='customHeaders'>
302302 /// Headers that will be added to request.
@@ -319,7 +319,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
319319 /// <return>
320320 /// A response object containing the response body and response headers.
321321 /// </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 ) )
323323 {
324324
325325
@@ -393,7 +393,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
393393 }
394394
395395
396- ManagedIdentityCredentialResource credential = new ManagedIdentityCredentialResource ( ) ;
396+ CredentialResource credential = new CredentialResource ( ) ;
397397 if ( properties != null )
398398 {
399399 credential . Properties = properties ;
@@ -536,7 +536,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
536536 throw ex ;
537537 }
538538 // Create Result
539- var _result = new Microsoft . Rest . Azure . AzureOperationResponse < ManagedIdentityCredentialResource > ( ) ;
539+ var _result = new Microsoft . Rest . Azure . AzureOperationResponse < CredentialResource > ( ) ;
540540 _result . Request = _httpRequest ;
541541 _result . Response = _httpResponse ;
542542
@@ -550,7 +550,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
550550 _responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
551551 try
552552 {
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 ) ;
554554 }
555555 catch ( Newtonsoft . Json . JsonException ex )
556556 {
@@ -611,7 +611,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
611611 /// <return>
612612 /// A response object containing the response body and response headers.
613613 /// </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 ) )
615615 {
616616
617617
@@ -816,7 +816,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
816816 throw ex ;
817817 }
818818 // Create Result
819- var _result = new Microsoft . Rest . Azure . AzureOperationResponse < ManagedIdentityCredentialResource > ( ) ;
819+ var _result = new Microsoft . Rest . Azure . AzureOperationResponse < CredentialResource > ( ) ;
820820 _result . Request = _httpRequest ;
821821 _result . Response = _httpResponse ;
822822
@@ -830,7 +830,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
830830 _responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
831831 try
832832 {
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 ) ;
834834 }
835835 catch ( Newtonsoft . Json . JsonException ex )
836836 {
@@ -1124,7 +1124,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
11241124 /// <return>
11251125 /// A response object containing the response body and response headers.
11261126 /// </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 ) )
11281128 {
11291129
11301130 if ( nextPageLink == null )
@@ -1242,7 +1242,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
12421242 throw ex ;
12431243 }
12441244 // 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 > > ( ) ;
12461246 _result . Request = _httpRequest ;
12471247 _result . Response = _httpResponse ;
12481248
@@ -1256,7 +1256,7 @@ internal CredentialOperations (DataFactoryManagementClient client)
12561256 _responseContent = await _httpResponse . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
12571257 try
12581258 {
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 ) ;
12601260 }
12611261 catch ( Newtonsoft . Json . JsonException ex )
12621262 {
0 commit comments