共用方式為


ISharesOperations.ListByAccountWithHttpMessagesAsync Method

Definition

List of available shares under an account.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataShare.Models.Share>>> ListByAccountWithHttpMessagesAsync (string resourceGroupName, string accountName, string skipToken = default, string filter = default, string orderby = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByAccountWithHttpMessagesAsync : string * string * string * string * string * 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.DataShare.Models.Share>>>
Public Function ListByAccountWithHttpMessagesAsync (resourceGroupName As String, accountName As String, Optional skipToken As String = Nothing, Optional filter As String = Nothing, Optional orderby As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of Share)))

Parameters

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

skipToken
String

Continuation Token

filter
String

Filters the results using OData syntax.

orderby
String

Sorts the results using OData syntax.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

List shares in an account

Applies to