Ejemplo n.º 1
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>
 public static void PutById(this ICredentialStores operations, long id, CredentialStoreDto credentialStoreDto)
 {
     operations.PutByIdAsync(id, credentialStoreDto).GetAwaiter().GetResult();
 }
 /// <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>
 public static void PutById(this ICredentialStores operations, long key, CredentialStoreDto body = default(CredentialStoreDto))
 {
     operations.PutByIdAsync(key, body).GetAwaiter().GetResult();
 }
Ejemplo n.º 3
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>
 public static object PutById(this ICredentialStores operations, long id, CredentialStoreDto credentialStoreDto)
 {
     return(operations.PutByIdAsync(id, credentialStoreDto).GetAwaiter().GetResult());
 }