harness-python-sdk 1.0.5
harness python sdk package
Requires Python: >=3.6

# Note
This repo is generated by Harness official swagger.json file, please follow up their site for getting newest updates,the copyright of the document and source code belongs to Harness Company.And the code has published to pypi site: https://pypi.org/project/harness-python-sdk/1.0.0/
you can use below command to install:
```
pip install harness-python-sdk==1.0.0
```
you can find from below docs for more details

# harness_python_sdk
The Harness Software Delivery Platform uses OpenAPI Specification v3.0. Harness constantly improves these APIs. Please be aware that some improvements could cause breaking changes. 
# Introduction     
The Harness API allows you to integrate and use all the services and modules we provide on the Harness Platform. If you use client-side SDKs, Harness functionality can be integrated with your client-side automation, helping you reduce manual efforts and deploy code faster.    
For more information about how Harness works, read our [documentation](https://developer.harness.io/docs/getting-started) or visit the [Harness Developer Hub](https://developer.harness.io/).  
## How it works    
The Harness API is a RESTful API that uses standard HTTP verbs. You can send requests in JSON, YAML, or form-data format. The format of the response matches the format of your request. You must send a single request at a time and ensure that you include your authentication key. For more information about this, go to [Authentication](#section/Introduction/Authentication).  
## Get started    
Before you start integrating, get to know our API better by reading the following topics:    
* [Harness key concepts](https://developer.harness.io/docs/getting-started/learn-harness-key-concepts/)
* [Authentication](#section/Introduction/Authentication)
* [Requests and responses](#section/Introduction/Requests-and-Responses)
* [Common Parameters](#section/Introduction/Common-Parameters-Beta)
* [Status Codes](#section/Introduction/Status-Codes)
* [Errors](#tag/Error-Response)
* [Versioning](#section/Introduction/Versioning-Beta)
* [Pagination](/#section/Introduction/Pagination-Beta)
The methods you need to integrate with depend on the functionality you want to use. Work with  your Harness Solutions Engineer to determine which methods you need.
## Authentication  
To authenticate with the Harness API, you need to:   
1. Generate an API token on the Harness Platform.
2. Send the API token you generate in the `x-api-key` header in each request.
### Generate an API token  
To generate an API token, complete the following steps:   
1. Go to the [Harness Platform](https://app.harness.io/).
2. On the left-hand navigation, click **My Profile**.
3. Click **+API Key**, enter a name for your key and then click **Save**.
4. Within the API Key tile, click **+Token**.
5. Enter a name for your token and click **Generate Token**.
**Important**: Make sure to save your token securely. Harness does not store the API token for future reference, so make sure to save your token securely before you leave the page.
### Send the API token in your requests  
Send the token you created in the Harness Platform in the x-api-key header. 
For example:   `x-api-key: YOUR_API_KEY_HERE`  
## Requests and Responses    
The structure for each request and response is outlined in the API documentation. We have examples in JSON and YAML for every request and response. You can use our online editor to test the examples.  
## Common Parameters [Beta]  
| Field Name | Type    | Default | Description    | 
|------------|---------|---------|----------------| 
| identifier | string  | none    | URL-friendly version of the name, used to identify a resource within it's scope and so needs to be unique within the scope. | 
| name       | string  | none    | Human-friendly name for the resource.| 
| org        | string  | none    | Limit to provided org identifiers. | 
| project    | string  | none    | Limit to provided project identifiers.| 
| description| string  | none    | More information about the specific resource.| 
| tags       | map[string]string  | none    | List of labels applied to the resource.| 
| order      | string  | desc    | Order to use when sorting the specified fields. Type: enum(asc,desc).| 
| sort       | string  | none    | Fields on which to sort. Note: Specify the fields that you want to use for sorting. When doing so, consider the operational overhead of sorting fields. | 
| limit      | int     | 30      | Pagination: Number of items to return.| 
| page       | int     | 1       | Pagination page number strategy: Specify the page number within the paginated collection related to the number of items in each page.                  | 
| created    | int64   | none    | Unix timestamp that shows when the resource was created (in milliseconds).                                                               | 
| updated    | int64   | none    | Unix timestamp that shows when the resource was last edited (in milliseconds).                                                           |   
## Status Codes    
Harness uses conventional HTTP status codes to indicate the status of an API request.    Generally, 2xx responses are reserved for success and 4xx status codes are reserved for failures. A 5xx response code indicates an error on the Harness server.    
| Error Code  | Description |   
|-------------|-------------|   
| 200         |     OK      |   
| 201         |   Created   |   
| 202         |   Accepted  |   
| 204         |  No Content |   
| 400         | Bad Request |   
| 401         | Unauthorized |   
| 403         | Forbidden |   | 412         
| Precondition Failed |   
| 415         | Unsupported Media Type |   
| 500         | Server Error |   

To view our error response structures, go [here](#tag/Error-Response).  
## Versioning [Beta]  
### Harness Version   
The current version of our Beta APIs is yet to be announced. The version number will use the date-header format and will be valid only for our Beta APIs.  
### Generation   
All our beta APIs are versioned as a Generation, and this version is included in the path to every API resource. For example, v1 beta APIs begin with `app.harness.io/v1/`, where v1 is the API Generation.    
The version number represents the core API and does not change frequently. The version number changes only if there is a significant departure from the basic underpinnings of the existing API. For example, when Harness performs a system-wide refactoring of core concepts or resources.  
## Pagination [Beta]  
We use pagination to place limits on the number of responses associated with list endpoints. Pagination is achieved by the use of limit query parameters. The limit defaults to 30. Its maximum value is 100.  
Following are the pagination headers supported in the response bodies of paginated APIs:   
1. X-Total-Elements : Indicates the total number of entries in a paginated response.
2. X-Page-Number : Indicates the page number currently returned for a paginated response.
3. X-Page-Size : Indicates the number of entries per page for a paginated response.  For example:    ``` X-Total-Elements : 30 X-Page-Number : 0 X-Page-Size : 10   ``` 

This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0
- Package version: v1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen


For more information, please visit [https://harness.io/](https://harness.io/)

## Requirements.

Python 2.7 and 3.4+

## Installation & Usage
### pip install

If the python package is hosted on Github, you can install directly from Github

```sh
pip install git+https://github.com/ljw4010/harness_python_SDK.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/ljw4010/harness_python_SDK.git`)

Then import the package:
```python
import harness_python_sdk 
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import harness_python_sdk
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python
from __future__ import print_function
import time
import harness_python_sdk
from harness_python_sdk.rest import ApiException
from pprint import pprint

# Configure API key authorization: x-api-key
configuration = harness_python_sdk.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = harness_python_sdk.APIKeysApi(harness_python_sdk.ApiClient(configuration))
account_identifier = 'account_identifier_example' # str | Account Identifier
org_identifier = 'org_identifier_example' # str | Organization Identifier
environment_identifier = 'environment_identifier_example' # str | Environment Identifier
project_identifier = 'project_identifier_example' # str | The Project identifier
body = NULL # object |  (optional)

try:
    # Creates an API key for the given Environment
    api_response = api_instance.add_api_key(account_identifier, org_identifier, environment_identifier, project_identifier, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeysApi->add_api_key: %s\n" % e)

# Configure API key authorization: x-api-key
configuration = harness_python_sdk.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = harness_python_sdk.APIKeysApi(harness_python_sdk.ApiClient(configuration))
identifier = 'identifier_example' # str | Unique identifier for the object in the API.
project_identifier = 'project_identifier_example' # str | The Project identifier
environment_identifier = 'environment_identifier_example' # str | Environment Identifier
account_identifier = 'account_identifier_example' # str | Account Identifier
org_identifier = 'org_identifier_example' # str | Organization Identifier

try:
    # Deletes an API Key
    api_instance.delete_api_key(identifier, project_identifier, environment_identifier, account_identifier, org_identifier)
except ApiException as e:
    print("Exception when calling APIKeysApi->delete_api_key: %s\n" % e)

# Configure API key authorization: x-api-key
configuration = harness_python_sdk.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = harness_python_sdk.APIKeysApi(harness_python_sdk.ApiClient(configuration))
account_identifier = 'account_identifier_example' # str | Account Identifier
org_identifier = 'org_identifier_example' # str | Organization Identifier
project_identifier = 'project_identifier_example' # str | The Project identifier
environment_identifier = 'environment_identifier_example' # str | Environment Identifier
page_number = 56 # int | PageNumber (optional)
page_size = 56 # int | PageSize (optional)

try:
    # Returns API Keys for an Environment
    api_response = api_instance.get_all_api_keys(account_identifier, org_identifier, project_identifier, environment_identifier, page_number=page_number, page_size=page_size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeysApi->get_all_api_keys: %s\n" % e)

# Configure API key authorization: x-api-key
configuration = harness_python_sdk.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = harness_python_sdk.APIKeysApi(harness_python_sdk.ApiClient(configuration))
identifier = 'identifier_example' # str | Unique identifier for the object in the API.
project_identifier = 'project_identifier_example' # str | The Project identifier
environment_identifier = 'environment_identifier_example' # str | Environment Identifier
account_identifier = 'account_identifier_example' # str | Account Identifier
org_identifier = 'org_identifier_example' # str | Organization Identifier

try:
    # Returns API keys
    api_response = api_instance.get_api_key(identifier, project_identifier, environment_identifier, account_identifier, org_identifier)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeysApi->get_api_key: %s\n" % e)

# Configure API key authorization: x-api-key
configuration = harness_python_sdk.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = harness_python_sdk.APIKeysApi(harness_python_sdk.ApiClient(configuration))
project_identifier = 'project_identifier_example' # str | The Project identifier
environment_identifier = 'environment_identifier_example' # str | Environment Identifier
account_identifier = 'account_identifier_example' # str | Account Identifier
org_identifier = 'org_identifier_example' # str | Organization Identifier
identifier = 'identifier_example' # str | Unique identifier for the object in the API.
body = NULL # object |  (optional)

try:
    # Updates an API Key
    api_instance.update_api_key(project_identifier, environment_identifier, account_identifier, org_identifier, identifier, body=body)
except ApiException as e:
    print("Exception when calling APIKeysApi->update_api_key: %s\n" % e)
```

## Documentation for API Endpoints

All URIs are relative to *https://app.harness.io*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*APIKeysApi* | [**add_api_key**](docs/APIKeysApi.md#add_api_key) | **POST** /cf/admin/apikey | Creates an API key for the given Environment
*APIKeysApi* | [**delete_api_key**](docs/APIKeysApi.md#delete_api_key) | **DELETE** /cf/admin/apikey/{identifier} | Deletes an API Key
*APIKeysApi* | [**get_all_api_keys**](docs/APIKeysApi.md#get_all_api_keys) | **GET** /cf/admin/apikey | Returns API Keys for an Environment
*APIKeysApi* | [**get_api_key**](docs/APIKeysApi.md#get_api_key) | **GET** /cf/admin/apikey/{identifier} | Returns API keys
*APIKeysApi* | [**update_api_key**](docs/APIKeysApi.md#update_api_key) | **PUT** /cf/admin/apikey/{identifier} | Updates an API Key
*AccessControlListApi* | [**get_access_control_list**](docs/AccessControlListApi.md#get_access_control_list) | **POST** /authz/api/acl | Check Permission
*AccountSettingApi* | [**get_account_setting**](docs/AccountSettingApi.md#get_account_setting) | **GET** /ng/api/account-setting | Get the AccountSetting by accountIdentifier
*AccountSettingApi* | [**list_account_setting**](docs/AccountSettingApi.md#list_account_setting) | **GET** /ng/api/account-setting/list | Get the AccountSetting by accountIdentifier
*AccountSettingApi* | [**update_account_setting**](docs/AccountSettingApi.md#update_account_setting) | **PUT** /ng/api/account-setting | Updates account settings
*AccountConnectorApi* | [**create_account_scoped_connector**](docs/AccountConnectorApi.md#create_account_scoped_connector) | **POST** /v1/connectors | Create a Connector
*AccountConnectorApi* | [**delete_account_scoped_connector**](docs/AccountConnectorApi.md#delete_account_scoped_connector) | **DELETE** /v1/connectors/{connector} | Delete a connector
*AccountConnectorApi* | [**get_account_scoped_connector**](docs/AccountConnectorApi.md#get_account_scoped_connector) | **GET** /v1/connectors/{connector} | Retrieve a connector
*AccountConnectorApi* | [**test_account_scoped_connector**](docs/AccountConnectorApi.md#test_account_scoped_connector) | **GET** /v1/connectors/{connector}/test-connection | Test a connector
*AccountConnectorApi* | [**update_account_scoped_connector**](docs/AccountConnectorApi.md#update_account_scoped_connector) | **PUT** /v1/connectors/{connector} | Update a connector
*AccountRancherInfrastructureApi* | [**list_account_scoped_rancher_clusters_using_connector**](docs/AccountRancherInfrastructureApi.md#list_account_scoped_rancher_clusters_using_connector) | **GET** /v1/rancher/connectors/{connector}/clusters | List rancher clusters using account level connector
*AccountRancherInfrastructureApi* | [**list_account_scoped_rancher_clusters_using_env_and_infra**](docs/AccountRancherInfrastructureApi.md#list_account_scoped_rancher_clusters_using_env_and_infra) | **GET** /v1/rancher/environments/{environment}/infrastructure-definitions/{infrastructure-definition}/clusters | List rancher clusters using account level env and infra def
*AccountResourceGroupsApi* | [**create_resource_group_acc**](docs/AccountResourceGroupsApi.md#create_resource_group_acc) | **POST** /v1/resource-groups | Create a Resource Group
*AccountResourceGroupsApi* | [**delete_resource_group_acc**](docs/AccountResourceGroupsApi.md#delete_resource_group_acc) | **DELETE** /v1/resource-groups/{resource-group} | Delete a Resource Group
*AccountResourceGroupsApi* | [**get_resource_group_acc**](docs/AccountResourceGroupsApi.md#get_resource_group_acc) | **GET** /v1/resource-groups/{resource-group} | Retrieve a Resource Group
*AccountResourceGroupsApi* | [**list_resource_groups_acc**](docs/AccountResourceGroupsApi.md#list_resource_groups_acc) | **GET** /v1/resource-groups | List Resource Groups
*AccountResourceGroupsApi* | [**update_resource_group_acc**](docs/AccountResourceGroupsApi.md#update_resource_group_acc) | **PUT** /v1/resource-groups/{resource-group} | Update a Resource Group
*AccountRoleAssignmentsApi* | [**create_account_scoped_role_assignments**](docs/AccountRoleAssignmentsApi.md#create_account_scoped_role_assignments) | **POST** /v1/role-assignments | Create a role assignment
*AccountRoleAssignmentsApi* | [**delete_account_scoped_role_assignment**](docs/AccountRoleAssignmentsApi.md#delete_account_scoped_role_assignment) | **DELETE** /v1/role-assignments/{role-assignment} | Delete a role assignment
*AccountRoleAssignmentsApi* | [**get_account_scoped_role_assignment**](docs/AccountRoleAssignmentsApi.md#get_account_scoped_role_assignment) | **GET** /v1/role-assignments/{role-assignment} | Retrieve a role assignment
*AccountRoleAssignmentsApi* | [**get_account_scoped_role_assignments**](docs/AccountRoleAssignmentsApi.md#get_account_scoped_role_assignments) | **GET** /v1/role-assignments | List role assignments
*AccountRolesApi* | [**create_role_acc**](docs/AccountRolesApi.md#create_role_acc) | **POST** /v1/roles | Create a Role
*AccountRolesApi* | [**delete_role_acc**](docs/AccountRolesApi.md#delete_role_acc) | **DELETE** /v1/roles/{role} | Delete a Role
*AccountRolesApi* | [**get_role_acc**](docs/AccountRolesApi.md#get_role_acc) | **GET** /v1/roles/{role} | Retrieve a Role
*AccountRolesApi* | [**list_roles_acc**](docs/AccountRolesApi.md#list_roles_acc) | **GET** /v1/roles | List Roles
*AccountRolesApi* | [**update_role_acc**](docs/AccountRolesApi.md#update_role_acc) | **PUT** /v1/roles/{role} | Update a Role
*AccountSecretApi* | [**create_account_scoped_secret**](docs/AccountSecretApi.md#create_account_scoped_secret) | **POST** /v1/secrets | Create a secret
*AccountSecretApi* | [**delete_account_scoped_secret**](docs/AccountSecretApi.md#delete_account_scoped_secret) | **DELETE** /v1/secrets/{secret} | Deletes a secret
*AccountSecretApi* | [**get_account_scoped_secret**](docs/AccountSecretApi.md#get_account_scoped_secret) | **GET** /v1/secrets/{secret} | Retrieve a secret
*AccountSecretApi* | [**get_account_scoped_secrets**](docs/AccountSecretApi.md#get_account_scoped_secrets) | **GET** /v1/secrets | List secrets
*AccountSecretApi* | [**update_account_scoped_secret**](docs/AccountSecretApi.md#update_account_scoped_secret) | **PUT** /v1/secrets/{secret} | Update a secret
*AccountSecretApi* | [**validate_account_secret_ref**](docs/AccountSecretApi.md#validate_account_secret_ref) | **POST** /v1/secrets/validate-secret-ref | Validate secret reference
*AccountServicesApi* | [**create_account_scoped_service**](docs/AccountServicesApi.md#create_account_scoped_service) | **POST** /v1/services | Create a service
*AccountServicesApi* | [**delete_account_scoped_service**](docs/AccountServicesApi.md#delete_account_scoped_service) | **DELETE** /v1/services/{service} | Delete a service
*AccountServicesApi* | [**get_account_scoped_service**](docs/AccountServicesApi.md#get_account_scoped_service) | **GET** /v1/services/{service} | Retrieve a service
*AccountServicesApi* | [**get_account_scoped_services**](docs/AccountServicesApi.md#get_account_scoped_services) | **GET** /v1/services | List services
*AccountServicesApi* | [**update_account_scoped_service**](docs/AccountServicesApi.md#update_account_scoped_service) | **PUT** /v1/services/{service} | Update service
*AccountTemplateApi* | [**create_templates_acc**](docs/AccountTemplateApi.md#create_templates_acc) | **POST** /v1/templates | Create Template
*AccountTemplateApi* | [**delete_template_acc**](docs/AccountTemplateApi.md#delete_template_acc) | **DELETE** /v1/templates/{template}/versions/{version} | Delete Template
*AccountTemplateApi* | [**get_template_acc**](docs/AccountTemplateApi.md#get_template_acc) | **GET** /v1/templates/{template}/versions/{version} | Retrieve a Template
*AccountTemplateApi* | [**get_template_stable_acc**](docs/AccountTemplateApi.md#get_template_stable_acc) | **GET** /v1/templates/{template} | Get Stable Template
*AccountTemplateApi* | [**get_templates_list_acc**](docs/AccountTemplateApi.md#get_templates_list_acc) | **GET** /v1/templates | Get Templates List
*AccountTemplateApi* | [**import_template_acc**](docs/AccountTemplateApi.md#import_template_acc) | **POST** /v1/templates/{template}/import | Import Template
*AccountTemplateApi* | [**update_template_acc**](docs/AccountTemplateApi.md#update_template_acc) | **PUT** /v1/templates/{template}/versions/{version} | Update Template
*AccountTemplateApi* | [**update_template_stable_acc**](docs/AccountTemplateApi.md#update_template_stable_acc) | **PUT** /v1/templates/{template}/versions/{version}/stable | Update Stable Template
*AccountsApi* | [**get_account_ng**](docs/AccountsApi.md#get_account_ng) | **GET** /ng/api/accounts/{accountIdentifier} | Gets an account
*AccountsApi* | [**is_immutable_delegate_enabled**](docs/AccountsApi.md#is_immutable_delegate_enabled) | **GET** /ng/api/accounts/{accountIdentifier}/immutable-delegate-enabled | Checks if immutable delegate is enabled for account
*AccountsApi* | [**update_account_default_experience_ng**](docs/AccountsApi.md#update_account_default_experience_ng) | **PUT** /ng/api/accounts/{accountIdentifier}/default-experience | Update Default Experience
*AccountsApi* | [**update_account_name_ng**](docs/AccountsApi.md#update_account_name_ng) | **PUT** /ng/api/accounts/{accountIdentifier}/name | Update Account Name
*AgentMTLSEndpointManagementApi* | [**check_agent_mtls_endpoint_domain_prefix_availability**](docs/AgentMTLSEndpointManagementApi.md#check_agent_mtls_endpoint_domain_prefix_availability) | **GET** /ng/api/agent/mtls/check-availability | Checks whether a given agent mTLS endpoint domain prefix is available.
*AgentMTLSEndpointManagementApi* | [**create_agent_mtls_endpoint_for_account**](docs/AgentMTLSEndpointManagementApi.md#create_agent_mtls_endpoint_for_account) | **POST** /ng/api/agent/mtls/endpoint | Creates the agent mTLS endpoint for an account.
*AgentMTLSEndpointManagementApi* | [**delete_agent_mtls_endpoint_for_account**](docs/AgentMTLSEndpointManagementApi.md#delete_agent_mtls_endpoint_for_account) | **DELETE** /ng/api/agent/mtls/endpoint | Removes the agent mTLS endpoint for an account.
*AgentMTLSEndpointManagementApi* | [**get_agent_mtls_endpoint_for_account**](docs/AgentMTLSEndpointManagementApi.md#get_agent_mtls_endpoint_for_account) | **GET** /ng/api/agent/mtls/endpoint | Gets the agent mTLS endpoint for an account.
*AgentMTLSEndpointManagementApi* | [**patch_agent_mtls_endpoint_for_account**](docs/AgentMTLSEndpointManagementApi.md#patch_agent_mtls_endpoint_for_account) | **PATCH** /ng/api/agent/mtls/endpoint | Updates selected properties of the existing agent mTLS endpoint for an account.
*AgentMTLSEndpointManagementApi* | [**update_agent_mtls_endpoint_for_account**](docs/AgentMTLSEndpointManagementApi.md#update_agent_mtls_endpoint_for_account) | **PUT** /ng/api/agent/mtls/endpoint | Updates the existing agent mTLS endpoint for an account.
*AgentsApi* | [**agent_service_for_server_create**](docs/AgentsApi.md#agent_service_for_server_create) | **POST** /gitops/api/v1/agents | 
*AgentsApi* | [**agent_service_for_server_delete**](docs/AgentsApi.md#agent_service_for_server_delete) | **DELETE** /gitops/api/v1/agents/{identifier} | 
*AgentsApi* | [**agent_service_for_server_get**](docs/AgentsApi.md#agent_service_for_server_get) | **GET** /gitops/api/v1/agents/{identifier} | 
*AgentsApi* | [**agent_service_for_server_get_deploy_yaml**](docs/AgentsApi.md#agent_service_for_server_get_deploy_yaml) | **GET** /gitops/api/v1/agents/{agentIdentifier}/deploy.yaml | 
*AgentsApi* | [**agent_service_for_server_list**](docs/AgentsApi.md#agent_service_for_server_list) | **GET** /gitops/api/v1/agents | 
*AgentsApi* | [**agent_service_for_server_regenerate_credentials**](docs/AgentsApi.md#agent_service_for_server_regenerate_credentials) | **POST** /gitops/api/v1/agents/{identifier}/credentials | 
*AgentsApi* | [**agent_service_for_server_unique**](docs/AgentsApi.md#agent_service_for_server_unique) | **GET** /gitops/api/v1/agents/{identifier}/unique | 
*AgentsApi* | [**agent_service_for_server_update**](docs/AgentsApi.md#agent_service_for_server_update) | **PUT** /gitops/api/v1/agents/{agent.identifier} | 
*AiEngineApi* | [**get_prompt_resources**](docs/AiEngineApi.md#get_prompt_resources) | **GET** /ccm/api/governance/promptResources | Get supported prompt resources
*AiEngineApi* | [**get_prompt_rules**](docs/AiEngineApi.md#get_prompt_rules) | **GET** /ccm/api/governance/promptRules | Get sample prompt governance rules
*ApiKeyApi* | [**create_api_key**](docs/ApiKeyApi.md#create_api_key) | **POST** /ng/api/apikey | Creates an API key
*ApiKeyApi* | [**delete_api_key**](docs/ApiKeyApi.md#delete_api_key) | **DELETE** /ng/api/apikey/{identifier} | Deletes the API Key corresponding to the provided ID.
*ApiKeyApi* | [**get_aggregated_api_key**](docs/ApiKeyApi.md#get_aggregated_api_key) | **GET** /ng/api/apikey/aggregate/{identifier} | Fetches the API Keys details corresponding to the provided ID and Scope.
*ApiKeyApi* | [**list_api_keys**](docs/ApiKeyApi.md#list_api_keys) | **GET** /ng/api/apikey/aggregate | Fetches the list of Aggregated API Keys corresponding to the request&#x27;s filter criteria.
*ApiKeyApi* | [**list_api_keys1**](docs/ApiKeyApi.md#list_api_keys1) | **GET** /ng/api/apikey | Fetches the list of API Keys corresponding to the request&#x27;s filter criteria.
*ApiKeyApi* | [**update_api_key**](docs/ApiKeyApi.md#update_api_key) | **PUT** /ng/api/apikey/{identifier} | Updates API Key for the provided ID
*ApplicationApi* | [**application_service_list_apps**](docs/ApplicationApi.md#application_service_list_apps) | **POST** /gitops/api/v1/applications | 
*ApplicationsApi* | [**agent_application_service_create**](docs/ApplicationsApi.md#agent_application_service_create) | **POST** /gitops/api/v1/agents/{agentIdentifier}/applications | Create creates an application
*ApplicationsApi* | [**agent_application_service_delete**](docs/ApplicationsApi.md#agent_application_service_delete) | **DELETE** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name} | Delete deletes an application
*ApplicationsApi* | [**agent_application_service_delete_resource**](docs/ApplicationsApi.md#agent_application_service_delete_resource) | **DELETE** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/resource | DeleteResource deletes a single application resource
*ApplicationsApi* | [**agent_application_service_get**](docs/ApplicationsApi.md#agent_application_service_get) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name} | Get returns an application by name
*ApplicationsApi* | [**agent_application_service_get_application_sync_windows**](docs/ApplicationsApi.md#agent_application_service_get_application_sync_windows) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/syncwindows | Get returns sync windows of the application
*ApplicationsApi* | [**agent_application_service_get_manifests**](docs/ApplicationsApi.md#agent_application_service_get_manifests) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/manifests | GetManifests returns application manifests
*ApplicationsApi* | [**agent_application_service_get_resource**](docs/ApplicationsApi.md#agent_application_service_get_resource) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/resource | GetResource returns single application resource
*ApplicationsApi* | [**agent_application_service_list**](docs/ApplicationsApi.md#agent_application_service_list) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications | List returns list of applications for a specific agent
*ApplicationsApi* | [**agent_application_service_list_resource_actions**](docs/ApplicationsApi.md#agent_application_service_list_resource_actions) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/resource/actions | ListResourceActions returns list of resource actions
*ApplicationsApi* | [**agent_application_service_list_resource_events**](docs/ApplicationsApi.md#agent_application_service_list_resource_events) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/events | ListResourceEvents returns a list of event resources
*ApplicationsApi* | [**agent_application_service_managed_resources**](docs/ApplicationsApi.md#agent_application_service_managed_resources) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.applicationName}/managed-resources | ManagedResources returns list of managed resources
*ApplicationsApi* | [**agent_application_service_patch**](docs/ApplicationsApi.md#agent_application_service_patch) | **PATCH** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name} | Patch patch an application
*ApplicationsApi* | [**agent_application_service_patch_resource**](docs/ApplicationsApi.md#agent_application_service_patch_resource) | **POST** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/resource | PatchResource patch single application resource
*ApplicationsApi* | [**agent_application_service_pod_logs**](docs/ApplicationsApi.md#agent_application_service_pod_logs) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/pods/{query.podName}/logs | PodLogs returns stream of log entries for the specified pod(s).
*ApplicationsApi* | [**agent_application_service_pod_logs2**](docs/ApplicationsApi.md#agent_application_service_pod_logs2) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/logs | PodLogs returns stream of log entries for the specified pod(s).
*ApplicationsApi* | [**agent_application_service_resource_tree**](docs/ApplicationsApi.md#agent_application_service_resource_tree) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/resource-tree | ResourceTree returns resource tree
*ApplicationsApi* | [**agent_application_service_revision_metadata**](docs/ApplicationsApi.md#agent_application_service_revision_metadata) | **GET** /gitops/api/v1/agents/{agentIdentifier}/applications/{query.name}/revisions/{query.revision}/metadata | Get the meta-data (author, date, tags, message) for a specific revision of the application
*ApplicationsApi* | [**agent_application_service_rollback**](docs/ApplicationsApi.md#agent_application_service_rollback) | **POST** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/rollback | Rollback syncs an application to its target state Harness Event type (rollback)
*ApplicationsApi* | [**agent_application_service_run_resource_action**](docs/ApplicationsApi.md#agent_application_service_run_resource_action) | **POST** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/resource/actions | RunResourceAction run resource action
*ApplicationsApi* | [**agent_application_service_sync**](docs/ApplicationsApi.md#agent_application_service_sync) | **POST** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/sync | Sync syncs an application to its target state Harness Event type (deploy)
*ApplicationsApi* | [**agent_application_service_terminate_operation**](docs/ApplicationsApi.md#agent_application_service_terminate_operation) | **DELETE** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/operation | TerminateOperation terminates the currently running operation
*ApplicationsApi* | [**agent_application_service_update**](docs/ApplicationsApi.md#agent_application_service_update) | **PUT** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.application.metadata.name} | Update updates an application
*ApplicationsApi* | [**agent_application_service_update_spec**](docs/ApplicationsApi.md#agent_application_service_update_spec) | **PUT** /gitops/api/v1/agents/{agentIdentifier}/applications/{request.name}/spec | UpdateSpec updates an application spec
*ApplicationsApi* | [**agent_application_service_watch**](docs/ApplicationsApi.md#agent_application_service_watch) | **GET** /gitops/api/v1/agents/{agentIdentifier}/stream/applications | Watch returns stream of application change events
*ApplicationsApi* | [**agent_application_service_watch_resource_tree**](docs/ApplicationsApi.md#agent_application_service_watch_resource_tree) | **GET** /gitops/api/v1/agents/{agentIdentifier}/stream/applications/{query.applicationName}/resource-tree | WatchResourceTree returns stream of application resource tree
*ApplicationsApi* | [**application_service_exists**](docs/ApplicationsApi.md#application_service_exists) | **GET** /gitops/api/v1/applications/{name}/exists | Checks whether an app with the given name exists
*ApplicationsApi* | [**application_service_list_app_sync**](docs/ApplicationsApi.md#application_service_list_app_sync) | **POST** /gitops/api/v1/applications/sync | List returns list of application sync status
*ApprovalsApi* | [**add_harness_approval_activity**](docs/ApprovalsApi.md#add_harness_approval_activity) | **POST** /pipeline/api/approvals/{approvalInstanceId}/harness/activity | Approve or Reject a Pipeline Execution
*ApprovalsApi* | [**get_approval_instances_by_execution_id**](docs/ApprovalsApi.md#get_approval_instances_by_execution_id) | **GET** /v1/orgs/{org}/projects/{project}/approvals/execution/{execution-id} | Gets Approval Instances by Execution Id
*AuditApi* | [**get_audit_event_list**](docs/AuditApi.md#get_audit_event_list) | **POST** /audit/api/audits/list | List Audit Events
*AuditFiltersApi* | [**delete_audit_filter**](docs/AuditFiltersApi.md#delete_audit_filter) | **DELETE** /audit/api/auditFilters/{identifier} | Delete a Filter of type Audit by identifier
*AuditFiltersApi* | [**get_audit_filter**](docs/AuditFiltersApi.md#get_audit_filter) | **GET** /audit/api/auditFilters/{identifier} | Gets a Filter of type Audit by identifier
*AuditFiltersApi* | [**get_audit_filter_list**](docs/AuditFiltersApi.md#get_audit_filter_list) | **GET** /audit/api/auditFilters | Get the list of Filters of type Audit satisfying the criteria (if any) in the request
*AuditFiltersApi* | [**post_audit_filter**](docs/AuditFiltersApi.md#post_audit_filter) | **POST** /audit/api/auditFilters | Creates a Filter
*AuditFiltersApi* | [**update_audit_filter**](docs/AuditFiltersApi.md#update_audit_filter) | **PUT** /audit/api/auditFilters | Updates the Filter of type Audit
*AuthenticationSettingsApi* | [**create_ldap_settings**](docs/AuthenticationSettingsApi.md#create_ldap_settings) | **POST** /ng/api/authentication-settings/ldap/settings | Create Ldap setting
*AuthenticationSettingsApi* | [**delete_ldap_settings**](docs/AuthenticationSettingsApi.md#delete_ldap_settings) | **DELETE** /ng/api/authentication-settings/ldap/settings | Delete Ldap settings
*AuthenticationSettingsApi* | [**delete_saml_meta_data**](docs/AuthenticationSettingsApi.md#delete_saml_meta_data) | **DELETE** /ng/api/authentication-settings/delete-saml-metadata | Delete SAML meta data
*AuthenticationSettingsApi* | [**delete_saml_meta_data_for_saml_ssoid**](docs/AuthenticationSettingsApi.md#delete_saml_meta_data_for_saml_ssoid) | **DELETE** /ng/api/authentication-settings/saml-metadata/{samlSSOId}/delete | Delete SAML meta data for given SAML sso id
*AuthenticationSettingsApi* | [**enable_disable_authentication_for_saml_setting**](docs/AuthenticationSettingsApi.md#enable_disable_authentication_for_saml_setting) | **PUT** /ng/api/authentication-settings/saml-metadata-upload/{samlSSOId}/authentication | Update authentication enabled or not for given SAML setting
*AuthenticationSettingsApi* | [**get_authentication_settings**](docs/AuthenticationSettingsApi.md#get_authentication_settings) | **GET** /ng/api/authentication-settings | Gets authentication settings for the given Account ID
*AuthenticationSettingsApi* | [**get_authentication_settings_v2**](docs/AuthenticationSettingsApi.md#get_authentication_settings_v2) | **GET** /ng/api/authentication-settings/v2 | Gets authentication settings version 2 for the given Account ID
*AuthenticationSettingsApi* | [**get_ldap_settings**](docs/AuthenticationSettingsApi.md#get_ldap_settings) | **GET** /ng/api/authentication-settings/ldap/settings | Return configured Ldap settings for the account
*AuthenticationSettingsApi* | [**get_password_strength_settings**](docs/AuthenticationSettingsApi.md#get_password_strength_settings) | **GET** /ng/api/authentication-settings/login-settings/password-strength | Get password strength
*AuthenticationSettingsApi* | [**get_saml_login_test**](docs/AuthenticationSettingsApi.md#get_saml_login_test) | **GET** /ng/api/authentication-settings/saml-login-test | Test SAML connectivity
*AuthenticationSettingsApi* | [**get_saml_login_test_v2**](docs/AuthenticationSettingsApi.md#get_saml_login_test_v2) | **GET** /ng/api/authentication-settings/saml-login-test/{samlSSOId} | Test SAML connectivity
*AuthenticationSettingsApi* | [**remove_oauth_mechanism**](docs/AuthenticationSettingsApi.md#remove_oauth_mechanism) | **DELETE** /ng/api/authentication-settings/oauth/remove-mechanism | Delete OAuth Setting
*AuthenticationSettingsApi* | [**set_public_access**](docs/AuthenticationSettingsApi.md#set_public_access) | **PUT** /ng/api/authentication-settings/public-access | Enable/disable public access at account level
*AuthenticationSettingsApi* | [**set_session_timeout_at_account_level**](docs/AuthenticationSettingsApi.md#set_session_timeout_at_account_level) | **PUT** /ng/api/authentication-settings/session-timeout-account-level | Set session timeout at account level
*AuthenticationSettingsApi* | [**set_two_factor_auth_at_account_level**](docs/AuthenticationSettingsApi.md#set_two_factor_auth_at_account_level) | **PUT** /ng/api/authentication-settings/two-factor-admin-override-settings | Set two factor authorization
*AuthenticationSettingsApi* | [**update_auth_mechanism**](docs/AuthenticationSettingsApi.md#update_auth_mechanism) | **PUT** /ng/api/authentication-settings/update-auth-mechanism | Update Auth mechanism
*AuthenticationSettingsApi* | [**update_ldap_settings**](docs/Authenticat