次の方法で共有


Managed Clusters - Get OS Options

指定したサブスクリプションでサポートされている OS オプションを取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default?api-version=2024-02-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default?api-version=2024-02-01&resource-type={resource-type}

URI パラメーター

名前 / 必須 説明
location
path True

string

Azure リージョンの名前。

subscriptionId
path True

string

uuid

ターゲット サブスクリプションの ID。 値は UUID である必要があります。

api-version
query True

string

この操作に使用する API バージョン。

resource-type
query

string

OS オプションを返す必要があるリソースの種類

応答

名前 説明
200 OK

OSOptionProfile

OK

Other Status Codes

CloudError

操作に失敗した理由を説明するエラー応答

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

Get Container Service OS Options

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/location1/osOptions/default?api-version=2024-02-01

Sample Response

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/location1/osOptions/default",
  "name": "default",
  "type": "Microsoft.ContainerService/locations/osOptions",
  "properties": {
    "osOptionPropertyList": [
      {
        "os-type": "Linux",
        "enable-fips-image": false
      },
      {
        "os-type": "Windows",
        "enable-fips-image": false
      }
    ]
  }
}

定義

名前 説明
CloudError

Container サービスからのエラー応答。

CloudErrorBody

Container サービスからのエラー応答。

OSOptionProfile

OS オプション プロファイル。

OSOptionProperty

OS オプション プロパティ。

CloudError

Container サービスからのエラー応答。

名前 説明
error

CloudErrorBody

エラーの詳細。

CloudErrorBody

Container サービスからのエラー応答。

名前 説明
code

string

エラーの識別子。 コードは不変であり、プログラムによって使用されることを意図しています。

details

CloudErrorBody[]

エラーに関する追加の詳細の一覧。

message

string

ユーザー インターフェイスでの表示に適したエラーを説明するメッセージ。

target

string

特定のエラーのターゲット。 たとえば、エラーが発生したプロパティの名前です。

OSOptionProfile

OS オプション プロファイル。

名前 説明
id

string

OS オプション リソースの ID。

name

string

OS オプション リソースの名前。

properties.osOptionPropertyList

OSOptionProperty[]

OS オプションの一覧。

type

string

OS オプション リソースの種類。

OSOptionProperty

OS オプション プロパティ。

名前 説明
enable-fips-image

boolean

イメージが FIPS 対応かどうか。

os-type

string

OS の種類。