WeatherDataDeleteJob Class

Schema of weather data delete 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
WeatherDataDeleteJob

Constructor

WeatherDataDeleteJob(*, extension_id: str, farmer_id: str, boundary_id: str, weather_data_type: Optional[str] = None, granularity: Optional[str] = None, start_date_time: Optional[datetime.datetime] = None, end_date_time: Optional[datetime.datetime] = None, name: Optional[str] = None, description: Optional[str] = None, properties: Optional[Dict[str, Any]] = None, **kwargs)

Parameters

extension_id
str
Required

Required. ID of the extension to be used for the providerInput. eg. DTN.ClearAg.

farmer_id
str
Required

Required. The id of the farmer object for which weather data is being fetched.

boundary_id
str
Required

Required. The id of the boundary object for which weather data is being fetched.

weather_data_type
str
Required

Type of weather data. Possible values include: 'forecast' , 'historical'.

granularity
str
Required

Granularity of weather data. Possible values include: 'daily' , 'hourly'.

start_date_time
datetime
Required

Weather data start UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ.

end_date_time
datetime
Required

Weather data end UTC date-time (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ.

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.