kubernetes_asyncio.client.models.v1_service_cidr_spec module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_service_cidr_spec.V1ServiceCIDRSpec(cidrs=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cidrs': 'cidrs'}
property cidrs

Gets the cidrs of this V1ServiceCIDRSpec. # noqa: E501

CIDRs defines the IP blocks in CIDR notation (e.g. “192.168.0.0/24” or “2001:db8::/64”) from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. # noqa: E501

Returns:

The cidrs of this V1ServiceCIDRSpec. # noqa: E501

Return type:

list[str]

openapi_types = {'cidrs': 'list[str]'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model