Compartir a través de


IWorkspaceCollectionsOperations.UpdateWithHttpMessagesAsync Método

Definición

Actualice una colección de áreas de trabajo de Power BI existente con las propiedades especificadas.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollection>> UpdateWithHttpMessagesAsync (string resourceGroupName, string workspaceCollectionName, Microsoft.Azure.Management.PowerBIEmbedded.Models.UpdateWorkspaceCollectionRequest body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.PowerBIEmbedded.Models.UpdateWorkspaceCollectionRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollection>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, workspaceCollectionName As String, body As UpdateWorkspaceCollectionRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of WorkspaceCollection))

Parámetros

resourceGroupName
String

Grupo de recursos de Azure

workspaceCollectionName
String

nombre de la colección del área de trabajo de Power BI Embedded

body
UpdateWorkspaceCollectionRequest

Actualización de la solicitud de recopilación del área de trabajo

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a