FieldsClient.ListByFarmerIdAsync(String, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, String, RequestOptions) Method

Definition

Returns a paginated list of field resources under a particular farmer.

public virtual System.Threading.Tasks.Task<Azure.Response> ListByFarmerIdAsync (string farmerId, System.Collections.Generic.IEnumerable<string> farmIds = default, System.Collections.Generic.IEnumerable<string> ids = default, System.Collections.Generic.IEnumerable<string> names = default, System.Collections.Generic.IEnumerable<string> propertyFilters = default, System.Collections.Generic.IEnumerable<string> statuses = default, DateTimeOffset? minCreatedDateTime = default, DateTimeOffset? maxCreatedDateTime = default, DateTimeOffset? minLastModifiedDateTime = default, DateTimeOffset? maxLastModifiedDateTime = default, int? maxPageSize = default, string skipToken = default, Azure.RequestOptions requestOptions = default);
abstract member ListByFarmerIdAsync : string * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * string * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.ListByFarmerIdAsync : string * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * string * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ListByFarmerIdAsync (farmerId As String, Optional farmIds As IEnumerable(Of String) = Nothing, Optional ids As IEnumerable(Of String) = Nothing, Optional names As IEnumerable(Of String) = Nothing, Optional propertyFilters As IEnumerable(Of String) = Nothing, Optional statuses As IEnumerable(Of String) = Nothing, Optional minCreatedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional maxCreatedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional minLastModifiedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional maxLastModifiedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional maxPageSize As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional requestOptions As RequestOptions = Nothing) As Task(Of Response)

Parameters

farmerId
String

ID of the associated farmer.

farmIds
IEnumerable<String>

Farm Ids of the resource.

ids
IEnumerable<String>

Ids of the resource.

names
IEnumerable<String>

Names of the resource.

propertyFilters
IEnumerable<String>

Filters on key-value pairs within the Properties object.

eg. "{testKey} eq {testValue}".

statuses
IEnumerable<String>

Statuses of the resource.

minCreatedDateTime
Nullable<DateTimeOffset>

Minimum creation date of resource (inclusive).

maxCreatedDateTime
Nullable<DateTimeOffset>

Maximum creation date of resource (inclusive).

minLastModifiedDateTime
Nullable<DateTimeOffset>

Minimum last modified date of resource (inclusive).

maxLastModifiedDateTime
Nullable<DateTimeOffset>

Maximum last modified date of resource (inclusive).

maxPageSize
Nullable<Int32>

Maximum number of items needed (inclusive).

Minimum = 10, Maximum = 1000, Default value = 50.

skipToken
String

Skip token for getting next set of results.

requestOptions
Azure.RequestOptions

The request options.

Returns

Task<Response>

Applies to