RateLimit#

class RateLimit(metadata=None, name=None, description=None, rate_limit_kbps=None, cluster_entity_filter=None, cluster_status_list=None, unsupported_clusters_id_list=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#

Bases: ExternalizableAbstractModel

Parameters:
  • metadata – (metadata)

  • name (required) – (name) Name of the image rate limit policy.

  • description – (description) A description for the current image rate limit.

  • rate_limit_kbps (required) – (rate_limit_kbps) Network bandwidth in KBps that the rate limited image operation can utilize.

  • cluster_entity_filter (required) – (cluster_entity_filter)

  • cluster_status_list – (cluster_status_list) Image rate limit status of each affected cluster.

  • unsupported_clusters_id_list – (unsupported_clusters_id_list) List of cluster extIds matched by the policy which do not support image rate limits.

property cluster_entity_filter#
Type:

ClusterEntityFilter

property cluster_status_list#

Image rate limit status of each affected cluster.

Type:

list[ ClusterRateLimitStatus ]

property description#

A description for the current image rate limit.

Type:

str

property metadata#
Type:

Metadata

property name#

Name of the image rate limit policy.

Type:

str

property rate_limit_kbps#

Network bandwidth in KBps that the rate limited image operation can utilize.

Type:

int

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property unsupported_clusters_id_list#

List of cluster extIds matched by the policy which do not support image rate limits.

Type:

list[ str ]