class Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ThroughputSettingsGetPropertiesResource

Model object.

Attributes

_etag[RW]

@return [String] A system generated property representing the resource etag required for optimistic concurrency control.

_rid[RW]

@return [String] A system generated property. A unique identifier.

_ts[RW]

@return A system generated property that denotes the last updated timestamp of the resource.

minimum_throughput[RW]

@return [String] The minimum throughput of the resource

offer_replace_pending[RW]

@return [String] The throughput replace is pending

provisioned_throughput_settings[RW]

@return [ProvisionedThroughputSettingsResource] Cosmos DB resource for provisioned throughput settings. Either throughput is required or provisionedThroughputSettings is required, but not both.

throughput[RW]

@return [Integer] Value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both.

Public Class Methods

mapper() click to toggle source

Mapper for ThroughputSettingsGetPropertiesResource class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb, line 48
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ThroughputSettingsGetProperties_resource',
    type: {
      name: 'Composite',
      class_name: 'ThroughputSettingsGetPropertiesResource',
      model_properties: {
        throughput: {
          client_side_validation: true,
          required: false,
          serialized_name: 'throughput',
          type: {
            name: 'Number'
          }
        },
        provisioned_throughput_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provisionedThroughputSettings',
          type: {
            name: 'Composite',
            class_name: 'ProvisionedThroughputSettingsResource'
          }
        },
        minimum_throughput: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'minimumThroughput',
          type: {
            name: 'String'
          }
        },
        offer_replace_pending: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'offerReplacePending',
          type: {
            name: 'String'
          }
        },
        _rid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '_rid',
          type: {
            name: 'String'
          }
        },
        _ts: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '_ts',
          type: {
            name: 'Object'
          }
        },
        _etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '_etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end