你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ITrustedIdProvidersOperations.CreateOrUpdateWithHttpMessagesAsync 方法

定义

重载

CreateOrUpdateWithHttpMessagesAsync(String, String, String, CreateOrUpdateTrustedIdProviderParameters, Dictionary<String,List<String>>, CancellationToken)

创建或更新指定的受信任标识提供者。 在更新期间,具有指定名称的受信任标识提供者将替换为此新提供程序

CreateOrUpdateWithHttpMessagesAsync(String, String, String, TrustedIdProvider, Dictionary<String,List<String>>, CancellationToken)

创建或更新指定的受信任标识提供者。 在更新期间,具有指定名称的受信任标识提供者将替换为此新提供程序

CreateOrUpdateWithHttpMessagesAsync(String, String, String, CreateOrUpdateTrustedIdProviderParameters, Dictionary<String,List<String>>, CancellationToken)

创建或更新指定的受信任标识提供者。 在更新期间,具有指定名称的受信任标识提供者将替换为此新提供程序

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.TrustedIdProvider>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string accountName, string trustedIdProviderName, Microsoft.Azure.Management.DataLake.Store.Models.CreateOrUpdateTrustedIdProviderParameters parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.DataLake.Store.Models.CreateOrUpdateTrustedIdProviderParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.TrustedIdProvider>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, trustedIdProviderName As String, parameters As CreateOrUpdateTrustedIdProviderParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of TrustedIdProvider))

参数

resourceGroupName
String

Azure 资源组的名称。

accountName
String

Data Lake Store 帐户的名称。

trustedIdProviderName
String

受信任的标识提供者的名称。 这用于区分帐户中的提供程序。

parameters
CreateOrUpdateTrustedIdProviderParameters

提供用于创建或替换受信任标识提供者的参数。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

操作返回无效状态代码时引发

无法反序列化响应时引发

当所需的参数为 null 时引发

适用于

CreateOrUpdateWithHttpMessagesAsync(String, String, String, TrustedIdProvider, Dictionary<String,List<String>>, CancellationToken)

创建或更新指定的受信任标识提供者。 在更新期间,具有指定名称的受信任标识提供者将替换为此新提供程序

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.TrustedIdProvider>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string accountName, string trustedIdProviderName, Microsoft.Azure.Management.DataLake.Store.Models.TrustedIdProvider parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.DataLake.Store.Models.TrustedIdProvider * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataLake.Store.Models.TrustedIdProvider>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, trustedIdProviderName As String, parameters As TrustedIdProvider, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of TrustedIdProvider))

参数

resourceGroupName
String

包含 Data Lake Store 帐户的 Azure 资源组的名称。

accountName
String

要添加或替换受信任标识提供者的 Data Lake Store 帐户的名称。

trustedIdProviderName
String

受信任的标识提供者的名称。 这用于区分帐户中的提供程序。

parameters
TrustedIdProvider

提供用于创建或替换受信任标识提供者的参数。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

操作返回无效状态代码时引发

无法反序列化响应时引发

当所需的参数为 null 时引发

适用于