Microsoft.Peering peeringServices/prefixes template reference

Template format

To create a Microsoft.Peering/peeringServices/prefixes resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Peering/peeringServices/prefixes",
  "apiVersion": "2019-08-01-preview",
  "properties": {
    "prefix": "string",
    "prefixValidationState": "string",
    "learnedType": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Peering/peeringServices/prefixes object

Name Type Required Value
name string Yes The name of the prefix.
type enum Yes prefixes
-or-
Microsoft.Peering/peeringServices/prefixes

See Set name and type for child resources.
apiVersion enum Yes 2019-08-01-preview
properties object Yes Gets or sets the peering prefix properties. - PeeringServicePrefixProperties object

PeeringServicePrefixProperties object

Name Type Required Value
prefix string No Valid route prefix
prefixValidationState enum No The prefix validation state. - None, Invalid, Verified, Failed, Pending, Unknown
learnedType enum No The prefix learned type. - None, ViaPartner, ViaSession