共用方式為


Operations - List

清單 所有可用的 #DA2B27322A4904921B61E2E0E2518F60E REST API 作業。

GET https://management.azure.com/providers/Microsoft.Devices/operations?api-version=2023-06-30

URI 參數

名稱 位於 必要 類型 Description
api-version
query True

string

API 的版本。

回應

名稱 類型 Description
200 OK

OperationListResult

正常。 要求成功。

Other Status Codes

ErrorDetails

DefaultErrorResponse

安全性

azure_auth

Azure Active Directory OAuth2 Flow

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Operations_List

範例要求

GET https://management.azure.com/providers/Microsoft.Devices/operations?api-version=2023-06-30

範例回覆

{
  "value": [
    {
      "name": "Microsoft.Devices/register/action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Register Resource Provider",
        "description": "Register the subscription for the IotHub resource provider and enables the creation of IotHub resources"
      }
    },
    {
      "name": "Microsoft.Devices/IotHubs/diagnosticSettings/read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get Diagnostic Setting",
        "description": "Gets the diagnostic setting for the resource"
      }
    },
    {
      "name": "Microsoft.Devices/IotHubs/diagnosticSettings/write",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Set Diagnostic Setting",
        "description": "Creates or updates the diagnostic setting for the resource"
      }
    },
    {
      "name": "Microsoft.Devices/IotHubs/metricDefinitions/read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Read IotHub service metric definitions",
        "description": "Gets the available metrics for the IotHub service"
      }
    },
    {
      "name": "Microsoft.Devices/IotHubs/logDefinitions/read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Read IotHub service log definitions",
        "description": "Gets the available log definitions for the IotHub Service"
      }
    },
    {
      "name": "Microsoft.Devices/operations/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get All ResourceProvider Operations",
        "description": "Get All ResourceProvider Operations"
      }
    },
    {
      "name": "Microsoft.Devices/checkNameAvailability/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Check If IotHub name is available",
        "description": "Check If IotHub name is available"
      }
    },
    {
      "name": "Microsoft.Devices/usages/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get Subscription Usages",
        "description": "Get subscription usage details for this provider."
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get IotHub(s)",
        "description": "Gets the IotHub resource(s)"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/Write",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Create or update IotHub Resource",
        "description": "Create or update IotHub Resource"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/Delete",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Delete IotHub Resource",
        "description": "Delete IotHub Resource"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/iotHubStats/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get IotHub Statistics",
        "description": "Get IotHub Statistics"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/skus/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get valid IotHub Skus",
        "description": "Get valid IotHub Skus"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/listkeys/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get all IotHub Keys",
        "description": "Get all IotHub Keys"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/iotHubKeys/listkeys/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get IotHub Key for the given name",
        "description": "Get IotHub Key for the given name"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/eventHubEndpoints/consumerGroups/Write",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Create EventHub Consumer Group",
        "description": "Create EventHub Consumer Group"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/eventHubEndpoints/consumerGroups/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get EventHub Consumer Group(s)",
        "description": "Get EventHub Consumer Group(s)"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/eventHubEndpoints/consumerGroups/Delete",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Delete EventHub Consumer Group",
        "description": "Delete EventHub Consumer Group"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/exportDevices/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Export Devices",
        "description": "Export Devices"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/importDevices/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Import Devices",
        "description": "Import Devices"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/jobs/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get the Job(s) on IotHub",
        "description": "Get Job(s) details submitted on given IotHub"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/quotaMetrics/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get Quota Metrics",
        "description": "Get Quota Metrics"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/routing/routes/$testall/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Routing Rule Test All",
        "description": "Test a message against all existing Routes"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/routing/routes/$testnew/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Routing Rule Test Route",
        "description": "Test a message against a provided test Route"
      }
    },
    {
      "name": "Microsoft.Devices/iotHubs/routingEndpointsHealth/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get Endpoint Health",
        "description": "Gets the health of all routing Endpoints for an IotHub"
      }
    },
    {
      "name": "Microsoft.Devices/ProvisioningServices/diagnosticSettings/read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get Diagnostic Setting",
        "description": "Gets the diagnostic setting for the resource"
      }
    },
    {
      "name": "Microsoft.Devices/ProvisioningServices/diagnosticSettings/write",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Set Diagnostic Setting",
        "description": "Creates or updates the diagnostic setting for the resource"
      }
    },
    {
      "name": "Microsoft.Devices/ProvisioningServices/metricDefinitions/read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Read DPS service metric definitions",
        "description": "Gets the available metrics for the DPS service"
      }
    },
    {
      "name": "Microsoft.Devices/ProvisioningServices/logDefinitions/read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Read DPS service log definitions",
        "description": "Gets the available log definitions for the DPS Service"
      }
    },
    {
      "name": "Microsoft.Devices/checkProvisioningServiceNameAvailability/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "ProvisioningServives",
        "operation": "Check If Provisioning Service name is available",
        "description": "Check If Provisioning Service name is available"
      }
    },
    {
      "name": "Microsoft.Devices/provisioningServices/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "ProvisioningServices",
        "operation": "Get Provisioning Service resource",
        "description": "Get Provisioning Service resource"
      }
    },
    {
      "name": "Microsoft.Devices/provisioningServices/Write",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "ProvisioningServices",
        "operation": "Create Provisioning Service resource",
        "description": "Create Provisioning Service resource"
      }
    },
    {
      "name": "Microsoft.Devices/provisioningServices/Delete",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "ProvisioningServices",
        "operation": "Delete Provisioning Service resource",
        "description": "Delete Provisioning Service resource"
      }
    },
    {
      "name": "Microsoft.Devices/provisioningServices/skus/Read",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "ProvisioningServices",
        "operation": "Delete Provisioning Service resource",
        "description": "Delete Provisioning Service resource"
      }
    },
    {
      "name": "Microsoft.Devices/provisioningServices/listkeys/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "ProvisioningServices",
        "operation": "get security related metadata",
        "description": "get security related metadata"
      }
    }
  ]
}

定義

名稱 Description
Display

表示作業的物件。

ErrorDetails

錯誤詳細數據。

Operation

IoT 中樞 REST API 作業

OperationListResult

列出 IoT 中樞 作業的要求結果。 其中包含作業清單和 URL 連結,以取得下一組結果。

Display

表示作業的物件。

名稱 類型 Description
description

string

作業的描述

operation

string

作業名稱

provider

string

服務提供者:Microsoft 裝置

resource

string

資源類型:IotHubs

ErrorDetails

錯誤詳細數據。

名稱 類型 Description
code

string

錯誤碼。

details

string

錯誤詳細資料。

httpStatusCode

string

HTTP 狀態碼。

message

string

錯誤訊息。

Operation

IoT 中樞 REST API 作業

名稱 類型 Description
display

Display

表示作業的物件。

name

string

作業名稱:{provider}/{resource}/{read | write | action | delete}

OperationListResult

列出 IoT 中樞 作業的要求結果。 其中包含作業清單和 URL 連結,以取得下一組結果。

名稱 類型 Description
nextLink

string

如果有的話,取得下一組作業清單結果的URL。

value

Operation[]

Microsoft.Devices 資源提供者支援的 IoT 中樞 作業清單。