Class: Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::Permission
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::Permission
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/permission.rb
Overview
The set of data plane operations permitted through this Role Definition.
Instance Attribute Summary collapse
-
#data_actions ⇒ Array<String>
An array of data actions that are allowed.
-
#not_data_actions ⇒ Array<String>
An array of data actions that are denied.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Permission class as Ruby Hash.
Instance Attribute Details
#data_actions ⇒ Array<String>
Returns An array of data actions that are allowed.
16 17 18 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/permission.rb', line 16 def data_actions @data_actions end |
#not_data_actions ⇒ Array<String>
Returns An array of data actions that are denied.
19 20 21 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/permission.rb', line 19 def not_data_actions @not_data_actions end |
Class Method Details
.mapper ⇒ Object
Mapper for Permission class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/permission.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Permission', type: { name: 'Composite', class_name: 'Permission', model_properties: { data_actions: { client_side_validation: true, required: false, serialized_name: 'dataActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, not_data_actions: { client_side_validation: true, required: false, serialized_name: 'notDataActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |