Sha256: 14cd69ab0d568767c6e48aa9be9d0b4d1484998fa5457c235b2d203a35590bc4

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 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::CognitiveServices::Mgmt::V2017_04_18
  module Models
    #
    # Cognitive Services resource type and SKU.
    #
    class CognitiveServicesResourceAndSku

      include MsRestAzure

      # @return [String] Resource Namespace and Type
      attr_accessor :resource_type

      # @return [Sku] The SKU of Cognitive Services account.
      attr_accessor :sku


      #
      # Mapper for CognitiveServicesResourceAndSku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'CognitiveServicesResourceAndSku',
          type: {
            name: 'Composite',
            class_name: 'CognitiveServicesResourceAndSku',
            model_properties: {
              resource_type: {
                required: false,
                serialized_name: 'resourceType',
                type: {
                  name: 'String'
                }
              },
              sku: {
                required: false,
                serialized_name: 'sku',
                type: {
                  name: 'Composite',
                  class_name: 'Sku'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cognitive_services-0.15.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb
azure_mgmt_cognitive_services-0.15.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb