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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f765a1c0ac729fdd74164f1329e5f9825a04bf
|
4
|
+
data.tar.gz: a286e9fe9b505ca792154f44beedda5a87ce81ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd48f40ee04ee1ff523b653e64e7b52d08026ede8d7230fbdd37a885c5fb4fc0b09bd9d38e5ce9e33d57804f1bdeca78d4fc12c614c73cc25c36e96285a935bc
|
7
|
+
data.tar.gz: 4378a0a872b0041054ef9b4d20a3c7e03ddbdd8cdc5b96e6f96e260130420e94642c64137bb9f7cc01b8ae1bff6f5e2756300e835e07459b0fe0544a0f775ddc
|
@@ -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 :
|
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]
|
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::V2016_04_01
|
|
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::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
|
@@ -13,21 +13,17 @@ module Azure::Dns::Mgmt::V2016_04_01
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [String]
|
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]
|
20
|
+
# @return [String] The name of the resource
|
20
21
|
attr_accessor :name
|
21
22
|
|
22
|
-
# @return [String]
|
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
|
-
|
28
|
-
# @return [Hash{String => String}] Resource tags.
|
29
|
-
attr_accessor :tags
|
30
|
-
|
31
27
|
|
32
28
|
# @return [String] the name of the resource group of the resource.
|
33
29
|
def resource_group
|
@@ -77,30 +73,6 @@ module Azure::Dns::Mgmt::V2016_04_01
|
|
77
73
|
type: {
|
78
74
|
name: 'String'
|
79
75
|
}
|
80
|
-
},
|
81
|
-
location: {
|
82
|
-
client_side_validation: true,
|
83
|
-
required: true,
|
84
|
-
serialized_name: 'location',
|
85
|
-
type: {
|
86
|
-
name: 'String'
|
87
|
-
}
|
88
|
-
},
|
89
|
-
tags: {
|
90
|
-
client_side_validation: true,
|
91
|
-
required: false,
|
92
|
-
serialized_name: 'tags',
|
93
|
-
type: {
|
94
|
-
name: 'Dictionary',
|
95
|
-
value: {
|
96
|
-
client_side_validation: true,
|
97
|
-
required: false,
|
98
|
-
serialized_name: 'StringElementType',
|
99
|
-
type: {
|
100
|
-
name: 'String'
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
76
|
}
|
105
77
|
}
|
106
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 <
|
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,
|
@@ -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 = {}
|