Microsoft.ExtendedLocation customLocations

Bicep リソース定義

customLocations リソースの種類は、次の場所にデプロイできます。

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

リソース形式

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

resource symbolicname 'Microsoft.ExtendedLocation/customLocations@2021-08-31-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    type: 'string'
  }
  properties: {
    authentication: {
      type: 'string'
      value: 'string'
    }
    clusterExtensionIds: [
      'string'
    ]
    displayName: 'string'
    hostResourceId: 'string'
    hostType: 'Kubernetes'
    namespace: 'string'
    provisioningState: 'string'
  }
}

プロパティの値

customLocations

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

ID

名前 説明
type ID の種類。 'None'
'SystemAssigned'

CustomLocationProperties

名前 説明
認証 これは、名前空間の生成に使用する必要がある認証を含む省略可能な入力です。 CustomLocationPropertiesAuthentication
clusterExtensionIds CRD と演算子を展開するためのグラフを含むアドオンへの参照が含まれます。 string[]
displayName カスタムの場所の場所の表示名。 string
hostResourceId 接続されたクラスターまたは AKS クラスター。 Custom Locations RP は、listAdminCredentials アクセス許可の checkAccess API を実行します。 string
hostType カスタムの場所が参照しているホストの種類 (Kubernetes など)。 'Kubernetes'
namespace 指定したクラスターに作成される Kubernetes 名前空間。 string
provisioningState カスタムの場所のプロビジョニング状態。 string

CustomLocationPropertiesAuthentication

名前 説明
type カスタムの場所認証の種類 string
value kubeconfig 値。 string

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

customLocations リソースの種類は、次の場所にデプロイできます。

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

リソース形式

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

{
  "type": "Microsoft.ExtendedLocation/customLocations",
  "apiVersion": "2021-08-31-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "identity": {
    "type": "string"
  },
  "properties": {
    "authentication": {
      "type": "string",
      "value": "string"
    },
    "clusterExtensionIds": [ "string" ],
    "displayName": "string",
    "hostResourceId": "string",
    "hostType": "Kubernetes",
    "namespace": "string",
    "provisioningState": "string"
  }
}

プロパティの値

customLocations

名前 説明
type リソースの種類 'Microsoft.ExtendedLocation/customLocations'
apiVersion リソース API のバージョン '2021-08-31-preview'
name リソース名 string (必須)
location リソースが保存されている地理的な場所 string (必須)
tags リソース タグ。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
identity リソースの ID。 ID
properties カスタムの場所に固有のプロパティのセット CustomLocationProperties

ID

名前 説明
type ID の種類。 'None'
'SystemAssigned'

CustomLocationProperties

名前 説明
認証 これは、名前空間の生成に使用する必要がある認証を含む省略可能な入力です。 CustomLocationPropertiesAuthentication
clusterExtensionIds CRD と演算子を展開するためのグラフを含むアドオンへの参照が含まれます。 string[]
displayName カスタムの場所の場所の表示名。 string
hostResourceId 接続されたクラスターまたは AKS クラスター。 Custom Locations RP は、listAdminCredentials アクセス許可の checkAccess API を実行します。 string
hostType カスタムの場所が参照しているホストの種類 (Kubernetes など)。 'Kubernetes'
namespace 指定したクラスターに作成される Kubernetes 名前空間。 string
provisioningState カスタムの場所のプロビジョニング状態。 string

CustomLocationPropertiesAuthentication

名前 説明
type カスタムの場所認証の種類 string
value kubeconfig 値。 string

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

customLocations リソースの種類は、次の場所にデプロイできます。

  • リソース グループ

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ExtendedLocation/customLocations@2021-08-31-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type =  "SystemAssigned"
  }
  body = jsonencode({
    properties = {
      authentication = {
        type = "string"
        value = "string"
      }
      clusterExtensionIds = [
        "string"
      ]
      displayName = "string"
      hostResourceId = "string"
      hostType = "Kubernetes"
      namespace = "string"
      provisioningState = "string"
    }
  })
}

プロパティの値

customLocations

名前 説明
type リソースの種類 "Microsoft.ExtendedLocation/customLocations@2021-08-31-preview"
name リソース名 string (必須)
location リソースが保存されている地理的な場所 string (必須)
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソース タグ。 タグ名と値のディクショナリ。
identity リソースの ID。 ID
properties カスタムの場所に固有のプロパティのセット CustomLocationProperties

ID

名前 説明
type ID の種類。 "SystemAssigned"

CustomLocationProperties

名前 説明
認証 これは、名前空間の生成に使用する必要がある認証を含む省略可能な入力です。 CustomLocationPropertiesAuthentication
clusterExtensionIds CRD と演算子を展開するためのグラフを含むアドオンへの参照を格納します。 string[]
displayName カスタムの場所の場所の表示名。 string
hostResourceId 接続されたクラスターまたは AKS クラスター。 カスタムロケーション RP は、listAdminCredentials アクセス許可の checkAccess API を実行します。 string
hostType カスタムの場所が参照しているホストの種類 (Kubernetes など)。 "Kubernetes"
namespace 指定したクラスターに作成される Kubernetes 名前空間。 string
provisioningState カスタムの場所のプロビジョニング状態。 string

CustomLocationPropertiesAuthentication

名前 説明
type カスタムの場所認証の種類 string
value kubeconfig 値。 string