You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to .pem | openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes. You can add -nocerts to only output the private key, or add -nokeys to only output the certificates. |
| Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to .pem |`openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes`. You can add -nocerts to only output the private key, or add -nokeys to only output the certificates. |
@@ -2302,13 +2256,9 @@ The APIs that you define here appear in the on-premises management console's **A
2302
2256
-**engines**: Defines from which security engine to suppress alerts during the maintenance process:
2303
2257
2304
2258
- ANOMALY
2305
-
2306
2259
- MALWARE
2307
-
2308
2260
- OPERATIONAL
2309
-
2310
2261
- POLICY_VIOLATION
2311
-
2312
2262
- PROTOCOL_VIOLATION
2313
2263
2314
2264
-**sensorIds**: Defines from which Defender for IoT sensor to suppress alerts during the maintenance process. It's the same ID retrieved from /api/v1/appliances (GET).
@@ -2322,11 +2272,8 @@ The APIs that you define here appear in the on-premises management console's **A
2322
2272
-**400 (Bad Request)**: Appears in the following cases:
2323
2273
2324
2274
- The **ttl** parameter is not numeric or not positive.
2325
-
2326
2275
- The **subnets** parameter was defined using a wrong format.
2327
-
2328
2276
- The **ticketId** parameter is missing.
2329
-
2330
2277
- The **engine** parameter does not match the existing security engines.
2331
2278
2332
2279
-**404 (Not Found)**: One of the sensors doesn't exist.
@@ -2357,9 +2304,7 @@ This method is useful when you want to set a longer duration than the currently
2357
2304
-**400 (Bad Request)**: Appears in the following cases:
2358
2305
2359
2306
- The **ttl** parameter is not numeric or not positive.
2360
-
2361
2307
- The **ticketId** parameter is missing.
2362
-
2363
2308
- The **ttl** parameter is missing.
2364
2309
2365
2310
-**404 (Not Found)**: The ticket ID is not linked to an open maintenance window.
@@ -2439,10 +2384,10 @@ Array of JSON objects that represent maintenance window operations.
Copy file name to clipboardExpand all lines: articles/industry/agriculture/rest-api-in-azure-farmbeats.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,15 +65,15 @@ Here are the most common request headers that you must specify when you make an
65
65
66
66
**Header** | **Description and example**
67
67
--- | ---
68
-
Content-Type | The request format (Content-Type: application/<format>). For Azure FarmBeats Datahub APIs, the format is JSON. Content-Type: application/json
69
-
Authorization | Specifies the access token required to make an API call. Authorization: Bearer <Access-Token>
68
+
Content-Type | The request format (Content-Type: application/\<format\>). For Azure FarmBeats Datahub APIs, the format is JSON. Content-Type: application/json
69
+
Authorization | Specifies the access token required to make an API call. Authorization: Bearer \<Access-Token\>
70
70
Accept | The response format. For Azure FarmBeats Datahub APIs, the format is JSON. Accept: application/json
71
71
72
72
### API requests
73
73
74
74
To make a REST API request, you combine the HTTP (GET, POST, PUT, or DELETE) method, the URL to the API service, the URI to a resource to query, submit data to, update, or delete, and then add one or more HTTP request headers.
75
75
76
-
The URL to the API service is your Datahub URL, for example, https://\<yourdatahub-website-name>.azurewebsites.net.
76
+
The URL to the API service is your Datahub URL, for example, `https://<yourdatahub-website-name>.azurewebsites.net`.
77
77
78
78
Optionally, you can include query parameters on GET calls to filter, limit the size of, and sort the data in the responses.
79
79
@@ -153,7 +153,7 @@ Azure FarmBeats APIs can be accessed by a user or an app registration in Azure A
153
153
- Go back to **Overview**, and select the link next to **Manage Application in local directory**.
154
154
- Go to **Properties** to capture the **Object ID**.
155
155
156
-
4. Go to your Datahub Swagger (https://<yourdatahub>.azurewebsites.net/swagger/index.html) and do the following:
156
+
4. Go to your Datahub Swagger (`https://<yourdatahub>.azurewebsites.net/swagger/index.html`) and do the following:
157
157
- Go to the **RoleAssignment API**.
158
158
- Perform a POST to create a **RoleAssignment** object for the **Object ID** you just created.
0 commit comments