azure_mgmt_storagecache 0.17.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache.rb +1 -2
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/caches.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/operations.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/skus.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/{storage_cache_mgmt_client.rb → storage_cache_management_client.rb} +8 -4
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_targets.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/usage_models.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_storagecache.rb +60 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/caches.rb +1477 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation.rb +59 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +69 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache.rb +188 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
- data/lib/{2019-08-01-preview/generated/azure_mgmt_storagecache/models/cloud_error.rb → 2019-11-01/generated/azure_mgmt_storagecache/models/cache_sku.rb} +11 -12
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_targets.rb +670 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/caches.rb +1513 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb +238 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_targets.rb +703 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache.rb +92 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/asc_operations.rb +127 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/caches.rb +1580 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation.rb +95 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +80 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_properties_service_specification.rb +57 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/asc_operation.rb +121 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache.rb +264 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings.rb +124 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings_credentials.rb +61 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_directory_settings.rb +62 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +56 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings.rb +186 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb +61 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +102 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/created_by_type.rb +18 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/domain_joined_type.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/error_response.rb +57 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_aggregation_type.rb +21 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_dimension.rb +79 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_specification.rb +140 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +79 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +102 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_policy.rb +69 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule.rb +139 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_access.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_scope.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target.rb +163 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +119 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +97 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/system_data.rb +105 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +102 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_downloaded_type.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_source.rb +18 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +157 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_targets.rb +691 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
- data/lib/azure_mgmt_storagecache.rb +3 -0
- data/lib/profiles/latest/modules/storagecache_profile_module.rb +208 -86
- data/lib/version.rb +1 -1
- metadata +158 -7
data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb
ADDED
@@ -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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes a resource Id to source Key Vault.
|
10
|
+
#
|
11
|
+
class KeyVaultKeyReferenceSourceVault
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Id.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for KeyVaultKeyReferenceSourceVault 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: 'KeyVaultKeyReference_sourceVault',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'KeyVaultKeyReferenceSourceVault',
|
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,68 @@
|
|
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A namespace junction.
|
10
|
+
#
|
11
|
+
class NamespaceJunction
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Namespace path on a Cache for a Storage Target.
|
16
|
+
attr_accessor :namespace_path
|
17
|
+
|
18
|
+
# @return [String] Path in Storage Target to which namespacePath points.
|
19
|
+
attr_accessor :target_path
|
20
|
+
|
21
|
+
# @return [String] NFS export where targetPath exists.
|
22
|
+
attr_accessor :nfs_export
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for NamespaceJunction class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'NamespaceJunction',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'NamespaceJunction',
|
37
|
+
model_properties: {
|
38
|
+
namespace_path: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'namespacePath',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
target_path: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'targetPath',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
nfs_export: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'nfsExport',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties pertained to Nfs3Target
|
10
|
+
#
|
11
|
+
class Nfs3Target
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] IP address or host name of an NFSv3 host (e.g.,
|
16
|
+
# 10.0.44.44).
|
17
|
+
attr_accessor :target
|
18
|
+
|
19
|
+
# @return [String] Identifies the primary usage model to be used for this
|
20
|
+
# Storage Target. Get choices from .../usageModels
|
21
|
+
attr_accessor :usage_model
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for Nfs3Target class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'Nfs3Target',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'Nfs3Target',
|
36
|
+
model_properties: {
|
37
|
+
target: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'target',
|
41
|
+
constraints: {
|
42
|
+
Pattern: '^[-.0-9a-zA-Z]+$'
|
43
|
+
},
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
usage_model: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'usageModel',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,110 @@
|
|
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An NFSv3 mount point for use as a Storage Target.
|
10
|
+
#
|
11
|
+
class Nfs3TargetProperties < StorageTargetProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@targetBaseType = "nfs3"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :targetBaseType
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for Nfs3TargetProperties class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'nfs3',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'Nfs3TargetProperties',
|
35
|
+
model_properties: {
|
36
|
+
junctions: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'junctions',
|
40
|
+
type: {
|
41
|
+
name: 'Sequence',
|
42
|
+
element: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'NamespaceJunctionElementType',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'NamespaceJunction'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
},
|
53
|
+
target_type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'targetType',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
provisioning_state: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'provisioningState',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
nfs3: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'nfs3',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'Nfs3Target'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
clfs: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'clfs',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'ClfsTarget'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
unknown: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'unknown',
|
91
|
+
type: {
|
92
|
+
name: 'Composite',
|
93
|
+
class_name: 'UnknownTarget'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
targetBaseType: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: true,
|
99
|
+
serialized_name: 'targetBaseType',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProvisioningStateType
|
10
|
+
#
|
11
|
+
module ProvisioningStateType
|
12
|
+
Succeeded = "Succeeded"
|
13
|
+
Failed = "Failed"
|
14
|
+
Cancelled = "Cancelled"
|
15
|
+
Creating = "Creating"
|
16
|
+
Deleting = "Deleting"
|
17
|
+
Updating = "Updating"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ReasonCode
|
10
|
+
#
|
11
|
+
module ReasonCode
|
12
|
+
QuotaId = "QuotaId"
|
13
|
+
NotAvailableForSubscription = "NotAvailableForSubscription"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,143 @@
|
|
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A resource SKU.
|
10
|
+
#
|
11
|
+
class ResourceSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The type of resource the SKU applies to.
|
16
|
+
attr_accessor :resource_type
|
17
|
+
|
18
|
+
# @return [Array<ResourceSkuCapabilities>] A list of capabilities of this
|
19
|
+
# SKU, such as throughput or ops/sec.
|
20
|
+
attr_accessor :capabilities
|
21
|
+
|
22
|
+
# @return [Array<String>] The set of locations that the SKU is available.
|
23
|
+
# This will be supported and registered Azure Geo Regions (e.g., West US,
|
24
|
+
# East US, Southeast Asia, etc.).
|
25
|
+
attr_accessor :locations
|
26
|
+
|
27
|
+
# @return [Array<ResourceSkuLocationInfo>] The set of locations that the
|
28
|
+
# SKU is available.
|
29
|
+
attr_accessor :location_info
|
30
|
+
|
31
|
+
# @return [String] The name of this SKU.
|
32
|
+
attr_accessor :name
|
33
|
+
|
34
|
+
# @return [Array<Restriction>] The restrictions preventing this SKU from
|
35
|
+
# being used. This is empty if there are no restrictions.
|
36
|
+
attr_accessor :restrictions
|
37
|
+
|
38
|
+
|
39
|
+
#
|
40
|
+
# Mapper for ResourceSku 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: 'ResourceSku',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'ResourceSku',
|
51
|
+
model_properties: {
|
52
|
+
resource_type: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'resourceType',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
capabilities: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'capabilities',
|
65
|
+
type: {
|
66
|
+
name: 'Sequence',
|
67
|
+
element: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'ResourceSkuCapabilitiesElementType',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'ResourceSkuCapabilities'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
locations: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
read_only: true,
|
82
|
+
serialized_name: 'locations',
|
83
|
+
type: {
|
84
|
+
name: 'Sequence',
|
85
|
+
element: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'StringElementType',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
},
|
95
|
+
location_info: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'locationInfo',
|
99
|
+
type: {
|
100
|
+
name: 'Sequence',
|
101
|
+
element: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'ResourceSkuLocationInfoElementType',
|
105
|
+
type: {
|
106
|
+
name: 'Composite',
|
107
|
+
class_name: 'ResourceSkuLocationInfo'
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
},
|
112
|
+
name: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'name',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
restrictions: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'restrictions',
|
124
|
+
type: {
|
125
|
+
name: 'Sequence',
|
126
|
+
element: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'RestrictionElementType',
|
130
|
+
type: {
|
131
|
+
name: 'Composite',
|
132
|
+
class_name: 'Restriction'
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|