/// <summary> /// Updates the specified trusted identity provider. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the Azure resource group. /// </param> /// <param name='accountName'> /// The name of the Data Lake Store account. /// </param> /// <param name='trustedIdProviderName'> /// The name of the trusted identity provider. This is used for differentiation /// of providers in the account. /// </param> /// <param name='parameters'> /// Parameters supplied to update the trusted identity provider. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <TrustedIdProvider> UpdateAsync(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName, string trustedIdProviderName, UpdateTrustedIdProviderParameters parameters = default(UpdateTrustedIdProviderParameters), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, accountName, trustedIdProviderName, parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Updates the specified trusted identity provider. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the Azure resource group. /// </param> /// <param name='accountName'> /// The name of the Data Lake Store account. /// </param> /// <param name='trustedIdProviderName'> /// The name of the trusted identity provider. This is used for differentiation /// of providers in the account. /// </param> /// <param name='parameters'> /// Parameters supplied to update the trusted identity provider. /// </param> public static TrustedIdProvider Update(this ITrustedIdProvidersOperations operations, string resourceGroupName, string accountName, string trustedIdProviderName, UpdateTrustedIdProviderParameters parameters = default(UpdateTrustedIdProviderParameters)) { return(operations.UpdateAsync(resourceGroupName, accountName, trustedIdProviderName, parameters).GetAwaiter().GetResult()); }