Ejemplo n.º 1
0
 /// <summary>
 /// Updates a Credential Store.
 /// </summary>
 /// <remarks>
 /// Required permissions: Settings.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='credentialStoreDto'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> PutByIdAsync(this ICredentialStores operations, long id, CredentialStoreDto credentialStoreDto, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.PutByIdWithHttpMessagesAsync(id, credentialStoreDto, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Updates a Credential Store.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Settings or Settings.Write.
 ///
 /// Required permissions: Settings.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PutByIdAsync(this ICredentialStores operations, long key, CredentialStoreDto body = default(CredentialStoreDto), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.PutByIdWithHttpMessagesAsync(key, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Updates a Credential Store.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Settings or Settings.Write.
 ///
 /// Required permissions: Settings.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='credentialStoreDto'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PutByIdAsync(this ICredentialStores operations, long id, CredentialStoreDto credentialStoreDto, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.PutByIdWithHttpMessagesAsync(id, credentialStoreDto, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }