FarmOperationDataIngestionJob Class

Schema of farm operation data ingestion job.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
FarmOperationDataIngestionJob

Constructor

FarmOperationDataIngestionJob(*, farmer_id: str, auth_provider_id: str, start_year: int, operations: Optional[List[str]] = None, name: Optional[str] = None, description: Optional[str] = None, properties: Optional[Dict[str, Any]] = None, **kwargs)

Parameters

farmer_id
str
Required

Required. Farmer ID.

auth_provider_id
str
Required

Required. Authentication provider ID.

operations
list[str]
Required

List of operation types for which data needs to be downloaded. Available values: AllOperations, Application, Planting, Harvest, Tillage.

start_year
int
Required

Required. Start Year (Minimum = 2000, Maximum = CurrentYear).

name
str
Required

Name to identify resource.

description
str
Required

Textual description of the resource.

properties
dict[str, any]
Required

A collection of key value pairs that belongs to the resource. Each pair must not have a key greater than 50 characters and must not have a value greater than 150 characters. Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.

Variables

id
str

Unique job id.

status
str

Status of the job. Possible values: 'Waiting', 'Running', 'Succeeded', 'Failed', 'Cancelled'.

duration_in_seconds
float

Duration of the job in seconds.

message
str

Status message to capture more details of the job.

created_date_time
datetime

Job created at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ.

last_action_date_time
datetime

Job was last acted upon at dateTime. Sample format: yyyy-MM-ddTHH:mm:ssZ.

start_time
datetime

Job start time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ.

end_time
datetime

Job end time when available. Sample format: yyyy-MM-ddTHH:mm:ssZ.