Class: Azure::ARM::CustomerInsights::Models::AuthorizationPolicyResourceFormat
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::ARM::CustomerInsights::Models::AuthorizationPolicyResourceFormat
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb
Overview
The authorization policy resource format.
Instance Attribute Summary collapse
-
#permissions ⇒ Array<PermissionTypes>
policy.
-
#policy_name ⇒ String
Name of the policy.
-
#primary_key ⇒ String
Primary key assiciated with the policy.
-
#secondary_key ⇒ String
Secondary key assiciated with the policy.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AuthorizationPolicyResourceFormat class as Ruby Hash.
Instance Attribute Details
#permissions ⇒ Array<PermissionTypes>
policy.
20 21 22 |
# File 'lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb', line 20 def @permissions end |
#policy_name ⇒ String
Returns Name of the policy.
16 17 18 |
# File 'lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb', line 16 def policy_name @policy_name end |
#primary_key ⇒ String
Returns Primary key assiciated with the policy.
23 24 25 |
# File 'lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb', line 23 def primary_key @primary_key end |
#secondary_key ⇒ String
Returns Secondary key assiciated with the policy.
26 27 28 |
# File 'lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb', line 26 def secondary_key @secondary_key end |
Class Method Details
.mapper ⇒ Object
Mapper for AuthorizationPolicyResourceFormat class as Ruby Hash. This will be used for serialization/deserialization.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb', line 33 def self.mapper() { required: false, serialized_name: 'AuthorizationPolicyResourceFormat', type: { name: 'Composite', class_name: 'AuthorizationPolicyResourceFormat', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, policy_name: { required: false, read_only: true, serialized_name: 'properties.policyName', type: { name: 'String' } }, permissions: { required: true, serialized_name: 'properties.permissions', constraints: { UniqueItems: true }, type: { name: 'Sequence', element: { required: false, serialized_name: 'PermissionTypesElementType', type: { name: 'Enum', module: 'PermissionTypes' } } } }, primary_key: { required: false, serialized_name: 'properties.primaryKey', type: { name: 'String' } }, secondary_key: { required: false, serialized_name: 'properties.secondaryKey', type: { name: 'String' } } } } } end |