@@ -48,16 +48,19 @@ def __init__(self, **kwargs):
4848class Resource (Model ):
4949 """Resource.
5050
51+ Common fields that are returned in the response for all Azure Resource
52+ Manager resources.
53+
5154 Variables are only populated by the server, and will be ignored when
5255 sending a request.
5356
54- :ivar id: Fully qualified resource Id for the resource. Ex -
57+ :ivar id: Fully qualified resource ID for the resource. Ex -
5558 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5659 :vartype id: str
5760 :ivar name: The name of the resource
5861 :vartype name: str
59- :ivar type: The type of the resource. Ex-
60- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
62+ :ivar type: The type of the resource. E.g.
63+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
6164 :vartype type: str
6265 """
6366
@@ -81,19 +84,21 @@ def __init__(self, **kwargs):
8184
8285
8386class AzureEntityResource (Resource ):
84- """The resource model definition for a Azure Resource Manager resource with an
85- etag.
87+ """Entity Resource.
88+
89+ The resource model definition for an Azure Resource Manager resource with
90+ an etag.
8691
8792 Variables are only populated by the server, and will be ignored when
8893 sending a request.
8994
90- :ivar id: Fully qualified resource Id for the resource. Ex -
95+ :ivar id: Fully qualified resource ID for the resource. Ex -
9196 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
9297 :vartype id: str
9398 :ivar name: The name of the resource
9499 :vartype name: str
95- :ivar type: The type of the resource. Ex-
96- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
100+ :ivar type: The type of the resource. E.g.
101+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
97102 :vartype type: str
98103 :ivar etag: Resource Etag.
99104 :vartype etag: str
@@ -119,9 +124,9 @@ def __init__(self, **kwargs):
119124
120125
121126class CloudError (Model ):
122- """CloudError .
127+ """An error response from the service .
123128
124- :param error:
129+ :param error: Cloud error body.
125130 :type error: ~azure.mgmt.dns.v2016_04_01.models.CloudErrorBody
126131 """
127132
@@ -147,15 +152,18 @@ def __init__(self, deserialize, response, *args):
147152
148153
149154class CloudErrorBody (Model ):
150- """CloudErrorBody .
155+ """An error response from the service .
151156
152- :param code:
157+ :param code: An identifier for the error. Codes are invariant and are
158+ intended to be consumed programmatically.
153159 :type code: str
154- :param message:
160+ :param message: A message describing the error, intended to be suitable
161+ for display in a user interface.
155162 :type message: str
156- :param target:
163+ :param target: The target of the particular error. For example, the name
164+ of the property in error.
157165 :type target: str
158- :param details:
166+ :param details: A list of additional details about the error.
159167 :type details: list[~azure.mgmt.dns.v2016_04_01.models.CloudErrorBody]
160168 """
161169
@@ -227,19 +235,21 @@ def __init__(self, **kwargs):
227235
228236
229237class ProxyResource (Resource ):
230- """The resource model definition for a ARM proxy resource. It will have
231- everything other than required location and tags.
238+ """Proxy Resource.
239+
240+ The resource model definition for a Azure Resource Manager proxy resource.
241+ It will not have tags and a location.
232242
233243 Variables are only populated by the server, and will be ignored when
234244 sending a request.
235245
236- :ivar id: Fully qualified resource Id for the resource. Ex -
246+ :ivar id: Fully qualified resource ID for the resource. Ex -
237247 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
238248 :vartype id: str
239249 :ivar name: The name of the resource
240250 :vartype name: str
241- :ivar type: The type of the resource. Ex-
242- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
251+ :ivar type: The type of the resource. E.g.
252+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
243253 :vartype type: str
244254 """
245255
@@ -279,6 +289,9 @@ class RecordSet(Model):
279289 """Describes a DNS record set (a collection of DNS records with the same name
280290 and type).
281291
292+ Variables are only populated by the server, and will be ignored when
293+ sending a request.
294+
282295 :param id: The ID of the record set.
283296 :type id: str
284297 :param name: The name of the record set.
@@ -291,6 +304,8 @@ class RecordSet(Model):
291304 :type metadata: dict[str, str]
292305 :param ttl: The TTL (time-to-live) of the records in the record set.
293306 :type ttl: long
307+ :ivar fqdn: Fully qualified domain name of the record set.
308+ :vartype fqdn: str
294309 :param arecords: The list of A records in the record set.
295310 :type arecords: list[~azure.mgmt.dns.v2016_04_01.models.ARecord]
296311 :param aaaa_records: The list of AAAA records in the record set.
@@ -311,13 +326,18 @@ class RecordSet(Model):
311326 :type soa_record: ~azure.mgmt.dns.v2016_04_01.models.SoaRecord
312327 """
313328
329+ _validation = {
330+ 'fqdn' : {'readonly' : True },
331+ }
332+
314333 _attribute_map = {
315334 'id' : {'key' : 'id' , 'type' : 'str' },
316335 'name' : {'key' : 'name' , 'type' : 'str' },
317336 'type' : {'key' : 'type' , 'type' : 'str' },
318337 'etag' : {'key' : 'etag' , 'type' : 'str' },
319338 'metadata' : {'key' : 'properties.metadata' , 'type' : '{str}' },
320339 'ttl' : {'key' : 'properties.TTL' , 'type' : 'long' },
340+ 'fqdn' : {'key' : 'properties.fqdn' , 'type' : 'str' },
321341 'arecords' : {'key' : 'properties.ARecords' , 'type' : '[ARecord]' },
322342 'aaaa_records' : {'key' : 'properties.AAAARecords' , 'type' : '[AaaaRecord]' },
323343 'mx_records' : {'key' : 'properties.MXRecords' , 'type' : '[MxRecord]' },
@@ -337,6 +357,7 @@ def __init__(self, **kwargs):
337357 self .etag = kwargs .get ('etag' , None )
338358 self .metadata = kwargs .get ('metadata' , None )
339359 self .ttl = kwargs .get ('ttl' , None )
360+ self .fqdn = None
340361 self .arecords = kwargs .get ('arecords' , None )
341362 self .aaaa_records = kwargs .get ('aaaa_records' , None )
342363 self .mx_records = kwargs .get ('mx_records' , None )
@@ -452,20 +473,23 @@ def __init__(self, **kwargs):
452473
453474
454475class TrackedResource (Resource ):
455- """The resource model definition for a ARM tracked top level resource.
476+ """Tracked Resource.
477+
478+ The resource model definition for an Azure Resource Manager tracked top
479+ level resource which has 'tags' and a 'location'.
456480
457481 Variables are only populated by the server, and will be ignored when
458482 sending a request.
459483
460484 All required parameters must be populated in order to send to Azure.
461485
462- :ivar id: Fully qualified resource Id for the resource. Ex -
486+ :ivar id: Fully qualified resource ID for the resource. Ex -
463487 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
464488 :vartype id: str
465489 :ivar name: The name of the resource
466490 :vartype name: str
467- :ivar type: The type of the resource. Ex-
468- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
491+ :ivar type: The type of the resource. E.g.
492+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
469493 :vartype type: str
470494 :param tags: Resource tags.
471495 :type tags: dict[str, str]
@@ -518,13 +542,13 @@ class Zone(TrackedResource):
518542
519543 All required parameters must be populated in order to send to Azure.
520544
521- :ivar id: Fully qualified resource Id for the resource. Ex -
545+ :ivar id: Fully qualified resource ID for the resource. Ex -
522546 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
523547 :vartype id: str
524548 :ivar name: The name of the resource
525549 :vartype name: str
526- :ivar type: The type of the resource. Ex-
527- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
550+ :ivar type: The type of the resource. E.g.
551+ " Microsoft.Compute/virtualMachines" or " Microsoft.Storage/storageAccounts"
528552 :vartype type: str
529553 :param tags: Resource tags.
530554 :type tags: dict[str, str]
@@ -536,6 +560,10 @@ class Zone(TrackedResource):
536560 can be created in this DNS zone. This is a read-only property and any
537561 attempt to set this value will be ignored.
538562 :type max_number_of_record_sets: long
563+ :ivar max_number_of_records_per_record_set: The maximum number of records
564+ per record set that can be created in this DNS zone. This is a read-only
565+ property and any attempt to set this value will be ignored.
566+ :vartype max_number_of_records_per_record_set: long
539567 :param number_of_record_sets: The current number of record sets in this
540568 DNS zone. This is a read-only property and any attempt to set this value
541569 will be ignored.
@@ -550,6 +578,7 @@ class Zone(TrackedResource):
550578 'name' : {'readonly' : True },
551579 'type' : {'readonly' : True },
552580 'location' : {'required' : True },
581+ 'max_number_of_records_per_record_set' : {'readonly' : True },
553582 'name_servers' : {'readonly' : True },
554583 }
555584
@@ -561,6 +590,7 @@ class Zone(TrackedResource):
561590 'location' : {'key' : 'location' , 'type' : 'str' },
562591 'etag' : {'key' : 'etag' , 'type' : 'str' },
563592 'max_number_of_record_sets' : {'key' : 'properties.maxNumberOfRecordSets' , 'type' : 'long' },
593+ 'max_number_of_records_per_record_set' : {'key' : 'properties.maxNumberOfRecordsPerRecordSet' , 'type' : 'long' },
564594 'number_of_record_sets' : {'key' : 'properties.numberOfRecordSets' , 'type' : 'long' },
565595 'name_servers' : {'key' : 'properties.nameServers' , 'type' : '[str]' },
566596 }
@@ -569,6 +599,7 @@ def __init__(self, **kwargs):
569599 super (Zone , self ).__init__ (** kwargs )
570600 self .etag = kwargs .get ('etag' , None )
571601 self .max_number_of_record_sets = kwargs .get ('max_number_of_record_sets' , None )
602+ self .max_number_of_records_per_record_set = None
572603 self .number_of_record_sets = kwargs .get ('number_of_record_sets' , None )
573604 self .name_servers = None
574605
0 commit comments