Exemplo n.º 1
0
 /// <summary>
 /// Updates a provider configuration which delivers SMS via Link Mobility.
 /// </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> UpdateLinkMobilityProviderConfigurationAsync(this ISmsClient operations, System.Guid subscriptionId, System.Guid providerConfigurationId, ProviderConfigurationRequestLinkMobilityProviderConfig request, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.UpdateLinkMobilityProviderConfigurationWithHttpMessagesAsync(subscriptionId, providerConfigurationId, request, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Updates a provider configuration which delivers SMS via Link Mobility.
 /// </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 UpdateLinkMobilityProviderConfiguration(this ISmsClient operations, System.Guid subscriptionId, System.Guid providerConfigurationId, ProviderConfigurationRequestLinkMobilityProviderConfig request)
 {
     return(operations.UpdateLinkMobilityProviderConfigurationAsync(subscriptionId, providerConfigurationId, request).GetAwaiter().GetResult());
 }