azure_mgmt_netapp 0.22.0 → 0.23.0
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/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-10-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-09-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-11-01/generated/azure_mgmt_netapp.rb +108 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/accounts.rb +828 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/backup_policies.rb +701 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/backups.rb +811 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/account_encryption.rb +47 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory.rb +288 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup.rb +170 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_patch.rb +142 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/created_by_type.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/key_source.rb +15 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account.rb +158 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +145 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/system_data.rb +105 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume.rb +427 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_list.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/pools.rb +857 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshot_policies.rb +758 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
- data/lib/2020-11-01/generated/azure_mgmt_netapp/volumes.rb +2143 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +187 -171
- data/lib/version.rb +1 -1
- metadata +86 -2
@@ -0,0 +1,57 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Dimension of blobs, possibly be blob type or access tier.
|
10
|
+
#
|
11
|
+
class Dimension
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Display name of dimension.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Display name of dimension.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Dimension 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: 'Dimension',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Dimension',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
display_name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'displayName',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EndpointType
|
10
|
+
#
|
11
|
+
module EndpointType
|
12
|
+
Src = "src"
|
13
|
+
Dst = "dst"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,205 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Volume Export Policy Rule
|
10
|
+
#
|
11
|
+
class ExportPolicyRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Order index
|
16
|
+
attr_accessor :rule_index
|
17
|
+
|
18
|
+
# @return [Boolean] Read only access
|
19
|
+
attr_accessor :unix_read_only
|
20
|
+
|
21
|
+
# @return [Boolean] Read and write access
|
22
|
+
attr_accessor :unix_read_write
|
23
|
+
|
24
|
+
# @return [Boolean] Kerberos5 Read only access. To be use with swagger
|
25
|
+
# version 2020-05-01 or later. Default value: false .
|
26
|
+
attr_accessor :kerberos5read_only
|
27
|
+
|
28
|
+
# @return [Boolean] Kerberos5 Read and write access. To be use with
|
29
|
+
# swagger version 2020-05-01 or later. Default value: false .
|
30
|
+
attr_accessor :kerberos5read_write
|
31
|
+
|
32
|
+
# @return [Boolean] Kerberos5i Read only access. To be use with swagger
|
33
|
+
# version 2020-05-01 or later. Default value: false .
|
34
|
+
attr_accessor :kerberos5i_read_only
|
35
|
+
|
36
|
+
# @return [Boolean] Kerberos5i Read and write access. To be use with
|
37
|
+
# swagger version 2020-05-01 or later. Default value: false .
|
38
|
+
attr_accessor :kerberos5i_read_write
|
39
|
+
|
40
|
+
# @return [Boolean] Kerberos5p Read only access. To be use with swagger
|
41
|
+
# version 2020-05-01 or later. Default value: false .
|
42
|
+
attr_accessor :kerberos5p_read_only
|
43
|
+
|
44
|
+
# @return [Boolean] Kerberos5p Read and write access. To be use with
|
45
|
+
# swagger version 2020-05-01 or later. Default value: false .
|
46
|
+
attr_accessor :kerberos5p_read_write
|
47
|
+
|
48
|
+
# @return [Boolean] Allows CIFS protocol
|
49
|
+
attr_accessor :cifs
|
50
|
+
|
51
|
+
# @return [Boolean] Allows NFSv3 protocol. Enable only for NFSv3 type
|
52
|
+
# volumes
|
53
|
+
attr_accessor :nfsv3
|
54
|
+
|
55
|
+
# @return [Boolean] Allows NFSv4.1 protocol. Enable only for NFSv4.1 type
|
56
|
+
# volumes
|
57
|
+
attr_accessor :nfsv41
|
58
|
+
|
59
|
+
# @return [String] Client ingress specification as comma separated string
|
60
|
+
# with IPv4 CIDRs, IPv4 host addresses and host names
|
61
|
+
attr_accessor :allowed_clients
|
62
|
+
|
63
|
+
# @return [Boolean] Has root access to volume. Default value: true .
|
64
|
+
attr_accessor :has_root_access
|
65
|
+
|
66
|
+
|
67
|
+
#
|
68
|
+
# Mapper for ExportPolicyRule class as Ruby Hash.
|
69
|
+
# This will be used for serialization/deserialization.
|
70
|
+
#
|
71
|
+
def self.mapper()
|
72
|
+
{
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'exportPolicyRule',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'ExportPolicyRule',
|
79
|
+
model_properties: {
|
80
|
+
rule_index: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'ruleIndex',
|
84
|
+
type: {
|
85
|
+
name: 'Number'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
unix_read_only: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'unixReadOnly',
|
92
|
+
type: {
|
93
|
+
name: 'Boolean'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
unix_read_write: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'unixReadWrite',
|
100
|
+
type: {
|
101
|
+
name: 'Boolean'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
kerberos5read_only: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'kerberos5ReadOnly',
|
108
|
+
default_value: false,
|
109
|
+
type: {
|
110
|
+
name: 'Boolean'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
kerberos5read_write: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'kerberos5ReadWrite',
|
117
|
+
default_value: false,
|
118
|
+
type: {
|
119
|
+
name: 'Boolean'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
kerberos5i_read_only: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'kerberos5iReadOnly',
|
126
|
+
default_value: false,
|
127
|
+
type: {
|
128
|
+
name: 'Boolean'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
kerberos5i_read_write: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'kerberos5iReadWrite',
|
135
|
+
default_value: false,
|
136
|
+
type: {
|
137
|
+
name: 'Boolean'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
kerberos5p_read_only: {
|
141
|
+
client_side_validation: true,
|
142
|
+
required: false,
|
143
|
+
serialized_name: 'kerberos5pReadOnly',
|
144
|
+
default_value: false,
|
145
|
+
type: {
|
146
|
+
name: 'Boolean'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
kerberos5p_read_write: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'kerberos5pReadWrite',
|
153
|
+
default_value: false,
|
154
|
+
type: {
|
155
|
+
name: 'Boolean'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
cifs: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'cifs',
|
162
|
+
type: {
|
163
|
+
name: 'Boolean'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
nfsv3: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'nfsv3',
|
170
|
+
type: {
|
171
|
+
name: 'Boolean'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
nfsv41: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'nfsv41',
|
178
|
+
type: {
|
179
|
+
name: 'Boolean'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
allowed_clients: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'allowedClients',
|
186
|
+
type: {
|
187
|
+
name: 'String'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
has_root_access: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'hasRootAccess',
|
194
|
+
default_value: true,
|
195
|
+
type: {
|
196
|
+
name: 'Boolean'
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Hourly Schedule properties
|
10
|
+
#
|
11
|
+
class HourlySchedule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Hourly snapshot count to keep
|
16
|
+
attr_accessor :snapshots_to_keep
|
17
|
+
|
18
|
+
# @return [Integer] Indicates which minute snapshot should be taken
|
19
|
+
attr_accessor :minute
|
20
|
+
|
21
|
+
# @return [Integer] Resource size in bytes, current storage usage for the
|
22
|
+
# volume in bytes
|
23
|
+
attr_accessor :used_bytes
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for HourlySchedule class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'hourlySchedule',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'HourlySchedule',
|
38
|
+
model_properties: {
|
39
|
+
snapshots_to_keep: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'snapshotsToKeep',
|
43
|
+
type: {
|
44
|
+
name: 'Number'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
minute: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'minute',
|
51
|
+
type: {
|
52
|
+
name: 'Number'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
used_bytes: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'usedBytes',
|
59
|
+
type: {
|
60
|
+
name: 'Number'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for InAvailabilityReasonType
|
10
|
+
#
|
11
|
+
module InAvailabilityReasonType
|
12
|
+
Invalid = "Invalid"
|
13
|
+
AlreadyExists = "AlreadyExists"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeySource
|
10
|
+
#
|
11
|
+
module KeySource
|
12
|
+
MicrosoftNetApp = "Microsoft.NetApp"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,145 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Metric specification of operation.
|
10
|
+
#
|
11
|
+
class MetricSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of metric specification.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Display name of metric specification.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Display description of metric specification.
|
22
|
+
attr_accessor :display_description
|
23
|
+
|
24
|
+
# @return [String] Unit could be Bytes or Count.
|
25
|
+
attr_accessor :unit
|
26
|
+
|
27
|
+
# @return [Array<Dimension>] Dimensions of blobs, including blob type and
|
28
|
+
# access tier.
|
29
|
+
attr_accessor :dimensions
|
30
|
+
|
31
|
+
# @return [String] Aggregation type could be Average.
|
32
|
+
attr_accessor :aggregation_type
|
33
|
+
|
34
|
+
# @return [Boolean] The property to decide fill gap with zero or not.
|
35
|
+
attr_accessor :fill_gap_with_zero
|
36
|
+
|
37
|
+
# @return [String] The category this metric specification belong to,
|
38
|
+
# could be Capacity.
|
39
|
+
attr_accessor :category
|
40
|
+
|
41
|
+
# @return [String] Account Resource Id.
|
42
|
+
attr_accessor :resource_id_dimension_name_override
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for MetricSpecification class as Ruby Hash.
|
47
|
+
# This will be used for serialization/deserialization.
|
48
|
+
#
|
49
|
+
def self.mapper()
|
50
|
+
{
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'MetricSpecification',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'MetricSpecification',
|
57
|
+
model_properties: {
|
58
|
+
name: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'name',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
display_name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'displayName',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
display_description: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'displayDescription',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
unit: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'unit',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
dimensions: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'dimensions',
|
94
|
+
type: {
|
95
|
+
name: 'Sequence',
|
96
|
+
element: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'DimensionElementType',
|
100
|
+
type: {
|
101
|
+
name: 'Composite',
|
102
|
+
class_name: 'Dimension'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
},
|
107
|
+
aggregation_type: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'aggregationType',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
fill_gap_with_zero: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'fillGapWithZero',
|
119
|
+
type: {
|
120
|
+
name: 'Boolean'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
category: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'category',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
resource_id_dimension_name_override: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'resourceIdDimensionNameOverride',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|