Sha256: 9ddc376810d02ace5fd29b2d034b35b63faef6f55c540c9728b1218114af651a

Contents?: true

Size: 1.62 KB

Versions: 17

Compression:

Stored size: 1.62 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ContainerService::Mgmt::V2016_09_30
  module Models
    #
    # Information about a service principal identity for the cluster to use for
    # manipulating Azure APIs.
    #
    class ContainerServiceServicePrincipalProfile

      include MsRestAzure

      # @return [String] The ID for the service principal.
      attr_accessor :client_id

      # @return [String] The secret password associated with the service
      # principal.
      attr_accessor :secret


      #
      # Mapper for ContainerServiceServicePrincipalProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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: true,
                serialized_name: 'secret',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.21.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.20.4 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.20.3 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.20.2 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.20.1 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.20.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.19.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.18.5 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.18.4 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.18.3 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.18.2 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.18.1 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.18.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.17.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.16.0 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb
azure_mgmt_container_service-0.15.2 lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb