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,95 @@
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
+ # REST API operation description: see
10
+ # https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation
11
+ #
12
+ class ApiOperation
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [ApiOperationDisplay] The object that represents the operation.
17
+ attr_accessor :display
18
+
19
+ # @return [String] Origin of the operation.
20
+ attr_accessor :origin
21
+
22
+ # @return [Boolean] The flag that indicates whether the operation applies
23
+ # to data plane.
24
+ attr_accessor :is_data_action
25
+
26
+ # @return [String] Operation name: {provider}/{resource}/{operation}
27
+ attr_accessor :name
28
+
29
+ # @return [ApiOperationPropertiesServiceSpecification] Specification of
30
+ # the all the metrics provided for a resource type.
31
+ attr_accessor :service_specification
32
+
33
+
34
+ #
35
+ # Mapper for ApiOperation class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'ApiOperation',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ApiOperation',
46
+ model_properties: {
47
+ display: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'display',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'ApiOperationDisplay'
54
+ }
55
+ },
56
+ origin: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'origin',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ is_data_action: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'isDataAction',
68
+ type: {
69
+ name: 'Boolean'
70
+ }
71
+ },
72
+ name: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'name',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ service_specification: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'properties.serviceSpecification',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'ApiOperationPropertiesServiceSpecification'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,80 @@
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
+ # The object that represents the operation.
10
+ #
11
+ class ApiOperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation type: Read, write, delete, etc.
16
+ attr_accessor :operation
17
+
18
+ # @return [String] Service provider: Microsoft.StorageCache
19
+ attr_accessor :provider
20
+
21
+ # @return [String] Resource on which the operation is performed: Cache,
22
+ # etc.
23
+ attr_accessor :resource
24
+
25
+ # @return [String] The description of the operation
26
+ attr_accessor :description
27
+
28
+
29
+ #
30
+ # Mapper for ApiOperationDisplay class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'ApiOperation_display',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ApiOperationDisplay',
41
+ model_properties: {
42
+ operation: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'operation',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ provider: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'provider',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ resource: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'resource',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ description: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'description',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,101 @@
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
+ # Result of the request to list Resource Provider operations. It contains a
10
+ # list of operations and a URL link to get the next set of results.
11
+ #
12
+ class ApiOperationListResult
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [String] URL to get the next set of operation list results if
18
+ # there are any.
19
+ attr_accessor :next_link
20
+
21
+ # @return [Array<ApiOperation>] List of Resource Provider operations
22
+ # supported by the Microsoft.StorageCache resource provider.
23
+ attr_accessor :value
24
+
25
+ # return [Proc] with next page method call.
26
+ attr_accessor :next_method
27
+
28
+ #
29
+ # Gets the rest of the items for the request, enabling auto-pagination.
30
+ #
31
+ # @return [Array<ApiOperation>] operation results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil && !page.next_link.strip.empty? do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [ApiOperationListResult] with next page content.
47
+ #
48
+ def get_next_page
49
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
50
+ unless response.nil?
51
+ @next_link = response.body.next_link
52
+ @value = response.body.value
53
+ self
54
+ end
55
+ end
56
+
57
+ #
58
+ # Mapper for ApiOperationListResult class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'ApiOperationListResult',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'ApiOperationListResult',
69
+ model_properties: {
70
+ next_link: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'nextLink',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ value: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'value',
82
+ type: {
83
+ name: 'Sequence',
84
+ element: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'ApiOperationElementType',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'ApiOperation'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -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::StorageCache::Mgmt::V2020_10_01
7
+ module Models
8
+ #
9
+ # Specification of the all the metrics provided for a resource type.
10
+ #
11
+ class ApiOperationPropertiesServiceSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<MetricSpecification>] Details about operations related
16
+ # to metrics.
17
+ attr_accessor :metric_specifications
18
+
19
+
20
+ #
21
+ # Mapper for ApiOperationPropertiesServiceSpecification class as Ruby
22
+ # Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'ApiOperation_properties_serviceSpecification',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ApiOperationPropertiesServiceSpecification',
33
+ model_properties: {
34
+ metric_specifications: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'metricSpecifications',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'MetricSpecificationElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'MetricSpecification'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,121 @@
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
+ # The status of operation.
10
+ #
11
+ class AscOperation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The operation Id.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The operation name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The start time of the operation.
22
+ attr_accessor :start_time
23
+
24
+ # @return [String] The end time of the operation.
25
+ attr_accessor :end_time
26
+
27
+ # @return [String] The status of the operation.
28
+ attr_accessor :status
29
+
30
+ # @return [ErrorResponse] The error detail of the operation if any.
31
+ attr_accessor :error
32
+
33
+ # @return Additional Operation Specific Properties
34
+ attr_accessor :output
35
+
36
+
37
+ #
38
+ # Mapper for AscOperation class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'AscOperation',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'AscOperation',
49
+ model_properties: {
50
+ id: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'id',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ name: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ start_time: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'startTime',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ end_time: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'endTime',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ status: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'status',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ error: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'error',
94
+ type: {
95
+ name: 'Composite',
96
+ class_name: 'ErrorResponse'
97
+ }
98
+ },
99
+ output: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'properties.output',
103
+ type: {
104
+ name: 'Dictionary',
105
+ value: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'ObjectElementType',
109
+ type: {
110
+ name: 'Object'
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ end
119
+ end
120
+ end
121
+ end