Zone Class
Describes a DNS zone.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
Constructor
Zone(*, location: str, tags: Dict[str, str] | None = None, etag: str | None = None, zone_type: str | _models.ZoneType = 'Public', registration_virtual_networks: List[_models.SubResource] | None = None, resolution_virtual_networks: List[_models.SubResource] | None = None, **kwargs: Any)Keyword-Only Parameters
| Name | Description | 
|---|---|
| location | Resource location. Required. | 
| tags | Resource tags. Default value: None | 
| etag | The etag of the zone. Default value: None | 
| zone_type | The type of this DNS zone (Public or Private). Known values are: "Public" and "Private". Default value: Public | 
| registration_virtual_networks | A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private. Default value: None | 
| resolution_virtual_networks | A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private. Default value: None | 
Variables
| Name | Description | 
|---|---|
| id | Resource ID. | 
| name | Resource name. | 
| type | Resource type. | 
| location | Resource location. Required. | 
| tags | Resource tags. | 
| etag | The etag of the zone. | 
| system_data | Metadata pertaining to creation and last modification of the resource. | 
| max_number_of_record_sets | The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. | 
| max_number_of_records_per_record_set | The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. | 
| number_of_record_sets | The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. | 
| name_servers | The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored. | 
| zone_type | The type of this DNS zone (Public or Private). Known values are: "Public" and "Private". | 
| registration_virtual_networks | A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private. | 
| resolution_virtual_networks | A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private. | 
| signing_keys | The list of signing keys. |