Skip to content

QuotaProps

Properties for defining a Quota.

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

Initializer

import { QuotaProps } from '@alicloud/ros-cdk-pai'
const quotaProps: QuotaProps = { ... }

Properties

Name Type Description
quotaName string | @alicloud/ros-cdk-core.IResolvable Property quotaName: The name of the quota.
allocateStrategy string | @alicloud/ros-cdk-core.IResolvable Property allocateStrategy: The allocation strategy.
clusterSpec @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property clusterSpec: The cluster specification.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the quota.
labels @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | LabelsProperty[] Property labels: The labels associated with the quota.
min @alicloud/ros-cdk-core.IResolvable | MinProperty Property min: The minimum resource allocation configuration.
parentQuotaId string | @alicloud/ros-cdk-core.IResolvable Property parentQuotaId: The ID of the parent quota.
queueStrategy string | @alicloud/ros-cdk-core.IResolvable Property queueStrategy: The queue strategy.
quotaConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property quotaConfig: The quota configuration.
resourceGroupIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property resourceGroupIds: The list of resource group IDs.
resourceType string | @alicloud/ros-cdk-core.IResolvable Property resourceType: The type of the resource.

quotaNameRequired

public readonly quotaName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property quotaName: The name of the quota.


allocateStrategyOptional

public readonly allocateStrategy: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property allocateStrategy: The allocation strategy.


clusterSpecOptional

public readonly clusterSpec: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property clusterSpec: The cluster specification.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the quota.


labelsOptional

public readonly labels: IResolvable | IResolvable | LabelsProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | LabelsProperty[]

Property labels: The labels associated with the quota.


minOptional

public readonly min: IResolvable | MinProperty;
  • Type: @alicloud/ros-cdk-core.IResolvable | MinProperty

Property min: The minimum resource allocation configuration.


parentQuotaIdOptional

public readonly parentQuotaId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property parentQuotaId: The ID of the parent quota.


queueStrategyOptional

public readonly queueStrategy: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property queueStrategy: The queue strategy.


quotaConfigOptional

public readonly quotaConfig: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property quotaConfig: The quota configuration.


resourceGroupIdsOptional

public readonly resourceGroupIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property resourceGroupIds: The list of resource group IDs.


resourceTypeOptional

public readonly resourceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceType: The type of the resource.