Class: Azure::ContainerService::Mgmt::V2019_08_01::Models::ManagedClusterServicePrincipalProfile
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2019_08_01::Models::ManagedClusterServicePrincipalProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
Overview
Information about a service principal identity for the cluster to use for manipulating Azure APIs.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The ID for the service principal.
-
#secret ⇒ String
principal in plain text.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagedClusterServicePrincipalProfile class as Ruby Hash.
Instance Attribute Details
#client_id ⇒ String
Returns The ID for the service principal.
17 18 19 |
# File 'lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb', line 17 def client_id @client_id end |
#secret ⇒ String
principal in plain text.
21 22 23 |
# File 'lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb', line 21 def secret @secret end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagedClusterServicePrincipalProfile class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagedClusterServicePrincipalProfile', type: { name: 'Composite', class_name: 'ManagedClusterServicePrincipalProfile', model_properties: { client_id: { client_side_validation: true, required: true, serialized_name: 'clientId', type: { name: 'String' } }, secret: { client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'String' } } } } } end |