kubernetes_asyncio.client.models.v1_app_armor_profile 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_app_armor_profile.V1AppArmorProfile(localhost_profile=None, type=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 = {'localhost_profile': 'localhostProfile', 'type': 'type'}
- property localhost_profile
Gets the localhost_profile of this V1AppArmorProfile. # noqa: E501
localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is “Localhost”. # noqa: E501
- Returns:
The localhost_profile of this V1AppArmorProfile. # noqa: E501
- Return type:
str
- openapi_types = {'localhost_profile': 'str', 'type': 'str'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property type
Gets the type of this V1AppArmorProfile. # noqa: E501
type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime’s default profile. Unconfined - no AppArmor enforcement. # noqa: E501
- Returns:
The type of this V1AppArmorProfile. # noqa: E501
- Return type:
str