azure_mgmt_netapp 0.18.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_netapp.rb +65 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +157 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/mount_target.rb +230 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/replication_object.rb +81 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/snapshot.rb +158 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +54 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume.rb +289 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +49 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/mount_targets.rb +136 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/pools.rb +675 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/snapshots.rb +708 -0
- data/lib/2019-08-01/generated/azure_mgmt_netapp/volumes.rb +694 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +89 -79
- data/lib/version.rb +1 -1
- metadata +43 -2
@@ -0,0 +1,157 @@
|
|
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::NetApp::Mgmt::V2019_08_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class AzureNetAppFilesManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Version of the API to be used with the client request.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] The preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
32
|
+
# Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
34
|
+
|
35
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
36
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
37
|
+
# generated and included in each request. Default is true.
|
38
|
+
attr_accessor :generate_client_request_id
|
39
|
+
|
40
|
+
# @return [Operations] operations
|
41
|
+
attr_reader :operations
|
42
|
+
|
43
|
+
# @return [NetAppResource] net_app_resource
|
44
|
+
attr_reader :net_app_resource
|
45
|
+
|
46
|
+
# @return [Accounts] accounts
|
47
|
+
attr_reader :accounts
|
48
|
+
|
49
|
+
# @return [Pools] pools
|
50
|
+
attr_reader :pools
|
51
|
+
|
52
|
+
# @return [Volumes] volumes
|
53
|
+
attr_reader :volumes
|
54
|
+
|
55
|
+
# @return [MountTargets] mount_targets
|
56
|
+
attr_reader :mount_targets
|
57
|
+
|
58
|
+
# @return [Snapshots] snapshots
|
59
|
+
attr_reader :snapshots
|
60
|
+
|
61
|
+
#
|
62
|
+
# Creates initializes a new instance of the AzureNetAppFilesManagementClient class.
|
63
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
64
|
+
# @param base_url [String] the base URI of the service.
|
65
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
66
|
+
#
|
67
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
68
|
+
super(credentials, options)
|
69
|
+
@base_url = base_url || 'https://management.azure.com'
|
70
|
+
|
71
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
72
|
+
@credentials = credentials
|
73
|
+
|
74
|
+
@operations = Operations.new(self)
|
75
|
+
@net_app_resource = NetAppResource.new(self)
|
76
|
+
@accounts = Accounts.new(self)
|
77
|
+
@pools = Pools.new(self)
|
78
|
+
@volumes = Volumes.new(self)
|
79
|
+
@mount_targets = MountTargets.new(self)
|
80
|
+
@snapshots = Snapshots.new(self)
|
81
|
+
@api_version = '2019-08-01'
|
82
|
+
@accept_language = 'en-US'
|
83
|
+
@long_running_operation_retry_timeout = 30
|
84
|
+
@generate_client_request_id = true
|
85
|
+
add_telemetry
|
86
|
+
end
|
87
|
+
|
88
|
+
#
|
89
|
+
# Makes a request and returns the body of the response.
|
90
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
91
|
+
# @param path [String] the path, relative to {base_url}.
|
92
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
93
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
94
|
+
# Example:
|
95
|
+
#
|
96
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
97
|
+
# path = "/path"
|
98
|
+
# options = {
|
99
|
+
# body: request_content,
|
100
|
+
# query_params: {'api-version' => '2016-02-01'}
|
101
|
+
# }
|
102
|
+
# result = @client.make_request(:put, path, options)
|
103
|
+
#
|
104
|
+
def make_request(method, path, options = {})
|
105
|
+
result = make_request_with_http_info(method, path, options)
|
106
|
+
result.body unless result.nil?
|
107
|
+
end
|
108
|
+
|
109
|
+
#
|
110
|
+
# Makes a request and returns the operation response.
|
111
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
112
|
+
# @param path [String] the path, relative to {base_url}.
|
113
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
114
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
115
|
+
#
|
116
|
+
def make_request_with_http_info(method, path, options = {})
|
117
|
+
result = make_request_async(method, path, options).value!
|
118
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
119
|
+
result
|
120
|
+
end
|
121
|
+
|
122
|
+
#
|
123
|
+
# Makes a request asynchronously.
|
124
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
125
|
+
# @param path [String] the path, relative to {base_url}.
|
126
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
127
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
128
|
+
#
|
129
|
+
def make_request_async(method, path, options = {})
|
130
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
131
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
132
|
+
|
133
|
+
request_url = options[:base_url] || @base_url
|
134
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
135
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
136
|
+
end
|
137
|
+
|
138
|
+
request_headers = @request_headers
|
139
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
140
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
141
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
142
|
+
|
143
|
+
super(request_url, method, path, options)
|
144
|
+
end
|
145
|
+
|
146
|
+
|
147
|
+
private
|
148
|
+
#
|
149
|
+
# Adds telemetry information.
|
150
|
+
#
|
151
|
+
def add_telemetry
|
152
|
+
sdk_information = 'azure_mgmt_netapp'
|
153
|
+
sdk_information = "#{sdk_information}/0.18.2"
|
154
|
+
add_user_agent_information(sdk_information)
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
@@ -0,0 +1,127 @@
|
|
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::NetApp::Mgmt::V2019_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Active Directory
|
10
|
+
#
|
11
|
+
class ActiveDirectory
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Id of the Active Directory
|
16
|
+
attr_accessor :active_directory_id
|
17
|
+
|
18
|
+
# @return [String] Username of Active Directory domain administrator
|
19
|
+
attr_accessor :username
|
20
|
+
|
21
|
+
# @return [String] Plain text password of Active Directory domain
|
22
|
+
# administrator
|
23
|
+
attr_accessor :password
|
24
|
+
|
25
|
+
# @return [String] Name of the Active Directory domain
|
26
|
+
attr_accessor :domain
|
27
|
+
|
28
|
+
# @return [String] Comma separated list of DNS server IP addresses (IPv4
|
29
|
+
# only) for the Active Directory domain
|
30
|
+
attr_accessor :dns
|
31
|
+
|
32
|
+
# @return [String] Status of the Active Directory
|
33
|
+
attr_accessor :status
|
34
|
+
|
35
|
+
# @return [String] NetBIOS name of the SMB server. This name will be
|
36
|
+
# registered as a computer account in the AD and used to mount volumes
|
37
|
+
attr_accessor :smb_server_name
|
38
|
+
|
39
|
+
# @return [String] The Organizational Unit (OU) within the Windows Active
|
40
|
+
# Directory
|
41
|
+
attr_accessor :organizational_unit
|
42
|
+
|
43
|
+
|
44
|
+
#
|
45
|
+
# Mapper for ActiveDirectory class as Ruby Hash.
|
46
|
+
# This will be used for serialization/deserialization.
|
47
|
+
#
|
48
|
+
def self.mapper()
|
49
|
+
{
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'activeDirectory',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'ActiveDirectory',
|
56
|
+
model_properties: {
|
57
|
+
active_directory_id: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'activeDirectoryId',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
username: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'username',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
password: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'password',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
domain: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'domain',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
dns: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'dns',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
status: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'status',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
smb_server_name: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'smbServerName',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
organizational_unit: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'organizationalUnit',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
@@ -0,0 +1,161 @@
|
|
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::NetApp::Mgmt::V2019_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Capacity pool resource
|
10
|
+
#
|
11
|
+
class CapacityPool
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource location
|
16
|
+
attr_accessor :location
|
17
|
+
|
18
|
+
# @return [String] Resource Id
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] Resource name
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# @return [String] Resource type
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Resource tags
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
# @return [String] poolId. UUID v4 used to identify the Pool
|
31
|
+
attr_accessor :pool_id
|
32
|
+
|
33
|
+
# @return [Integer] size. Provisioned size of the pool (in bytes).
|
34
|
+
# Allowed values are in 4TiB chunks (value must be multiply of
|
35
|
+
# 4398046511104).
|
36
|
+
attr_accessor :size
|
37
|
+
|
38
|
+
# @return [ServiceLevel] serviceLevel. The service level of the file
|
39
|
+
# system. Possible values include: 'Standard', 'Premium', 'Ultra'.
|
40
|
+
# Default value: 'Premium' .
|
41
|
+
attr_accessor :service_level
|
42
|
+
|
43
|
+
# @return [String] Azure lifecycle management
|
44
|
+
attr_accessor :provisioning_state
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for CapacityPool class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'capacityPool',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'CapacityPool',
|
59
|
+
model_properties: {
|
60
|
+
location: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: true,
|
63
|
+
serialized_name: 'location',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
id: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'id',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
name: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'name',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
type: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'type',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
tags: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'tags',
|
99
|
+
type: {
|
100
|
+
name: 'Dictionary',
|
101
|
+
value: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'StringElementType',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
},
|
111
|
+
pool_id: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
read_only: true,
|
115
|
+
serialized_name: 'properties.poolId',
|
116
|
+
constraints: {
|
117
|
+
MaxLength: 36,
|
118
|
+
MinLength: 36,
|
119
|
+
Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'
|
120
|
+
},
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
size: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: true,
|
128
|
+
serialized_name: 'properties.size',
|
129
|
+
constraints: {
|
130
|
+
InclusiveMaximum: 549755813888000,
|
131
|
+
InclusiveMinimum: 4398046511104
|
132
|
+
},
|
133
|
+
type: {
|
134
|
+
name: 'Number'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
service_level: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: true,
|
140
|
+
serialized_name: 'properties.serviceLevel',
|
141
|
+
default_value: 'Premium',
|
142
|
+
type: {
|
143
|
+
name: 'String'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
provisioning_state: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: false,
|
149
|
+
read_only: true,
|
150
|
+
serialized_name: 'properties.provisioningState',
|
151
|
+
type: {
|
152
|
+
name: 'String'
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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::NetApp::Mgmt::V2019_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of capacity pool resources
|
10
|
+
#
|
11
|
+
class CapacityPoolList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<CapacityPool>] List of Capacity pools
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for CapacityPoolList 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: 'capacityPoolList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'CapacityPoolList',
|
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: 'CapacityPoolElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'CapacityPool'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|