/// <summary> /// Updates a provider configuration which delivers SMS via Logic. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// A valid SubscriptionId in which you are an owner/contributor /// </param> /// <param name='providerConfigurationId'> /// A valid ProviderConfigurationId of the config which needs to be updated /// </param> /// <param name='request'> /// The request body /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> UpdateLogicProviderConfigurationAsync(this ISmsClient operations, System.Guid subscriptionId, System.Guid providerConfigurationId, LogicProviderConfigurationRequestLogicProviderConfig request, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateLogicProviderConfigurationWithHttpMessagesAsync(subscriptionId, providerConfigurationId, request, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Updates a provider configuration which delivers SMS via Logic. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// A valid SubscriptionId in which you are an owner/contributor /// </param> /// <param name='providerConfigurationId'> /// A valid ProviderConfigurationId of the config which needs to be updated /// </param> /// <param name='request'> /// The request body /// </param> public static object UpdateLogicProviderConfiguration(this ISmsClient operations, System.Guid subscriptionId, System.Guid providerConfigurationId, LogicProviderConfigurationRequestLogicProviderConfig request) { return(operations.UpdateLogicProviderConfigurationAsync(subscriptionId, providerConfigurationId, request).GetAwaiter().GetResult()); }