Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::ApiManagementServiceIdentity
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::ApiManagementServiceIdentity
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb
Overview
Identity properties of the Api Management service resource.
Instance Attribute Summary collapse
-
#principal_id ⇒ Object
The principal id of the identity.
-
#tenant_id ⇒ Object
The client tenant id of the identity.
-
#type ⇒ String
is ‘SystemAssigned’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApiManagementServiceIdentity class as Ruby Hash.
Instance Attribute Details
#principal_id ⇒ Object
Returns The principal id of the identity.
20 21 22 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb', line 20 def principal_id @principal_id end |
#tenant_id ⇒ Object
Returns The client tenant id of the identity.
23 24 25 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb', line 23 def tenant_id @tenant_id end |
#type ⇒ String
is ‘SystemAssigned’. Default value: ‘SystemAssigned’ .
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb', line 17 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ApiManagementServiceIdentity class as Ruby Hash. This will be used for serialization/deserialization.
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/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApiManagementServiceIdentity', type: { name: 'Composite', class_name: 'ApiManagementServiceIdentity', model_properties: { type: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', default_value: 'SystemAssigned', type: { name: 'String' } }, principal_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', type: { name: 'String' } } } } } end |