次の方法で共有


Microsoft.Network IpAllocations 2022-09-01

Bicep リソース定義

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

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

リソース形式

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

resource symbolicname 'Microsoft.Network/IpAllocations@2022-09-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    allocationTags: {}
    ipamAllocationId: 'string'
    prefix: 'string'
    prefixLength: int
    prefixType: 'string'
    type: 'string'
  }
}

プロパティ値

IpAllocations

名前 説明
name リソース名 string (必須)
location リソースの場所。 string
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
properties IpAllocation のプロパティ。 IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

名前 説明
allocationTags IpAllocation タグ。 object
ipamAllocationId IPAM 割り当て ID。 string
prefix IpAllocation のアドレス プレフィックス。 string
prefixLength IpAllocation のアドレス プレフィックスの長さ。 INT
prefixType IpAllocation のアドレス プレフィックス Type。 'IPv4'
'IPv6'
IpAllocation の型。 'Hypernet'
'Undefined'

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

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

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

リソース形式

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

{
  "type": "Microsoft.Network/IpAllocations",
  "apiVersion": "2022-09-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "allocationTags": {},
    "ipamAllocationId": "string",
    "prefix": "string",
    "prefixLength": "int",
    "prefixType": "string",
    "type": "string"
  }
}

プロパティ値

IpAllocations

名前 説明
type リソースの種類 'Microsoft.Network/IpAllocations'
apiVersion リソース API のバージョン '2022-09-01'
name リソース名 string (必須)
location リソースの場所。 string
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
properties IpAllocation のプロパティ。 IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

名前 説明
allocationTags IpAllocation タグ。 object
ipamAllocationId IPAM 割り当て ID。 string
prefix IpAllocation のアドレス プレフィックス。 string
prefixLength IpAllocation のアドレス プレフィックスの長さ。 INT
prefixType IpAllocation のアドレス プレフィックス Type。 'IPv4'
'IPv6'
IpAllocation の型。 'Hypernet'
'Undefined'

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

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

  • リソース グループ

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/IpAllocations@2022-09-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      allocationTags = {}
      ipamAllocationId = "string"
      prefix = "string"
      prefixLength = int
      prefixType = "string"
      type = "string"
    }
  })
}

プロパティ値

IpAllocations

名前 説明
type リソースの種類 "Microsoft.Network/IpAllocations@2022-09-01"
name リソース名 string (必須)
location リソースの場所。 string
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。
properties IpAllocation のプロパティ。 IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

名前 説明
allocationTags IpAllocation タグ。 object
ipamAllocationId IPAM 割り当て ID。 string
prefix IpAllocation のアドレス プレフィックス。 string
prefixLength IpAllocation のアドレス プレフィックスの長さ。 INT
prefixType IpAllocation のアドレス プレフィックス Type。 "IPv4"
"IPv6"
IpAllocation の型。 "Hypernet"
"Undefined"