Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2020-08-06-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {
"headers": {
"content-type": "application/zip"
},
"body": "{Binary}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2020-08-06-preview",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
"iotSensorName": "mySensor",
"applianceId": "3214-528AV23-D121-D3-E1"
},
"responses": {
"200": {
"headers": {
"content-type": "application/zip"
},
"body": "{Binary}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2020-08-06-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"onPremiseIotSensorName": "mySensor",
"applianceId": "3214-528AV23-D121-D3-E1"
},
"responses": {
"200": {
"headers": {
"content-type": "application/zip"
},
"body": "{Binary}"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,46 @@
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default/downloadManagerActivation": {
"post": {
"x-ms-examples": {
"Download quota data of the subscription": {
"$ref": "./examples/IotDefenderSettings/DownloadManagerActivation.json"
}
},
"tags": [
"IoT Defender Settings"
],
"operationId": "IotDefenderSettings_DownloadManagerActivation",
"description": "Download manager activation data defined for this subscription",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
}
],
"produces": [
"application/zip"
],
"responses": {
"200": {
"description": "Downloaded file",
"schema": {
"type": "object",
"format": "file"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
}
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,58 @@
}
}
}
},
"/{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/downloadResetPassword": {
"post": {
"x-ms-examples": {
"Download file for reset password of the sensor": {
"$ref": "./examples/IotSensors/DownloadResetPassword.json"
}
},
"tags": [
"IoT Sensors"
],
"operationId": "IotSensors_DownloadResetPassword",
"description": "Download file for reset password of the sensor",
"produces": [
"application/zip"
],
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/IotSensorScope"
},
{
"$ref": "#/parameters/IotSensorName"
},
{
"in": "body",
"name": "applianceId",
"description": "The appliance id of the sensor.",
"required": true,
"schema": {
"type": "string"
Comment thread
pilor marked this conversation as resolved.
Outdated
}
}
],
"responses": {
"200": {
"description": "Downloaded reset password file",
"schema": {
"type": "object",
"format": "file"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
}
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,58 @@
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}/downloadResetPassword": {
"post": {
"x-ms-examples": {
"Download file for reset password of the sensor": {
"$ref": "./examples/OnPremiseIotSensors/DownloadResetPassword.json"
}
},
"tags": [
"IoT Sensors"
],
"operationId": "OnPremiseIotSensors_DownloadResetPassword",
"description": "Download file for reset password of the sensor",
"produces": [
"application/zip"
],
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
},
{
"$ref": "#/parameters/OnPremiseIotSensorName"
},
{
"in": "body",
"name": "applianceId",
"description": "The appliance id of the sensor.",
"required": true,
"schema": {
"type": "string"
Comment thread
pilor marked this conversation as resolved.
Outdated
}
}
],
"responses": {
"200": {
"description": "Downloaded reset password file",
"schema": {
"type": "object",
"format": "file"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
}
}
}
}
},
"definitions": {
Expand Down