アクティブ/スタンバイサーバーグループの詳細情報を照会します。

デバッグ

OpenAPI Explorer を使用して、API の呼び出し、SDK コード例の生成、デバッグ操作の実行、および API の検索を行うことを推奨します。

リクエストパラメータ

パラメータ データ型 必須/省略可能 値の例 説明
Action String 必須 DescribeMasterSlaveServerGroupAttribute

この操作の名前です。 値:DescribeMasterSlaveServerGroupAttribute

MasterSlaveServerGroupId String 省略可能 rsp-cige6j5e7p

アクティブ/スタンバイサーバーグループの ID です。

RegionId String 必須 cn-hangzhou

SLB インスタンスが属するリージョンの ID です。

レスポンス要素

名前 データ型 値の例 説明
MasterSlaveServerGroupId String rsp-cige6j5e7p

アクティブ/スタンバイサーバーグループの ID です。

MasterSlaveServerGroupName String Group1

アクティブ/スタンバイサーバーグループの名前です。

MasterSlaveBackendServers

アクティブ/スタンバイサーバーグループ内のバックエンドサーバーのリストです。

└ServerId String vm-233

ECS インスタンス ID または ENI ID です。

└Port Integer 90

バックエンドサーバーに使用されるポートです。

└Weight Integer 100

バックエンドサーバーの重みです。

└ServerType String スレーブ

バックエンドサーバーの種類です。 有効値:Master (default) | Slave

└Description String アクティブ/スタンバイサーバーグループの説明です。

アクティブ/スタンバイサーバーグループの説明です。

└Type String ecs

バックエンドサーバーの種類です。 有効値:

  • ecs:ECS インスタンス (デフォルト)
  • eni:Elastic Network Interface (ENI)
RequestId String 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C

リクエストの ID です。

リクエスト例


http(s)://[Endpoint]/? Action=DescribeMasterSlaveServerGroupAttribute
&MasterSlaveServerGroupId=rsp-cige6j5e7p
&RegionId=cn-hangzhou
&<CommonParameters>

レスポンス例

XML 形式

<DescribeMasterSlaveServerGroupAttributeResponse>
  <RequestId> 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C </ RequestId>
  <MasterSlaveServerGroupId>rsp-cige6j5e7p</MasterSlaveServerGroupId>
  <MasterSlaveBackendServers>
    <MasterSlaveBackendServers>
      <ServerId>vm-233</ServerId>
      <Port> 80 </ Port>
      <重量> 100 </重量>
      <ServerType>Master</ServerType>
    </MasterSlaveBackendServers>
    <MasterSlaveBackendServers>
      <ServerId>vm-232</ServerId>
      <Port> 90 </ Port>
      <重量> 100 </重量>
      <ServerType>Slave</ServerType>
    </MasterSlaveBackendServers>
  </MasterSlaveBackendServers>
</DescribeMasterSlaveServerGroupAttributeResponse>

エラー

一般的なエラーをご参照ください。