azure_mgmt_storagecache 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
  3. data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
  4. data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
  5. data/lib/2020-10-01/generated/azure_mgmt_storagecache.rb +92 -0
  6. data/lib/2020-10-01/generated/azure_mgmt_storagecache/asc_operations.rb +127 -0
  7. data/lib/2020-10-01/generated/azure_mgmt_storagecache/caches.rb +1580 -0
  8. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation.rb +95 -0
  9. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +80 -0
  10. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
  11. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_properties_service_specification.rb +57 -0
  12. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/asc_operation.rb +121 -0
  13. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache.rb +264 -0
  14. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings.rb +124 -0
  15. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings_credentials.rb +61 -0
  16. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_directory_settings.rb +62 -0
  17. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
  18. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
  19. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
  20. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
  21. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
  22. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +56 -0
  23. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
  24. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
  25. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings.rb +186 -0
  26. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb +61 -0
  27. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
  28. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
  29. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +102 -0
  30. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
  31. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/created_by_type.rb +18 -0
  32. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/domain_joined_type.rb +17 -0
  33. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/error_response.rb +57 -0
  34. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
  35. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
  36. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
  37. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
  38. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_aggregation_type.rb +21 -0
  39. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_dimension.rb +79 -0
  40. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_specification.rb +140 -0
  41. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +79 -0
  42. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
  43. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +102 -0
  44. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_policy.rb +69 -0
  45. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule.rb +139 -0
  46. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_access.rb +17 -0
  47. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_scope.rb +17 -0
  48. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
  49. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
  50. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
  51. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
  52. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
  53. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
  54. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
  55. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target.rb +163 -0
  56. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +119 -0
  57. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +97 -0
  58. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
  59. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/system_data.rb +106 -0
  60. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
  61. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +102 -0
  62. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
  63. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
  64. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
  65. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_downloaded_type.rb +17 -0
  66. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_source.rb +18 -0
  67. data/lib/2020-10-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
  68. data/lib/2020-10-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
  69. data/lib/2020-10-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
  70. data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +157 -0
  71. data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_targets.rb +691 -0
  72. data/lib/2020-10-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
  73. data/lib/azure_mgmt_storagecache.rb +2 -1
  74. data/lib/profiles/latest/modules/storagecache_profile_module.rb +182 -104
  75. data/lib/version.rb +1 -1
  76. metadata +71 -3
@@ -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