| Name |
Type |
Description |
Notes |
| name |
str |
The application name must be 1–253 characters long, start with a letter or number, and contain no whitespace. |
[optional] |
| app_type |
AppType |
|
|
| annotations |
Dict[str, str] |
Arbitrary metadata annotations. Used internally by the control plane (e.g., flightctl.io/workload-type) when transforming application types at render time. |
[optional] [readonly] |
| desired_state |
ApplicationDesiredState |
Desired lifecycle state for this application, as most recently set by the stop/start device APIs. Read-only: cannot be set directly by apply; only present in the rendered application spec delivered to the agent. |
[optional] [readonly] |
| restart_generation |
int |
Counter incremented by the restart device API each time the application is restarted. Read-only: cannot be set directly by apply; only present in the rendered application spec delivered to the agent. |
[optional] [readonly] |
| env_vars |
Dict[str, str] |
Environment variable key-value pairs, injected during runtime. The key and value each must be between 1 and 253 characters. |
[optional] |
| volumes |
List[ApplicationVolume] |
List of application volumes. |
[optional] |
| image |
str |
Reference to an OCI image or artifact with tag. |
|
| catalog_item_ref |
CatalogItemRefSpec |
|
|
| inline |
List[ApplicationContent] |
A list of application content. |
|
| run_as |
str |
The username of the system user this application should be run under. This is not the same as the user within any containers of the application (if applicable). Defaults to the user that the agent runs as (generally root) if not specified. |
[optional] |
| ports |
List[str] |
Port mappings. |
[optional] |
| resources |
ApplicationResources |
|
[optional] |
| namespace |
str |
The target namespace for the application deployment. |
[optional] |
| values |
Dict[str, object] |
Configuration values for the application. Supports arbitrarily nested structures. |
[optional] |
| values_files |
List[str] |
List of values files to apply during deployment. Files are relative paths and applied in array order before user-provided values. |
[optional] |
| publish_ports |
List[str] |
List of host-to-guest port mappings for the VM. Each entry must follow the format "hostPort:guestPort" or "hostPort:guestPort/protocol" (e.g. "8080:80" or "8080:80/tcp"). |
[optional] |
from flightctl.models.application_provider_spec import ApplicationProviderSpec
# TODO update the JSON string below
json = "{}"
# create an instance of ApplicationProviderSpec from a JSON string
application_provider_spec_instance = ApplicationProviderSpec.from_json(json)
# print the JSON string representation of the object
print(ApplicationProviderSpec.to_json())
# convert the object into a dict
application_provider_spec_dict = application_provider_spec_instance.to_dict()
# create an instance of ApplicationProviderSpec from a dict
application_provider_spec_from_dict = ApplicationProviderSpec.from_dict(application_provider_spec_dict)
[Back to Model list] [Back to API list] [Back to README]