WeatherDataIngestionJob Class

Schema of weather 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
WeatherDataIngestionJob

Constructor

WeatherDataIngestionJob(*, boundary_id: str, farmer_id: str, extension_id: str, extension_api_name: str, extension_api_input: Dict[str, Any], extension_data_provider_app_id: Optional[str] = None, extension_data_provider_api_key: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, properties: Optional[Dict[str, Any]] = None, **kwargs)

Parameters

boundary_id
str
Required

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

farmer_id
str
Required

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

extension_id
str
Required

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

extension_api_name
str
Required

Required. Extension api name to which request is to be made.

extension_api_input
dict[str, any]
Required

Required. Extension api input dictionary which would be used to feed request query/body/parameter information.

extension_data_provider_app_id
str
Required

App id of the weather data provider.

extension_data_provider_api_key
str
Required

Api key of the weather data provider.

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.