Microsoft.HDInsight クラスター/アプリケーション 2015-03-01-preview
- [アーティクル]
-
-
Bicep リソース定義
クラスター/アプリケーション リソースの種類は、次の場合にデプロイできます。
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
Microsoft.HDInsight/clusters/applications リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.HDInsight/clusters/applications@2015-03-01-preview' = {
name: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
parent: resourceSymbolicName
etag: 'string'
properties: {
applicationType: 'string'
computeProfile: {
roles: [
{
autoscale: {
capacity: {
maxInstanceCount: int
minInstanceCount: int
}
recurrence: {
schedule: [
{
days: [
'string'
]
timeAndCapacity: {
maxInstanceCount: int
minInstanceCount: int
time: 'string'
}
}
]
timeZone: 'string'
}
}
dataDisksGroups: [
{
disksPerNode: int
}
]
encryptDataDisks: bool
hardwareProfile: {
vmSize: 'string'
}
minInstanceCount: int
name: 'string'
osProfile: {
linuxOperatingSystemProfile: {
password: 'string'
sshProfile: {
publicKeys: [
{
certificateData: 'string'
}
]
}
username: 'string'
}
}
scriptActions: [
{
name: 'string'
parameters: 'string'
uri: 'string'
}
]
targetInstanceCount: int
virtualNetworkProfile: {
id: 'string'
subnet: 'string'
}
VMGroupName: 'string'
}
]
}
errors: [
{
code: 'string'
message: 'string'
}
]
httpsEndpoints: [
{
accessModes: [
'string'
]
destinationPort: int
disableGatewayAuth: bool
privateIPAddress: 'string'
subDomainSuffix: 'string'
}
]
installScriptActions: [
{
name: 'string'
parameters: 'string'
roles: [
'string'
]
uri: 'string'
}
]
sshEndpoints: [
{
destinationPort: int
location: 'string'
privateIPAddress: 'string'
publicPort: int
}
]
uninstallScriptActions: [
{
name: 'string'
parameters: 'string'
roles: [
'string'
]
uri: 'string'
}
]
}
}
プロパティの値
clusters/applications
名前 |
説明 |
値 |
name |
リソース名
Bicep で子リソースの名前と型を設定する方法を参照してください。 |
string (必須) |
tags |
アプリケーションのタグ。 |
タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください |
parent |
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。
詳細については、「 親リソースの外部の子リソース」を参照してください。 |
種類のリソースのシンボル名: クラスター |
etag |
アプリケーションの ETag |
string |
properties |
アプリケーションのプロパティ。 |
ApplicationProperties |
ApplicationProperties
ComputeProfile
名前 |
説明 |
値 |
roles |
クラスター内のロールの一覧。 |
Role[] |
ロール
名前 |
説明 |
値 |
自動スケーリング |
自動スケーリングの構成。 |
Autoscale |
dataDisksGroups |
ロールのデータ ディスク グループ。 |
DataDisksGroups[] |
encryptDataDisks |
データ ディスクを暗号化するかどうかを示します。 |
[bool] |
hardwareProfile |
ハードウェア プロファイル。 |
HardwareProfile |
minInstanceCount |
クラスターの最小インスタンス数。 |
INT |
name |
ロールの名前。 |
string |
osProfile |
オペレーティング システム プロファイル。 |
OsProfile |
scriptActions |
ロールに対するスクリプト アクションの一覧。 |
ScriptAction[] |
targetInstanceCount |
クラスターのインスタンス数。 |
INT |
virtualNetworkProfile |
仮想ネットワーク プロファイル。 |
VirtualNetworkProfile |
VMGroupName |
仮想マシン グループの名前。 |
string |
自動スケール
AutoscaleCapacity
名前 |
説明 |
値 |
maxInstanceCount |
クラスターの最大インスタンス数 |
INT |
minInstanceCount |
クラスターの最小インスタンス数 |
INT |
AutoscaleRecurrence
名前 |
説明 |
値 |
schedule |
スケジュールベースの自動スケーリング ルールの配列 |
AutoscaleSchedule[] |
timeZone |
自動スケーリング スケジュール時刻のタイム ゾーン |
string |
AutoscaleSchedule
名前 |
説明 |
値 |
days |
スケジュールベースの自動スケーリング ルールの曜日 |
次のいずれかを含む文字列配列: 'Friday' 'Monday' 'Saturday' '日曜日' '木曜日' 'Tuesday' '水曜' |
timeAndCapacity |
スケジュールベースの自動スケーリング ルールの時間と容量 |
AutoscaleTimeAndCapacity |
AutoscaleTimeAndCapacity
名前 |
説明 |
値 |
maxInstanceCount |
クラスターの最大インスタンス数 |
INT |
minInstanceCount |
クラスターの最小インスタンス数 |
INT |
time |
xx:xx 形式の 24 時間時間 |
string |
DataDisksGroups
名前 |
説明 |
値 |
disksPerNode |
ノードあたりのディスク数。 |
INT |
HardwareProfile
名前 |
説明 |
値 |
vmSize |
VM のサイズ |
string |
OsProfile
LinuxOperatingSystemProfile
名前 |
説明 |
値 |
password |
パスワード。 |
string |
sshProfile |
SSH プロファイル。 |
SshProfile |
username |
ユーザー名。 |
string |
SshProfile
SshPublicKey
名前 |
説明 |
値 |
certificateData |
SSH の証明書。 |
string |
ScriptAction
名前 |
説明 |
値 |
name |
スクリプト アクションの名前。 |
string (必須) |
parameters |
指定されたスクリプトのパラメーター。 |
string (必須) |
uri |
スクリプトへの URI。 |
string (必須) |
VirtualNetworkProfile
名前 |
説明 |
値 |
id |
仮想ネットワークの ID。 |
string |
サブネット |
サブネットの名前。 |
string |
エラー
名前 |
説明 |
値 |
code |
エラー コード。 |
string |
message |
エラー メッセージ。 |
string |
ApplicationGetHttpsEndpoint
名前 |
説明 |
値 |
accessModes |
アプリケーションのアクセス モードの一覧。 |
string[] |
destinationPort |
接続先のポート。 |
INT |
disableGatewayAuth |
値は、GatewayAuth を無効にするかどうかを示します。 |
[bool] |
privateIPAddress |
エンドポイントのプライベート IP アドレス。 |
string |
subDomainSuffix |
アプリケーションのサブドメイン サフィックス。 |
string |
RuntimeScriptAction
名前 |
説明 |
値 |
name |
スクリプト アクションの名前。 |
string (必須) |
parameters |
スクリプトのパラメーター |
string |
roles |
スクリプトが実行されるロールの一覧。 |
string[] (必須) |
uri |
スクリプトへの URI。 |
string (必須) |
ApplicationGetEndpoint
名前 |
説明 |
値 |
destinationPort |
接続先のポート。 |
INT |
location |
エンドポイントの位置。 |
string |
privateIPAddress |
エンドポイントのプライベート IP アドレス。 |
string |
publicPort |
接続するパブリック ポート。 |
INT |
クイック スタート テンプレート
次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。
ARM テンプレート リソース定義
クラスター/アプリケーション リソースの種類は、次の場合にデプロイできます。
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
Microsoft.HDInsight/clusters/applications リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.HDInsight/clusters/applications",
"apiVersion": "2015-03-01-preview",
"name": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"etag": "string",
"properties": {
"applicationType": "string",
"computeProfile": {
"roles": [
{
"autoscale": {
"capacity": {
"maxInstanceCount": "int",
"minInstanceCount": "int"
},
"recurrence": {
"schedule": [
{
"days": [ "string" ],
"timeAndCapacity": {
"maxInstanceCount": "int",
"minInstanceCount": "int",
"time": "string"
}
}
],
"timeZone": "string"
}
},
"dataDisksGroups": [
{
"disksPerNode": "int"
}
],
"encryptDataDisks": "bool",
"hardwareProfile": {
"vmSize": "string"
},
"minInstanceCount": "int",
"name": "string",
"osProfile": {
"linuxOperatingSystemProfile": {
"password": "string",
"sshProfile": {
"publicKeys": [
{
"certificateData": "string"
}
]
},
"username": "string"
}
},
"scriptActions": [
{
"name": "string",
"parameters": "string",
"uri": "string"
}
],
"targetInstanceCount": "int",
"virtualNetworkProfile": {
"id": "string",
"subnet": "string"
},
"VMGroupName": "string"
}
]
},
"errors": [
{
"code": "string",
"message": "string"
}
],
"httpsEndpoints": [
{
"accessModes": [ "string" ],
"destinationPort": "int",
"disableGatewayAuth": "bool",
"privateIPAddress": "string",
"subDomainSuffix": "string"
}
],
"installScriptActions": [
{
"name": "string",
"parameters": "string",
"roles": [ "string" ],
"uri": "string"
}
],
"sshEndpoints": [
{
"destinationPort": "int",
"location": "string",
"privateIPAddress": "string",
"publicPort": "int"
}
],
"uninstallScriptActions": [
{
"name": "string",
"parameters": "string",
"roles": [ "string" ],
"uri": "string"
}
]
}
}
プロパティの値
clusters/applications
名前 |
説明 |
値 |
type |
リソースの種類 |
'Microsoft.HDInsight/clusters/applications' |
apiVersion |
リソース API のバージョン |
'2015-03-01-preview' |
name |
リソース名
JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。 |
string (必須) |
tags |
アプリケーションのタグ。 |
タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください |
etag |
アプリケーションの ETag |
string |
properties |
アプリケーションのプロパティ。 |
ApplicationProperties |
ApplicationProperties
ComputeProfile
名前 |
説明 |
値 |
roles |
クラスター内のロールの一覧。 |
Role[] |
ロール
名前 |
説明 |
値 |
自動スケーリング |
自動スケーリングの構成。 |
Autoscale |
dataDisksGroups |
ロールのデータ ディスク グループ。 |
DataDisksGroups[] |
encryptDataDisks |
データ ディスクを暗号化するかどうかを示します。 |
[bool] |
hardwareProfile |
ハードウェア プロファイル。 |
HardwareProfile |
minInstanceCount |
クラスターの最小インスタンス数。 |
INT |
name |
ロールの名前。 |
string |
osProfile |
オペレーティング システム プロファイル。 |
OsProfile |
scriptActions |
ロールに対するスクリプト アクションの一覧。 |
ScriptAction[] |
targetInstanceCount |
クラスターのインスタンス数。 |
INT |
virtualNetworkProfile |
仮想ネットワーク プロファイル。 |
VirtualNetworkProfile |
VMGroupName |
仮想マシン グループの名前。 |
string |
自動スケール
AutoscaleCapacity
名前 |
説明 |
値 |
maxInstanceCount |
クラスターの最大インスタンス数 |
INT |
minInstanceCount |
クラスターの最小インスタンス数 |
INT |
AutoscaleRecurrence
名前 |
説明 |
値 |
schedule |
スケジュールベースの自動スケーリング ルールの配列 |
AutoscaleSchedule[] |
timeZone |
自動スケーリング スケジュール時間のタイム ゾーン |
string |
AutoscaleSchedule
名前 |
説明 |
値 |
days |
スケジュールベースの自動スケーリング ルールの曜日 |
次のいずれかを含む文字列配列: 'Friday' 'Monday' '土曜日' 'Sunday' '木曜日' '火曜日' '水曜日' |
timeAndCapacity |
スケジュールベースの自動スケーリング ルールの時間と容量 |
AutoscaleTimeAndCapacity |
AutoscaleTimeAndCapacity
名前 |
説明 |
値 |
maxInstanceCount |
クラスターの最大インスタンス数 |
INT |
minInstanceCount |
クラスターの最小インスタンス数 |
INT |
time |
xx:xx 形式の 24 時間の時刻 |
string |
DataDisksGroups
名前 |
説明 |
値 |
disksPerNode |
ノードあたりのディスク数。 |
INT |
HardwareProfile
名前 |
説明 |
値 |
vmSize |
VM のサイズ |
string |
OsProfile
LinuxOperatingSystemProfile
名前 |
説明 |
値 |
password |
パスワード。 |
string |
sshProfile |
SSH プロファイル。 |
SshProfile |
username |
ユーザー名。 |
string |
SshProfile
SshPublicKey
名前 |
説明 |
値 |
certificateData |
SSH の証明書。 |
string |
ScriptAction
名前 |
説明 |
値 |
name |
スクリプト アクションの名前。 |
string (必須) |
parameters |
指定されたスクリプトのパラメーター。 |
string (必須) |
uri |
スクリプトの URI。 |
string (必須) |
VirtualNetworkProfile
名前 |
説明 |
値 |
id |
仮想ネットワークの ID。 |
string |
サブネット |
サブネットの名前。 |
string |
エラー
名前 |
説明 |
値 |
code |
エラー コード。 |
string |
message |
エラー メッセージ。 |
string |
ApplicationGetHttpsEndpoint
名前 |
説明 |
値 |
accessModes |
アプリケーションのアクセス モードの一覧。 |
string[] |
destinationPort |
接続先のポート。 |
INT |
disableGatewayAuth |
値は、GatewayAuth を無効にするかどうかを示します。 |
[bool] |
privateIPAddress |
エンドポイントのプライベート IP アドレス。 |
string |
subDomainSuffix |
アプリケーションのサブドメイン サフィックス。 |
string |
RuntimeScriptAction
名前 |
説明 |
値 |
name |
スクリプト アクションの名前。 |
string (必須) |
parameters |
スクリプトのパラメーター |
string |
roles |
スクリプトが実行されるロールの一覧。 |
string[] (必須) |
uri |
スクリプトの URI。 |
string (必須) |
ApplicationGetEndpoint
名前 |
説明 |
値 |
destinationPort |
接続先のポート。 |
INT |
location |
エンドポイントの位置。 |
string |
privateIPAddress |
エンドポイントのプライベート IP アドレス。 |
string |
publicPort |
接続するパブリック ポート。 |
INT |
クイック スタート テンプレート
次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。
クラスター/アプリケーションのリソースの種類は、次の場合にデプロイできます。
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
Microsoft.HDInsight/clusters/applications リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.HDInsight/clusters/applications@2015-03-01-preview"
name = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
applicationType = "string"
computeProfile = {
roles = [
{
autoscale = {
capacity = {
maxInstanceCount = int
minInstanceCount = int
}
recurrence = {
schedule = [
{
days = [
"string"
]
timeAndCapacity = {
maxInstanceCount = int
minInstanceCount = int
time = "string"
}
}
]
timeZone = "string"
}
}
dataDisksGroups = [
{
disksPerNode = int
}
]
encryptDataDisks = bool
hardwareProfile = {
vmSize = "string"
}
minInstanceCount = int
name = "string"
osProfile = {
linuxOperatingSystemProfile = {
password = "string"
sshProfile = {
publicKeys = [
{
certificateData = "string"
}
]
}
username = "string"
}
}
scriptActions = [
{
name = "string"
parameters = "string"
uri = "string"
}
]
targetInstanceCount = int
virtualNetworkProfile = {
id = "string"
subnet = "string"
}
VMGroupName = "string"
}
]
}
errors = [
{
code = "string"
message = "string"
}
]
httpsEndpoints = [
{
accessModes = [
"string"
]
destinationPort = int
disableGatewayAuth = bool
privateIPAddress = "string"
subDomainSuffix = "string"
}
]
installScriptActions = [
{
name = "string"
parameters = "string"
roles = [
"string"
]
uri = "string"
}
]
sshEndpoints = [
{
destinationPort = int
location = "string"
privateIPAddress = "string"
publicPort = int
}
]
uninstallScriptActions = [
{
name = "string"
parameters = "string"
roles = [
"string"
]
uri = "string"
}
]
}
etag = "string"
})
}
プロパティの値
clusters/applications
名前 |
説明 |
値 |
type |
リソースの種類 |
"Microsoft.HDInsight/clusters/applications@2015-03-01-preview" |
name |
リソース名 |
string (必須) |
parent_id |
このリソースの親であるリソースの ID。 |
種類のリソースの ID: クラスター |
tags |
アプリケーションのタグ。 |
タグ名と値のディクショナリ。 |
etag |
アプリケーションの ETag |
string |
properties |
アプリケーションのプロパティ。 |
ApplicationProperties |
ApplicationProperties
ComputeProfile
名前 |
説明 |
値 |
roles |
クラスター内のロールの一覧。 |
Role[] |
ロール
名前 |
説明 |
値 |
自動スケーリング |
自動スケーリングの構成。 |
Autoscale |
dataDisksGroups |
ロールのデータ ディスク グループ。 |
DataDisksGroups[] |
encryptDataDisks |
データ ディスクを暗号化するかどうかを示します。 |
[bool] |
hardwareProfile |
ハードウェア プロファイル。 |
HardwareProfile |
minInstanceCount |
クラスターの最小インスタンス数。 |
INT |
name |
ロールの名前。 |
string |
osProfile |
オペレーティング システム プロファイル。 |
OsProfile |
scriptActions |
ロールに対するスクリプト アクションの一覧。 |
ScriptAction[] |
targetInstanceCount |
クラスターのインスタンス数。 |
INT |
virtualNetworkProfile |
仮想ネットワーク プロファイル。 |
VirtualNetworkProfile |
VMGroupName |
仮想マシン グループの名前。 |
string |
自動スケール
AutoscaleCapacity
名前 |
説明 |
値 |
maxInstanceCount |
クラスターの最大インスタンス数 |
INT |
minInstanceCount |
クラスターの最小インスタンス数 |
INT |
AutoscaleRecurrence
名前 |
説明 |
値 |
schedule |
スケジュールベースの自動スケーリング ルールの配列 |
AutoscaleSchedule[] |
timeZone |
自動スケーリング スケジュール時刻のタイム ゾーン |
string |
AutoscaleSchedule
名前 |
説明 |
値 |
days |
スケジュールベースの自動スケーリング ルールの曜日 |
次のいずれかを含む文字列配列: "金曜日" "月曜日" "土曜日" "日曜日" "木曜日" "火曜日" "水曜日" |
timeAndCapacity |
スケジュールベースの自動スケーリング ルールの時間と容量 |
AutoscaleTimeAndCapacity |
AutoscaleTimeAndCapacity
名前 |
説明 |
値 |
maxInstanceCount |
クラスターの最大インスタンス数 |
INT |
minInstanceCount |
クラスターの最小インスタンス数 |
INT |
time |
xx:xx 形式の 24 時間時間 |
string |
DataDisksGroups
名前 |
説明 |
値 |
disksPerNode |
ノードあたりのディスク数。 |
INT |
HardwareProfile
名前 |
説明 |
値 |
vmSize |
VM のサイズ |
string |
OsProfile
LinuxOperatingSystemProfile
名前 |
説明 |
値 |
password |
パスワード。 |
string |
sshProfile |
SSH プロファイル。 |
SshProfile |
username |
ユーザー名。 |
string |
SshProfile
SshPublicKey
名前 |
説明 |
値 |
certificateData |
SSH の証明書。 |
string |
ScriptAction
名前 |
説明 |
値 |
name |
スクリプト アクションの名前。 |
string (必須) |
parameters |
指定されたスクリプトのパラメーター。 |
string (必須) |
uri |
スクリプトへの URI。 |
string (必須) |
VirtualNetworkProfile
名前 |
説明 |
値 |
id |
仮想ネットワークの ID。 |
string |
サブネット |
サブネットの名前。 |
string |
エラー
名前 |
説明 |
値 |
code |
エラー コード。 |
string |
message |
エラー メッセージ。 |
string |
ApplicationGetHttpsEndpoint
名前 |
説明 |
値 |
accessModes |
アプリケーションのアクセス モードの一覧。 |
string[] |
destinationPort |
接続先のポート。 |
INT |
disableGatewayAuth |
値は、GatewayAuth を無効にするかどうかを示します。 |
[bool] |
privateIPAddress |
エンドポイントのプライベート IP アドレス。 |
string |
subDomainSuffix |
アプリケーションのサブドメイン サフィックス。 |
string |
RuntimeScriptAction
名前 |
説明 |
値 |
name |
スクリプト アクションの名前。 |
string (必須) |
parameters |
スクリプトのパラメーター |
string |
roles |
スクリプトが実行されるロールの一覧。 |
string[] (必須) |
uri |
スクリプトへの URI。 |
string (必須) |
ApplicationGetEndpoint
名前 |
説明 |
値 |
destinationPort |
接続先のポート。 |
INT |
location |
エンドポイントの位置。 |
string |
privateIPAddress |
エンドポイントのプライベート IP アドレス。 |
string |
publicPort |
接続するパブリック ポート。 |
int |