Microsoft.Network IpAllocations 2022-01-01

Définition de ressource Bicep

Le type de ressource IpAllocations peut être déployé avec des opérations qui ciblent :

Pour obtenir la liste des propriétés modifiées dans chaque version de l’API, consultez journal des modifications.

Format des ressources

Pour créer une ressource Microsoft.Network/IpAllocations, ajoutez le Bicep suivant à votre modèle.

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

Valeurs de propriétés

IpAllocations

Nom Description Valeur
name Nom de la ressource chaîne (obligatoire)
location Emplacement de la ressource. string
tags Balises de ressource. Dictionnaire de noms et de valeurs d’étiquettes. Voir Balises dans les modèles
properties Propriétés de l’objet IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Nom Description Valeur
allocationTags Balises IpAllocation. object
ipamAllocationId ID d’allocation IPAM. string
prefix Préfixe d’adresse pour IpAllocation. string
préfixeLength Longueur du préfixe d’adresse pour IpAllocation. int
préfixeType Type de préfixe d’adresse pour IpAllocation. 'IPv4'
'IPv6'
type Type pour IpAllocation. 'Hypernet'
'Undefined'

Définition de ressources de modèle ARM

Le type de ressource IpAllocations peut être déployé avec des opérations qui ciblent :

Pour obtenir la liste des propriétés modifiées dans chaque version de l’API, consultez journal des modifications.

Format des ressources

Pour créer une ressource Microsoft.Network/IpAllocations, ajoutez le json suivant à votre modèle.

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

Valeurs de propriétés

IpAllocations

Nom Description Valeur
type Type de ressource « Microsoft.Network/IpAllocations »
apiVersion Version de l’API de ressource '2022-01-01'
name Nom de la ressource chaîne (obligatoire)
location Emplacement de la ressource. string
tags Balises de ressource. Dictionnaire de noms et de valeurs d’étiquettes. Voir Balises dans les modèles
properties Propriétés de l’objet IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Nom Description Valeur
allocationTags Balises IpAllocation. object
ipamAllocationId ID d’allocation IPAM. string
prefix Préfixe d’adresse pour IpAllocation. string
préfixeLength Longueur du préfixe d’adresse pour IpAllocation. int
préfixeType Type de préfixe d’adresse pour IpAllocation. 'IPv4'
'IPv6'
type Type pour IpAllocation. 'Hypernet'
'Undefined'

Définition de ressource Terraform (fournisseur AzAPI)

Le type de ressource IpAllocations peut être déployé avec des opérations qui ciblent :

  • Groupes de ressources

Pour obtenir la liste des propriétés modifiées dans chaque version de l’API, consultez journal des modifications.

Format des ressources

Pour créer une ressource Microsoft.Network/IpAllocations, ajoutez le Terraform suivant à votre modèle.

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

Valeurs de propriétés

IpAllocations

Nom Description Valeur
type Type de ressource « Microsoft.Network/IpAllocations@2022-01-01 »
name Nom de la ressource chaîne (obligatoire)
location Emplacement de la ressource. string
parent_id Pour effectuer un déploiement sur un groupe de ressources, utilisez l’ID de ce groupe de ressources. chaîne (obligatoire)
tags Balises de ressource. Dictionnaire de noms et de valeurs d’étiquettes.
properties Propriétés de l’objet IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Nom Description Valeur
allocationTags Balises IpAllocation. object
ipamAllocationId ID d’allocation IPAM. string
prefix Préfixe d’adresse pour IpAllocation. string
préfixeLength Longueur du préfixe d’adresse pour IpAllocation. int
préfixeType Type de préfixe d’adresse pour IpAllocation. « IPv4 »
« IPv6 »
type Type pour IpAllocation. « Hypernet »
« Non défini »