Esempio n. 1
0
 /// <summary>
 /// Deletes a Credential Store.
 /// </summary>
 /// <remarks>
 /// Required permissions: Settings.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> DeleteByIdAsync(this ICredentialStores operations, long id, string ifMatch = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.DeleteByIdWithHttpMessagesAsync(id, ifMatch, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Deletes a Credential Store.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Settings or Settings.Write.
 ///
 /// Required permissions: Settings.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='forceDelete'>
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteByIdAsync(this ICredentialStores operations, long id, bool?forceDelete = default(bool?), bool?ifMatch = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteByIdWithHttpMessagesAsync(id, forceDelete, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Deletes a Credential Store.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Settings or Settings.Write.
 ///
 /// Required permissions: Settings.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// </param>
 /// <param name='forceDelete'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteByIdAsync(this ICredentialStores operations, long key, bool?forceDelete = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteByIdWithHttpMessagesAsync(key, forceDelete, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 4
0
 /// <summary>
 /// Deletes a Credential Store.
 /// </summary>
 /// <remarks>
 /// Required permissions: Settings.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='deleteActionParameter'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteByIdAsync(this ICredentialStores operations, long id, DeleteActionParameter deleteActionParameter, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteByIdWithHttpMessagesAsync(id, deleteActionParameter, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }