次の方法で共有


PlatformProperties Class

The platform properties against which the build has to happen.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerregistry._serialization.Model
PlatformProperties

Constructor

PlatformProperties(*, os_type: str | _models.OsType, cpu: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
os_type
str or OsType

The operating system type required for the build. Required. Known values are: "Windows" and "Linux".

cpu
int

The CPU configuration in terms of number of cores required for the build.

Variables

Name Description
os_type
str or OsType

The operating system type required for the build. Required. Known values are: "Windows" and "Linux".

cpu
int

The CPU configuration in terms of number of cores required for the build.