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
@@ -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::StorageCache::Mgmt::V2020_10_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
|
+
# @return [String] Name of the access policy applied to this junction.
|
25
|
+
attr_accessor :nfs_access_policy
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for NamespaceJunction 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: 'NamespaceJunction',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'NamespaceJunction',
|
40
|
+
model_properties: {
|
41
|
+
namespace_path: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'namespacePath',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
target_path: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'targetPath',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
nfs_export: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'nfsExport',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
nfs_access_policy: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'nfsAccessPolicy',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties pertaining to the 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 usage model to be used for this Storage
|
20
|
+
# 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,102 @@
|
|
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_10_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
|
+
@targetType = "nfs3"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :targetType
|
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
|
+
provisioning_state: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'provisioningState',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
nfs3: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'nfs3',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'Nfs3Target'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
clfs: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'clfs',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'ClfsTarget'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
unknown: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'unknown',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'UnknownTarget'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
targetType: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: true,
|
91
|
+
serialized_name: 'targetType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
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::StorageCache::Mgmt::V2020_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A set of rules describing access policies applied to NFSv3 clients of the
|
10
|
+
# cache.
|
11
|
+
#
|
12
|
+
class NfsAccessPolicy
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Name identifying this policy. Access Policy names are
|
17
|
+
# not case sensitive.
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
# @return [Array<NfsAccessRule>] The set of rules describing client
|
21
|
+
# accesses allowed under this policy.
|
22
|
+
attr_accessor :access_rules
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for NfsAccessPolicy 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: 'NfsAccessPolicy',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'NfsAccessPolicy',
|
37
|
+
model_properties: {
|
38
|
+
name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'name',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
access_rules: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'accessRules',
|
50
|
+
type: {
|
51
|
+
name: 'Sequence',
|
52
|
+
element: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'NfsAccessRuleElementType',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'NfsAccessRule'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,139 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Rule to place restrictions on portions of the cache namespace being
|
10
|
+
# presented to clients.
|
11
|
+
#
|
12
|
+
class NfsAccessRule
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [NfsAccessRuleScope] Scope for this rule. The scope and filter
|
17
|
+
# determine which clients match the rule. Possible values include:
|
18
|
+
# 'default', 'network', 'host'
|
19
|
+
attr_accessor :scope
|
20
|
+
|
21
|
+
# @return [String] Filter applied to the scope for this rule. The
|
22
|
+
# filter's format depends on its scope. 'default' scope matches all
|
23
|
+
# clients and has no filter value. 'network' scope takes a filter in CIDR
|
24
|
+
# format (for example, 10.99.1.0/24). 'host' takes an IP address or fully
|
25
|
+
# qualified domain name as filter. If a client does not match any filter
|
26
|
+
# rule and there is no default rule, access is denied.
|
27
|
+
attr_accessor :filter
|
28
|
+
|
29
|
+
# @return [NfsAccessRuleAccess] Access allowed by this rule. Possible
|
30
|
+
# values include: 'no', 'ro', 'rw'
|
31
|
+
attr_accessor :access
|
32
|
+
|
33
|
+
# @return [Boolean] Allow SUID semantics.
|
34
|
+
attr_accessor :suid
|
35
|
+
|
36
|
+
# @return [Boolean] For the default policy, allow access to
|
37
|
+
# subdirectories under the root export. If this is set to no, clients can
|
38
|
+
# only mount the path '/'. If set to yes, clients can mount a deeper
|
39
|
+
# path, like '/a/b'.
|
40
|
+
attr_accessor :submount_access
|
41
|
+
|
42
|
+
# @return [Boolean] Map root accesses to anonymousUID and anonymousGID.
|
43
|
+
attr_accessor :root_squash
|
44
|
+
|
45
|
+
# @return [String] UID value that replaces 0 when rootSquash is true.
|
46
|
+
# Default value: '-2' .
|
47
|
+
attr_accessor :anonymous_uid
|
48
|
+
|
49
|
+
# @return [String] GID value that replaces 0 when rootSquash is true.
|
50
|
+
# Default value: '-2' .
|
51
|
+
attr_accessor :anonymous_gid
|
52
|
+
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for NfsAccessRule class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'NfsAccessRule',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'NfsAccessRule',
|
66
|
+
model_properties: {
|
67
|
+
scope: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: true,
|
70
|
+
serialized_name: 'scope',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
filter: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'filter',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
access: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: true,
|
86
|
+
serialized_name: 'access',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
suid: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'suid',
|
95
|
+
type: {
|
96
|
+
name: 'Boolean'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
submount_access: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'submountAccess',
|
103
|
+
type: {
|
104
|
+
name: 'Boolean'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
root_squash: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'rootSquash',
|
111
|
+
type: {
|
112
|
+
name: 'Boolean'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
anonymous_uid: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'anonymousUID',
|
119
|
+
default_value: '-2',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
anonymous_gid: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'anonymousGID',
|
128
|
+
default_value: '-2',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|