共用方式為


Services - List

處理列出資源群組中所有資源的要求。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring?api-version=2023-12-01

URI 參數

名稱 位於 必要 類型 Description
resourceGroupName
path True

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

subscriptionId
path True

string

取得可唯一識別Microsoft Azure 訂用帳戶的訂用帳戶標識碼。 訂用帳戶標識碼會形成每個服務呼叫 URI 的一部分。

api-version
query True

string

minLength: 1

要用於這項作業的 API 版本。

回應

名稱 類型 Description
200 OK

ServiceResourceList

成功。 回應描述資源群組中的服務清單。

Other Status Codes

CloudError

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

安全性

azure_auth

Azure Active Directory OAuth2 流

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

範圍

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

範例

Services_List

範例要求

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring?api-version=2023-12-01

範例回覆

{
  "value": [
    {
      "properties": {
        "provisioningState": "Succeeded",
        "serviceId": "12345678abcd1234abcd12345678abcd",
        "networkProfile": {
          "outboundIPs": {
            "publicIPs": [
              "20.39.3.173",
              "40.64.67.13"
            ]
          },
          "ingressConfig": {
            "readTimeoutInSeconds": 300
          },
          "requiredTraffics": [
            {
              "protocol": "TCP",
              "port": 443,
              "ips": [
                "20.62.211.25",
                "52.188.47.226"
              ],
              "direction": "Outbound"
            },
            {
              "protocol": "UDP",
              "port": 1194,
              "ips": [
                "20.62.211.25",
                "52.188.47.226"
              ],
              "direction": "Outbound"
            },
            {
              "protocol": "TCP",
              "port": 9000,
              "ips": [
                "20.62.211.25",
                "52.188.47.226"
              ],
              "direction": "Outbound"
            }
          ]
        }
      },
      "systemData": {
        "createdBy": "sample-user",
        "createdByType": "User",
        "createdAt": "2021-08-11T03:16:03.944Z",
        "lastModifiedBy": "sample-user",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-08-11T03:17:03.944Z"
      },
      "type": "Microsoft.AppPlatform/Spring",
      "sku": {
        "name": "S0",
        "tier": "Standard"
      },
      "location": "eastus",
      "tags": {
        "key1": "value1"
      },
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice",
      "name": "myservice"
    }
  ]
}

定義

名稱 Description
CloudError

來自服務的錯誤回應。

CloudErrorBody

來自服務的錯誤回應。

ClusterResourceProperties

服務屬性承載

createdByType

建立資源的身分識別類型。

IngressConfig

Azure Spring Apps 資源的輸入組態承載。

lastModifiedByType

上次修改資源的身分識別類型。

MarketplaceResource

購買一個 Azure Spring Apps 實例的第三方產品

NetworkProfile

服務網路配置檔承載

OutboundIPs

Azure Spring Apps 資源所需的輸出 IP 資源。

PowerState

服務的電源狀態

ProvisioningState

服務布建狀態

RequiredTraffic

Azure Spring Apps 資源所需的輸入或輸出流量。

ServiceResource

服務資源

ServiceResourceList

物件,其中包含服務資源的陣列,以及下一個集合的可能連結

ServiceVNetAddons

vnet 插入實例中的其他服務設定

Sku

Azure Spring Apps 的 SKU

SystemData

與建立和上次修改資源相關的元數據。

trafficDirection

所需流量的方向

CloudError

來自服務的錯誤回應。

名稱 類型 Description
error

CloudErrorBody

來自服務的錯誤回應。

CloudErrorBody

來自服務的錯誤回應。

名稱 類型 Description
code

string

錯誤的識別碼。 程序代碼是不變的,而且是要以程序設計方式取用。

details

CloudErrorBody[]

錯誤的其他詳細數據清單。

message

string

描述錯誤的訊息,適用於在使用者介面中顯示。

target

string

特定錯誤的目標。 例如,錯誤中的屬性名稱。

ClusterResourceProperties

服務屬性承載

名稱 類型 預設值 Description
fqdn

string

服務實例的完整 DNS 名稱

marketplaceResource

MarketplaceResource

購買服務資源的第三方產品。

networkProfile

NetworkProfile

服務的網路配置檔

powerState

PowerState

服務的電源狀態

provisioningState

ProvisioningState

服務布建狀態

serviceId

string

可唯一識別已建立資源的 ServiceInstanceEntity 標識符

version

integer (int32)

服務版本

vnetAddons

ServiceVNetAddons

vnet 插入實例中的其他服務設定

zoneRedundant

boolean

False

createdByType

建立資源的身分識別類型。

Description
User
Application
ManagedIdentity
Key

IngressConfig

Azure Spring Apps 資源的輸入組態承載。

名稱 類型 Description
readTimeoutInSeconds

integer (int32)

輸入讀取逾時,以秒為單位。

lastModifiedByType

上次修改資源的身分識別類型。

Description
User
Application
ManagedIdentity
Key

MarketplaceResource

購買一個 Azure Spring Apps 實例的第三方產品

名稱 類型 Description
plan

string

正在採購的第三方成品的計劃標識符。

product

string

正在採購的第三方成品。

publisher

string

要購買的第三方成品的發行者標識符。

NetworkProfile

服務網路配置檔承載

名稱 類型 Description
appNetworkResourceGroup

string

包含 Azure Spring Apps 中客戶應用程式網路資源的資源群組名稱

appSubnetId

string

在 Azure Spring Apps 中裝載客戶應用程式之子網的完整資源識別碼

ingressConfig

IngressConfig

Azure Spring Apps 資源的輸入組態承載。

outboundIPs

OutboundIPs

Azure Spring Apps 資源所需的輸出 IP 資源。

outboundType

string

Azure Spring Apps VNet 實例的輸出流量類型。

requiredTraffics

RequiredTraffic[]

Azure Spring Apps 資源所需的輸入或輸出流量。

serviceCidr

string

Azure Spring Apps 服務保留 CIDR

serviceRuntimeNetworkResourceGroup

string

包含 Azure Spring Apps Service Runtime 網路資源的資源群組名稱

serviceRuntimeSubnetId

string

用來裝載 Azure Spring Apps Service Runtime 之子網的完整資源標識符

OutboundIPs

Azure Spring Apps 資源所需的輸出 IP 資源。

名稱 類型 Description
publicIPs

string[]

公用IP位址的清單。

PowerState

服務的電源狀態

Description
Running
Stopped

ProvisioningState

服務布建狀態

Description
Creating
Updating
Starting
Stopping
Deleting
Deleted
Succeeded
Failed
Moving
Moved
MoveFailed

RequiredTraffic

Azure Spring Apps 資源所需的輸入或輸出流量。

名稱 類型 Description
direction

trafficDirection

所需流量的方向

fqdns

string[]

必要流量的 FQDN 列表

ips

string[]

必要流量的IP清單

port

integer (int32)

所需流量的埠

protocol

string

所需流量的通訊協定

ServiceResource

服務資源

名稱 類型 Description
id

string

資源的完整資源標識碼。

location

string

資源的地理位置。

name

string

資源的名稱。

properties

ClusterResourceProperties

服務資源的屬性

sku

Sku

服務資源的 SKU

systemData

SystemData

與建立和上次修改資源相關的元數據。

tags

object

服務的標記,這是描述資源的索引鍵值組清單。

type

string

資源的型別。

ServiceResourceList

物件,其中包含服務資源的陣列,以及下一個集合的可能連結

名稱 類型 Description
nextLink

string

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

value

ServiceResource[]

服務資源的集合

ServiceVNetAddons

vnet 插入實例中的其他服務設定

名稱 類型 預設值 Description
dataPlanePublicEndpoint

boolean

False

指出是否可以從因特網存取 vnet 插入實例中的數據平面元件(記錄數據流、應用程式連線、遠端偵錯)。

logStreamPublicEndpoint

boolean

False

指出是否可以從因特網存取 vnet 插入實例中的記錄數據流。

Sku

Azure Spring Apps 的 SKU

名稱 類型 預設值 Description
capacity

integer (int32)

目標資源的目前容量

name

string

S0

Sku 的名稱

tier

string

Standard

Sku 的階層

SystemData

與建立和上次修改資源相關的元數據。

名稱 類型 Description
createdAt

string (date-time)

資源建立的時間戳(UTC)。

createdBy

string

建立資源的身分識別。

createdByType

createdByType

建立資源的身分識別類型。

lastModifiedAt

string (date-time)

資源修改的時間戳(UTC)。

lastModifiedBy

string

上次修改資源的身分識別。

lastModifiedByType

lastModifiedByType

上次修改資源的身分識別類型。

trafficDirection

所需流量的方向

Description
Inbound
Outbound