機械翻訳について

サービスのプロビジョニング・ステータスの取得

get

/api/v1.1/instances/{identityId}/status/{operation}/job/{jobId}

インスタンスのプロビジョニング・ステータスが返されます。

リクエスト

パス・パラメータ
identityId
タイプ: string
必須: true
Oracle Cloud Serviceアカウントのアイデンティティ・ドメインの名前。
jobId
タイプ: string
必須: true
プロビジョニング操作のジョブID。
operation
タイプ: string
必須: true
プロビジョニング操作の名前。

レスポンス

サポートされるメディア・タイプ
  • application/json
200レスポンス
成功
本文
ルート・スキーマ: GetInstanceInfoResponse
タイプ: object

次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行することによってOracle SOA Cloud Serviceインスタンス作成操作のステータスを表示する方法を示しています。 新規サービス・インスタンスのプロビジョニングで説明しているように、RESTリソースURIはサービス・インスタンス作成リクエストを発行するときにLocationヘッダーで返されます。 詳細は、「cURLの使用」を参照してください。

Oracle SOA Cloud Serviceコンソールの概要に関する項も参照してください。

cURLコマンド

curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/status/create/job/7495
注意:: この例では、アメリカ合衆国でのURL接頭辞(soacs)を使用しています。 世界の他の地域のURL接頭辞の詳細は、「リクエストの送信」を参照してください。

レスポンス・ヘッダーの例

レスポンス・ヘッダーの例を次に示します。

HTTP/1.1 200 OK
Date: Thu, 29 Jan 2015 21:38:18 GMT
Transfer-Encoding: chunked
Content-Type: application/json

レスポンス本文の例

次の例では、ステータス・メッセージを含めてレスポンスのコンテンツを示しています。

{
  "service_name": "ExampleInstance",
  "version": "12cR3",
  "wlsVersion": "12.1.3.0.4",
  "status": "In Progress",
  "error_status_desc": "",
  "compliance_status": "",
  "compliance_status_desc": "",
  "auto_update": "true",
  "description": "Example, Inc product distribution",
  "identity_domain": "ExampleIdentityDomain",
  "creation_time": "Fri Jan 23 22:18:26 UTC 2015",
  "last_modified_time": "Fri Jan 23 22:18:26 UTC 2015",
  "created_by": "joe@example.com",
  "service_uri" : "https:\/\/api-host\/paas\/service\/soa\/api\/v1.1\/instances\/ExampleIdentityDomain\/ExampleInstance",
  "message": [
    "Created Compute resources for WebLogic Server...",
    "Created security resources for the service...",
    "Started all Compute resources...",
    "Established SSH connectivity to WebLogic Administration Server...",
    "WebLogic Administration Server Configuration completed...",
    "WebLogic Managed Servers Configuration completed...",
    "    Configuration check for Host [exampleinstance-wls-1] containing WebLogic Managed Server(s) [[ExampleI_server_1]] completed...",
    "Successfully provisioned WebLogic Administration Server and 1 Managed Servers...",
    "    Service Reachabilty Check (SRC) of WebLogic Administration Server completed...",
    "    Service Reachabilty Check (SRC) of WebLogic Managed Server(s) [ExampleI_server_1] completed...",
    "Established SSH connectivity to Load Balancer...",
    "Configured Load Balancer...",
    "Performing Service Reachability Check (SRC) of Load Balancer...",
    "Service Reachabilty Check (SRC) of Load Balancer completed..."  ]
}