Condividi tramite


Microsoft.Network IpAllocations 2021-08-01

Definizione di risorsa Bicep

Il tipo di risorsa IpAllocations può essere distribuito con operazioni destinate:

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato di risorsa

Per creare una risorsa Microsoft.Network/IpAllocations, aggiungere il bicep seguente al modello.

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

Valori delle proprietà

IpAllocations

Nome Descrizione valore
name Nome della risorsa stringa (obbligatoria)
posizione Percorso della risorsa. string
tags Tag di risorse. Dizionario dei nomi e dei valori dei tag. Vedere Tag nei modelli
properties Proprietà dell'indirizzo IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Nome Descrizione Valore
allocationTags Tag IpAllocation. object
ipamAllocationId ID allocazione gestione indirizzi IP. string
prefix Prefisso dell'indirizzo per IpAllocation. string
prefissoLength Lunghezza del prefisso dell'indirizzo per IpAllocation. INT
prefixType Tipo di prefisso dell'indirizzo per IpAllocation. 'IPv4'
'IPv6'
tipo Tipo per IpAllocation. 'Hypernet'
'Undefined'

Definizione della risorsa modello di Resource Manager

Il tipo di risorsa IpAllocations può essere distribuito con operazioni destinate:

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato di risorsa

Per creare una risorsa Microsoft.Network/IpAllocations, aggiungere il codice JSON seguente al modello.

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

Valori delle proprietà

IpAllocations

Nome Descrizione Valore
tipo Tipo di risorsa 'Microsoft.Network/IpAllocations'
apiVersion Versione dell'API risorsa '2021-08-01'
name Nome della risorsa stringa (obbligatoria)
posizione Percorso della risorsa. string
tags Tag di risorse. Dizionario dei nomi e dei valori dei tag. Vedere Tag nei modelli
properties Proprietà dell'indirizzo IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Nome Descrizione Valore
allocationTags Tag IpAllocation. object
ipamAllocationId ID allocazione gestione indirizzi IP. string
prefix Prefisso dell'indirizzo per IpAllocation. string
prefissoLength Lunghezza del prefisso dell'indirizzo per IpAllocation. INT
prefixType Tipo di prefisso dell'indirizzo per IpAllocation. 'IPv4'
'IPv6'
tipo Tipo per IpAllocation. 'Hypernet'
'Undefined'

Definizione della risorsa Terraform (provider AzAPI)

Il tipo di risorsa IpAllocations può essere distribuito con operazioni destinate:

  • Gruppi di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato di risorsa

Per creare una risorsa Microsoft.Network/IpAllocations, aggiungere il codice Terraform seguente al modello.

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

Valori delle proprietà

IpAllocations

Nome Descrizione Valore
tipo Tipo di risorsa "Microsoft.Network/IpAllocations@2021-08-01"
name Nome della risorsa stringa (obbligatoria)
posizione Percorso della risorsa. string
parent_id Per distribuire in un gruppo di risorse, usare l'ID del gruppo di risorse. stringa (obbligatoria)
tags Tag di risorse. Dizionario dei nomi e dei valori dei tag.
properties Proprietà dell'indirizzo IpAllocation. IpAllocationPropertiesFormat

IpAllocationPropertiesFormat

Nome Descrizione Valore
allocationTags Tag IpAllocation. object
ipamAllocationId ID allocazione gestione indirizzi IP. string
prefix Prefisso dell'indirizzo per IpAllocation. string
prefissoLength Lunghezza del prefisso dell'indirizzo per IpAllocation. INT
prefixType Tipo di prefisso dell'indirizzo per IpAllocation. "IPv4"
"IPv6"
tipo Tipo per IpAllocation. "Hypernet"
"Undefined"