otcextensions.sdk.dcs.v1.service_specification

The DCS Service Specification Class

The ServiceSpecification class inherits from Resource.

class otcextensions.sdk.dcs.v1.service_specification.ServiceSpecification(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resources_key: ty.Optional[str] = 'products'

Plural form of key for resource.

base_path: str = '/products'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

product_id

Properties Product ID used to differentiate DCS specifications.

spec_code

DCS instance specification code.

cache_mode

DCS instance type.

product_type

Edition of DCS for Redis.

cpu_type

CPU architecture

storage_type

Storage type.

details

Details of the specifications.

engine

Cache engine.

engine_versions

Cache engine version.

charging_type

Billing mode. Value: Hourly.

price

Price of the DCS service to which you can subscribe.

currency

Currency

prod_type

Product type.

cloud_service_type_code

Cloud service type code.

cloud_resource_type_code

Cloud resource type code.

flavors

AZs with available resources.