DataLakeStoreTrustedIdProviderCollection.CreateOrUpdate Method

Definition

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/trustedIdProviders/{trustedIdProviderName}
  • Operation Id: TrustedIdProviders_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataLakeStore.DataLakeStoreTrustedIdProviderResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string trustedIdProviderName, Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreTrustedIdProviderCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreTrustedIdProviderCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataLakeStore.DataLakeStoreTrustedIdProviderResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.DataLakeStore.Models.DataLakeStoreTrustedIdProviderCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataLakeStore.DataLakeStoreTrustedIdProviderResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, trustedIdProviderName As String, content As DataLakeStoreTrustedIdProviderCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DataLakeStoreTrustedIdProviderResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

trustedIdProviderName
String

The name of the trusted identity provider. This is used for differentiation of providers in the account.

content
DataLakeStoreTrustedIdProviderCreateOrUpdateContent

Parameters supplied to create or replace the trusted identity provider.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

trustedIdProviderName is an empty string, and was expected to be non-empty.

trustedIdProviderName or content is null.

Applies to