すべてのプロダクト
Search
ドキュメントセンター

Bastionhost:DescribeInstanceAttribute

最終更新日:Apr 09, 2026

インスタンス ID や説明など、すべてのインスタンス属性を返します。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

この操作の認証情報はありません。問題が発生した場合は、アカウントマネージャーにご連絡ください。

リクエストパラメーター

パラメーター

必須 / 任意

説明

RegionId

string

任意

Bastionhost インスタンスが存在するリージョンの ID。

cn-hangzhou

InstanceId

string

必須

Bastionhost インスタンスの ID。

説明

DescribeInstances 操作を呼び出して、Bastionhost インスタンスの ID を取得できます。

bastionhost-cn-78v1ghxxxxx

レスポンスフィールド

フィールド

説明

object

レスポンスパラメーター。

RequestId

string

リクエストの一意の ID。 この ID を使用して、問題をトラブルシューティングできます。

082FAB35-6AB9-4FD5-8750-D36673548E76

InstanceAttribute

object

インスタンスの属性。

VpcId

string

インスタンスの Virtual Private Cloud (VPC) の ID。

vpc-bp1c85tzgqu1bf5bxxxxx

VswitchId

string

インスタンスの VSwitch の ID。

vsw-bp1xfwzzfti0kjbfxxxxx

Description

string

インスタンスの説明。

测试API

ExpireTime

integer

Bastionhost インスタンスの有効期限のタイムスタンプ (ミリ秒単位)。

1578326400000

ModifyPasswordModule

string

パスワード変更機能のステータス。

  • Enable: 機能は有効です。

  • Disable: 機能は無効です。

Enable

EniInstanceId

string

Elastic Network Interface (ENI) の ID。

eni-bp1455jrzwm7moaxxxxx

InstanceId

string

インスタンスの ID。

bastionhost-cn-78v1ghxxxxx

InternetEndpoint

string

インスタンスのパブリックドメイン名。

******lwb-public.bastionhost.aliyuncs.com

RegionId

string

Bastionhost インスタンスが配置されているリージョンの ID。

cn-hangzhou

IntranetEndpoint

string

インスタンスの内部エンドポイント。

******xalwb.bastionhost.aliyuncs.com

StartTime

integer

Bastionhost インスタンスが購入または更新されたときのタイムスタンプ (ミリ秒単位)。

1577681345000

ResourceGroupId

string

インスタンスのリソースグループの ID。

rg-aekzc427db******

NetworkProxyModule

string

ネットワークドメインプロキシ機能のステータス。

  • Enable: ネットワークドメインプロキシ機能は有効です。

  • Disable: ネットワークドメインプロキシ機能は無効です。

Enable

WebTerminalModule

string

ウェブターミナルのステータス。

  • Enable: ウェブベースのリモート接続をサポートします。

  • Disable: ウェブベースのリモート接続をサポートしません。

Enable

InstanceStatus

string

インスタンスのステータス。 有効な値:

  • PENDING: インスタンスは初期化中です。

  • CREATING: インスタンスは作成中です。

  • RUNNING: インスタンスは実行中です。

  • EXPIRED: インスタンスは期限切れです。

  • CREATE_FAILED: インスタンスの作成に失敗しました。

  • UPGRADING: インスタンスはアップグレード中です。

  • UPGRADE_FAILED: インスタンスのアップグレードに失敗しました。

RUNNING

LicenseCode

string

ライセンスコード。

bhah_ent_50_asset

PublicNetworkAccess

boolean

Bastionhost インスタンスがパブリックネットワーク経由でアクセス可能かどうかを示します。 有効な値:

  • true: Bastionhost インスタンスはパブリックネットワーク経由でアクセス可能です。

  • false: Bastionhost インスタンスはパブリックネットワーク経由でアクセスできません。

true

Storage

integer

Bastionhost インスタンスの合計ストレージ容量 (バイト単位)。

2199023255552

Ports

array<object>

Bastionhost インスタンスの O&M (運用保守) ポート。

object

Bastionhost インスタンスの O&M (運用保守) ポート。

StandardPort

integer

標準 O&M (運用保守) ポート番号。 特定のプロトコルのデフォルトの標準ポートは次のとおりです:

  • SSH: 60022

  • RDP: 63389

  • HTTPS: 443

60022

CustomPort

integer

カスタム O&M (運用保守) ポート。

説明

SSH ポートと RDP ポートのみをカスタマイズできます。 カスタムポートが設定されていない場合、このパラメーターは StandardPort パラメーターの値を返します。

600xx

PublicExportIps

array

Bastionhost インスタンスのパブリックアウトバウンド IP アドレスのリスト。

string

パブリックアウトバウンド IP アドレス。

[10.162.168.xx/32]

PublicWhiteList

array

Bastionhost インスタンスのパブリックホワイトリスト。

string

パブリックホワイトリスト上の IP アドレス。

[10.162.168.xx/32]

AuthorizedSecurityGroups

array

許可されたセキュリティグループ ID のリスト。

string

許可されたセキュリティグループの ID。

[sg-bp14u00sh39jvw5xxxxx]

PrivateExportIps

array

Bastionhost インスタンスのプライベートアウトバウンド IP アドレスのリスト。

string

プライベートアウトバウンド IP アドレス。

192.168.xx.xx

PublicIps

array

Bastionhost インスタンスのパブリック IP アドレスのリスト。

string

パブリック IP アドレス。

116.62.xx.xx

SecurityGroupIds

array

インスタンスのセキュリティグループ ID のリスト。

string

インスタンスを含むセキュリティグループの ID。

sg-bp15ed6xe1yxeycg7o****

PrivateWhiteList

array

インスタンスのプライベートホワイトリスト。

string

プライベートホワイトリスト上の IP アドレス。

192.168.xx.xx

Bandwidth

string

Bastionhost インスタンスの合計帯域幅 (Mbit/s 単位)。

30

BandwidthPackage

string

Bastionhost インスタンスの追加帯域幅パッケージ (Mbit/s 単位)。

5

DbOperationModule

string

データベース O&M (運用保守) 機能のステータス。

  • Enable: データベース O&M (運用保守) 機能は有効です。

  • Disable: データベース O&M (運用保守) 機能は無効です。

Disable

RouterRules

array

Bastionhost インスタンスのルーティングルールのリスト。

string

IDaaSModule

string

IDaaS 統合モジュールが有効かどうかを示します。 有効な値は EnableDisable です。

Enable

SlaveVswitchId

string

Bastionhost インスタンスのスタンバイ VSwitch の ID。

vsw-uf6cmnae7hu5****

ScriptDeliverModule

string

スクリプトベースの O&M (運用保守) モジュールが有効かどうかを示します。 有効な値は EnableDisable です。

Enable

KmsSecretModule

string

インスタンスが Key Management Service (KMS) および Secrets Manager と統合されているかどうかを示します。 有効な値は EnableDisable です。

Enable

RDModule

string

マルチアカウントモジュールが有効かどうかを示します。 有効な値は EnableDisable です。

Enable

HSMModule

string

Bastionhost インスタンスがハードウェアセキュリティモジュール (HSM) と統合されているかどうかを示します。

WhiteListPolicies

array<object>

設定済みの IP アドレスホワイトリストポリシー。

object

Entry

string

ホワイトリスト内の IP アドレスまたは CIDR ブロック。

94.74.xx.xx/32

Description

string

ホワイトリストルールの説明。

description

AppOperationModule

string

アプリケーション O&M (運用保守) モジュールが有効かどうかを示します。 有効な値は EnableDisable です。

Enable

成功レスポンス

JSONJSON

{
  "RequestId": "082FAB35-6AB9-4FD5-8750-D36673548E76",
  "InstanceAttribute": {
    "VpcId": "vpc-bp1c85tzgqu1bf5bxxxxx",
    "VswitchId": "vsw-bp1xfwzzfti0kjbfxxxxx",
    "Description": "测试API",
    "ExpireTime": 1578326400000,
    "ModifyPasswordModule": "Enable",
    "EniInstanceId": "eni-bp1455jrzwm7moaxxxxx",
    "InstanceId": "bastionhost-cn-78v1ghxxxxx",
    "InternetEndpoint": "******lwb-public.bastionhost.aliyuncs.com",
    "RegionId": "cn-hangzhou",
    "IntranetEndpoint": "******xalwb.bastionhost.aliyuncs.com",
    "StartTime": 1577681345000,
    "ResourceGroupId": "rg-aekzc427db******",
    "NetworkProxyModule": "Enable",
    "WebTerminalModule": "Enable",
    "InstanceStatus": "RUNNING",
    "LicenseCode": "bhah_ent_50_asset",
    "PublicNetworkAccess": true,
    "Storage": 2199023255552,
    "Ports": [
      {
        "StandardPort": 60022,
        "CustomPort": 0
      }
    ],
    "PublicExportIps": [
      "[10.162.168.xx/32]"
    ],
    "PublicWhiteList": [
      "[10.162.168.xx/32]"
    ],
    "AuthorizedSecurityGroups": [
      "[sg-bp14u00sh39jvw5xxxxx]"
    ],
    "PrivateExportIps": [
      "192.168.xx.xx"
    ],
    "PublicIps": [
      "116.62.xx.xx"
    ],
    "SecurityGroupIds": [
      "sg-bp15ed6xe1yxeycg7o****"
    ],
    "PrivateWhiteList": [
      "192.168.xx.xx"
    ],
    "Bandwidth": "30",
    "BandwidthPackage": "5",
    "DbOperationModule": "Disable",
    "RouterRules": [
      ""
    ],
    "IDaaSModule": "Enable",
    "SlaveVswitchId": "vsw-uf6cmnae7hu5****",
    "ScriptDeliverModule": "Enable",
    "KmsSecretModule": "Enable",
    "RDModule": "Enable",
    "HSMModule": "",
    "WhiteListPolicies": [
      {
        "Entry": "94.74.xx.xx/32",
        "Description": "description"
      }
    ],
    "AppOperationModule": "Enable"
  }
}

エラーコード

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。