Share via


Admin.AddPowerBIEncryptionKeyWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.TenantKey>> AddPowerBIEncryptionKeyWithHttpMessagesAsync (Microsoft.PowerBI.Api.Models.TenantKeyCreationRequest tenantKeyCreationRequest, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddPowerBIEncryptionKeyWithHttpMessagesAsync : Microsoft.PowerBI.Api.Models.TenantKeyCreationRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.TenantKey>>
override this.AddPowerBIEncryptionKeyWithHttpMessagesAsync : Microsoft.PowerBI.Api.Models.TenantKeyCreationRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.PowerBI.Api.Models.TenantKey>>
Public Function AddPowerBIEncryptionKeyWithHttpMessagesAsync (tenantKeyCreationRequest As TenantKeyCreationRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of TenantKey))

Parameters

tenantKeyCreationRequest
TenantKeyCreationRequest
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to