kubernetes.aio.client.models.v1_flow_schema_spec module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_flow_schema_spec.V1FlowSchemaSpec(distinguisher_method=None, matching_precedence=None, priority_level_configuration=None, rules=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'distinguisher_method': 'distinguisherMethod', 'matching_precedence': 'matchingPrecedence', 'priority_level_configuration': 'priorityLevelConfiguration', 'rules': 'rules'}¶
- property distinguisher_method¶
Gets the distinguisher_method of this V1FlowSchemaSpec. # noqa: E501
- Returns:
The distinguisher_method of this V1FlowSchemaSpec. # noqa: E501
- Return type:
- property matching_precedence¶
Gets the matching_precedence of this V1FlowSchemaSpec. # noqa: E501
matchingPrecedence is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default. # noqa: E501
- Returns:
The matching_precedence of this V1FlowSchemaSpec. # noqa: E501
- Return type:
- openapi_types = {'distinguisher_method': 'V1FlowDistinguisherMethod', 'matching_precedence': 'int', 'priority_level_configuration': 'V1PriorityLevelConfigurationReference', 'rules': 'list[V1PolicyRulesWithSubjects]'}¶
- property priority_level_configuration¶
Gets the priority_level_configuration of this V1FlowSchemaSpec. # noqa: E501
- Returns:
The priority_level_configuration of this V1FlowSchemaSpec. # noqa: E501
- Return type:
- property rules¶
Gets the rules of this V1FlowSchemaSpec. # noqa: E501
rules describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. # noqa: E501
- Returns:
The rules of this V1FlowSchemaSpec. # noqa: E501
- Return type:
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model