IRoleDefinitionsOperations.ListWithHttpMessagesAsync Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtenha todas as definições de função aplicáveis no âmbito e acima.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleDefinition>>> ListWithHttpMessagesAsync (string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionFilter> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionFilter> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleDefinition>>>
Public Function ListWithHttpMessagesAsync (scope As String, Optional odataQuery As ODataQuery(Of RoleDefinitionFilter) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of RoleDefinition)))
Parâmetros
- scope
- String
O âmbito da definição de função.
- odataQuery
- ODataQuery<RoleDefinitionFilter>
Parâmetros OData a aplicar à operação.
- customHeaders
- Dictionary<String,List<String>>
Os cabeçalhos que serão adicionados ao pedido.
- cancellationToken
- CancellationToken
O token de cancelamento.
Devoluções
Exceções
Emitido quando a operação devolveu um código de estado inválido
Emitido quando a operação devolveu um código de estado inválido
Lançada quando não é possível anular a serialização da resposta
Emitido quando um parâmetro necessário é nulo
Aplica-se a
Azure SDK for .NET