scaleway_async.product_catalog.v2alpha1 package

Submodules

scaleway_async.product_catalog.v2alpha1.api module

class scaleway_async.product_catalog.v2alpha1.api.ProductCatalogV2Alpha1PublicCatalogAPI(client: Client, *, bypass_validation: bool = False)

Bases: API

async list_public_catalog_products(*, page: int | None = None, page_size: int | None = None, product_types: List[ListPublicCatalogProductsRequestProductType] | None = None, global_: bool | None = None, region: str | None = None, zone: str | None = None, datacenter: str | None = None) ListPublicCatalogProductsResponse

List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the page number and page_size for your query in the request. :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. :param global_: Filter global products. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param region: Filter products by region. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param zone: Filter products by zone. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param datacenter: Filter products by datacenter. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :return: ListPublicCatalogProductsResponse

Usage:

result = await api.list_public_catalog_products()
async list_public_catalog_products_all(*, page: int | None = None, page_size: int | None = None, product_types: List[ListPublicCatalogProductsRequestProductType] | None = None, global_: bool | None = None, region: str | None = None, zone: str | None = None, datacenter: str | None = None) List[PublicCatalogProduct]

List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the page number and page_size for your query in the request. :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. :param global_: Filter global products. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param region: Filter products by region. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param zone: Filter products by zone. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param datacenter: Filter products by datacenter. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :return: List[PublicCatalogProduct]

Usage:

result = await api.list_public_catalog_products_all()

scaleway_async.product_catalog.v2alpha1.marshalling module

scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_ListPublicCatalogProductsResponse(data: Any) ListPublicCatalogProductsResponse
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProduct(data: Any) PublicCatalogProduct
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductEnvironmentalImpactEstimation(data: Any) PublicCatalogProductEnvironmentalImpactEstimation
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductLocality(data: Any) PublicCatalogProductLocality
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPrice(data: Any) PublicCatalogProductPrice
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductProperties(data: Any) PublicCatalogProductProperties
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesAppleSilicon(data: Any) PublicCatalogProductPropertiesAppleSilicon
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesBlockStorage(data: Any) PublicCatalogProductPropertiesBlockStorage
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesDedibox(data: Any) PublicCatalogProductPropertiesDedibox
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesElasticMetal(data: Any) PublicCatalogProductPropertiesElasticMetal
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardware(data: Any) PublicCatalogProductPropertiesHardware
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareCPU(data: Any) PublicCatalogProductPropertiesHardwareCPU
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareCPUPhysical(data: Any) PublicCatalogProductPropertiesHardwareCPUPhysical
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareCPUVirtual(data: Any) PublicCatalogProductPropertiesHardwareCPUVirtual
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareGPU(data: Any) PublicCatalogProductPropertiesHardwareGPU
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareNetwork(data: Any) PublicCatalogProductPropertiesHardwareNetwork
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareRAM(data: Any) PublicCatalogProductPropertiesHardwareRAM
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesHardwareStorage(data: Any) PublicCatalogProductPropertiesHardwareStorage
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesInstance(data: Any) PublicCatalogProductPropertiesInstance
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductPropertiesObjectStorage(data: Any) PublicCatalogProductPropertiesObjectStorage
scaleway_async.product_catalog.v2alpha1.marshalling.unmarshal_PublicCatalogProductUnitOfMeasure(data: Any) PublicCatalogProductUnitOfMeasure

scaleway_async.product_catalog.v2alpha1.types module

class scaleway_async.product_catalog.v2alpha1.types.ListPublicCatalogProductsRequestProductType(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

APPLE_SILICON = 'apple_silicon'
BLOCK_STORAGE = 'block_storage'
DEDIBOX = 'dedibox'
ELASTIC_METAL = 'elastic_metal'
INSTANCE = 'instance'
OBJECT_STORAGE = 'object_storage'
UNKNOWN_PRODUCT_TYPE = 'unknown_product_type'
class scaleway_async.product_catalog.v2alpha1.types.ListPublicCatalogProductsResponse(products: 'List[PublicCatalogProduct]', total_count: 'int')

Bases: object

products: List[PublicCatalogProduct]

The list of products.

total_count: int

The total number of products in the catalog.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogApiListPublicCatalogProductsRequest(page: 'Optional[int]' = 0, page_size: 'Optional[int]' = 0, product_types: 'Optional[List[ListPublicCatalogProductsRequestProductType]]' = <factory>, global_: 'Optional[bool]' = False, region: 'Optional[ScwRegion]' = None, zone: 'Optional[ScwZone]' = None, datacenter: 'Optional[str]' = None)

Bases: object

datacenter: str | None = None
global_: bool | None = False
page: int | None = 0

Number of the page. Value must be greater or equal to 1.

page_size: int | None = 0

The number of products per page. Value must be greater or equal to 1.

product_types: List[ListPublicCatalogProductsRequestProductType] | None

The list of filtered product categories.

region: str | None = None
zone: str | None = None
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProduct(sku: 'str', service_category: 'str', product_category: 'str', product: 'str', variant: 'str', description: 'str', status: 'PublicCatalogProductStatus', locality: 'Optional[PublicCatalogProductLocality]' = None, price: 'Optional[PublicCatalogProductPrice]' = None, properties: 'Optional[PublicCatalogProductProperties]' = None, environmental_impact_estimation: 'Optional[PublicCatalogProductEnvironmentalImpactEstimation]' = None, unit_of_measure: 'Optional[PublicCatalogProductUnitOfMeasure]' = None, end_of_life_at: 'Optional[datetime]' = None)

Bases: object

description: str

The product description.

end_of_life_at: datetime | None = None

The end of life date of the product.

environmental_impact_estimation: PublicCatalogProductEnvironmentalImpactEstimation | None = None

The environmental impact estimation of the product.

locality: PublicCatalogProductLocality | None = None

The locality of the product.

price: PublicCatalogProductPrice | None = None

The price of the product.

product: str

The product name.

product_category: str

The product category of the product.

properties: PublicCatalogProductProperties | None = None

The properties of the product.

service_category: str

The category of the product.

sku: str

The unique identifier of the product.

status: PublicCatalogProductStatus

The status of the product.

unit_of_measure: PublicCatalogProductUnitOfMeasure | None = None

The unit of measure of the product.

variant: str

The product variant.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductEnvironmentalImpactEstimation(kg_co2_equivalent: 'Optional[float]' = None, m3_water_usage: 'Optional[float]' = None)

Bases: object

kg_co2_equivalent: float | None = None
m3_water_usage: float | None = None
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductLocality(global_: 'Optional[bool]' = False, region: 'Optional[ScwRegion]' = None, zone: 'Optional[ScwZone]' = None, datacenter: 'Optional[str]' = None)

Bases: object

datacenter: str | None = None
global_: bool | None = False
region: str | None = None
zone: str | None = None
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPrice(retail_price: 'Optional[Money]' = None)

Bases: object

retail_price: Money | None = None

The retail price of the product.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductProperties(hardware: 'Optional[PublicCatalogProductPropertiesHardware]' = None, dedibox: 'Optional[PublicCatalogProductPropertiesDedibox]' = None, elastic_metal: 'Optional[PublicCatalogProductPropertiesElasticMetal]' = None, apple_silicon: 'Optional[PublicCatalogProductPropertiesAppleSilicon]' = None, instance: 'Optional[PublicCatalogProductPropertiesInstance]' = None, block_storage: 'Optional[PublicCatalogProductPropertiesBlockStorage]' = None, object_storage: 'Optional[PublicCatalogProductPropertiesObjectStorage]' = None)

Bases: object

apple_silicon: PublicCatalogProductPropertiesAppleSilicon | None = None
block_storage: PublicCatalogProductPropertiesBlockStorage | None = None
dedibox: PublicCatalogProductPropertiesDedibox | None = None
elastic_metal: PublicCatalogProductPropertiesElasticMetal | None = None
hardware: PublicCatalogProductPropertiesHardware | None = None

The hardware properties of the product (if supported).

instance: PublicCatalogProductPropertiesInstance | None = None
object_storage: PublicCatalogProductPropertiesObjectStorage | None = None
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesAppleSilicon(range: 'str', server_type: 'str')

Bases: object

range: str

The range of the Apple Silicon server.

server_type: str

The server type of the Apple Silicon server.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesBlockStorage(min_volume_size: 'Optional[int]' = 0, max_volume_size: 'Optional[int]' = 0)

Bases: object

max_volume_size: int | None = 0

The maximum size of storage volume for this product in bytes. Deprecated.

min_volume_size: int | None = 0

The minimum size of storage volume for this product in bytes. Deprecated.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesDedibox(range: 'str', offer_id: 'int')

Bases: object

offer_id: int

The offer ID of the Dedibox server.

range: str

The range of the Dedibox server.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesElasticMetal(range: 'str', offer_id: 'str')

Bases: object

offer_id: str

The offer ID of the Elastic Metal server.

range: str

The range of the Elastic Metal server.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardware(cpu: 'Optional[PublicCatalogProductPropertiesHardwareCPU]' = None, ram: 'Optional[PublicCatalogProductPropertiesHardwareRAM]' = None, storage: 'Optional[PublicCatalogProductPropertiesHardwareStorage]' = None, network: 'Optional[PublicCatalogProductPropertiesHardwareNetwork]' = None, gpu: 'Optional[PublicCatalogProductPropertiesHardwareGPU]' = None)

Bases: object

cpu: PublicCatalogProductPropertiesHardwareCPU | None = None

The CPU hardware properties.

gpu: PublicCatalogProductPropertiesHardwareGPU | None = None

The GPU hardware properties.

network: PublicCatalogProductPropertiesHardwareNetwork | None = None

The network hardware properties.

ram: PublicCatalogProductPropertiesHardwareRAM | None = None

The RAM hardware properties.

storage: PublicCatalogProductPropertiesHardwareStorage | None = None

The storage hardware properties.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareCPU(description: 'str', arch: 'PublicCatalogProductPropertiesHardwareCPUArch', type_: 'str', threads: 'int', virtual: 'Optional[PublicCatalogProductPropertiesHardwareCPUVirtual]' = None, physical: 'Optional[PublicCatalogProductPropertiesHardwareCPUPhysical]' = None)

Bases: object

arch: PublicCatalogProductPropertiesHardwareCPUArch

The architecture of the CPU.

description: str

A human readable description of the CPU.

physical: PublicCatalogProductPropertiesHardwareCPUPhysical | None = None
threads: int

The total number of threads.

type_: str

The type of the CPU.

virtual: PublicCatalogProductPropertiesHardwareCPUVirtual | None = None
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareCPUArch(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

APPLE_SILICON = 'apple_silicon'
ARM64 = 'arm64'
RISCV = 'riscv'
UNKNOWN_ARCH = 'unknown_arch'
X64 = 'x64'
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareCPUPhysical(sockets: 'int', cores_per_socket: 'int', threads_per_core: 'int', frequency: 'int', benchmark: 'int')

Bases: object

benchmark: int

The benchmark score of the CPU.

cores_per_socket: int

The number of cores per socket.

frequency: int

The frequency of the CPU in Hertz.

sockets: int

The number of sockets of the CPU.

threads_per_core: int

The number of threads per core.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareCPUVirtual(count: 'int')

Bases: object

count: int

The number of vCPUs.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareGPU(description: 'str', count: 'int', type_: 'str')

Bases: object

count: int

The number of GPUs.

description: str

A human-readable description of the GPU.

type_: str

The type of the GPU.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareNetwork(description: 'str', internal_bandwidth: 'int', public_bandwidth: 'int', max_public_bandwidth: 'int')

Bases: object

description: str

A human-readable description of the network.

internal_bandwidth: int

The internal bandwidth in bits per second.

max_public_bandwidth: int

The maximum public bandwidth in bits per second (may require subscription to options).

public_bandwidth: int

The default public bandwidth in bits per second.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareRAM(description: 'str', size: 'int', type_: 'str')

Bases: object

description: str

A human-readable description of the RAM.

size: int

The size of the RAM in bytes.

type_: str

The type of the RAM.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesHardwareStorage(description: 'str', total: 'int')

Bases: object

description: str

A human-readable description of the storage.

total: int

The total size of the storage in bytes.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesInstance(range: 'str', offer_id: 'str', recommended_replacement_offer_ids: 'List[str]')

Bases: object

offer_id: str

The offer ID of the Instance server.

range: str

The range of the Instance server.

recommended_replacement_offer_ids: List[str]

The recommended replacement offer IDs of the Instance server.

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductPropertiesObjectStorage

Bases: object

class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductStatus(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

END_OF_DEPLOYMENT = 'end_of_deployment'
END_OF_SALE = 'end_of_sale'
END_OF_SUPPORT = 'end_of_support'
GENERAL_AVAILABILITY = 'general_availability'
PREVIEW = 'preview'
PUBLIC_BETA = 'public_beta'
UNKNOWN_STATUS = 'unknown_status'
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductUnitOfMeasure(unit: 'PublicCatalogProductUnitOfMeasureCountableUnit', size: 'int')

Bases: object

size: int
unit: PublicCatalogProductUnitOfMeasureCountableUnit
class scaleway_async.product_catalog.v2alpha1.types.PublicCatalogProductUnitOfMeasureCountableUnit(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

CHUNK = 'chunk'
CORE = 'core'
CURRENCY = 'currency'
DAY = 'day'
DEVICE = 'device'
DOMAIN = 'domain'
EMAIL = 'email'
GB_S = 'gb_s'
GIGABYTE = 'gigabyte'
HOUR = 'hour'
IOPS_GIGABYTE = 'iops_gigabyte'
IP = 'ip'
KEY = 'key'
MINUTE = 'minute'
MONTH = 'month'
NODE = 'node'
PLAN = 'plan'
QUERY = 'query'
REQUEST = 'request'
SECOND = 'second'
SESSION = 'session'
SETUP = 'setup'
TOKEN = 'token'
UNKNOWN_COUNTABLE_UNIT = 'unknown_countable_unit'
VCPU_S = 'vcpu_s'
VERSION = 'version'
YEAR = 'year'

Module contents

class scaleway_async.product_catalog.v2alpha1.ListPublicCatalogProductsRequestProductType(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

APPLE_SILICON = 'apple_silicon'
BLOCK_STORAGE = 'block_storage'
DEDIBOX = 'dedibox'
ELASTIC_METAL = 'elastic_metal'
INSTANCE = 'instance'
OBJECT_STORAGE = 'object_storage'
UNKNOWN_PRODUCT_TYPE = 'unknown_product_type'
class scaleway_async.product_catalog.v2alpha1.ListPublicCatalogProductsResponse(products: 'List[PublicCatalogProduct]', total_count: 'int')

Bases: object

products: List[PublicCatalogProduct]

The list of products.

total_count: int

The total number of products in the catalog.

class scaleway_async.product_catalog.v2alpha1.ProductCatalogV2Alpha1PublicCatalogAPI(client: Client, *, bypass_validation: bool = False)

Bases: API

async list_public_catalog_products(*, page: int | None = None, page_size: int | None = None, product_types: List[ListPublicCatalogProductsRequestProductType] | None = None, global_: bool | None = None, region: str | None = None, zone: str | None = None, datacenter: str | None = None) ListPublicCatalogProductsResponse

List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the page number and page_size for your query in the request. :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. :param global_: Filter global products. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param region: Filter products by region. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param zone: Filter products by zone. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param datacenter: Filter products by datacenter. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :return: ListPublicCatalogProductsResponse

Usage:

result = await api.list_public_catalog_products()
async list_public_catalog_products_all(*, page: int | None = None, page_size: int | None = None, product_types: List[ListPublicCatalogProductsRequestProductType] | None = None, global_: bool | None = None, region: str | None = None, zone: str | None = None, datacenter: str | None = None) List[PublicCatalogProduct]

List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the page number and page_size for your query in the request. :param page: Number of the page. Value must be greater or equal to 1. :param page_size: The number of products per page. Value must be greater or equal to 1. :param product_types: The list of filtered product categories. :param global_: Filter global products. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param region: Filter products by region. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param zone: Filter products by zone. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :param datacenter: Filter products by datacenter. One-Of (‘locality’): at most one of ‘global_’, ‘region’, ‘zone’, ‘datacenter’ could be set. :return: List[PublicCatalogProduct]

Usage:

result = await api.list_public_catalog_products_all()
class scaleway_async.product_catalog.v2alpha1.PublicCatalogApiListPublicCatalogProductsRequest(page: 'Optional[int]' = 0, page_size: 'Optional[int]' = 0, product_types: 'Optional[List[ListPublicCatalogProductsRequestProductType]]' = <factory>, global_: 'Optional[bool]' = False, region: 'Optional[ScwRegion]' = None, zone: 'Optional[ScwZone]' = None, datacenter: 'Optional[str]' = None)

Bases: object

datacenter: str | None = None
global_: bool | None = False
page: int | None = 0

Number of the page. Value must be greater or equal to 1.

page_size: int | None = 0

The number of products per page. Value must be greater or equal to 1.

product_types: List[ListPublicCatalogProductsRequestProductType] | None

The list of filtered product categories.

region: str | None = None
zone: str | None = None
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProduct(sku: 'str', service_category: 'str', product_category: 'str', product: 'str', variant: 'str', description: 'str', status: 'PublicCatalogProductStatus', locality: 'Optional[PublicCatalogProductLocality]' = None, price: 'Optional[PublicCatalogProductPrice]' = None, properties: 'Optional[PublicCatalogProductProperties]' = None, environmental_impact_estimation: 'Optional[PublicCatalogProductEnvironmentalImpactEstimation]' = None, unit_of_measure: 'Optional[PublicCatalogProductUnitOfMeasure]' = None, end_of_life_at: 'Optional[datetime]' = None)

Bases: object

description: str

The product description.

end_of_life_at: datetime | None = None

The end of life date of the product.

environmental_impact_estimation: PublicCatalogProductEnvironmentalImpactEstimation | None = None

The environmental impact estimation of the product.

locality: PublicCatalogProductLocality | None = None

The locality of the product.

price: PublicCatalogProductPrice | None = None

The price of the product.

product: str

The product name.

product_category: str

The product category of the product.

properties: PublicCatalogProductProperties | None = None

The properties of the product.

service_category: str

The category of the product.

sku: str

The unique identifier of the product.

status: PublicCatalogProductStatus

The status of the product.

unit_of_measure: PublicCatalogProductUnitOfMeasure | None = None

The unit of measure of the product.

variant: str

The product variant.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductEnvironmentalImpactEstimation(kg_co2_equivalent: 'Optional[float]' = None, m3_water_usage: 'Optional[float]' = None)

Bases: object

kg_co2_equivalent: float | None = None
m3_water_usage: float | None = None
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductLocality(global_: 'Optional[bool]' = False, region: 'Optional[ScwRegion]' = None, zone: 'Optional[ScwZone]' = None, datacenter: 'Optional[str]' = None)

Bases: object

datacenter: str | None = None
global_: bool | None = False
region: str | None = None
zone: str | None = None
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPrice(retail_price: 'Optional[Money]' = None)

Bases: object

retail_price: Money | None = None

The retail price of the product.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductProperties(hardware: 'Optional[PublicCatalogProductPropertiesHardware]' = None, dedibox: 'Optional[PublicCatalogProductPropertiesDedibox]' = None, elastic_metal: 'Optional[PublicCatalogProductPropertiesElasticMetal]' = None, apple_silicon: 'Optional[PublicCatalogProductPropertiesAppleSilicon]' = None, instance: 'Optional[PublicCatalogProductPropertiesInstance]' = None, block_storage: 'Optional[PublicCatalogProductPropertiesBlockStorage]' = None, object_storage: 'Optional[PublicCatalogProductPropertiesObjectStorage]' = None)

Bases: object

apple_silicon: PublicCatalogProductPropertiesAppleSilicon | None = None
block_storage: PublicCatalogProductPropertiesBlockStorage | None = None
dedibox: PublicCatalogProductPropertiesDedibox | None = None
elastic_metal: PublicCatalogProductPropertiesElasticMetal | None = None
hardware: PublicCatalogProductPropertiesHardware | None = None

The hardware properties of the product (if supported).

instance: PublicCatalogProductPropertiesInstance | None = None
object_storage: PublicCatalogProductPropertiesObjectStorage | None = None
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesAppleSilicon(range: 'str', server_type: 'str')

Bases: object

range: str

The range of the Apple Silicon server.

server_type: str

The server type of the Apple Silicon server.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesBlockStorage(min_volume_size: 'Optional[int]' = 0, max_volume_size: 'Optional[int]' = 0)

Bases: object

max_volume_size: int | None = 0

The maximum size of storage volume for this product in bytes. Deprecated.

min_volume_size: int | None = 0

The minimum size of storage volume for this product in bytes. Deprecated.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesDedibox(range: 'str', offer_id: 'int')

Bases: object

offer_id: int

The offer ID of the Dedibox server.

range: str

The range of the Dedibox server.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesElasticMetal(range: 'str', offer_id: 'str')

Bases: object

offer_id: str

The offer ID of the Elastic Metal server.

range: str

The range of the Elastic Metal server.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardware(cpu: 'Optional[PublicCatalogProductPropertiesHardwareCPU]' = None, ram: 'Optional[PublicCatalogProductPropertiesHardwareRAM]' = None, storage: 'Optional[PublicCatalogProductPropertiesHardwareStorage]' = None, network: 'Optional[PublicCatalogProductPropertiesHardwareNetwork]' = None, gpu: 'Optional[PublicCatalogProductPropertiesHardwareGPU]' = None)

Bases: object

cpu: PublicCatalogProductPropertiesHardwareCPU | None = None

The CPU hardware properties.

gpu: PublicCatalogProductPropertiesHardwareGPU | None = None

The GPU hardware properties.

network: PublicCatalogProductPropertiesHardwareNetwork | None = None

The network hardware properties.

ram: PublicCatalogProductPropertiesHardwareRAM | None = None

The RAM hardware properties.

storage: PublicCatalogProductPropertiesHardwareStorage | None = None

The storage hardware properties.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareCPU(description: 'str', arch: 'PublicCatalogProductPropertiesHardwareCPUArch', type_: 'str', threads: 'int', virtual: 'Optional[PublicCatalogProductPropertiesHardwareCPUVirtual]' = None, physical: 'Optional[PublicCatalogProductPropertiesHardwareCPUPhysical]' = None)

Bases: object

arch: PublicCatalogProductPropertiesHardwareCPUArch

The architecture of the CPU.

description: str

A human readable description of the CPU.

physical: PublicCatalogProductPropertiesHardwareCPUPhysical | None = None
threads: int

The total number of threads.

type_: str

The type of the CPU.

virtual: PublicCatalogProductPropertiesHardwareCPUVirtual | None = None
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareCPUArch(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

APPLE_SILICON = 'apple_silicon'
ARM64 = 'arm64'
RISCV = 'riscv'
UNKNOWN_ARCH = 'unknown_arch'
X64 = 'x64'
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareCPUPhysical(sockets: 'int', cores_per_socket: 'int', threads_per_core: 'int', frequency: 'int', benchmark: 'int')

Bases: object

benchmark: int

The benchmark score of the CPU.

cores_per_socket: int

The number of cores per socket.

frequency: int

The frequency of the CPU in Hertz.

sockets: int

The number of sockets of the CPU.

threads_per_core: int

The number of threads per core.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareCPUVirtual(count: 'int')

Bases: object

count: int

The number of vCPUs.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareGPU(description: 'str', count: 'int', type_: 'str')

Bases: object

count: int

The number of GPUs.

description: str

A human-readable description of the GPU.

type_: str

The type of the GPU.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareNetwork(description: 'str', internal_bandwidth: 'int', public_bandwidth: 'int', max_public_bandwidth: 'int')

Bases: object

description: str

A human-readable description of the network.

internal_bandwidth: int

The internal bandwidth in bits per second.

max_public_bandwidth: int

The maximum public bandwidth in bits per second (may require subscription to options).

public_bandwidth: int

The default public bandwidth in bits per second.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareRAM(description: 'str', size: 'int', type_: 'str')

Bases: object

description: str

A human-readable description of the RAM.

size: int

The size of the RAM in bytes.

type_: str

The type of the RAM.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesHardwareStorage(description: 'str', total: 'int')

Bases: object

description: str

A human-readable description of the storage.

total: int

The total size of the storage in bytes.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesInstance(range: 'str', offer_id: 'str', recommended_replacement_offer_ids: 'List[str]')

Bases: object

offer_id: str

The offer ID of the Instance server.

range: str

The range of the Instance server.

recommended_replacement_offer_ids: List[str]

The recommended replacement offer IDs of the Instance server.

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductPropertiesObjectStorage

Bases: object

class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductStatus(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

END_OF_DEPLOYMENT = 'end_of_deployment'
END_OF_SALE = 'end_of_sale'
END_OF_SUPPORT = 'end_of_support'
GENERAL_AVAILABILITY = 'general_availability'
PREVIEW = 'preview'
PUBLIC_BETA = 'public_beta'
UNKNOWN_STATUS = 'unknown_status'
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductUnitOfMeasure(unit: 'PublicCatalogProductUnitOfMeasureCountableUnit', size: 'int')

Bases: object

size: int
unit: PublicCatalogProductUnitOfMeasureCountableUnit
class scaleway_async.product_catalog.v2alpha1.PublicCatalogProductUnitOfMeasureCountableUnit(value: str, names: Any | None = None, *args: Any, **kwargs: Any)

Bases: str, Enum

CHUNK = 'chunk'
CORE = 'core'
CURRENCY = 'currency'
DAY = 'day'
DEVICE = 'device'
DOMAIN = 'domain'
EMAIL = 'email'
GB_S = 'gb_s'
GIGABYTE = 'gigabyte'
HOUR = 'hour'
IOPS_GIGABYTE = 'iops_gigabyte'
IP = 'ip'
KEY = 'key'
MINUTE = 'minute'
MONTH = 'month'
NODE = 'node'
PLAN = 'plan'
QUERY = 'query'
REQUEST = 'request'
SECOND = 'second'
SESSION = 'session'
SETUP = 'setup'
TOKEN = 'token'
UNKNOWN_COUNTABLE_UNIT = 'unknown_countable_unit'
VCPU_S = 'vcpu_s'
VERSION = 'version'
YEAR = 'year'