Sandbox Custom Images - Create Or Update
サンドボックス カスタム イメージを作成または更新します。
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/sandboxCustomImages/{sandboxCustomImageName}?api-version=2024-04-13
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
cluster
|
path | True |
string pattern: ^.*$ |
Kusto クラスターの名前。 |
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前では大文字と小文字が区別されません。 |
sandbox
|
path | True |
string pattern: ^.*$ |
サンドボックス カスタム イメージの名前。 |
subscription
|
path | True |
string minLength: 1 |
ターゲット サブスクリプションの ID。 |
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
要求本文
名前 | 必須 | 型 | 説明 |
---|---|---|---|
properties.language | True |
言語名 (Python など)。 |
|
properties.baseImageName |
string |
カスタム イメージの上に構築される基本イメージ名。 LanguageExtensionImageName (例: 'Python3_10_8'、'Python3_10_8_DL') のいずれか、または既存のカスタム イメージの名前を指定できます。 このプロパティまたは languageVersion を指定する必要があります。 |
|
properties.languageVersion |
string |
言語のバージョン。 このプロパティまたは baseImageName を指定する必要があります。 |
|
properties.requirementsFileContent |
string |
要件ファイルの内容。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
サンドボックス カスタム イメージが正常に更新されました。 |
|
201 Created |
サンドボックス カスタム イメージが正常に作成されました。 |
|
Other Status Codes |
操作が失敗した理由を説明するエラー応答。 |
例
Kusto |
Kusto |
Kusto |
KustoSandboxCustomImagesCreateOrUpdate
要求のサンプル
PUT https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster/sandboxCustomImages/customImage8?api-version=2024-04-13
{
"properties": {
"language": "Python",
"languageVersion": "3.10.8",
"requirementsFileContent": "Requests"
}
}
応答のサンプル
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f12?api-version=2021-02-01
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/SandboxCustomImages/customImage8",
"name": "kustoCluster/customImage8",
"type": "Microsoft.Kusto/Clusters/SandboxCustomImages",
"properties": {
"language": "Python",
"languageVersion": "3.10.8",
"requirementsFileContent": "Requests",
"provisioningState": "Accepted"
}
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f12?api-version=2021-02-01
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/SandboxCustomImages/customImage8",
"name": "kustoCluster/customImage8",
"type": "Microsoft.Kusto/Clusters/SandboxCustomImages",
"properties": {
"language": "Python",
"languageVersion": "3.10.8",
"requirementsFileContent": "Requests",
"provisioningState": "Creating"
}
}
KustoSandboxCustomImagesCreateOrUpdateWithCustomBaseImage
要求のサンプル
PUT https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster/sandboxCustomImages/customImage2?api-version=2024-04-13
{
"properties": {
"language": "Python",
"baseImageName": "customImage1",
"requirementsFileContent": "Requests"
}
}
応答のサンプル
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f12?api-version=2021-02-01
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/SandboxCustomImages/customImage2",
"name": "kustoCluster/customImage2",
"type": "Microsoft.Kusto/Clusters/SandboxCustomImages",
"properties": {
"language": "Python",
"baseImageName": "customImage1",
"requirementsFileContent": "Requests",
"provisioningState": "Succeeded"
}
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f12?api-version=2021-02-01
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/SandboxCustomImages/customImage2",
"name": "kustoCluster/customImage2",
"type": "Microsoft.Kusto/Clusters/SandboxCustomImages",
"properties": {
"language": "Python",
"baseImageName": "customImage1",
"requirementsFileContent": "Requests",
"provisioningState": "Creating"
}
}
KustoSandboxCustomImagesCreateOrUpdateWithManagedBaseImage
要求のサンプル
PUT https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster/sandboxCustomImages/customImage2?api-version=2024-04-13
{
"properties": {
"language": "Python",
"baseImageName": "Python3_10_8",
"requirementsFileContent": "Requests"
}
}
応答のサンプル
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f12?api-version=2021-02-01
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/SandboxCustomImages/customImage2",
"name": "kustoCluster/customImage2",
"type": "Microsoft.Kusto/Clusters/SandboxCustomImages",
"properties": {
"language": "Python",
"baseImageName": "Python3_10_8",
"requirementsFileContent": "Requests",
"provisioningState": "Accepted"
}
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f12?api-version=2021-02-01
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/SandboxCustomImages/customImage2",
"name": "kustoCluster/customImage2",
"type": "Microsoft.Kusto/Clusters/SandboxCustomImages",
"properties": {
"language": "Python",
"baseImageName": "Python3_10_8",
"requirementsFileContent": "Requests",
"provisioningState": "Creating"
}
}
定義
名前 | 説明 |
---|---|
Error |
リソース管理エラーの追加情報。 |
Error |
エラーの詳細。 |
Error |
エラー応答 |
language |
言語名 (Python など)。 |
Provisioning |
リソースのプロビジョニング済み状態。 |
Sandbox |
Kusto サンドボックスのカスタム イメージを表すクラス。 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
error |
エラー オブジェクト。 |
language
言語名 (Python など)。
値 | 説明 |
---|---|
Python |
ProvisioningState
リソースのプロビジョニング済み状態。
値 | 説明 |
---|---|
Canceled | |
Creating | |
Deleting | |
Failed | |
Moving | |
Running | |
Succeeded |
SandboxCustomImage
Kusto サンドボックスのカスタム イメージを表すクラス。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
リソースの名前 |
properties.baseImageName |
string |
カスタム イメージの上に構築される基本イメージ名。 LanguageExtensionImageName (例: 'Python3_10_8'、'Python3_10_8_DL') のいずれか、または既存のカスタム イメージの名前を指定できます。 このプロパティまたは languageVersion を指定する必要があります。 |
properties.language |
言語名 (Python など)。 |
|
properties.languageVersion |
string |
言語のバージョン。 このプロパティまたは baseImageName を指定する必要があります。 |
properties.provisioningState |
リソースのプロビジョニング済み状態。 |
|
properties.requirementsFileContent |
string |
要件ファイルの内容。 |
type |
string |
リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |