class Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceServicePrincipalProfile
Information about a service principal identity for the cluster to use for manipulating Azure
APIs. Either secret or keyVaultSecretRef must be specified.
Attributes
client_id[RW]
@return [String] The ID for the service principal.
key_vault_secret_ref[RW]
@return [KeyVaultSecretRef] Reference to a secret stored in Azure
Key Vault.
secret[RW]
@return [String] The secret password associated with the service principal in plain text.
Private Class Methods
mapper()
click to toggle source
Mapper for ContainerServiceServicePrincipalProfile
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-07-01/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