Microsoft.RedHatOpenShift openShiftClusters 2021-09-01-preview

Bicep リソース定義

openShiftClusters リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.RedHatOpenShift/openShiftClusters リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.RedHatOpenShift/openShiftClusters@2021-09-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    apiserverProfile: {
      ip: 'string'
      url: 'string'
      visibility: 'string'
    }
    clusterProfile: {
      domain: 'string'
      pullSecret: 'string'
      resourceGroupId: 'string'
      version: 'string'
    }
    consoleProfile: {
      url: 'string'
    }
    ingressProfiles: [
      {
        ip: 'string'
        name: 'string'
        visibility: 'string'
      }
    ]
    masterProfile: {
      diskEncryptionSetId: 'string'
      encryptionAtHost: 'string'
      subnetId: 'string'
      vmSize: 'string'
    }
    networkProfile: {
      podCidr: 'string'
      serviceCidr: 'string'
      softwareDefinedNetwork: 'string'
    }
    provisioningState: 'string'
    servicePrincipalProfile: {
      clientId: 'string'
      clientSecret: 'string'
    }
    workerProfiles: [
      {
        count: int
        diskEncryptionSetId: 'string'
        diskSizeGB: int
        encryptionAtHost: 'string'
        name: 'string'
        subnetId: 'string'
        vmSize: 'string'
      }
    ]
  }
}

プロパティ値

openShiftClusters

名前 説明
name リソース名 string (必須)
location リソースが保存されている地理的な場所 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
properties クラスターのプロパティ。 OpenShiftClusterProperties

OpenShiftClusterProperties

名前 説明
apiserverProfile クラスター API サーバー プロファイル。 APIServerProfile
clusterProfile クラスター プロファイル。 ClusterProfile
consoleProfile コンソール プロファイル。 ConsoleProfile
ingressProfiles クラスターのイングレス プロファイル。 IngressProfile[]
masterProfile クラスター マスター プロファイル。 MasterProfile
networkProfile クラスター ネットワーク プロファイル。 NetworkProfile
provisioningState クラスターのプロビジョニング状態。 'AdminUpdating'
'Creating'
'削除中'
'Failed'
'Succeeded'
'更新中'
servicePrincipalProfile クラスター サービス プリンシパル プロファイル。 ServicePrincipalProfile
workerProfiles クラスター ワーカー プロファイル。 WorkerProfile[]

APIServerProfile

名前 説明
ip クラスター API サーバーの IP。 string
url クラスター API サーバーにアクセスするための URL。 string
参照可能範囲 API サーバーの可視性。 'Private'
'Public'

ClusterProfile

名前 説明
domain クラスターのドメイン。 string
pullSecret クラスターのプル シークレット。 string
resourceGroupId クラスター リソース グループの ID。 string
version クラスターのバージョン。 string

ConsoleProfile

名前 説明
url クラスター コンソールにアクセスするための URL。 string

IngressProfile

名前 説明
ip イングレスの IP。 string
name イングレス プロファイル名。 string
参照可能範囲 イングレスの可視性。 'Private'
'Public'

MasterProfile

名前 説明
diskEncryptionSetId 関連する DiskEncryptionSet のリソース ID (該当する場合)。 string
encryptionAtHost マスター仮想マシンがホストで暗号化されているかどうか。 'Disabled'
'Enabled'
subnetId マスター サブネットの Azure リソース ID。 string
vmSize マスター VM のサイズ。 'Standard_D16as_v4'
'Standard_D16s_v3'
'Standard_D2s_v3'
'Standard_D32as_v4'
'Standard_D32s_v3'
'Standard_D4as_v4'
'Standard_D4s_v3'
'Standard_D8as_v4'
'Standard_D8s_v3'
'Standard_E16s_v3'
'Standard_E32s_v3'
'Standard_E4s_v3'
'Standard_E64i_v3'
'Standard_E64is_v3'
'Standard_E8s_v3'
'Standard_F16s_v2'
'Standard_F32s_v2'
'Standard_F4s_v2'
'Standard_F72s_v2'
'Standard_F8s_v2'
'Standard_G5'
'Standard_GS5'
'Standard_M128ms'

NetworkProfile

名前 説明
podCidr OpenShift/Kubernetes ポッドに使用される CIDR。 string
serviceCidr OpenShift/Kubernetes Services に使用される CIDR。 string
softwareDefinedNetwork クラスターのインストール時に使用するソフトウェア定義ネットワーク (SDN)。 'OVNKubernetes'
'OpenShiftSDN'

ServicePrincipalProfile

名前 説明
clientId クラスターに使用されるクライアント ID。 string
clientSecret クラスターに使用されるクライアント シークレット。 string

WorkerProfile

名前 説明
count ワーカー VM の数。 INT
diskEncryptionSetId 関連する DiskEncryptionSet のリソース ID (該当する場合)。 string
diskSizeGB ワーカー VM のディスク サイズ。 INT
encryptionAtHost マスター仮想マシンがホストで暗号化されているかどうか。 'Disabled'
'Enabled'
name worker プロファイル名。 string
subnetId ワーカー サブネットの Azure リソース ID。 string
vmSize ワーカー VM のサイズ。 'Standard_D16as_v4'
'Standard_D16s_v3'
'Standard_D2s_v3'
'Standard_D32as_v4'
'Standard_D32s_v3'
'Standard_D4as_v4'
'Standard_D4s_v3'
'Standard_D8as_v4'
'Standard_D8s_v3'
'Standard_E16s_v3'
'Standard_E32s_v3'
'Standard_E4s_v3'
'Standard_E64i_v3'
'Standard_E64is_v3'
'Standard_E8s_v3'
'Standard_F16s_v2'
'Standard_F32s_v2'
'Standard_F4s_v2'
'Standard_F72s_v2'
'Standard_F8s_v2'
'Standard_G5'
'Standard_GS5'
'Standard_M128ms'

ARM テンプレート リソース定義

openShiftClusters リソースの種類は、次をターゲットとする操作と共にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.RedHatOpenShift/openShiftClusters リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.RedHatOpenShift/openShiftClusters",
  "apiVersion": "2021-09-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "apiserverProfile": {
      "ip": "string",
      "url": "string",
      "visibility": "string"
    },
    "clusterProfile": {
      "domain": "string",
      "pullSecret": "string",
      "resourceGroupId": "string",
      "version": "string"
    },
    "consoleProfile": {
      "url": "string"
    },
    "ingressProfiles": [
      {
        "ip": "string",
        "name": "string",
        "visibility": "string"
      }
    ],
    "masterProfile": {
      "diskEncryptionSetId": "string",
      "encryptionAtHost": "string",
      "subnetId": "string",
      "vmSize": "string"
    },
    "networkProfile": {
      "podCidr": "string",
      "serviceCidr": "string",
      "softwareDefinedNetwork": "string"
    },
    "provisioningState": "string",
    "servicePrincipalProfile": {
      "clientId": "string",
      "clientSecret": "string"
    },
    "workerProfiles": [
      {
        "count": "int",
        "diskEncryptionSetId": "string",
        "diskSizeGB": "int",
        "encryptionAtHost": "string",
        "name": "string",
        "subnetId": "string",
        "vmSize": "string"
      }
    ]
  }
}

プロパティ値

openShiftClusters

名前 説明
type リソースの種類 'Microsoft.RedHatOpenShift/openShiftClusters'
apiVersion リソース API のバージョン '2021-09-01-preview'
name リソース名 string (必須)
location リソースが保存されている地理的な場所 string (必須)
tags リソース タグ。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
properties クラスターのプロパティ。 OpenShiftClusterProperties

OpenShiftClusterProperties

名前 説明
apiserverProfile クラスター API サーバー プロファイル。 APIServerProfile
clusterProfile クラスター プロファイル。 ClusterProfile
consoleProfile コンソール プロファイル。 ConsoleProfile
ingressProfiles クラスターのイングレス プロファイル。 IngressProfile[]
masterProfile クラスター マスター プロファイル。 MasterProfile
networkProfile クラスター ネットワーク プロファイル。 NetworkProfile
provisioningState クラスターのプロビジョニング状態。 'AdminUpdating'
'Creating'
'削除中'
'Failed'
'Succeeded'
'更新中'
servicePrincipalProfile クラスター サービス プリンシパル プロファイル。 ServicePrincipalProfile
workerProfiles クラスター ワーカー プロファイル。 WorkerProfile[]

APIServerProfile

名前 説明
ip クラスター API サーバーの IP。 string
url クラスター API サーバーにアクセスするための URL。 string
参照可能範囲 API サーバーの可視性。 'Private'
'Public'

ClusterProfile

名前 説明
domain クラスターのドメイン。 string
pullSecret クラスターのプル シークレット。 string
resourceGroupId クラスター リソース グループの ID。 string
version クラスターのバージョン。 string

ConsoleProfile

名前 説明
url クラスター コンソールにアクセスする URL。 string

IngressProfile

名前 説明
ip イングレスの IP。 string
name イングレス プロファイル名。 string
参照可能範囲 イングレスの可視性。 'Private'
'Public'

MasterProfile

名前 説明
diskEncryptionSetId 関連する DiskEncryptionSet のリソース ID (該当する場合)。 string
encryptionAtHost マスター仮想マシンがホストで暗号化されているかどうか。 'Disabled'
'Enabled'
subnetId マスター サブネットの Azure リソース ID。 string
vmSize マスター VM のサイズ。 'Standard_D16as_v4'
'Standard_D16s_v3'
'Standard_D2s_v3'
'Standard_D32as_v4'
'Standard_D32s_v3'
'Standard_D4as_v4'
'Standard_D4s_v3'
'Standard_D8as_v4'
'Standard_D8s_v3'
'Standard_E16s_v3'
'Standard_E32s_v3'
'Standard_E4s_v3'
'Standard_E64i_v3'
'Standard_E64is_v3'
'Standard_E8s_v3'
'Standard_F16s_v2'
'Standard_F32s_v2'
'Standard_F4s_v2'
'Standard_F72s_v2'
'Standard_F8s_v2'
'Standard_G5'
'Standard_GS5'
'Standard_M128ms'

NetworkProfile

名前 説明
podCidr OpenShift/Kubernetes ポッドに使用される CIDR。 string
serviceCidr OpenShift/Kubernetes Services に使用される CIDR。 string
softwareDefinedNetwork クラスターのインストール時に使用するソフトウェア定義ネットワーク (SDN)。 'OVNKubernetes'
'OpenShiftSDN'

ServicePrincipalProfile

名前 説明
clientId クラスターに使用されるクライアント ID。 string
clientSecret クラスターに使用されるクライアント シークレット。 string

WorkerProfile

名前 説明
count ワーカー VM の数。 INT
diskEncryptionSetId 関連する DiskEncryptionSet のリソース ID (該当する場合)。 string
diskSizeGB ワーカー VM のディスク サイズ。 INT
encryptionAtHost マスター仮想マシンがホストで暗号化されているかどうか。 'Disabled'
'Enabled'
name worker プロファイル名。 string
subnetId ワーカー サブネットの Azure リソース ID。 string
vmSize ワーカー VM のサイズ。 'Standard_D16as_v4'
'Standard_D16s_v3'
'Standard_D2s_v3'
'Standard_D32as_v4'
'Standard_D32s_v3'
'Standard_D4as_v4'
'Standard_D4s_v3'
'Standard_D8as_v4'
'Standard_D8s_v3'
'Standard_E16s_v3'
'Standard_E32s_v3'
'Standard_E4s_v3'
'Standard_E64i_v3'
'Standard_E64is_v3'
'Standard_E8s_v3'
'Standard_F16s_v2'
'Standard_F32s_v2'
'Standard_F4s_v2'
'Standard_F72s_v2'
'Standard_F8s_v2'
'Standard_G5'
'Standard_GS5'
'Standard_M128ms'

Terraform (AzAPI プロバイダー) リソース定義

openShiftClusters リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.RedHatOpenShift/openShiftClusters リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RedHatOpenShift/openShiftClusters@2021-09-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      apiserverProfile = {
        ip = "string"
        url = "string"
        visibility = "string"
      }
      clusterProfile = {
        domain = "string"
        pullSecret = "string"
        resourceGroupId = "string"
        version = "string"
      }
      consoleProfile = {
        url = "string"
      }
      ingressProfiles = [
        {
          ip = "string"
          name = "string"
          visibility = "string"
        }
      ]
      masterProfile = {
        diskEncryptionSetId = "string"
        encryptionAtHost = "string"
        subnetId = "string"
        vmSize = "string"
      }
      networkProfile = {
        podCidr = "string"
        serviceCidr = "string"
        softwareDefinedNetwork = "string"
      }
      provisioningState = "string"
      servicePrincipalProfile = {
        clientId = "string"
        clientSecret = "string"
      }
      workerProfiles = [
        {
          count = int
          diskEncryptionSetId = "string"
          diskSizeGB = int
          encryptionAtHost = "string"
          name = "string"
          subnetId = "string"
          vmSize = "string"
        }
      ]
    }
  })
}

プロパティ値

openShiftClusters

名前 説明
type リソースの種類 "Microsoft.RedHatOpenShift/openShiftClusters@2021-09-01-preview"
name リソース名 string (必須)
location リソースが保存されている地理的な場所 string (必須)
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。
properties クラスターのプロパティ。 OpenShiftClusterProperties

OpenShiftClusterProperties

名前 説明
apiserverProfile クラスター API サーバー プロファイル。 APIServerProfile
clusterProfile クラスター プロファイル。 ClusterProfile
consoleProfile コンソール プロファイル。 ConsoleProfile
ingressProfiles クラスターのイングレス プロファイル。 IngressProfile[]
masterProfile クラスター マスター プロファイル。 MasterProfile
networkProfile クラスター ネットワーク プロファイル。 NetworkProfile
provisioningState クラスターのプロビジョニング状態。 "AdminUpdating"
"作成中"
"削除中"
"Failed"
"Succeeded"
"更新中"
servicePrincipalProfile クラスター サービス プリンシパル プロファイル。 ServicePrincipalProfile
workerProfiles クラスター ワーカー プロファイル。 WorkerProfile[]

APIServerProfile

名前 説明
ip クラスター API サーバーの IP。 string
url クラスター API サーバーにアクセスするための URL。 string
参照可能範囲 API サーバーの可視性。 "Private"
"Public"

ClusterProfile

名前 説明
domain クラスターのドメイン。 string
pullSecret クラスターのプル シークレット。 string
resourceGroupId クラスター リソース グループの ID。 string
version クラスターのバージョン。 string

ConsoleProfile

名前 説明
url クラスター コンソールにアクセスするための URL。 string

IngressProfile

名前 説明
ip イングレスの IP。 string
name イングレス プロファイル名。 string
参照可能範囲 イングレスの可視性。 "Private"
"Public"

MasterProfile

名前 説明
diskEncryptionSetId 関連する DiskEncryptionSet のリソース ID (該当する場合)。 string
encryptionAtHost マスター仮想マシンがホストで暗号化されているかどうか。 "無効"
"有効"
subnetId マスター サブネットの Azure リソース ID。 string
vmSize マスター VM のサイズ。 "Standard_D16as_v4"
"Standard_D16s_v3"
"Standard_D2s_v3"
"Standard_D32as_v4"
"Standard_D32s_v3"
"Standard_D4as_v4"
"Standard_D4s_v3"
"Standard_D8as_v4"
"Standard_D8s_v3"
"Standard_E16s_v3"
"Standard_E32s_v3"
"Standard_E4s_v3"
"Standard_E64i_v3"
"Standard_E64is_v3"
"Standard_E8s_v3"
"Standard_F16s_v2"
"Standard_F32s_v2"
"Standard_F4s_v2"
"Standard_F72s_v2"
"Standard_F8s_v2"
"Standard_G5"
"Standard_GS5"
"Standard_M128ms"

NetworkProfile

名前 説明
podCidr OpenShift/Kubernetes ポッドに使用される CIDR。 string
serviceCidr OpenShift/Kubernetes Services に使用される CIDR。 string
softwareDefinedNetwork クラスターのインストール時に使用するソフトウェア定義ネットワーク (SDN)。 "OVNKubernetes"
"OpenShiftSDN"

ServicePrincipalProfile

名前 説明
clientId クラスターに使用されるクライアント ID。 string
clientSecret クラスターに使用されるクライアント シークレット。 string

WorkerProfile

名前 説明
count ワーカー VM の数。 INT
diskEncryptionSetId 関連する DiskEncryptionSet のリソース ID (該当する場合)。 string
diskSizeGB ワーカー VM のディスク サイズ。 INT
encryptionAtHost マスター仮想マシンがホストで暗号化されているかどうか。 "無効"
"有効"
name worker プロファイル名。 string
subnetId ワーカー サブネットの Azure リソース ID。 string
vmSize ワーカー VM のサイズ。 "Standard_D16as_v4"
"Standard_D16s_v3"
"Standard_D2s_v3"
"Standard_D32as_v4"
"Standard_D32s_v3"
"Standard_D4as_v4"
"Standard_D4s_v3"
"Standard_D8as_v4"
"Standard_D8s_v3"
"Standard_E16s_v3"
"Standard_E32s_v3"
"Standard_E4s_v3"
"Standard_E64i_v3"
"Standard_E64is_v3"
"Standard_E8s_v3"
"Standard_F16s_v2"
"Standard_F32s_v2"
"Standard_F4s_v2"
"Standard_F72s_v2"
"Standard_F8s_v2"
"Standard_G5"
"Standard_GS5"
"Standard_M128ms"