azure_mgmt_dns 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_dns.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb +135 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/aaaa_record.rb +46 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/arecord.rb +46 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/caa_record.rb +69 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/cname_record.rb +46 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/mx_record.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/ns_record.rb +46 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/ptr_record.rb +46 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/record_set.rb +311 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +100 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/record_set_update_parameters.rb +48 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/record_type.rb +24 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/resource.rb +101 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/soa_record.rb +114 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/srv_record.rb +79 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/txt_record.rb +54 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone.rb +146 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone_list_result.rb +99 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone_update.rb +54 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/module_definition.rb +9 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/record_sets.rb +1250 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/zones.rb +922 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns.rb +49 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb +135 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/aaaa_record.rb +46 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/arecord.rb +46 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/caa_record.rb +69 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/cname_record.rb +46 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/mx_record.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/ns_record.rb +46 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/ptr_record.rb +46 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set.rb +311 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_list_result.rb +100 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_update_parameters.rb +48 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_type.rb +24 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/resource.rb +101 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/soa_record.rb +114 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/srv_record.rb +79 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/sub_resource.rb +46 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/txt_record.rb +54 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb +204 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone_list_result.rb +99 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone_type.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone_update.rb +54 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/module_definition.rb +9 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/record_sets.rb +1250 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/zones.rb +922 -0
- data/lib/azure_mgmt_dns.rb +2 -0
- data/lib/profiles/latest/modules/dns_profile_module.rb +59 -47
- data/lib/version.rb +1 -1
- metadata +50 -2
@@ -0,0 +1,48 @@
|
|
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
|
+
# Parameters supplied to update a record set.
|
10
|
+
#
|
11
|
+
class RecordSetUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [RecordSet] Specifies information about the record set being
|
16
|
+
# updated.
|
17
|
+
attr_accessor :record_set
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for RecordSetUpdateParameters 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: 'RecordSetUpdateParameters',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'RecordSetUpdateParameters',
|
32
|
+
model_properties: {
|
33
|
+
record_set: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'RecordSet',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'RecordSet'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,24 @@
|
|
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
|
+
# Defines values for RecordType
|
10
|
+
#
|
11
|
+
module RecordType
|
12
|
+
A = "A"
|
13
|
+
AAAA = "AAAA"
|
14
|
+
CAA = "CAA"
|
15
|
+
CNAME = "CNAME"
|
16
|
+
MX = "MX"
|
17
|
+
NS = "NS"
|
18
|
+
PTR = "PTR"
|
19
|
+
SOA = "SOA"
|
20
|
+
SRV = "SRV"
|
21
|
+
TXT = "TXT"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,101 @@
|
|
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
|
+
# Common properties of an Azure Resource Manager resource
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] Resource location.
|
25
|
+
attr_accessor :location
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Resource tags.
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for Resource class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'Resource',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'Resource',
|
43
|
+
model_properties: {
|
44
|
+
id: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'id',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
name: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'name',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
type: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'type',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
location: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: true,
|
74
|
+
serialized_name: 'location',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
tags: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'tags',
|
83
|
+
type: {
|
84
|
+
name: 'Dictionary',
|
85
|
+
value: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'StringElementType',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,114 @@
|
|
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
|
+
# An SOA record.
|
10
|
+
#
|
11
|
+
class SoaRecord
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The domain name of the authoritative name server for
|
16
|
+
# this SOA record.
|
17
|
+
attr_accessor :host
|
18
|
+
|
19
|
+
# @return [String] The email contact for this SOA record.
|
20
|
+
attr_accessor :email
|
21
|
+
|
22
|
+
# @return [Integer] The serial number for this SOA record.
|
23
|
+
attr_accessor :serial_number
|
24
|
+
|
25
|
+
# @return [Integer] The refresh value for this SOA record.
|
26
|
+
attr_accessor :refresh_time
|
27
|
+
|
28
|
+
# @return [Integer] The retry time for this SOA record.
|
29
|
+
attr_accessor :retry_time
|
30
|
+
|
31
|
+
# @return [Integer] The expire time for this SOA record.
|
32
|
+
attr_accessor :expire_time
|
33
|
+
|
34
|
+
# @return [Integer] The minimum value for this SOA record. By convention
|
35
|
+
# this is used to determine the negative caching duration.
|
36
|
+
attr_accessor :minimum_ttl
|
37
|
+
|
38
|
+
|
39
|
+
#
|
40
|
+
# Mapper for SoaRecord class as Ruby Hash.
|
41
|
+
# This will be used for serialization/deserialization.
|
42
|
+
#
|
43
|
+
def self.mapper()
|
44
|
+
{
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'SoaRecord',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'SoaRecord',
|
51
|
+
model_properties: {
|
52
|
+
host: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'host',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
email: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'email',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
serial_number: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'serialNumber',
|
72
|
+
type: {
|
73
|
+
name: 'Number'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
refresh_time: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'refreshTime',
|
80
|
+
type: {
|
81
|
+
name: 'Number'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
retry_time: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'retryTime',
|
88
|
+
type: {
|
89
|
+
name: 'Number'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
expire_time: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'expireTime',
|
96
|
+
type: {
|
97
|
+
name: 'Number'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
minimum_ttl: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'minimumTTL',
|
104
|
+
type: {
|
105
|
+
name: 'Number'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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
|
+
# An SRV record.
|
10
|
+
#
|
11
|
+
class SrvRecord
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The priority value for this SRV record.
|
16
|
+
attr_accessor :priority
|
17
|
+
|
18
|
+
# @return [Integer] The weight value for this SRV record.
|
19
|
+
attr_accessor :weight
|
20
|
+
|
21
|
+
# @return [Integer] The port value for this SRV record.
|
22
|
+
attr_accessor :port
|
23
|
+
|
24
|
+
# @return [String] The target domain name for this SRV record.
|
25
|
+
attr_accessor :target
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for SrvRecord class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'SrvRecord',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'SrvRecord',
|
40
|
+
model_properties: {
|
41
|
+
priority: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'priority',
|
45
|
+
type: {
|
46
|
+
name: 'Number'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
weight: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'weight',
|
53
|
+
type: {
|
54
|
+
name: 'Number'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
port: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'port',
|
61
|
+
type: {
|
62
|
+
name: 'Number'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
target: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'target',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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
|
+
# A reference to a another resource
|
10
|
+
#
|
11
|
+
class SubResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Id.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for SubResource class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'SubResource',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'SubResource',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'id',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,54 @@
|
|
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
|
+
# A TXT record.
|
10
|
+
#
|
11
|
+
class TxtRecord
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] The text value of this TXT record.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for TxtRecord class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'TxtRecord',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'TxtRecord',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'StringElementType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|