Class: Azure::ContainerService::Mgmt::V2017_08_31::Models::ContainerServiceServicePrincipalProfile
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2017_08_31::Models::ContainerServiceServicePrincipalProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
Overview
Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The ID for the service principal.
-
#key_vault_secret_ref ⇒ KeyVaultSecretRef
Vault.
-
#secret ⇒ String
principal in plain text.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerServiceServicePrincipalProfile class as Ruby Hash.
Instance Attribute Details
#client_id ⇒ String
Returns The ID for the service principal.
18 19 20 |
# File 'lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 18 def client_id @client_id end |
#key_vault_secret_ref ⇒ KeyVaultSecretRef
Vault.
26 27 28 |
# File 'lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 26 def key_vault_secret_ref @key_vault_secret_ref end |
#secret ⇒ String
principal in plain text.
22 23 24 |
# File 'lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 22 def secret @secret end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerServiceServicePrincipalProfile 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 |
# File 'lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerServiceServicePrincipalProfile', type: { name: 'Composite', class_name: 'ContainerServiceServicePrincipalProfile', 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' } }, key_vault_secret_ref: { client_side_validation: true, required: false, serialized_name: 'keyVaultSecretRef', type: { name: 'Composite', class_name: 'KeyVaultSecretRef' } } } } } end |