azure_mgmt_dns 0.17.0 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-04-01/generated/azure_mgmt_dns.rb +8 -5
  3. data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  4. data/lib/2016-04-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  5. data/lib/2016-04-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  6. data/lib/2016-04-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
  7. data/lib/2016-04-01/generated/azure_mgmt_dns/models/resource.rb +12 -31
  8. data/lib/2016-04-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  9. data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
  10. data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
  11. data/lib/2016-04-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
  12. data/lib/2016-04-01/generated/azure_mgmt_dns/zones.rb +10 -0
  13. data/lib/2017-09-01/generated/azure_mgmt_dns.rb +10 -7
  14. data/lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  15. data/lib/2017-09-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  16. data/lib/2017-09-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  17. data/lib/2017-09-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
  18. data/lib/2017-09-01/generated/azure_mgmt_dns/models/resource.rb +14 -32
  19. data/lib/2017-09-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  20. data/lib/2017-09-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
  21. data/lib/2017-09-01/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
  22. data/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
  23. data/lib/2017-09-01/generated/azure_mgmt_dns/zones.rb +10 -0
  24. data/lib/2017-10-01/generated/azure_mgmt_dns.rb +10 -7
  25. data/lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  26. data/lib/2017-10-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  27. data/lib/2017-10-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  28. data/lib/2017-10-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
  29. data/lib/2017-10-01/generated/azure_mgmt_dns/models/resource.rb +14 -32
  30. data/lib/2017-10-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  31. data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
  32. data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
  33. data/lib/2017-10-01/generated/azure_mgmt_dns/record_sets.rb +14 -0
  34. data/lib/2017-10-01/generated/azure_mgmt_dns/zones.rb +12 -0
  35. data/lib/2018-03-01-preview/generated/azure_mgmt_dns.rb +12 -9
  36. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  37. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  38. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  39. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
  40. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/resource.rb +14 -32
  41. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  42. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb +9 -9
  43. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
  44. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/record_sets.rb +14 -0
  45. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/zones.rb +12 -0
  46. data/lib/azure_mgmt_dns.rb +3 -0
  47. data/lib/profiles/latest/modules/dns_profile_module.rb +42 -30
  48. data/lib/profiles/v2017_03_09/dns_module_definition.rb +8 -0
  49. data/lib/profiles/v2017_03_09/dns_v2017_03_09_profile_client.rb +40 -0
  50. data/lib/profiles/v2017_03_09/modules/dns_profile_module.rb +151 -0
  51. data/lib/profiles/v2018_03_01/dns_module_definition.rb +8 -0
  52. data/lib/profiles/v2018_03_01/dns_v2018_03_01_profile_client.rb +40 -0
  53. data/lib/profiles/v2018_03_01/modules/dns_profile_module.rb +151 -0
  54. data/lib/profiles/v2019_03_01_hybrid/dns_module_definition.rb +8 -0
  55. data/lib/profiles/v2019_03_01_hybrid/dns_v2019_03_01_hybrid_profile_client.rb +40 -0
  56. data/lib/profiles/v2019_03_01_hybrid/modules/dns_profile_module.rb +151 -0
  57. data/lib/version.rb +1 -1
  58. metadata +26 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 23165461da77efa58fd5e5e7f45ae4ad5dd5d192
4
- data.tar.gz: 181485e0ee942fbee759dc10de94f6ad28b3ab2c
2
+ SHA256:
3
+ metadata.gz: fed96d4f93fe80f2ea7283388aef97780d00a2008b1c7e759a32b2dcb3dee8e6
4
+ data.tar.gz: c1738d60dce1f64e08780bdecf5364fd63490ba76574234f8174e16d702fefdf
5
5
  SHA512:
6
- metadata.gz: 1095cd247a2ccba60f065c4bd89db4a723e9bd290aeb0461d2e80f2bfa933c5904d086905a6ad0845e2ad925b611832b4a04560cf2c8fa38efd545df071082a9
7
- data.tar.gz: 0d54aea08a0c30a10cdc0930b20fe1d82760c197a965499ad333ae269298d06549b00301085c4a415f08976c3f2bd7bd7d37ed54816f42f02fafeab8b566518b
6
+ metadata.gz: 82f1b4b541b8048d861eabde28af166f31fe131b7119bcaf88b4eb9ceac1b818ac38d160401d34d1bc256f7362070becc4649faa470e9caed2bac11838a72390
7
+ data.tar.gz: 0ddd4756436428ed927815ee1b5f159606ba3d3fc81a9ffa54e9ea6c3b224e446124da735cb551a16bc1313eb29473433418a7fd90d771d0e1507acb4924acaf
@@ -25,22 +25,25 @@ module Azure::Dns::Mgmt::V2016_04_01
25
25
  autoload :DnsManagementClient, '2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb'
26
26
 
27
27
  module Models
28
- autoload :RecordSet, '2016-04-01/generated/azure_mgmt_dns/models/record_set.rb'
29
- autoload :ARecord, '2016-04-01/generated/azure_mgmt_dns/models/arecord.rb'
30
28
  autoload :RecordSetUpdateParameters, '2016-04-01/generated/azure_mgmt_dns/models/record_set_update_parameters.rb'
31
- autoload :MxRecord, '2016-04-01/generated/azure_mgmt_dns/models/mx_record.rb'
32
29
  autoload :RecordSetListResult, '2016-04-01/generated/azure_mgmt_dns/models/record_set_list_result.rb'
30
+ autoload :AaaaRecord, '2016-04-01/generated/azure_mgmt_dns/models/aaaa_record.rb'
31
+ autoload :ARecord, '2016-04-01/generated/azure_mgmt_dns/models/arecord.rb'
32
+ autoload :MxRecord, '2016-04-01/generated/azure_mgmt_dns/models/mx_record.rb'
33
33
  autoload :PtrRecord, '2016-04-01/generated/azure_mgmt_dns/models/ptr_record.rb'
34
34
  autoload :SrvRecord, '2016-04-01/generated/azure_mgmt_dns/models/srv_record.rb'
35
+ autoload :Resource, '2016-04-01/generated/azure_mgmt_dns/models/resource.rb'
35
36
  autoload :CnameRecord, '2016-04-01/generated/azure_mgmt_dns/models/cname_record.rb'
36
37
  autoload :ZoneDeleteResult, '2016-04-01/generated/azure_mgmt_dns/models/zone_delete_result.rb'
37
- autoload :AaaaRecord, '2016-04-01/generated/azure_mgmt_dns/models/aaaa_record.rb'
38
+ autoload :RecordSet, '2016-04-01/generated/azure_mgmt_dns/models/record_set.rb'
38
39
  autoload :ZoneListResult, '2016-04-01/generated/azure_mgmt_dns/models/zone_list_result.rb'
39
40
  autoload :TxtRecord, '2016-04-01/generated/azure_mgmt_dns/models/txt_record.rb'
40
- autoload :Resource, '2016-04-01/generated/azure_mgmt_dns/models/resource.rb'
41
41
  autoload :NsRecord, '2016-04-01/generated/azure_mgmt_dns/models/ns_record.rb'
42
42
  autoload :SoaRecord, '2016-04-01/generated/azure_mgmt_dns/models/soa_record.rb'
43
+ autoload :TrackedResource, '2016-04-01/generated/azure_mgmt_dns/models/tracked_resource.rb'
43
44
  autoload :Zone, '2016-04-01/generated/azure_mgmt_dns/models/zone.rb'
45
+ autoload :ProxyResource, '2016-04-01/generated/azure_mgmt_dns/models/proxy_resource.rb'
46
+ autoload :AzureEntityResource, '2016-04-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb'
44
47
  autoload :OperationStatus, '2016-04-01/generated/azure_mgmt_dns/models/operation_status.rb'
45
48
  autoload :HttpStatusCode, '2016-04-01/generated/azure_mgmt_dns/models/http_status_code.rb'
46
49
  autoload :RecordType, '2016-04-01/generated/azure_mgmt_dns/models/record_type.rb'
@@ -17,11 +17,10 @@ module Azure::Dns::Mgmt::V2016_04_01
17
17
  # @return Credentials needed for the client to connect to Azure.
18
18
  attr_reader :credentials
19
19
 
20
- # @return [String] Specifies the Azure subscription ID, which uniquely
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] Specifies the API version.
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::V2016_04_01
129
128
  #
130
129
  def add_telemetry
131
130
  sdk_information = 'azure_mgmt_dns'
132
- sdk_information = "#{sdk_information}/0.17.0"
131
+ sdk_information = "#{sdk_information}/0.17.5"
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::V2016_04_01
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::V2016_04_01
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
@@ -31,7 +31,7 @@ module Azure::Dns::Mgmt::V2016_04_01
31
31
  def get_all_items
32
32
  items = @value
33
33
  page = self
34
- while page.next_link != nil do
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
35
  page = page.get_next_page
36
36
  items.concat(page.value)
37
37
  end
@@ -13,20 +13,25 @@ module Azure::Dns::Mgmt::V2016_04_01
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [String] Resource ID.
16
+ # @return [String] Fully qualified resource Id for the resource. Ex -
17
+ # /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
17
18
  attr_accessor :id
18
19
 
19
- # @return [String] Resource name.
20
+ # @return [String] The name of the resource
20
21
  attr_accessor :name
21
22
 
22
- # @return [String] Resource type.
23
+ # @return [String] The type of the resource. Ex-
24
+ # Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
23
25
  attr_accessor :type
24
26
 
25
- # @return [String] Resource location.
26
- attr_accessor :location
27
27
 
28
- # @return [Hash{String => String}] Resource tags.
29
- attr_accessor :tags
28
+ # @return [String] the name of the resource group of the resource.
29
+ def resource_group
30
+ unless self.id.nil?
31
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
32
+ groups.captures[0].strip if groups
33
+ end
34
+ end
30
35
 
31
36
 
32
37
  #
@@ -68,30 +73,6 @@ module Azure::Dns::Mgmt::V2016_04_01
68
73
  type: {
69
74
  name: 'String'
70
75
  }
71
- },
72
- location: {
73
- client_side_validation: true,
74
- required: true,
75
- serialized_name: 'location',
76
- type: {
77
- name: 'String'
78
- }
79
- },
80
- tags: {
81
- client_side_validation: true,
82
- required: false,
83
- serialized_name: 'tags',
84
- type: {
85
- name: 'Dictionary',
86
- value: {
87
- client_side_validation: true,
88
- required: false,
89
- serialized_name: 'StringElementType',
90
- type: {
91
- name: 'String'
92
- }
93
- }
94
- }
95
76
  }
96
77
  }
97
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::V2016_04_01
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::V2016_04_01
8
8
  #
9
9
  # Describes a DNS zone.
10
10
  #
11
- class Zone < Resource
11
+ class Zone < TrackedResource
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -70,14 +70,6 @@ module Azure::Dns::Mgmt::V2016_04_01
70
70
  name: 'String'
71
71
  }
72
72
  },
73
- location: {
74
- client_side_validation: true,
75
- required: true,
76
- serialized_name: 'location',
77
- type: {
78
- name: 'String'
79
- }
80
- },
81
73
  tags: {
82
74
  client_side_validation: true,
83
75
  required: false,
@@ -94,6 +86,14 @@ module Azure::Dns::Mgmt::V2016_04_01
94
86
  }
95
87
  }
96
88
  },
89
+ location: {
90
+ client_side_validation: true,
91
+ required: true,
92
+ serialized_name: 'location',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
97
  etag: {
98
98
  client_side_validation: true,
99
99
  required: false,
@@ -30,7 +30,7 @@ module Azure::Dns::Mgmt::V2016_04_01
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -103,7 +103,9 @@ module Azure::Dns::Mgmt::V2016_04_01
103
103
  fail ArgumentError, 'record_type is nil' if record_type.nil?
104
104
  fail ArgumentError, 'parameters is nil' if parameters.nil?
105
105
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
106
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
106
107
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
108
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
107
109
 
108
110
 
109
111
  request_headers = {}
@@ -258,7 +260,9 @@ module Azure::Dns::Mgmt::V2016_04_01
258
260
  fail ArgumentError, 'record_type is nil' if record_type.nil?
259
261
  fail ArgumentError, 'parameters is nil' if parameters.nil?
260
262
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
263
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
261
264
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
265
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
262
266
 
263
267
 
264
268
  request_headers = {}
@@ -407,7 +411,9 @@ module Azure::Dns::Mgmt::V2016_04_01
407
411
  fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
408
412
  fail ArgumentError, 'record_type is nil' if record_type.nil?
409
413
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
414
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
410
415
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
416
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
411
417
 
412
418
 
413
419
  request_headers = {}
@@ -517,7 +523,9 @@ module Azure::Dns::Mgmt::V2016_04_01
517
523
  fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
518
524
  fail ArgumentError, 'record_type is nil' if record_type.nil?
519
525
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
526
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
520
527
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
528
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
521
529
 
522
530
 
523
531
  request_headers = {}
@@ -647,7 +655,9 @@ module Azure::Dns::Mgmt::V2016_04_01
647
655
  fail ArgumentError, 'zone_name is nil' if zone_name.nil?
648
656
  fail ArgumentError, 'record_type is nil' if record_type.nil?
649
657
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
658
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
650
659
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
660
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
651
661
 
652
662
 
653
663
  request_headers = {}
@@ -766,7 +776,9 @@ module Azure::Dns::Mgmt::V2016_04_01
766
776
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
767
777
  fail ArgumentError, 'zone_name is nil' if zone_name.nil?
768
778
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
779
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
769
780
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
781
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
770
782
 
771
783
 
772
784
  request_headers = {}