共用方式為


Operations - List

列出此提供者可用的作業。

GET https://management.azure.com/providers/Microsoft.AzureActiveDirectory/operations?api-version=2021-04-01

URI 參數

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

string

要與用戶端要求搭配使用的 API 版本。

回應

名稱 類型 Description
200 OK

AvailableOperations

描述成功作業的結果。

Other Status Codes

CloudError

描述作業失敗原因的錯誤回應。

安全性

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.AzureActiveDirectory/operations?api-version=2021-04-01

範例回覆

{
  "value": [
    {
      "name": "Microsoft.AzureActiveDirectory/b2cDirectories/write",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "B2C Directory",
        "operation": "Create or update B2C Dictory resource",
        "description": "Create or update B2C Dictory resource"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/b2cDirectories/read",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "B2C Directory",
        "operation": "View B2C Directory resource",
        "description": "View B2C Directory resource"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/b2cDirectories/delete",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "B2C Directory",
        "operation": "Delete B2C Directory resource",
        "description": "Delete B2C Directory resource"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/operations/read",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "B2C Directory",
        "operation": "Read all API operations",
        "description": "Read all API operations available for Microsoft.AzureActiveDirectory resource provider"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/register/action",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "B2C Directory",
        "operation": "Register Microsoft.AzureActiveDirectory resource provider",
        "description": "Register subscription for Microsoft.AzureActiveDirectory resource provider"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/b2ctenants/read",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "B2C Tenants",
        "operation": "List all B2C tenants of the user",
        "description": "Lists all B2C tenants where the user is a member"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/guestUsages/write",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "Guest Usages",
        "operation": "Create or update Guest Usages resource",
        "description": "Create or update Guest Usages resource"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/guestUsages/read",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "Guest Usages",
        "operation": "View Guest Usages resource",
        "description": "View Guest Usages resource"
      },
      "origin": "user,system"
    },
    {
      "name": "Microsoft.AzureActiveDirectory/guestUsages/delete",
      "display": {
        "provider": "Microsoft Azure Active Directory",
        "resource": "Guest Usages",
        "operation": "Delete Guest Usages resource",
        "description": "Delete Guest Usages resource"
      },
      "origin": "user,system"
    }
  ]
}

定義

名稱 Description
AvailableOperations

服務的可用作業

CloudError

資源管理要求的錯誤回應。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorResponse

錯誤回應

OperationDetail

作業詳細承載

OperationDisplay

作業顯示承載

AvailableOperations

服務的可用作業

名稱 類型 Description
nextLink

string

URL 用戶端應該使用 來擷取每個伺服器端分頁) 的下一個頁面 (。 目前為 Null,已新增以供日後使用。

value

OperationDetail[]

可用作業詳細數據的集合

CloudError

資源管理要求的錯誤回應。

名稱 類型 Description
error

ErrorResponse

錯誤回應
所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。 (這也會遵循 OData 錯誤回應格式。)

ErrorAdditionalInfo

資源管理錯誤其他資訊。

名稱 類型 Description
info

object

其他資訊。

type

string

其他信息類型。

ErrorResponse

錯誤回應

名稱 類型 Description
additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

code

string

錯誤碼。

details

ErrorResponse[]

錯誤詳細資料。

message

string

錯誤訊息。

target

string

錯誤目標。

OperationDetail

作業詳細承載

名稱 類型 Description
display

OperationDisplay

作業的顯示

isDataAction

boolean

指出作業是否為數據動作

name

string

作業名稱

origin

string

作業的來源

OperationDisplay

作業顯示承載

名稱 類型 Description
description

string

作業的當地語系化易記描述

operation

string

作業的當地語系化易記名稱

provider

string

作業的資源提供者

resource

string

作業的資源