/// <summary>
 /// Create or update account credential assignment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// </param>
 /// <param name='account'>
 /// Name of CEF account
 /// </param>
 /// <param name='credentialAssignment'>
 /// Account credential assignment
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <SmsCredentialAssignment> > CreateOrUpdateCredentialAssignmentAsync(this ISmsOperations operations, string apiVersion, string account, SmsCredentialAssignment credentialAssignment, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateOrUpdateCredentialAssignmentWithHttpMessagesAsync(apiVersion, account, credentialAssignment, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Create or update account credential assignment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='apiVersion'>
 /// </param>
 /// <param name='account'>
 /// Name of CEF account
 /// </param>
 /// <param name='credentialAssignment'>
 /// Account credential assignment
 /// </param>
 public static IList <SmsCredentialAssignment> CreateOrUpdateCredentialAssignment(this ISmsOperations operations, string apiVersion, string account, SmsCredentialAssignment credentialAssignment)
 {
     return(operations.CreateOrUpdateCredentialAssignmentAsync(apiVersion, account, credentialAssignment).GetAwaiter().GetResult());
 }