Skip to content

QuotaProps

Properties for defining a Quota.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-quota

Initializer

import ros_cdk_pai
ros_cdk_pai.QuotaProps(
  quota_name: typing.Union[str, IResolvable],
  allocate_strategy: typing.Union[str, IResolvable] = None,
  cluster_spec: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  description: typing.Union[str, IResolvable] = None,
  labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]] = None,
  min: typing.Union[IResolvable, MinProperty] = None,
  parent_quota_id: typing.Union[str, IResolvable] = None,
  queue_strategy: typing.Union[str, IResolvable] = None,
  quota_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  resource_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  resource_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
quota_name typing.Union[str, ros_cdk_core.IResolvable] Property quotaName: The name of the quota.
allocate_strategy typing.Union[str, ros_cdk_core.IResolvable] Property allocateStrategy: The allocation strategy.
cluster_spec typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property clusterSpec: The cluster specification.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the quota.
labels typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]] Property labels: The labels associated with the quota.
min typing.Union[ros_cdk_core.IResolvable, MinProperty] Property min: The minimum resource allocation configuration.
parent_quota_id typing.Union[str, ros_cdk_core.IResolvable] Property parentQuotaId: The ID of the parent quota.
queue_strategy typing.Union[str, ros_cdk_core.IResolvable] Property queueStrategy: The queue strategy.
quota_config typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property quotaConfig: The quota configuration.
resource_group_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property resourceGroupIds: The list of resource group IDs.
resource_type typing.Union[str, ros_cdk_core.IResolvable] Property resourceType: The type of the resource.

quota_nameRequired

quota_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property quotaName: The name of the quota.


allocate_strategyOptional

allocate_strategy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property allocateStrategy: The allocation strategy.


cluster_specOptional

cluster_spec: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property clusterSpec: The cluster specification.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the quota.


labelsOptional

labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]]

Property labels: The labels associated with the quota.


minOptional

min: typing.Union[IResolvable, MinProperty]
  • Type: typing.Union[ros_cdk_core.IResolvable, MinProperty]

Property min: The minimum resource allocation configuration.


parent_quota_idOptional

parent_quota_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property parentQuotaId: The ID of the parent quota.


queue_strategyOptional

queue_strategy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property queueStrategy: The queue strategy.


quota_configOptional

quota_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property quotaConfig: The quota configuration.


resource_group_idsOptional

resource_group_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property resourceGroupIds: The list of resource group IDs.


resource_typeOptional

resource_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceType: The type of the resource.