Freigeben über


Microsoft.Network IpAllocations

Bicep-Ressourcendefinition

Der IpAllocations-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die Folgendes zum Ziel haben:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.Network/IpAllocations-Ressource zu erstellen, fügen Sie der Vorlage den folgenden Bicep hinzu.

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

Eigenschaftswerte

IpAllocations

Name BESCHREIBUNG Wert
name Der Ressourcenname Zeichenfolge (erforderlich)
location Ressourcenspeicherort Zeichenfolge
tags Ressourcentags. Wörterbuch der Tagnamen und -werte. Siehe Tags in Vorlagen
properties Eigenschaften des IpAllocation-Standorts. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Name BESCHREIBUNG Wert
allocationTags IpAllocation-Tags. Objekt (object)
ipamAllocationId Die IPAM-Zuordnungs-ID. Zeichenfolge
prefix Das Adresspräfix für ipAllocation. Zeichenfolge
prefixLength Die Adresspräfixlänge für ipAllocation. INT
prefixType Das Adresspräfix Type für ipAllocation. "IPv4"
"IPv6"
Typ Der Typ für die IpAllocation. Hypernet
"Undefined"

Ressourcendefinition mit einer ARM-Vorlage

Der IpAllocations-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die Folgendes zum Ziel haben:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.Network/IpAllocations-Ressource zu erstellen, fügen Sie der Vorlage den folgenden JSON-Code hinzu.

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

Eigenschaftswerte

IpAllocations

Name BESCHREIBUNG Wert
type Ressourcentyp "Microsoft.Network/IpAllocations"
apiVersion Die Ressourcen-API-Version '2023-11-01'
name Der Ressourcenname Zeichenfolge (erforderlich)
location Ressourcenspeicherort Zeichenfolge
tags Ressourcentags. Wörterbuch der Tagnamen und -werte. Siehe Tags in Vorlagen
properties Eigenschaften des IpAllocation-Standorts. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Name BESCHREIBUNG Wert
allocationTags IpAllocation-Tags. Objekt (object)
ipamAllocationId Die IPAM-Zuordnungs-ID. Zeichenfolge
prefix Das Adresspräfix für ipAllocation. Zeichenfolge
prefixLength Die Länge des Adresspräfixes für ipAllocation. INT
prefixType Das Adresspräfix Type für ipAllocation. "IPv4"
"IPv6"
Typ Der Typ für ipAllocation. "Hypernet"
"Undefined"

Terraform-Ressourcendefinition (AzAPI-Anbieter)

Der Ressourcentyp IpAllocations kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

  • Ressourcengruppen

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie im Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.Network/IpAllocations-Ressource zu erstellen, fügen Sie Der Vorlage den folgenden Terraform hinzu.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/IpAllocations@2023-11-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"
    }
  })
}

Eigenschaftswerte

IpAllocations

Name BESCHREIBUNG Wert
type Der Ressourcentyp "Microsoft.Network/IpAllocations@2023-11-01"
name Der Ressourcenname Zeichenfolge (erforderlich)
location Ressourcenspeicherort Zeichenfolge
parent_id Verwenden Sie zum Bereitstellen in einer Ressourcengruppe die ID dieser Ressourcengruppe. Zeichenfolge (erforderlich)
tags Ressourcentags. Wörterbuch der Tagnamen und -werte.
properties Eigenschaften der IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Name BESCHREIBUNG Wert
allocationTags IpAllocation-Tags. Objekt (object)
ipamAllocationId Die IPAM-Zuordnungs-ID. Zeichenfolge
prefix Das Adresspräfix für ipAllocation. Zeichenfolge
prefixLength Die Länge des Adresspräfixes für ipAllocation. INT
prefixType Das Adresspräfix Type für ipAllocation. "IPv4"
"IPv6"
Typ Der Typ für ipAllocation. "Hypernet"
"Undefined"