FarmsClient Class

Definition

The Farms service client.

public class FarmsClient
type FarmsClient = class
Public Class FarmsClient
Inheritance
FarmsClient

Constructors

FarmsClient()

Initializes a new instance of FarmsClient for mocking.

FarmsClient(Uri, TokenCredential, FarmBeatsClientOptions)

Initializes a new instance of FarmsClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

CreateCascadeDeleteJob(String, String, String, RequestOptions)

Create a cascade delete job for specified farm.

CreateCascadeDeleteJobAsync(String, String, String, RequestOptions)

Create a cascade delete job for specified farm.

CreateOrUpdate(String, String, RequestContent, RequestOptions)

Creates or updates a farm resource under a particular farmer.

CreateOrUpdateAsync(String, String, RequestContent, RequestOptions)

Creates or updates a farm resource under a particular farmer.

Delete(String, String, RequestOptions)

Deletes a specified farm resource under a particular farmer.

DeleteAsync(String, String, RequestOptions)

Deletes a specified farm resource under a particular farmer.

Get(String, String, RequestOptions)

Gets a specified farm resource under a particular farmer.

GetAsync(String, String, RequestOptions)

Gets a specified farm resource under a particular farmer.

GetCascadeDeleteJobDetails(String, RequestOptions)

Get a cascade delete job for specified farm.

GetCascadeDeleteJobDetailsAsync(String, RequestOptions)

Get a cascade delete job for specified farm.

List(IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, String, RequestOptions)

Returns a paginated list of farm resources across all farmers.

ListAsync(IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, String, RequestOptions)

Returns a paginated list of farm resources across all farmers.

ListByFarmerId(String, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, String, RequestOptions)

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

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

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

Applies to