azure_mgmt_dns 0.17.1 → 0.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2016-04-01/generated/azure_mgmt_dns.rb +8 -5
- data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/resource.rb +5 -33
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2016-04-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/zones.rb +10 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns.rb +10 -7
- data/lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/resource.rb +7 -34
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/zones.rb +10 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns.rb +10 -7
- data/lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/resource.rb +7 -34
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2017-10-01/generated/azure_mgmt_dns/record_sets.rb +14 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/zones.rb +12 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns.rb +12 -9
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/resource.rb +7 -34
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/record_sets.rb +14 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/zones.rb +12 -0
- data/lib/azure_mgmt_dns.rb +2 -0
- data/lib/profiles/latest/modules/dns_profile_module.rb +42 -30
- data/lib/profiles/v2017_03_09/dns_module_definition.rb +8 -0
- data/lib/profiles/v2017_03_09/dns_v2017_03_09_profile_client.rb +40 -0
- data/lib/profiles/v2017_03_09/modules/dns_profile_module.rb +151 -0
- data/lib/profiles/v2018_03_01/dns_module_definition.rb +8 -0
- data/lib/profiles/v2018_03_01/dns_v2018_03_01_profile_client.rb +40 -0
- data/lib/profiles/v2018_03_01/modules/dns_profile_module.rb +151 -0
- data/lib/version.rb +1 -1
- metadata +20 -2
@@ -95,7 +95,9 @@ module Azure::Dns::Mgmt::V2017_10_01
|
|
95
95
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
96
96
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
97
97
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
98
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
98
99
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
100
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
99
101
|
|
100
102
|
|
101
103
|
request_headers = {}
|
@@ -267,7 +269,9 @@ module Azure::Dns::Mgmt::V2017_10_01
|
|
267
269
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
268
270
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
269
271
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
272
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
270
273
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
274
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
271
275
|
|
272
276
|
|
273
277
|
request_headers = {}
|
@@ -381,7 +385,9 @@ module Azure::Dns::Mgmt::V2017_10_01
|
|
381
385
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
382
386
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
383
387
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
388
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
384
389
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
390
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
385
391
|
|
386
392
|
|
387
393
|
request_headers = {}
|
@@ -489,7 +495,9 @@ module Azure::Dns::Mgmt::V2017_10_01
|
|
489
495
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
490
496
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
491
497
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
498
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
492
499
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
500
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
493
501
|
|
494
502
|
|
495
503
|
request_headers = {}
|
@@ -579,7 +587,9 @@ module Azure::Dns::Mgmt::V2017_10_01
|
|
579
587
|
#
|
580
588
|
def list_async(top:nil, custom_headers:nil)
|
581
589
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
590
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
582
591
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
592
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
583
593
|
|
584
594
|
|
585
595
|
request_headers = {}
|
@@ -691,7 +701,9 @@ module Azure::Dns::Mgmt::V2017_10_01
|
|
691
701
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
692
702
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
693
703
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
704
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
694
705
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
706
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
695
707
|
|
696
708
|
|
697
709
|
request_headers = {}
|
@@ -25,24 +25,27 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
25
25
|
autoload :DnsManagementClient, '2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb'
|
26
26
|
|
27
27
|
module Models
|
28
|
-
autoload :CaaRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/caa_record.rb'
|
29
|
-
autoload :RecordSet, '2018-03-01-preview/generated/azure_mgmt_dns/models/record_set.rb'
|
30
|
-
autoload :AaaaRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/aaaa_record.rb'
|
31
28
|
autoload :RecordSetUpdateParameters, '2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_update_parameters.rb'
|
32
|
-
autoload :
|
29
|
+
autoload :ARecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/arecord.rb'
|
33
30
|
autoload :RecordSetListResult, '2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_list_result.rb'
|
34
|
-
autoload :
|
31
|
+
autoload :MxRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/mx_record.rb'
|
35
32
|
autoload :SubResource, '2018-03-01-preview/generated/azure_mgmt_dns/models/sub_resource.rb'
|
33
|
+
autoload :PtrRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/ptr_record.rb'
|
34
|
+
autoload :NsRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/ns_record.rb'
|
35
|
+
autoload :SrvRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/srv_record.rb'
|
36
36
|
autoload :CnameRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/cname_record.rb'
|
37
37
|
autoload :SoaRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/soa_record.rb'
|
38
|
-
autoload :
|
38
|
+
autoload :Resource, '2018-03-01-preview/generated/azure_mgmt_dns/models/resource.rb'
|
39
|
+
autoload :RecordSet, '2018-03-01-preview/generated/azure_mgmt_dns/models/record_set.rb'
|
39
40
|
autoload :ZoneUpdate, '2018-03-01-preview/generated/azure_mgmt_dns/models/zone_update.rb'
|
40
41
|
autoload :TxtRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/txt_record.rb'
|
41
42
|
autoload :ZoneListResult, '2018-03-01-preview/generated/azure_mgmt_dns/models/zone_list_result.rb'
|
42
|
-
autoload :
|
43
|
-
autoload :
|
44
|
-
autoload :
|
43
|
+
autoload :AaaaRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/aaaa_record.rb'
|
44
|
+
autoload :CaaRecord, '2018-03-01-preview/generated/azure_mgmt_dns/models/caa_record.rb'
|
45
|
+
autoload :TrackedResource, '2018-03-01-preview/generated/azure_mgmt_dns/models/tracked_resource.rb'
|
45
46
|
autoload :Zone, '2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb'
|
47
|
+
autoload :ProxyResource, '2018-03-01-preview/generated/azure_mgmt_dns/models/proxy_resource.rb'
|
48
|
+
autoload :AzureEntityResource, '2018-03-01-preview/generated/azure_mgmt_dns/models/azure_entity_resource.rb'
|
46
49
|
autoload :ZoneType, '2018-03-01-preview/generated/azure_mgmt_dns/models/zone_type.rb'
|
47
50
|
autoload :RecordType, '2018-03-01-preview/generated/azure_mgmt_dns/models/record_type.rb'
|
48
51
|
end
|
@@ -17,11 +17,10 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
17
17
|
# @return Credentials needed for the client to connect to Azure.
|
18
18
|
attr_reader :credentials
|
19
19
|
|
20
|
-
# @return [String]
|
21
|
-
# identifies the Microsoft Azure subscription.
|
20
|
+
# @return [String] The ID of the target subscription.
|
22
21
|
attr_accessor :subscription_id
|
23
22
|
|
24
|
-
# @return [String]
|
23
|
+
# @return [String] The API version to use for this operation.
|
25
24
|
attr_reader :api_version
|
26
25
|
|
27
26
|
# @return [String] The preferred language for the response.
|
@@ -129,7 +128,7 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
129
128
|
#
|
130
129
|
def add_telemetry
|
131
130
|
sdk_information = 'azure_mgmt_dns'
|
132
|
-
sdk_information = "#{sdk_information}/0.17.
|
131
|
+
sdk_information = "#{sdk_information}/0.17.2"
|
133
132
|
add_user_agent_information(sdk_information)
|
134
133
|
end
|
135
134
|
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Dns::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a Azure Resource Manager resource with
|
10
|
+
# an etag.
|
11
|
+
#
|
12
|
+
class AzureEntityResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource Etag.
|
17
|
+
attr_accessor :etag
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AzureEntityResource class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'AzureEntityResource',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'AzureEntityResource',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
type: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'type',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
etag: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'etag',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Dns::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM proxy resource. It will have
|
10
|
+
# everything other than required location and tags
|
11
|
+
#
|
12
|
+
class ProxyResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'ProxyResource',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'ProxyResource',
|
29
|
+
model_properties: {
|
30
|
+
id: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'type',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -6,27 +6,24 @@
|
|
6
6
|
module Azure::Dns::Mgmt::V2018_03_01_preview
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Model object.
|
10
|
+
#
|
10
11
|
#
|
11
12
|
class Resource
|
12
13
|
|
13
14
|
include MsRestAzure
|
14
15
|
|
15
|
-
# @return [String]
|
16
|
+
# @return [String] Fully qualified resource Id for the resource. Ex -
|
17
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
16
18
|
attr_accessor :id
|
17
19
|
|
18
|
-
# @return [String]
|
20
|
+
# @return [String] The name of the resource
|
19
21
|
attr_accessor :name
|
20
22
|
|
21
|
-
# @return [String]
|
23
|
+
# @return [String] The type of the resource. Ex-
|
24
|
+
# Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
22
25
|
attr_accessor :type
|
23
26
|
|
24
|
-
# @return [String] Resource location.
|
25
|
-
attr_accessor :location
|
26
|
-
|
27
|
-
# @return [Hash{String => String}] Resource tags.
|
28
|
-
attr_accessor :tags
|
29
|
-
|
30
27
|
|
31
28
|
# @return [String] the name of the resource group of the resource.
|
32
29
|
def resource_group
|
@@ -76,30 +73,6 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
76
73
|
type: {
|
77
74
|
name: 'String'
|
78
75
|
}
|
79
|
-
},
|
80
|
-
location: {
|
81
|
-
client_side_validation: true,
|
82
|
-
required: true,
|
83
|
-
serialized_name: 'location',
|
84
|
-
type: {
|
85
|
-
name: 'String'
|
86
|
-
}
|
87
|
-
},
|
88
|
-
tags: {
|
89
|
-
client_side_validation: true,
|
90
|
-
required: false,
|
91
|
-
serialized_name: 'tags',
|
92
|
-
type: {
|
93
|
-
name: 'Dictionary',
|
94
|
-
value: {
|
95
|
-
client_side_validation: true,
|
96
|
-
required: false,
|
97
|
-
serialized_name: 'StringElementType',
|
98
|
-
type: {
|
99
|
-
name: 'String'
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
76
|
}
|
104
77
|
}
|
105
78
|
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Dns::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM tracked top level resource
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The geo-location where the resource lives
|
19
|
+
attr_accessor :location
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrackedResource class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'TrackedResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TrackedResource',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
location: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'location',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -8,7 +8,7 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
8
8
|
#
|
9
9
|
# Describes a DNS zone.
|
10
10
|
#
|
11
|
-
class Zone <
|
11
|
+
class Zone < TrackedResource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
@@ -84,14 +84,6 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
84
84
|
name: 'String'
|
85
85
|
}
|
86
86
|
},
|
87
|
-
location: {
|
88
|
-
client_side_validation: true,
|
89
|
-
required: true,
|
90
|
-
serialized_name: 'location',
|
91
|
-
type: {
|
92
|
-
name: 'String'
|
93
|
-
}
|
94
|
-
},
|
95
87
|
tags: {
|
96
88
|
client_side_validation: true,
|
97
89
|
required: false,
|
@@ -108,6 +100,14 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
108
100
|
}
|
109
101
|
}
|
110
102
|
},
|
103
|
+
location: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: true,
|
106
|
+
serialized_name: 'location',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
111
|
etag: {
|
112
112
|
client_side_validation: true,
|
113
113
|
required: false,
|