Skip to content

Tenant Policy

Location in GUI: Tenant Template » Tenant Policies

Diagram
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
tenantStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
sitesListStringNo

Example-1: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1.

ndo:
tenant_templates:
tenant_policies:
- name: TP1
tenant: NDO1
sites:
- APIC1