diff --git a/README.md b/README.md index 7849597d..681cd098 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The purpose of this application is to provide access to Akeyless API. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 2.0 -- Package version: 4.0.0 +- Package version: 4.1.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://akeyless.io](http://akeyless.io) @@ -121,6 +121,7 @@ Class | Method | HTTP request | Description *V2Api* | [**create_global_sign_target**](docs/V2Api.md#create_global_sign_target) | **POST** /create-globalsign-target | *V2Api* | [**create_godaddy_target**](docs/V2Api.md#create_godaddy_target) | **POST** /create-godaddy-target | *V2Api* | [**create_group**](docs/V2Api.md#create_group) | **POST** /create-group | +*V2Api* | [**create_hashi_vault_target**](docs/V2Api.md#create_hashi_vault_target) | **POST** /create-hashi-vault-target | *V2Api* | [**create_key**](docs/V2Api.md#create_key) | **POST** /create-key | *V2Api* | [**create_linked_target**](docs/V2Api.md#create_linked_target) | **POST** /create-linked-target | *V2Api* | [**create_native_k8_s_target**](docs/V2Api.md#create_native_k8_s_target) | **POST** /create-k8s-target | @@ -280,12 +281,16 @@ Class | Method | HTTP request | Description *V2Api* | [**gateway_delete_producer**](docs/V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer | *V2Api* | [**gateway_download_customer_fragments**](docs/V2Api.md#gateway_download_customer_fragments) | **POST** /gateway-download-customer-fragments | *V2Api* | [**gateway_get_allowed_access**](docs/V2Api.md#gateway_get_allowed_access) | **POST** /gateway-get-allowed-access | +*V2Api* | [**gateway_get_cache**](docs/V2Api.md#gateway_get_cache) | **POST** /gateway-get-cache | *V2Api* | [**gateway_get_config**](docs/V2Api.md#gateway_get_config) | **POST** /gateway-get-config | +*V2Api* | [**gateway_get_defaults**](docs/V2Api.md#gateway_get_defaults) | **POST** /gateway-get-defaults | *V2Api* | [**gateway_get_k8_s_auth_config**](docs/V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config | *V2Api* | [**gateway_get_ldap_auth_config**](docs/V2Api.md#gateway_get_ldap_auth_config) | **POST** /gateway-get-ldap-auth-config | +*V2Api* | [**gateway_get_log_forwarding**](docs/V2Api.md#gateway_get_log_forwarding) | **POST** /gateway-get-log-forwarding | *V2Api* | [**gateway_get_migration**](docs/V2Api.md#gateway_get_migration) | **POST** /gateway-get-migration | *V2Api* | [**gateway_get_producer**](docs/V2Api.md#gateway_get_producer) | **POST** /gateway-get-producer | *V2Api* | [**gateway_get_tmp_users**](docs/V2Api.md#gateway_get_tmp_users) | **POST** /gateway-get-producer-tmp-creds | +*V2Api* | [**gateway_list_customer_fragments**](docs/V2Api.md#gateway_list_customer_fragments) | **POST** /gateway-list-customer-fragments | *V2Api* | [**gateway_list_migration**](docs/V2Api.md#gateway_list_migration) | **POST** /gateway-list-migration | *V2Api* | [**gateway_list_producers**](docs/V2Api.md#gateway_list_producers) | **POST** /gateway-list-producers | *V2Api* | [**gateway_list_rotated_secrets**](docs/V2Api.md#gateway_list_rotated_secrets) | **POST** /gateway-list-rotated-secrets | @@ -296,9 +301,22 @@ Class | Method | HTTP request | Description *V2Api* | [**gateway_stop_producer**](docs/V2Api.md#gateway_stop_producer) | **POST** /gateway-stop-producer | *V2Api* | [**gateway_sync_migration**](docs/V2Api.md#gateway_sync_migration) | **POST** /gateway-sync-migration | *V2Api* | [**gateway_update_allowed_access**](docs/V2Api.md#gateway_update_allowed_access) | **POST** /gateway-update-allowed-access | +*V2Api* | [**gateway_update_cache**](docs/V2Api.md#gateway_update_cache) | **POST** /gateway-update-cache | +*V2Api* | [**gateway_update_defaults**](docs/V2Api.md#gateway_update_defaults) | **POST** /gateway-update-defaults | *V2Api* | [**gateway_update_item**](docs/V2Api.md#gateway_update_item) | **POST** /gateway-update-item | *V2Api* | [**gateway_update_k8_s_auth_config**](docs/V2Api.md#gateway_update_k8_s_auth_config) | **POST** /gateway-update-k8s-auth-config | *V2Api* | [**gateway_update_ldap_auth_config**](docs/V2Api.md#gateway_update_ldap_auth_config) | **POST** /gateway-update-ldap-auth-config | +*V2Api* | [**gateway_update_log_forwarding_aws_s3**](docs/V2Api.md#gateway_update_log_forwarding_aws_s3) | **POST** /gateway-update-log-forwarding-aws-s3 | +*V2Api* | [**gateway_update_log_forwarding_azure_analytics**](docs/V2Api.md#gateway_update_log_forwarding_azure_analytics) | **POST** /gateway-update-log-forwarding-azure-analytics | +*V2Api* | [**gateway_update_log_forwarding_datadog**](docs/V2Api.md#gateway_update_log_forwarding_datadog) | **POST** /gateway-update-log-forwarding-datadog | +*V2Api* | [**gateway_update_log_forwarding_elasticsearch**](docs/V2Api.md#gateway_update_log_forwarding_elasticsearch) | **POST** /gateway-update-log-forwarding-elasticsearch | +*V2Api* | [**gateway_update_log_forwarding_google_chronicle**](docs/V2Api.md#gateway_update_log_forwarding_google_chronicle) | **POST** /gateway-update-log-forwarding-google-chronicle | +*V2Api* | [**gateway_update_log_forwarding_logstash**](docs/V2Api.md#gateway_update_log_forwarding_logstash) | **POST** /gateway-update-log-forwarding-logstash | +*V2Api* | [**gateway_update_log_forwarding_logz_io**](docs/V2Api.md#gateway_update_log_forwarding_logz_io) | **POST** /gateway-update-log-forwarding-logz-io | +*V2Api* | [**gateway_update_log_forwarding_splunk**](docs/V2Api.md#gateway_update_log_forwarding_splunk) | **POST** /gateway-update-log-forwarding-splunk | +*V2Api* | [**gateway_update_log_forwarding_stdout**](docs/V2Api.md#gateway_update_log_forwarding_stdout) | **POST** /gateway-update-log-forwarding-stdout | +*V2Api* | [**gateway_update_log_forwarding_sumologic**](docs/V2Api.md#gateway_update_log_forwarding_sumologic) | **POST** /gateway-update-log-forwarding-sumologic | +*V2Api* | [**gateway_update_log_forwarding_syslog**](docs/V2Api.md#gateway_update_log_forwarding_syslog) | **POST** /gateway-update-log-forwarding-syslog | *V2Api* | [**gateway_update_migration**](docs/V2Api.md#gateway_update_migration) | **POST** /gateway-update-migration | *V2Api* | [**gateway_update_producer_artifactory**](docs/V2Api.md#gateway_update_producer_artifactory) | **POST** /gateway-update-producer-artifactory | *V2Api* | [**gateway_update_producer_aws**](docs/V2Api.md#gateway_update_producer_aws) | **POST** /gateway-update-producer-aws | @@ -471,6 +489,7 @@ Class | Method | HTTP request | Description *V2Api* | [**update_global_sign_target**](docs/V2Api.md#update_global_sign_target) | **POST** /update-globalsign-target | *V2Api* | [**update_godaddy_target**](docs/V2Api.md#update_godaddy_target) | **POST** /update-godaddy-target | *V2Api* | [**update_group**](docs/V2Api.md#update_group) | **POST** /update-group | +*V2Api* | [**update_hashi_vault_target**](docs/V2Api.md#update_hashi_vault_target) | **POST** /update-hashi-vault-target | *V2Api* | [**update_item**](docs/V2Api.md#update_item) | **POST** /update-item | *V2Api* | [**update_ldap_target**](docs/V2Api.md#update_ldap_target) | **POST** /update-ldap-target | *V2Api* | [**update_ldap_target_details**](docs/V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details | @@ -636,6 +655,8 @@ Class | Method | HTTP request | Description - [CreateGodaddyTargetOutput](docs/CreateGodaddyTargetOutput.md) - [CreateGroup](docs/CreateGroup.md) - [CreateGroupOutput](docs/CreateGroupOutput.md) + - [CreateHashiVaultTarget](docs/CreateHashiVaultTarget.md) + - [CreateHashiVaultTargetOutput](docs/CreateHashiVaultTargetOutput.md) - [CreateKey](docs/CreateKey.md) - [CreateKeyOutput](docs/CreateKeyOutput.md) - [CreateLdapTarget](docs/CreateLdapTarget.md) @@ -907,14 +928,19 @@ Class | Method | HTTP request | Description - [GatewayDownloadCustomerFragments](docs/GatewayDownloadCustomerFragments.md) - [GatewayDownloadCustomerFragmentsOutput](docs/GatewayDownloadCustomerFragmentsOutput.md) - [GatewayGetAllowedAccess](docs/GatewayGetAllowedAccess.md) + - [GatewayGetCache](docs/GatewayGetCache.md) - [GatewayGetConfig](docs/GatewayGetConfig.md) + - [GatewayGetDefaults](docs/GatewayGetDefaults.md) + - [GatewayGetDefaultsOutput](docs/GatewayGetDefaultsOutput.md) - [GatewayGetK8SAuthConfig](docs/GatewayGetK8SAuthConfig.md) - [GatewayGetK8SAuthConfigOutput](docs/GatewayGetK8SAuthConfigOutput.md) - [GatewayGetLdapAuthConfig](docs/GatewayGetLdapAuthConfig.md) - [GatewayGetLdapAuthConfigOutput](docs/GatewayGetLdapAuthConfigOutput.md) + - [GatewayGetLogForwarding](docs/GatewayGetLogForwarding.md) - [GatewayGetMigration](docs/GatewayGetMigration.md) - [GatewayGetProducer](docs/GatewayGetProducer.md) - [GatewayGetTmpUsers](docs/GatewayGetTmpUsers.md) + - [GatewayListCustomerFragments](docs/GatewayListCustomerFragments.md) - [GatewayListMigration](docs/GatewayListMigration.md) - [GatewayListProducers](docs/GatewayListProducers.md) - [GatewayListRotatedSecrets](docs/GatewayListRotatedSecrets.md) @@ -937,13 +963,28 @@ Class | Method | HTTP request | Description - [GatewayStopProducerOutput](docs/GatewayStopProducerOutput.md) - [GatewaySyncMigration](docs/GatewaySyncMigration.md) - [GatewayUpdateAllowedAccess](docs/GatewayUpdateAllowedAccess.md) + - [GatewayUpdateCache](docs/GatewayUpdateCache.md) + - [GatewayUpdateDefaults](docs/GatewayUpdateDefaults.md) - [GatewayUpdateItem](docs/GatewayUpdateItem.md) - [GatewayUpdateItemOutput](docs/GatewayUpdateItemOutput.md) - [GatewayUpdateK8SAuthConfig](docs/GatewayUpdateK8SAuthConfig.md) - [GatewayUpdateK8SAuthConfigOutput](docs/GatewayUpdateK8SAuthConfigOutput.md) - [GatewayUpdateLdapAuthConfig](docs/GatewayUpdateLdapAuthConfig.md) - [GatewayUpdateLdapAuthConfigOutput](docs/GatewayUpdateLdapAuthConfigOutput.md) + - [GatewayUpdateLogForwardingAwsS3](docs/GatewayUpdateLogForwardingAwsS3.md) + - [GatewayUpdateLogForwardingAzureAnalytics](docs/GatewayUpdateLogForwardingAzureAnalytics.md) + - [GatewayUpdateLogForwardingDatadog](docs/GatewayUpdateLogForwardingDatadog.md) + - [GatewayUpdateLogForwardingElasticsearch](docs/GatewayUpdateLogForwardingElasticsearch.md) + - [GatewayUpdateLogForwardingGoogleChronicle](docs/GatewayUpdateLogForwardingGoogleChronicle.md) + - [GatewayUpdateLogForwardingLogstash](docs/GatewayUpdateLogForwardingLogstash.md) + - [GatewayUpdateLogForwardingLogzIo](docs/GatewayUpdateLogForwardingLogzIo.md) + - [GatewayUpdateLogForwardingOutput](docs/GatewayUpdateLogForwardingOutput.md) + - [GatewayUpdateLogForwardingSplunk](docs/GatewayUpdateLogForwardingSplunk.md) + - [GatewayUpdateLogForwardingStdout](docs/GatewayUpdateLogForwardingStdout.md) + - [GatewayUpdateLogForwardingSumologic](docs/GatewayUpdateLogForwardingSumologic.md) + - [GatewayUpdateLogForwardingSyslog](docs/GatewayUpdateLogForwardingSyslog.md) - [GatewayUpdateMigration](docs/GatewayUpdateMigration.md) + - [GatewayUpdateOutput](docs/GatewayUpdateOutput.md) - [GatewayUpdateProducerArtifactory](docs/GatewayUpdateProducerArtifactory.md) - [GatewayUpdateProducerArtifactoryOutput](docs/GatewayUpdateProducerArtifactoryOutput.md) - [GatewayUpdateProducerAws](docs/GatewayUpdateProducerAws.md) @@ -1043,6 +1084,7 @@ Class | Method | HTTP request | Description - [GwClusterIdentity](docs/GwClusterIdentity.md) - [HashiMigration](docs/HashiMigration.md) - [HashiPayload](docs/HashiPayload.md) + - [HashiVaultTargetDetails](docs/HashiVaultTargetDetails.md) - [Hmac](docs/Hmac.md) - [HmacOutput](docs/HmacOutput.md) - [HuaweiAccessRules](docs/HuaweiAccessRules.md) @@ -1324,6 +1366,8 @@ Class | Method | HTTP request | Description - [UpdateGodaddyTargetOutput](docs/UpdateGodaddyTargetOutput.md) - [UpdateGroup](docs/UpdateGroup.md) - [UpdateGroupOutput](docs/UpdateGroupOutput.md) + - [UpdateHashiVaultTarget](docs/UpdateHashiVaultTarget.md) + - [UpdateHashiVaultTargetOutput](docs/UpdateHashiVaultTargetOutput.md) - [UpdateItem](docs/UpdateItem.md) - [UpdateItemOutput](docs/UpdateItemOutput.md) - [UpdateLdapTarget](docs/UpdateLdapTarget.md) diff --git a/akeyless/__init__.py b/akeyless/__init__.py index f357703d..6513ad16 100644 --- a/akeyless/__init__.py +++ b/akeyless/__init__.py @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "4.0.0" +__version__ = "4.1.0" # import apis into sdk package from akeyless.api.v2_api import V2Api @@ -151,6 +151,8 @@ from akeyless.models.create_godaddy_target_output import CreateGodaddyTargetOutput from akeyless.models.create_group import CreateGroup from akeyless.models.create_group_output import CreateGroupOutput +from akeyless.models.create_hashi_vault_target import CreateHashiVaultTarget +from akeyless.models.create_hashi_vault_target_output import CreateHashiVaultTargetOutput from akeyless.models.create_key import CreateKey from akeyless.models.create_key_output import CreateKeyOutput from akeyless.models.create_ldap_target import CreateLdapTarget @@ -422,14 +424,19 @@ from akeyless.models.gateway_download_customer_fragments import GatewayDownloadCustomerFragments from akeyless.models.gateway_download_customer_fragments_output import GatewayDownloadCustomerFragmentsOutput from akeyless.models.gateway_get_allowed_access import GatewayGetAllowedAccess +from akeyless.models.gateway_get_cache import GatewayGetCache from akeyless.models.gateway_get_config import GatewayGetConfig +from akeyless.models.gateway_get_defaults import GatewayGetDefaults +from akeyless.models.gateway_get_defaults_output import GatewayGetDefaultsOutput from akeyless.models.gateway_get_k8_s_auth_config import GatewayGetK8SAuthConfig from akeyless.models.gateway_get_k8_s_auth_config_output import GatewayGetK8SAuthConfigOutput from akeyless.models.gateway_get_ldap_auth_config import GatewayGetLdapAuthConfig from akeyless.models.gateway_get_ldap_auth_config_output import GatewayGetLdapAuthConfigOutput +from akeyless.models.gateway_get_log_forwarding import GatewayGetLogForwarding from akeyless.models.gateway_get_migration import GatewayGetMigration from akeyless.models.gateway_get_producer import GatewayGetProducer from akeyless.models.gateway_get_tmp_users import GatewayGetTmpUsers +from akeyless.models.gateway_list_customer_fragments import GatewayListCustomerFragments from akeyless.models.gateway_list_migration import GatewayListMigration from akeyless.models.gateway_list_producers import GatewayListProducers from akeyless.models.gateway_list_rotated_secrets import GatewayListRotatedSecrets @@ -452,13 +459,28 @@ from akeyless.models.gateway_stop_producer_output import GatewayStopProducerOutput from akeyless.models.gateway_sync_migration import GatewaySyncMigration from akeyless.models.gateway_update_allowed_access import GatewayUpdateAllowedAccess +from akeyless.models.gateway_update_cache import GatewayUpdateCache +from akeyless.models.gateway_update_defaults import GatewayUpdateDefaults from akeyless.models.gateway_update_item import GatewayUpdateItem from akeyless.models.gateway_update_item_output import GatewayUpdateItemOutput from akeyless.models.gateway_update_k8_s_auth_config import GatewayUpdateK8SAuthConfig from akeyless.models.gateway_update_k8_s_auth_config_output import GatewayUpdateK8SAuthConfigOutput from akeyless.models.gateway_update_ldap_auth_config import GatewayUpdateLdapAuthConfig from akeyless.models.gateway_update_ldap_auth_config_output import GatewayUpdateLdapAuthConfigOutput +from akeyless.models.gateway_update_log_forwarding_aws_s3 import GatewayUpdateLogForwardingAwsS3 +from akeyless.models.gateway_update_log_forwarding_azure_analytics import GatewayUpdateLogForwardingAzureAnalytics +from akeyless.models.gateway_update_log_forwarding_datadog import GatewayUpdateLogForwardingDatadog +from akeyless.models.gateway_update_log_forwarding_elasticsearch import GatewayUpdateLogForwardingElasticsearch +from akeyless.models.gateway_update_log_forwarding_google_chronicle import GatewayUpdateLogForwardingGoogleChronicle +from akeyless.models.gateway_update_log_forwarding_logstash import GatewayUpdateLogForwardingLogstash +from akeyless.models.gateway_update_log_forwarding_logz_io import GatewayUpdateLogForwardingLogzIo +from akeyless.models.gateway_update_log_forwarding_output import GatewayUpdateLogForwardingOutput +from akeyless.models.gateway_update_log_forwarding_splunk import GatewayUpdateLogForwardingSplunk +from akeyless.models.gateway_update_log_forwarding_stdout import GatewayUpdateLogForwardingStdout +from akeyless.models.gateway_update_log_forwarding_sumologic import GatewayUpdateLogForwardingSumologic +from akeyless.models.gateway_update_log_forwarding_syslog import GatewayUpdateLogForwardingSyslog from akeyless.models.gateway_update_migration import GatewayUpdateMigration +from akeyless.models.gateway_update_output import GatewayUpdateOutput from akeyless.models.gateway_update_producer_artifactory import GatewayUpdateProducerArtifactory from akeyless.models.gateway_update_producer_artifactory_output import GatewayUpdateProducerArtifactoryOutput from akeyless.models.gateway_update_producer_aws import GatewayUpdateProducerAws @@ -558,6 +580,7 @@ from akeyless.models.gw_cluster_identity import GwClusterIdentity from akeyless.models.hashi_migration import HashiMigration from akeyless.models.hashi_payload import HashiPayload +from akeyless.models.hashi_vault_target_details import HashiVaultTargetDetails from akeyless.models.hmac import Hmac from akeyless.models.hmac_output import HmacOutput from akeyless.models.huawei_access_rules import HuaweiAccessRules @@ -839,6 +862,8 @@ from akeyless.models.update_godaddy_target_output import UpdateGodaddyTargetOutput from akeyless.models.update_group import UpdateGroup from akeyless.models.update_group_output import UpdateGroupOutput +from akeyless.models.update_hashi_vault_target import UpdateHashiVaultTarget +from akeyless.models.update_hashi_vault_target_output import UpdateHashiVaultTargetOutput from akeyless.models.update_item import UpdateItem from akeyless.models.update_item_output import UpdateItemOutput from akeyless.models.update_ldap_target import UpdateLdapTarget diff --git a/akeyless/api/v2_api.py b/akeyless/api/v2_api.py index dc0a1c3d..88063b48 100644 --- a/akeyless/api/v2_api.py +++ b/akeyless/api/v2_api.py @@ -4445,6 +4445,122 @@ def create_group_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def create_hashi_vault_target(self, body, **kwargs): # noqa: E501 + """create_hashi_vault_target # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_hashi_vault_target(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param CreateHashiVaultTarget body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: CreateHashiVaultTargetOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_hashi_vault_target_with_http_info(body, **kwargs) # noqa: E501 + + def create_hashi_vault_target_with_http_info(self, body, **kwargs): # noqa: E501 + """create_hashi_vault_target # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_hashi_vault_target_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param CreateHashiVaultTarget body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(CreateHashiVaultTargetOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_hashi_vault_target" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_hashi_vault_target`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/create-hashi-vault-target', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CreateHashiVaultTargetOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def create_key(self, body, **kwargs): # noqa: E501 """create_key # noqa: E501 @@ -22877,16 +22993,16 @@ def gateway_get_allowed_access_with_http_info(self, body, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_get_config(self, body, **kwargs): # noqa: E501 - """gateway_get_config # noqa: E501 + def gateway_get_cache(self, body, **kwargs): # noqa: E501 + """gateway_get_cache # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_config(body, async_req=True) + >>> thread = api.gateway_get_cache(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetConfig body: (required) + :param GatewayGetCache body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -22894,23 +23010,23 @@ def gateway_get_config(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: AkeylessGatewayConfig + :return: CacheConfigPart If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_get_config_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_cache_with_http_info(body, **kwargs) # noqa: E501 - def gateway_get_config_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_get_config # noqa: E501 + def gateway_get_cache_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_cache # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_config_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_cache_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetConfig body: (required) + :param GatewayGetCache body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -22920,7 +23036,7 @@ def gateway_get_config_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(AkeylessGatewayConfig, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(CacheConfigPart, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -22943,14 +23059,14 @@ def gateway_get_config_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_get_config" % key + " to method gateway_get_cache" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_config`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_cache`") # noqa: E501 collection_formats = {} @@ -22978,14 +23094,14 @@ def gateway_get_config_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-get-config', 'POST', + '/gateway-get-cache', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='AkeylessGatewayConfig', # noqa: E501 + response_type='CacheConfigPart', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -22993,16 +23109,16 @@ def gateway_get_config_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_get_k8_s_auth_config(self, body, **kwargs): # noqa: E501 - """gateway_get_k8_s_auth_config # noqa: E501 + def gateway_get_config(self, body, **kwargs): # noqa: E501 + """gateway_get_config # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_k8_s_auth_config(body, async_req=True) + >>> thread = api.gateway_get_config(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetK8SAuthConfig body: (required) + :param GatewayGetConfig body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23010,23 +23126,23 @@ def gateway_get_k8_s_auth_config(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayGetK8SAuthConfigOutput + :return: AkeylessGatewayConfig If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_get_k8_s_auth_config_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_config_with_http_info(body, **kwargs) # noqa: E501 - def gateway_get_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_get_k8_s_auth_config # noqa: E501 + def gateway_get_config_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_config # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_k8_s_auth_config_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_config_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetK8SAuthConfig body: (required) + :param GatewayGetConfig body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23036,7 +23152,7 @@ def gateway_get_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayGetK8SAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(AkeylessGatewayConfig, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23059,14 +23175,14 @@ def gateway_get_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_get_k8_s_auth_config" % key + " to method gateway_get_config" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_k8_s_auth_config`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_config`") # noqa: E501 collection_formats = {} @@ -23094,14 +23210,14 @@ def gateway_get_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-get-k8s-auth-config', 'POST', + '/gateway-get-config', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayGetK8SAuthConfigOutput', # noqa: E501 + response_type='AkeylessGatewayConfig', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -23109,16 +23225,16 @@ def gateway_get_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_get_ldap_auth_config(self, body, **kwargs): # noqa: E501 - """gateway_get_ldap_auth_config # noqa: E501 + def gateway_get_defaults(self, body, **kwargs): # noqa: E501 + """gateway_get_defaults # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_ldap_auth_config(body, async_req=True) + >>> thread = api.gateway_get_defaults(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetLdapAuthConfig body: (required) + :param GatewayGetDefaults body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23126,23 +23242,23 @@ def gateway_get_ldap_auth_config(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayGetLdapAuthConfigOutput + :return: GatewayGetDefaultsOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_get_ldap_auth_config_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_defaults_with_http_info(body, **kwargs) # noqa: E501 - def gateway_get_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_get_ldap_auth_config # noqa: E501 + def gateway_get_defaults_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_defaults # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_ldap_auth_config_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_defaults_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetLdapAuthConfig body: (required) + :param GatewayGetDefaults body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23152,7 +23268,7 @@ def gateway_get_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayGetLdapAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayGetDefaultsOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23175,14 +23291,14 @@ def gateway_get_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_get_ldap_auth_config" % key + " to method gateway_get_defaults" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_ldap_auth_config`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_defaults`") # noqa: E501 collection_formats = {} @@ -23210,14 +23326,14 @@ def gateway_get_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-get-ldap-auth-config', 'POST', + '/gateway-get-defaults', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayGetLdapAuthConfigOutput', # noqa: E501 + response_type='GatewayGetDefaultsOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -23225,16 +23341,16 @@ def gateway_get_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_get_migration(self, body, **kwargs): # noqa: E501 - """gateway_get_migration # noqa: E501 + def gateway_get_k8_s_auth_config(self, body, **kwargs): # noqa: E501 + """gateway_get_k8_s_auth_config # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_migration(body, async_req=True) + >>> thread = api.gateway_get_k8_s_auth_config(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetMigration body: (required) + :param GatewayGetK8SAuthConfig body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23242,23 +23358,23 @@ def gateway_get_migration(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayMigrationGetOutput + :return: GatewayGetK8SAuthConfigOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_get_migration_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_k8_s_auth_config_with_http_info(body, **kwargs) # noqa: E501 - def gateway_get_migration_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_get_migration # noqa: E501 + def gateway_get_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_k8_s_auth_config # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_migration_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_k8_s_auth_config_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetMigration body: (required) + :param GatewayGetK8SAuthConfig body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23268,7 +23384,7 @@ def gateway_get_migration_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayMigrationGetOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayGetK8SAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23291,14 +23407,14 @@ def gateway_get_migration_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_get_migration" % key + " to method gateway_get_k8_s_auth_config" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_migration`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_k8_s_auth_config`") # noqa: E501 collection_formats = {} @@ -23326,14 +23442,14 @@ def gateway_get_migration_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-get-migration', 'POST', + '/gateway-get-k8s-auth-config', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayMigrationGetOutput', # noqa: E501 + response_type='GatewayGetK8SAuthConfigOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -23341,16 +23457,16 @@ def gateway_get_migration_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_get_producer(self, body, **kwargs): # noqa: E501 - """gateway_get_producer # noqa: E501 + def gateway_get_ldap_auth_config(self, body, **kwargs): # noqa: E501 + """gateway_get_ldap_auth_config # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_producer(body, async_req=True) + >>> thread = api.gateway_get_ldap_auth_config(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetProducer body: (required) + :param GatewayGetLdapAuthConfig body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23358,23 +23474,23 @@ def gateway_get_producer(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: DSProducerDetails + :return: GatewayGetLdapAuthConfigOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_get_producer_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_ldap_auth_config_with_http_info(body, **kwargs) # noqa: E501 - def gateway_get_producer_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_get_producer # noqa: E501 + def gateway_get_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_ldap_auth_config # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_producer_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_ldap_auth_config_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetProducer body: (required) + :param GatewayGetLdapAuthConfig body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23384,7 +23500,7 @@ def gateway_get_producer_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(DSProducerDetails, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayGetLdapAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23407,14 +23523,14 @@ def gateway_get_producer_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_get_producer" % key + " to method gateway_get_ldap_auth_config" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_producer`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_ldap_auth_config`") # noqa: E501 collection_formats = {} @@ -23442,14 +23558,14 @@ def gateway_get_producer_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-get-producer', 'POST', + '/gateway-get-ldap-auth-config', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='DSProducerDetails', # noqa: E501 + response_type='GatewayGetLdapAuthConfigOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -23457,16 +23573,16 @@ def gateway_get_producer_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_get_tmp_users(self, body, **kwargs): # noqa: E501 - """gateway_get_tmp_users # noqa: E501 + def gateway_get_log_forwarding(self, body, **kwargs): # noqa: E501 + """gateway_get_log_forwarding # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_tmp_users(body, async_req=True) + >>> thread = api.gateway_get_log_forwarding(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetTmpUsers body: (required) + :param GatewayGetLogForwarding body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23474,23 +23590,23 @@ def gateway_get_tmp_users(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: list[TmpUserData] + :return: LogForwardingConfigPart If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_get_tmp_users_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_log_forwarding_with_http_info(body, **kwargs) # noqa: E501 - def gateway_get_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_get_tmp_users # noqa: E501 + def gateway_get_log_forwarding_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_log_forwarding # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_get_tmp_users_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_log_forwarding_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayGetTmpUsers body: (required) + :param GatewayGetLogForwarding body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23500,7 +23616,7 @@ def gateway_get_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(list[TmpUserData], status_code(int), headers(HTTPHeaderDict)) + :return: tuple(LogForwardingConfigPart, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23523,14 +23639,14 @@ def gateway_get_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_get_tmp_users" % key + " to method gateway_get_log_forwarding" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_tmp_users`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_log_forwarding`") # noqa: E501 collection_formats = {} @@ -23558,14 +23674,14 @@ def gateway_get_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-get-producer-tmp-creds', 'POST', + '/gateway-get-log-forwarding', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='list[TmpUserData]', # noqa: E501 + response_type='LogForwardingConfigPart', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -23573,16 +23689,16 @@ def gateway_get_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_list_migration(self, body, **kwargs): # noqa: E501 - """gateway_list_migration # noqa: E501 + def gateway_get_migration(self, body, **kwargs): # noqa: E501 + """gateway_get_migration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_list_migration(body, async_req=True) + >>> thread = api.gateway_get_migration(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayListMigration body: (required) + :param GatewayGetMigration body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23590,23 +23706,23 @@ def gateway_list_migration(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayMigrationListOutput + :return: GatewayMigrationGetOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_list_migration_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_get_migration_with_http_info(body, **kwargs) # noqa: E501 - def gateway_list_migration_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_list_migration # noqa: E501 + def gateway_get_migration_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_migration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_list_migration_with_http_info(body, async_req=True) + >>> thread = api.gateway_get_migration_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayListMigration body: (required) + :param GatewayGetMigration body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23616,7 +23732,471 @@ def gateway_list_migration_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayMigrationListOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayMigrationGetOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_get_migration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_migration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-get-migration', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayMigrationGetOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_get_producer(self, body, **kwargs): # noqa: E501 + """gateway_get_producer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_get_producer(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayGetProducer body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: DSProducerDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_get_producer_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_get_producer_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_producer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_get_producer_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayGetProducer body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(DSProducerDetails, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_get_producer" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_producer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-get-producer', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='DSProducerDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_get_tmp_users(self, body, **kwargs): # noqa: E501 + """gateway_get_tmp_users # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_get_tmp_users(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayGetTmpUsers body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: list[TmpUserData] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_get_tmp_users_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_get_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_get_tmp_users # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_get_tmp_users_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayGetTmpUsers body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(list[TmpUserData], status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_get_tmp_users" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_get_tmp_users`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-get-producer-tmp-creds', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[TmpUserData]', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_list_customer_fragments(self, body, **kwargs): # noqa: E501 + """gateway_list_customer_fragments # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_list_customer_fragments(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayListCustomerFragments body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: dict(str, object) + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_list_customer_fragments_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_list_customer_fragments_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_list_customer_fragments # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_list_customer_fragments_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayListCustomerFragments body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(dict(str, object), status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_list_customer_fragments" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_list_customer_fragments`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-list-customer-fragments', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='dict(str, object)', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_list_migration(self, body, **kwargs): # noqa: E501 + """gateway_list_migration # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_list_migration(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayListMigration body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayMigrationListOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_list_migration_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_list_migration_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_list_migration # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_list_migration_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayListMigration body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayMigrationListOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23871,14 +24451,1518 @@ def gateway_list_rotated_secrets_with_http_info(self, body, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_list_rotated_secrets" % key + " to method gateway_list_rotated_secrets" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_list_rotated_secrets`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-list-rotated-secrets', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ListItemsOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_migrate_personal_items(self, **kwargs): # noqa: E501 + """gateway_migrate_personal_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_migrate_personal_items(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayMigratePersonalItems body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayMigratePersonalItemsOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_migrate_personal_items_with_http_info(**kwargs) # noqa: E501 + + def gateway_migrate_personal_items_with_http_info(self, **kwargs): # noqa: E501 + """gateway_migrate_personal_items # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_migrate_personal_items_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayMigratePersonalItems body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayMigratePersonalItemsOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_migrate_personal_items" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-migrate-personal-items', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayMigratePersonalItemsOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_revoke_tmp_users(self, body, **kwargs): # noqa: E501 + """gateway_revoke_tmp_users # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_revoke_tmp_users(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayRevokeTmpUsers body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: None + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_revoke_tmp_users_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_revoke_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_revoke_tmp_users # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_revoke_tmp_users_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayRevokeTmpUsers body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_revoke_tmp_users" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_revoke_tmp_users`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-revoke-producer-tmp-creds', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_start_producer(self, body, **kwargs): # noqa: E501 + """gateway_start_producer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_start_producer(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayStartProducer body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayStartProducerOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_start_producer_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_start_producer_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_start_producer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_start_producer_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayStartProducer body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayStartProducerOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_start_producer" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_start_producer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-start-producer', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayStartProducerOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_status_migration(self, body, **kwargs): # noqa: E501 + """gateway_status_migration # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_status_migration(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayStatusMigration body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: MigrationStatusReplyObj + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_status_migration_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_status_migration_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_status_migration # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_status_migration_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayStatusMigration body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(MigrationStatusReplyObj, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_status_migration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_status_migration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-migration-status', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='MigrationStatusReplyObj', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_stop_producer(self, body, **kwargs): # noqa: E501 + """gateway_stop_producer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_stop_producer(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayStopProducer body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayStopProducerOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_stop_producer_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_stop_producer_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_stop_producer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_stop_producer_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayStopProducer body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayStopProducerOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_stop_producer" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_stop_producer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-stop-producer', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayStopProducerOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_sync_migration(self, body, **kwargs): # noqa: E501 + """gateway_sync_migration # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_sync_migration(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewaySyncMigration body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayMigrationSyncOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_sync_migration_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_sync_migration_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_sync_migration # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_sync_migration_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewaySyncMigration body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayMigrationSyncOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_sync_migration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_sync_migration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-sync-migration', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayMigrationSyncOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_allowed_access(self, body, **kwargs): # noqa: E501 + """gateway_update_allowed_access # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_allowed_access(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateAllowedAccess body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: AllowedAccess + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_allowed_access_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_allowed_access_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_allowed_access # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_allowed_access_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateAllowedAccess body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(AllowedAccess, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_allowed_access" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_allowed_access`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-update-allowed-access', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AllowedAccess', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_cache(self, body, **kwargs): # noqa: E501 + """gateway_update_cache # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_cache(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateCache body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayUpdateOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_cache_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_cache_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_cache # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_cache_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateCache body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayUpdateOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_cache" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_cache`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-update-cache', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayUpdateOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_defaults(self, body, **kwargs): # noqa: E501 + """gateway_update_defaults # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_defaults(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateDefaults body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayUpdateOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_defaults_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_defaults_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_defaults # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_defaults_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateDefaults body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayUpdateOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_defaults" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_defaults`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-update-defaults', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayUpdateOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_item(self, body, **kwargs): # noqa: E501 + """gateway_update_item # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_item(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateItem body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayUpdateItemOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_item_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_item_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_item # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_item_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateItem body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayUpdateItemOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_item" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_item`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-update-item', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayUpdateItemOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_k8_s_auth_config(self, body, **kwargs): # noqa: E501 + """gateway_update_k8_s_auth_config # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_k8_s_auth_config(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateK8SAuthConfig body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayUpdateK8SAuthConfigOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_k8_s_auth_config_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_k8_s_auth_config # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_k8_s_auth_config_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateK8SAuthConfig body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayUpdateK8SAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_k8_s_auth_config" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_k8_s_auth_config`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-update-k8s-auth-config', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayUpdateK8SAuthConfigOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_ldap_auth_config(self, body, **kwargs): # noqa: E501 + """gateway_update_ldap_auth_config # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_ldap_auth_config(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateLdapAuthConfig body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayUpdateLdapAuthConfigOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_ldap_auth_config_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_ldap_auth_config # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_ldap_auth_config_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateLdapAuthConfig body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayUpdateLdapAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_ldap_auth_config" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_ldap_auth_config`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/gateway-update-ldap-auth-config', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GatewayUpdateLdapAuthConfigOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def gateway_update_log_forwarding_aws_s3(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_aws_s3 # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_log_forwarding_aws_s3(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateLogForwardingAwsS3 body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: GatewayUpdateLogForwardingOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.gateway_update_log_forwarding_aws_s3_with_http_info(body, **kwargs) # noqa: E501 + + def gateway_update_log_forwarding_aws_s3_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_aws_s3 # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.gateway_update_log_forwarding_aws_s3_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param GatewayUpdateLogForwardingAwsS3 body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method gateway_update_log_forwarding_aws_s3" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_list_rotated_secrets`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_aws_s3`") # noqa: E501 collection_formats = {} @@ -23906,14 +25990,14 @@ def gateway_list_rotated_secrets_with_http_info(self, body, **kwargs): # noqa: auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-list-rotated-secrets', 'POST', + '/gateway-update-log-forwarding-aws-s3', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='ListItemsOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -23921,16 +26005,16 @@ def gateway_list_rotated_secrets_with_http_info(self, body, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_migrate_personal_items(self, **kwargs): # noqa: E501 - """gateway_migrate_personal_items # noqa: E501 + def gateway_update_log_forwarding_azure_analytics(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_azure_analytics # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_migrate_personal_items(async_req=True) + >>> thread = api.gateway_update_log_forwarding_azure_analytics(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayMigratePersonalItems body: + :param GatewayUpdateLogForwardingAzureAnalytics body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -23938,23 +26022,23 @@ def gateway_migrate_personal_items(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayMigratePersonalItemsOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_migrate_personal_items_with_http_info(**kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_azure_analytics_with_http_info(body, **kwargs) # noqa: E501 - def gateway_migrate_personal_items_with_http_info(self, **kwargs): # noqa: E501 - """gateway_migrate_personal_items # noqa: E501 + def gateway_update_log_forwarding_azure_analytics_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_azure_analytics # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_migrate_personal_items_with_http_info(async_req=True) + >>> thread = api.gateway_update_log_forwarding_azure_analytics_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayMigratePersonalItems body: + :param GatewayUpdateLogForwardingAzureAnalytics body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -23964,7 +26048,7 @@ def gateway_migrate_personal_items_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayMigratePersonalItemsOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -23987,10 +26071,14 @@ def gateway_migrate_personal_items_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_migrate_personal_items" % key + " to method gateway_update_log_forwarding_azure_analytics" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_azure_analytics`") # noqa: E501 collection_formats = {} @@ -24018,14 +26106,14 @@ def gateway_migrate_personal_items_with_http_info(self, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-migrate-personal-items', 'POST', + '/gateway-update-log-forwarding-azure-analytics', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayMigratePersonalItemsOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24033,16 +26121,16 @@ def gateway_migrate_personal_items_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_revoke_tmp_users(self, body, **kwargs): # noqa: E501 - """gateway_revoke_tmp_users # noqa: E501 + def gateway_update_log_forwarding_datadog(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_datadog # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_revoke_tmp_users(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_datadog(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayRevokeTmpUsers body: (required) + :param GatewayUpdateLogForwardingDatadog body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24050,23 +26138,23 @@ def gateway_revoke_tmp_users(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: None + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_revoke_tmp_users_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_datadog_with_http_info(body, **kwargs) # noqa: E501 - def gateway_revoke_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_revoke_tmp_users # noqa: E501 + def gateway_update_log_forwarding_datadog_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_datadog # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_revoke_tmp_users_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_datadog_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayRevokeTmpUsers body: (required) + :param GatewayUpdateLogForwardingDatadog body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24076,7 +26164,7 @@ def gateway_revoke_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: None + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24099,14 +26187,14 @@ def gateway_revoke_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_revoke_tmp_users" % key + " to method gateway_update_log_forwarding_datadog" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_revoke_tmp_users`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_datadog`") # noqa: E501 collection_formats = {} @@ -24134,14 +26222,14 @@ def gateway_revoke_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-revoke-producer-tmp-creds', 'POST', + '/gateway-update-log-forwarding-datadog', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type=None, # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24149,16 +26237,16 @@ def gateway_revoke_tmp_users_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_start_producer(self, body, **kwargs): # noqa: E501 - """gateway_start_producer # noqa: E501 + def gateway_update_log_forwarding_elasticsearch(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_elasticsearch # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_start_producer(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_elasticsearch(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayStartProducer body: (required) + :param GatewayUpdateLogForwardingElasticsearch body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24166,23 +26254,23 @@ def gateway_start_producer(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayStartProducerOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_start_producer_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_elasticsearch_with_http_info(body, **kwargs) # noqa: E501 - def gateway_start_producer_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_start_producer # noqa: E501 + def gateway_update_log_forwarding_elasticsearch_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_elasticsearch # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_start_producer_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_elasticsearch_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayStartProducer body: (required) + :param GatewayUpdateLogForwardingElasticsearch body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24192,7 +26280,7 @@ def gateway_start_producer_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayStartProducerOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24215,14 +26303,14 @@ def gateway_start_producer_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_start_producer" % key + " to method gateway_update_log_forwarding_elasticsearch" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_start_producer`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_elasticsearch`") # noqa: E501 collection_formats = {} @@ -24250,14 +26338,14 @@ def gateway_start_producer_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-start-producer', 'POST', + '/gateway-update-log-forwarding-elasticsearch', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayStartProducerOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24265,16 +26353,16 @@ def gateway_start_producer_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_status_migration(self, body, **kwargs): # noqa: E501 - """gateway_status_migration # noqa: E501 + def gateway_update_log_forwarding_google_chronicle(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_google_chronicle # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_status_migration(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_google_chronicle(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayStatusMigration body: (required) + :param GatewayUpdateLogForwardingGoogleChronicle body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24282,23 +26370,23 @@ def gateway_status_migration(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: MigrationStatusReplyObj + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_status_migration_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_google_chronicle_with_http_info(body, **kwargs) # noqa: E501 - def gateway_status_migration_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_status_migration # noqa: E501 + def gateway_update_log_forwarding_google_chronicle_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_google_chronicle # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_status_migration_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_google_chronicle_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayStatusMigration body: (required) + :param GatewayUpdateLogForwardingGoogleChronicle body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24308,7 +26396,7 @@ def gateway_status_migration_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(MigrationStatusReplyObj, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24331,14 +26419,14 @@ def gateway_status_migration_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_status_migration" % key + " to method gateway_update_log_forwarding_google_chronicle" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_status_migration`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_google_chronicle`") # noqa: E501 collection_formats = {} @@ -24366,14 +26454,14 @@ def gateway_status_migration_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-migration-status', 'POST', + '/gateway-update-log-forwarding-google-chronicle', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='MigrationStatusReplyObj', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24381,16 +26469,16 @@ def gateway_status_migration_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_stop_producer(self, body, **kwargs): # noqa: E501 - """gateway_stop_producer # noqa: E501 + def gateway_update_log_forwarding_logstash(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_logstash # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_stop_producer(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_logstash(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayStopProducer body: (required) + :param GatewayUpdateLogForwardingLogstash body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24398,23 +26486,23 @@ def gateway_stop_producer(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayStopProducerOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_stop_producer_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_logstash_with_http_info(body, **kwargs) # noqa: E501 - def gateway_stop_producer_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_stop_producer # noqa: E501 + def gateway_update_log_forwarding_logstash_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_logstash # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_stop_producer_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_logstash_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayStopProducer body: (required) + :param GatewayUpdateLogForwardingLogstash body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24424,7 +26512,7 @@ def gateway_stop_producer_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayStopProducerOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24447,14 +26535,14 @@ def gateway_stop_producer_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_stop_producer" % key + " to method gateway_update_log_forwarding_logstash" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_stop_producer`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_logstash`") # noqa: E501 collection_formats = {} @@ -24482,14 +26570,14 @@ def gateway_stop_producer_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-stop-producer', 'POST', + '/gateway-update-log-forwarding-logstash', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayStopProducerOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24497,16 +26585,16 @@ def gateway_stop_producer_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_sync_migration(self, body, **kwargs): # noqa: E501 - """gateway_sync_migration # noqa: E501 + def gateway_update_log_forwarding_logz_io(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_logz_io # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_sync_migration(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_logz_io(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewaySyncMigration body: (required) + :param GatewayUpdateLogForwardingLogzIo body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24514,23 +26602,23 @@ def gateway_sync_migration(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayMigrationSyncOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_sync_migration_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_logz_io_with_http_info(body, **kwargs) # noqa: E501 - def gateway_sync_migration_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_sync_migration # noqa: E501 + def gateway_update_log_forwarding_logz_io_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_logz_io # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_sync_migration_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_logz_io_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewaySyncMigration body: (required) + :param GatewayUpdateLogForwardingLogzIo body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24540,7 +26628,7 @@ def gateway_sync_migration_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayMigrationSyncOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24563,14 +26651,14 @@ def gateway_sync_migration_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_sync_migration" % key + " to method gateway_update_log_forwarding_logz_io" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_sync_migration`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_logz_io`") # noqa: E501 collection_formats = {} @@ -24598,14 +26686,14 @@ def gateway_sync_migration_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-sync-migration', 'POST', + '/gateway-update-log-forwarding-logz-io', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayMigrationSyncOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24613,16 +26701,16 @@ def gateway_sync_migration_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_update_allowed_access(self, body, **kwargs): # noqa: E501 - """gateway_update_allowed_access # noqa: E501 + def gateway_update_log_forwarding_splunk(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_splunk # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_allowed_access(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_splunk(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateAllowedAccess body: (required) + :param GatewayUpdateLogForwardingSplunk body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24630,23 +26718,23 @@ def gateway_update_allowed_access(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: AllowedAccess + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_update_allowed_access_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_splunk_with_http_info(body, **kwargs) # noqa: E501 - def gateway_update_allowed_access_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_update_allowed_access # noqa: E501 + def gateway_update_log_forwarding_splunk_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_splunk # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_allowed_access_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_splunk_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateAllowedAccess body: (required) + :param GatewayUpdateLogForwardingSplunk body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24656,7 +26744,7 @@ def gateway_update_allowed_access_with_http_info(self, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(AllowedAccess, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24679,14 +26767,14 @@ def gateway_update_allowed_access_with_http_info(self, body, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_update_allowed_access" % key + " to method gateway_update_log_forwarding_splunk" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_allowed_access`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_splunk`") # noqa: E501 collection_formats = {} @@ -24714,14 +26802,14 @@ def gateway_update_allowed_access_with_http_info(self, body, **kwargs): # noqa: auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-update-allowed-access', 'POST', + '/gateway-update-log-forwarding-splunk', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='AllowedAccess', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24729,16 +26817,16 @@ def gateway_update_allowed_access_with_http_info(self, body, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_update_item(self, body, **kwargs): # noqa: E501 - """gateway_update_item # noqa: E501 + def gateway_update_log_forwarding_stdout(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_stdout # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_item(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_stdout(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateItem body: (required) + :param GatewayUpdateLogForwardingStdout body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24746,23 +26834,23 @@ def gateway_update_item(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayUpdateItemOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_update_item_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_stdout_with_http_info(body, **kwargs) # noqa: E501 - def gateway_update_item_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_update_item # noqa: E501 + def gateway_update_log_forwarding_stdout_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_stdout # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_item_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_stdout_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateItem body: (required) + :param GatewayUpdateLogForwardingStdout body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24772,7 +26860,7 @@ def gateway_update_item_with_http_info(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayUpdateItemOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24795,14 +26883,14 @@ def gateway_update_item_with_http_info(self, body, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_update_item" % key + " to method gateway_update_log_forwarding_stdout" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_item`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_stdout`") # noqa: E501 collection_formats = {} @@ -24830,14 +26918,14 @@ def gateway_update_item_with_http_info(self, body, **kwargs): # noqa: E501 auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-update-item', 'POST', + '/gateway-update-log-forwarding-stdout', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayUpdateItemOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24845,16 +26933,16 @@ def gateway_update_item_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_update_k8_s_auth_config(self, body, **kwargs): # noqa: E501 - """gateway_update_k8_s_auth_config # noqa: E501 + def gateway_update_log_forwarding_sumologic(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_sumologic # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_k8_s_auth_config(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_sumologic(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateK8SAuthConfig body: (required) + :param GatewayUpdateLogForwardingSumologic body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24862,23 +26950,23 @@ def gateway_update_k8_s_auth_config(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayUpdateK8SAuthConfigOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_update_k8_s_auth_config_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_sumologic_with_http_info(body, **kwargs) # noqa: E501 - def gateway_update_k8_s_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_update_k8_s_auth_config # noqa: E501 + def gateway_update_log_forwarding_sumologic_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_sumologic # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_k8_s_auth_config_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_sumologic_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateK8SAuthConfig body: (required) + :param GatewayUpdateLogForwardingSumologic body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24888,7 +26976,7 @@ def gateway_update_k8_s_auth_config_with_http_info(self, body, **kwargs): # noq number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayUpdateK8SAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -24911,14 +26999,14 @@ def gateway_update_k8_s_auth_config_with_http_info(self, body, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_update_k8_s_auth_config" % key + " to method gateway_update_log_forwarding_sumologic" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_k8_s_auth_config`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_sumologic`") # noqa: E501 collection_formats = {} @@ -24946,14 +27034,14 @@ def gateway_update_k8_s_auth_config_with_http_info(self, body, **kwargs): # noq auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-update-k8s-auth-config', 'POST', + '/gateway-update-log-forwarding-sumologic', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayUpdateK8SAuthConfigOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -24961,16 +27049,16 @@ def gateway_update_k8_s_auth_config_with_http_info(self, body, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def gateway_update_ldap_auth_config(self, body, **kwargs): # noqa: E501 - """gateway_update_ldap_auth_config # noqa: E501 + def gateway_update_log_forwarding_syslog(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_syslog # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_ldap_auth_config(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_syslog(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateLdapAuthConfig body: (required) + :param GatewayUpdateLogForwardingSyslog body: (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -24978,23 +27066,23 @@ def gateway_update_ldap_auth_config(self, body, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: GatewayUpdateLdapAuthConfigOutput + :return: GatewayUpdateLogForwardingOutput If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.gateway_update_ldap_auth_config_with_http_info(body, **kwargs) # noqa: E501 + return self.gateway_update_log_forwarding_syslog_with_http_info(body, **kwargs) # noqa: E501 - def gateway_update_ldap_auth_config_with_http_info(self, body, **kwargs): # noqa: E501 - """gateway_update_ldap_auth_config # noqa: E501 + def gateway_update_log_forwarding_syslog_with_http_info(self, body, **kwargs): # noqa: E501 + """gateway_update_log_forwarding_syslog # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.gateway_update_ldap_auth_config_with_http_info(body, async_req=True) + >>> thread = api.gateway_update_log_forwarding_syslog_with_http_info(body, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param GatewayUpdateLdapAuthConfig body: (required) + :param GatewayUpdateLogForwardingSyslog body: (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -25004,7 +27092,7 @@ def gateway_update_ldap_auth_config_with_http_info(self, body, **kwargs): # noq number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(GatewayUpdateLdapAuthConfigOutput, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(GatewayUpdateLogForwardingOutput, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -25027,14 +27115,14 @@ def gateway_update_ldap_auth_config_with_http_info(self, body, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method gateway_update_ldap_auth_config" % key + " to method gateway_update_log_forwarding_syslog" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'body' is set if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_ldap_auth_config`") # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `gateway_update_log_forwarding_syslog`") # noqa: E501 collection_formats = {} @@ -25062,14 +27150,14 @@ def gateway_update_ldap_auth_config_with_http_info(self, body, **kwargs): # noq auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/gateway-update-ldap-auth-config', 'POST', + '/gateway-update-log-forwarding-syslog', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='GatewayUpdateLdapAuthConfigOutput', # noqa: E501 + response_type='GatewayUpdateLogForwardingOutput', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -44943,6 +47031,122 @@ def update_group_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def update_hashi_vault_target(self, body, **kwargs): # noqa: E501 + """update_hashi_vault_target # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_hashi_vault_target(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param UpdateHashiVaultTarget body: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: UpdateHashiVaultTargetOutput + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.update_hashi_vault_target_with_http_info(body, **kwargs) # noqa: E501 + + def update_hashi_vault_target_with_http_info(self, body, **kwargs): # noqa: E501 + """update_hashi_vault_target # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_hashi_vault_target_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param UpdateHashiVaultTarget body: (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(UpdateHashiVaultTargetOutput, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method update_hashi_vault_target" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `update_hashi_vault_target`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/update-hashi-vault-target', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UpdateHashiVaultTargetOutput', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def update_item(self, body, **kwargs): # noqa: E501 """update_item # noqa: E501 diff --git a/akeyless/api_client.py b/akeyless/api_client.py index 886ce637..c9afe3ed 100644 --- a/akeyless/api_client.py +++ b/akeyless/api_client.py @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/4.0.0/python' + self.user_agent = 'OpenAPI-Generator/4.1.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/akeyless/configuration.py b/akeyless/configuration.py index 00134764..3f00afaf 100644 --- a/akeyless/configuration.py +++ b/akeyless/configuration.py @@ -326,7 +326,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2.0\n"\ - "SDK Package Version: 4.0.0".\ + "SDK Package Version: 4.1.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/akeyless/models/__init__.py b/akeyless/models/__init__.py index dc407a90..b539b473 100644 --- a/akeyless/models/__init__.py +++ b/akeyless/models/__init__.py @@ -137,6 +137,8 @@ from akeyless.models.create_godaddy_target_output import CreateGodaddyTargetOutput from akeyless.models.create_group import CreateGroup from akeyless.models.create_group_output import CreateGroupOutput +from akeyless.models.create_hashi_vault_target import CreateHashiVaultTarget +from akeyless.models.create_hashi_vault_target_output import CreateHashiVaultTargetOutput from akeyless.models.create_key import CreateKey from akeyless.models.create_key_output import CreateKeyOutput from akeyless.models.create_ldap_target import CreateLdapTarget @@ -408,14 +410,19 @@ from akeyless.models.gateway_download_customer_fragments import GatewayDownloadCustomerFragments from akeyless.models.gateway_download_customer_fragments_output import GatewayDownloadCustomerFragmentsOutput from akeyless.models.gateway_get_allowed_access import GatewayGetAllowedAccess +from akeyless.models.gateway_get_cache import GatewayGetCache from akeyless.models.gateway_get_config import GatewayGetConfig +from akeyless.models.gateway_get_defaults import GatewayGetDefaults +from akeyless.models.gateway_get_defaults_output import GatewayGetDefaultsOutput from akeyless.models.gateway_get_k8_s_auth_config import GatewayGetK8SAuthConfig from akeyless.models.gateway_get_k8_s_auth_config_output import GatewayGetK8SAuthConfigOutput from akeyless.models.gateway_get_ldap_auth_config import GatewayGetLdapAuthConfig from akeyless.models.gateway_get_ldap_auth_config_output import GatewayGetLdapAuthConfigOutput +from akeyless.models.gateway_get_log_forwarding import GatewayGetLogForwarding from akeyless.models.gateway_get_migration import GatewayGetMigration from akeyless.models.gateway_get_producer import GatewayGetProducer from akeyless.models.gateway_get_tmp_users import GatewayGetTmpUsers +from akeyless.models.gateway_list_customer_fragments import GatewayListCustomerFragments from akeyless.models.gateway_list_migration import GatewayListMigration from akeyless.models.gateway_list_producers import GatewayListProducers from akeyless.models.gateway_list_rotated_secrets import GatewayListRotatedSecrets @@ -438,13 +445,28 @@ from akeyless.models.gateway_stop_producer_output import GatewayStopProducerOutput from akeyless.models.gateway_sync_migration import GatewaySyncMigration from akeyless.models.gateway_update_allowed_access import GatewayUpdateAllowedAccess +from akeyless.models.gateway_update_cache import GatewayUpdateCache +from akeyless.models.gateway_update_defaults import GatewayUpdateDefaults from akeyless.models.gateway_update_item import GatewayUpdateItem from akeyless.models.gateway_update_item_output import GatewayUpdateItemOutput from akeyless.models.gateway_update_k8_s_auth_config import GatewayUpdateK8SAuthConfig from akeyless.models.gateway_update_k8_s_auth_config_output import GatewayUpdateK8SAuthConfigOutput from akeyless.models.gateway_update_ldap_auth_config import GatewayUpdateLdapAuthConfig from akeyless.models.gateway_update_ldap_auth_config_output import GatewayUpdateLdapAuthConfigOutput +from akeyless.models.gateway_update_log_forwarding_aws_s3 import GatewayUpdateLogForwardingAwsS3 +from akeyless.models.gateway_update_log_forwarding_azure_analytics import GatewayUpdateLogForwardingAzureAnalytics +from akeyless.models.gateway_update_log_forwarding_datadog import GatewayUpdateLogForwardingDatadog +from akeyless.models.gateway_update_log_forwarding_elasticsearch import GatewayUpdateLogForwardingElasticsearch +from akeyless.models.gateway_update_log_forwarding_google_chronicle import GatewayUpdateLogForwardingGoogleChronicle +from akeyless.models.gateway_update_log_forwarding_logstash import GatewayUpdateLogForwardingLogstash +from akeyless.models.gateway_update_log_forwarding_logz_io import GatewayUpdateLogForwardingLogzIo +from akeyless.models.gateway_update_log_forwarding_output import GatewayUpdateLogForwardingOutput +from akeyless.models.gateway_update_log_forwarding_splunk import GatewayUpdateLogForwardingSplunk +from akeyless.models.gateway_update_log_forwarding_stdout import GatewayUpdateLogForwardingStdout +from akeyless.models.gateway_update_log_forwarding_sumologic import GatewayUpdateLogForwardingSumologic +from akeyless.models.gateway_update_log_forwarding_syslog import GatewayUpdateLogForwardingSyslog from akeyless.models.gateway_update_migration import GatewayUpdateMigration +from akeyless.models.gateway_update_output import GatewayUpdateOutput from akeyless.models.gateway_update_producer_artifactory import GatewayUpdateProducerArtifactory from akeyless.models.gateway_update_producer_artifactory_output import GatewayUpdateProducerArtifactoryOutput from akeyless.models.gateway_update_producer_aws import GatewayUpdateProducerAws @@ -544,6 +566,7 @@ from akeyless.models.gw_cluster_identity import GwClusterIdentity from akeyless.models.hashi_migration import HashiMigration from akeyless.models.hashi_payload import HashiPayload +from akeyless.models.hashi_vault_target_details import HashiVaultTargetDetails from akeyless.models.hmac import Hmac from akeyless.models.hmac_output import HmacOutput from akeyless.models.huawei_access_rules import HuaweiAccessRules @@ -825,6 +848,8 @@ from akeyless.models.update_godaddy_target_output import UpdateGodaddyTargetOutput from akeyless.models.update_group import UpdateGroup from akeyless.models.update_group_output import UpdateGroupOutput +from akeyless.models.update_hashi_vault_target import UpdateHashiVaultTarget +from akeyless.models.update_hashi_vault_target_output import UpdateHashiVaultTargetOutput from akeyless.models.update_item import UpdateItem from akeyless.models.update_item_output import UpdateItemOutput from akeyless.models.update_ldap_target import UpdateLdapTarget diff --git a/akeyless/models/assoc_target_item.py b/akeyless/models/assoc_target_item.py index d1f24823..74fe5823 100644 --- a/akeyless/models/assoc_target_item.py +++ b/akeyless/models/assoc_target_item.py @@ -47,6 +47,7 @@ class AssocTargetItem(object): 'post_provision_command': 'str', 'private_key_path': 'str', 'project_id': 'str', + 'protection_level': 'str', 'purpose': 'str', 'regions': 'list[str]', 'sra_association': 'bool', @@ -71,6 +72,7 @@ class AssocTargetItem(object): 'post_provision_command': 'post-provision-command', 'private_key_path': 'private-key-path', 'project_id': 'project-id', + 'protection_level': 'protection-level', 'purpose': 'purpose', 'regions': 'regions', 'sra_association': 'sra-association', @@ -81,7 +83,7 @@ class AssocTargetItem(object): 'vault_name': 'vault-name' } - def __init__(self, certificate_path=None, chain_path=None, disable_previous_key_version=False, json=False, key_operations=None, keyring_name=None, kms_algorithm=None, location_id=None, multi_region='false', name=None, post_provision_command=None, private_key_path=None, project_id=None, purpose=None, regions=None, sra_association=False, target_name=None, tenant_secret_type=None, token=None, uid_token=None, vault_name=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, certificate_path=None, chain_path=None, disable_previous_key_version=False, json=False, key_operations=None, keyring_name=None, kms_algorithm=None, location_id=None, multi_region='false', name=None, post_provision_command=None, private_key_path=None, project_id=None, protection_level='software', purpose=None, regions=None, sra_association=False, target_name=None, tenant_secret_type=None, token=None, uid_token=None, vault_name=None, local_vars_configuration=None): # noqa: E501 """AssocTargetItem - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -100,6 +102,7 @@ def __init__(self, certificate_path=None, chain_path=None, disable_previous_key_ self._post_provision_command = None self._private_key_path = None self._project_id = None + self._protection_level = None self._purpose = None self._regions = None self._sra_association = None @@ -135,6 +138,8 @@ def __init__(self, certificate_path=None, chain_path=None, disable_previous_key_ self.private_key_path = private_key_path if project_id is not None: self.project_id = project_id + if protection_level is not None: + self.protection_level = protection_level if purpose is not None: self.purpose = purpose if regions is not None: @@ -452,6 +457,29 @@ def project_id(self, project_id): self._project_id = project_id + @property + def protection_level(self): + """Gets the protection_level of this AssocTargetItem. # noqa: E501 + + Protection level of the key [software/hardware] (relevant for gcp targets) # noqa: E501 + + :return: The protection_level of this AssocTargetItem. # noqa: E501 + :rtype: str + """ + return self._protection_level + + @protection_level.setter + def protection_level(self, protection_level): + """Sets the protection_level of this AssocTargetItem. + + Protection level of the key [software/hardware] (relevant for gcp targets) # noqa: E501 + + :param protection_level: The protection_level of this AssocTargetItem. # noqa: E501 + :type: str + """ + + self._protection_level = protection_level + @property def purpose(self): """Gets the purpose of this AssocTargetItem. # noqa: E501 diff --git a/akeyless/models/bastion_list_entry.py b/akeyless/models/bastion_list_entry.py index 0d5f2257..cab42ab8 100644 --- a/akeyless/models/bastion_list_entry.py +++ b/akeyless/models/bastion_list_entry.py @@ -40,6 +40,7 @@ class BastionListEntry(object): 'allowed_urls_per_instance': 'dict(str, list[str])', 'cluster_name': 'str', 'display_name': 'str', + 'has_gateway_identity': 'bool', 'last_report': 'datetime' } @@ -50,10 +51,11 @@ class BastionListEntry(object): 'allowed_urls_per_instance': 'allowed_urls_per_instance', 'cluster_name': 'cluster_name', 'display_name': 'display_name', + 'has_gateway_identity': 'has_gateway_identity', 'last_report': 'last_report' } - def __init__(self, access_id=None, allowed_access_ids=None, allowed_urls=None, allowed_urls_per_instance=None, cluster_name=None, display_name=None, last_report=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, access_id=None, allowed_access_ids=None, allowed_urls=None, allowed_urls_per_instance=None, cluster_name=None, display_name=None, has_gateway_identity=None, last_report=None, local_vars_configuration=None): # noqa: E501 """BastionListEntry - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -65,6 +67,7 @@ def __init__(self, access_id=None, allowed_access_ids=None, allowed_urls=None, a self._allowed_urls_per_instance = None self._cluster_name = None self._display_name = None + self._has_gateway_identity = None self._last_report = None self.discriminator = None @@ -80,6 +83,8 @@ def __init__(self, access_id=None, allowed_access_ids=None, allowed_urls=None, a self.cluster_name = cluster_name if display_name is not None: self.display_name = display_name + if has_gateway_identity is not None: + self.has_gateway_identity = has_gateway_identity if last_report is not None: self.last_report = last_report @@ -209,6 +214,27 @@ def display_name(self, display_name): self._display_name = display_name + @property + def has_gateway_identity(self): + """Gets the has_gateway_identity of this BastionListEntry. # noqa: E501 + + + :return: The has_gateway_identity of this BastionListEntry. # noqa: E501 + :rtype: bool + """ + return self._has_gateway_identity + + @has_gateway_identity.setter + def has_gateway_identity(self, has_gateway_identity): + """Sets the has_gateway_identity of this BastionListEntry. + + + :param has_gateway_identity: The has_gateway_identity of this BastionListEntry. # noqa: E501 + :type: bool + """ + + self._has_gateway_identity = has_gateway_identity + @property def last_report(self): """Gets the last_report of this BastionListEntry. # noqa: E501 diff --git a/akeyless/models/create_hashi_vault_target.py b/akeyless/models/create_hashi_vault_target.py new file mode 100644 index 00000000..866fa289 --- /dev/null +++ b/akeyless/models/create_hashi_vault_target.py @@ -0,0 +1,376 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class CreateHashiVaultTarget(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'hashi_url': 'str', + 'json': 'bool', + 'key': 'str', + 'max_versions': 'str', + 'name': 'str', + 'namespace': 'list[str]', + 'token': 'str', + 'uid_token': 'str', + 'vault_token': 'str' + } + + attribute_map = { + 'description': 'description', + 'hashi_url': 'hashi-url', + 'json': 'json', + 'key': 'key', + 'max_versions': 'max-versions', + 'name': 'name', + 'namespace': 'namespace', + 'token': 'token', + 'uid_token': 'uid-token', + 'vault_token': 'vault-token' + } + + def __init__(self, description=None, hashi_url=None, json=False, key=None, max_versions=None, name=None, namespace=None, token=None, uid_token=None, vault_token=None, local_vars_configuration=None): # noqa: E501 + """CreateHashiVaultTarget - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._hashi_url = None + self._json = None + self._key = None + self._max_versions = None + self._name = None + self._namespace = None + self._token = None + self._uid_token = None + self._vault_token = None + self.discriminator = None + + if description is not None: + self.description = description + if hashi_url is not None: + self.hashi_url = hashi_url + if json is not None: + self.json = json + if key is not None: + self.key = key + if max_versions is not None: + self.max_versions = max_versions + self.name = name + if namespace is not None: + self.namespace = namespace + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + if vault_token is not None: + self.vault_token = vault_token + + @property + def description(self): + """Gets the description of this CreateHashiVaultTarget. # noqa: E501 + + Description of the object # noqa: E501 + + :return: The description of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateHashiVaultTarget. + + Description of the object # noqa: E501 + + :param description: The description of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def hashi_url(self): + """Gets the hashi_url of this CreateHashiVaultTarget. # noqa: E501 + + HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 # noqa: E501 + + :return: The hashi_url of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._hashi_url + + @hashi_url.setter + def hashi_url(self, hashi_url): + """Sets the hashi_url of this CreateHashiVaultTarget. + + HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 # noqa: E501 + + :param hashi_url: The hashi_url of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._hashi_url = hashi_url + + @property + def json(self): + """Gets the json of this CreateHashiVaultTarget. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this CreateHashiVaultTarget. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this CreateHashiVaultTarget. + + Set output format to JSON # noqa: E501 + + :param json: The json of this CreateHashiVaultTarget. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def key(self): + """Gets the key of this CreateHashiVaultTarget. # noqa: E501 + + The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) # noqa: E501 + + :return: The key of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this CreateHashiVaultTarget. + + The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) # noqa: E501 + + :param key: The key of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def max_versions(self): + """Gets the max_versions of this CreateHashiVaultTarget. # noqa: E501 + + Set the maximum number of versions, limited by the account settings defaults. # noqa: E501 + + :return: The max_versions of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._max_versions + + @max_versions.setter + def max_versions(self, max_versions): + """Sets the max_versions of this CreateHashiVaultTarget. + + Set the maximum number of versions, limited by the account settings defaults. # noqa: E501 + + :param max_versions: The max_versions of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._max_versions = max_versions + + @property + def name(self): + """Gets the name of this CreateHashiVaultTarget. # noqa: E501 + + Target name # noqa: E501 + + :return: The name of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateHashiVaultTarget. + + Target name # noqa: E501 + + :param name: The name of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this CreateHashiVaultTarget. # noqa: E501 + + Comma-separated list of vault namespaces # noqa: E501 + + :return: The namespace of this CreateHashiVaultTarget. # noqa: E501 + :rtype: list[str] + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this CreateHashiVaultTarget. + + Comma-separated list of vault namespaces # noqa: E501 + + :param namespace: The namespace of this CreateHashiVaultTarget. # noqa: E501 + :type: list[str] + """ + + self._namespace = namespace + + @property + def token(self): + """Gets the token of this CreateHashiVaultTarget. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this CreateHashiVaultTarget. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this CreateHashiVaultTarget. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this CreateHashiVaultTarget. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + @property + def vault_token(self): + """Gets the vault_token of this CreateHashiVaultTarget. # noqa: E501 + + Vault access token with sufficient permissions # noqa: E501 + + :return: The vault_token of this CreateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._vault_token + + @vault_token.setter + def vault_token(self, vault_token): + """Sets the vault_token of this CreateHashiVaultTarget. + + Vault access token with sufficient permissions # noqa: E501 + + :param vault_token: The vault_token of this CreateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._vault_token = vault_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateHashiVaultTarget): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateHashiVaultTarget): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/create_hashi_vault_target_output.py b/akeyless/models/create_hashi_vault_target_output.py new file mode 100644 index 00000000..4a56f983 --- /dev/null +++ b/akeyless/models/create_hashi_vault_target_output.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class CreateHashiVaultTargetOutput(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'target_id': 'int' + } + + attribute_map = { + 'target_id': 'target_id' + } + + def __init__(self, target_id=None, local_vars_configuration=None): # noqa: E501 + """CreateHashiVaultTargetOutput - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._target_id = None + self.discriminator = None + + if target_id is not None: + self.target_id = target_id + + @property + def target_id(self): + """Gets the target_id of this CreateHashiVaultTargetOutput. # noqa: E501 + + + :return: The target_id of this CreateHashiVaultTargetOutput. # noqa: E501 + :rtype: int + """ + return self._target_id + + @target_id.setter + def target_id(self, target_id): + """Sets the target_id of this CreateHashiVaultTargetOutput. + + + :param target_id: The target_id of this CreateHashiVaultTargetOutput. # noqa: E501 + :type: int + """ + + self._target_id = target_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateHashiVaultTargetOutput): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CreateHashiVaultTargetOutput): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/create_rotated_secret.py b/akeyless/models/create_rotated_secret.py index b25c5da2..28a3cddd 100644 --- a/akeyless/models/create_rotated_secret.py +++ b/akeyless/models/create_rotated_secret.py @@ -145,7 +145,7 @@ class CreateRotatedSecret(object): 'user_dn': 'user-dn' } - def __init__(self, provider_type=None, api_id=None, api_key=None, application_id=None, authentication_credentials='use-user-creds', auto_rotate=None, aws_region='us-east-2', custom_payload=None, delete_protection=None, description=None, gcp_key=None, gcp_service_account_email=None, gcp_service_account_key_id=None, grace_rotation=None, host_provider='explicit', json=False, key=None, metadata=None, name=None, password_length=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_creds_type=None, rotator_custom_cmd=None, rotator_type=None, same_password=None, secure_access_allow_external_user=False, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_bastion_issuer=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, ssh_password=None, ssh_username=None, storage_account_key_name=None, tags=None, target=None, target_name=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, api_id=None, api_key=None, application_id=None, authentication_credentials='use-user-creds', auto_rotate=None, aws_region='us-east-2', custom_payload=None, delete_protection=None, description=None, gcp_key=None, gcp_service_account_email=None, gcp_service_account_key_id=None, grace_rotation=None, host_provider=None, json=False, key=None, metadata=None, name=None, password_length=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_creds_type=None, rotator_custom_cmd=None, rotator_type=None, same_password=None, secure_access_allow_external_user=False, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_bastion_issuer=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, ssh_password=None, ssh_username=None, storage_account_key_name=None, tags=None, target=None, target_name=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 """CreateRotatedSecret - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -634,7 +634,7 @@ def grace_rotation(self, grace_rotation): def host_provider(self): """Gets the host_provider of this CreateRotatedSecret. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this CreateRotatedSecret. # noqa: E501 :rtype: str @@ -645,7 +645,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this CreateRotatedSecret. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this CreateRotatedSecret. # noqa: E501 :type: str @@ -1395,7 +1395,7 @@ def tags(self, tags): def target(self): """Gets the target of this CreateRotatedSecret. # noqa: E501 - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :return: The target of this CreateRotatedSecret. # noqa: E501 :rtype: list[str] @@ -1406,7 +1406,7 @@ def target(self): def target(self, target): """Sets the target of this CreateRotatedSecret. - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :param target: The target of this CreateRotatedSecret. # noqa: E501 :type: list[str] diff --git a/akeyless/models/create_ssh_cert_issuer.py b/akeyless/models/create_ssh_cert_issuer.py index 1cba329c..bf0b44e0 100644 --- a/akeyless/models/create_ssh_cert_issuer.py +++ b/akeyless/models/create_ssh_cert_issuer.py @@ -83,7 +83,7 @@ class CreateSSHCertIssuer(object): 'uid_token': 'uid-token' } - def __init__(self, provider_type=None, allowed_users=None, delete_protection=None, description=None, extensions=None, host_provider='explicit', json=False, metadata=None, name=None, principals=None, secure_access_bastion_api=None, secure_access_bastion_ssh=None, secure_access_enable=None, secure_access_host=None, secure_access_ssh_creds_user=None, secure_access_use_internal_bastion=None, signer_key_name=None, tag=None, target=None, token=None, ttl=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, allowed_users=None, delete_protection=None, description=None, extensions=None, host_provider=None, json=False, metadata=None, name=None, principals=None, secure_access_bastion_api=None, secure_access_bastion_ssh=None, secure_access_enable=None, secure_access_host=None, secure_access_ssh_creds_user=None, secure_access_use_internal_bastion=None, signer_key_name=None, tag=None, target=None, token=None, ttl=None, uid_token=None, local_vars_configuration=None): # noqa: E501 """CreateSSHCertIssuer - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -273,7 +273,7 @@ def extensions(self, extensions): def host_provider(self): """Gets the host_provider of this CreateSSHCertIssuer. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this CreateSSHCertIssuer. # noqa: E501 :rtype: str @@ -284,7 +284,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this CreateSSHCertIssuer. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this CreateSSHCertIssuer. # noqa: E501 :type: str @@ -576,7 +576,7 @@ def tag(self, tag): def target(self): """Gets the target of this CreateSSHCertIssuer. # noqa: E501 - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :return: The target of this CreateSSHCertIssuer. # noqa: E501 :rtype: list[str] @@ -587,7 +587,7 @@ def target(self): def target(self, target): """Sets the target of this CreateSSHCertIssuer. - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :param target: The target of this CreateSSHCertIssuer. # noqa: E501 :type: list[str] diff --git a/akeyless/models/decrypt_file.py b/akeyless/models/decrypt_file.py index 35686e03..b3fb1845 100644 --- a/akeyless/models/decrypt_file.py +++ b/akeyless/models/decrypt_file.py @@ -42,7 +42,8 @@ class DecryptFile(object): 'key_name': 'str', 'out': 'str', 'token': 'str', - 'uid_token': 'str' + 'uid_token': 'str', + 'version': 'int' } attribute_map = { @@ -54,10 +55,11 @@ class DecryptFile(object): 'key_name': 'key-name', 'out': 'out', 'token': 'token', - 'uid_token': 'uid-token' + 'uid_token': 'uid-token', + 'version': 'version' } - def __init__(self, cyphertext_header=None, display_id=None, _in=None, item_id=None, json=False, key_name=None, out=None, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, cyphertext_header=None, display_id=None, _in=None, item_id=None, json=False, key_name=None, out=None, token=None, uid_token=None, version=None, local_vars_configuration=None): # noqa: E501 """DecryptFile - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -72,6 +74,7 @@ def __init__(self, cyphertext_header=None, display_id=None, _in=None, item_id=No self._out = None self._token = None self._uid_token = None + self._version = None self.discriminator = None if cyphertext_header is not None: @@ -90,6 +93,8 @@ def __init__(self, cyphertext_header=None, display_id=None, _in=None, item_id=No self.token = token if uid_token is not None: self.uid_token = uid_token + if version is not None: + self.version = version @property def cyphertext_header(self): @@ -300,6 +305,29 @@ def uid_token(self, uid_token): self._uid_token = uid_token + @property + def version(self): + """Gets the version of this DecryptFile. # noqa: E501 + + key version (relevant only for classic key) # noqa: E501 + + :return: The version of this DecryptFile. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this DecryptFile. + + key version (relevant only for classic key) # noqa: E501 + + :param version: The version of this DecryptFile. # noqa: E501 + :type: int + """ + + self._version = version + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/akeyless/models/dynamic_secret_create_google_workspace.py b/akeyless/models/dynamic_secret_create_google_workspace.py index 77c6ffa2..75a0d2fd 100644 --- a/akeyless/models/dynamic_secret_create_google_workspace.py +++ b/akeyless/models/dynamic_secret_create_google_workspace.py @@ -35,12 +35,12 @@ class DynamicSecretCreateGoogleWorkspace(object): """ openapi_types = { 'access_mode': 'str', - 'admin_name': 'str', + 'admin_email': 'str', 'delete_protection': 'str', 'description': 'str', 'gcp_key': 'str', - 'group_name': 'str', - 'group_role_type': 'str', + 'group_email': 'str', + 'group_role': 'str', 'json': 'bool', 'name': 'str', 'producer_encryption_key_name': 'str', @@ -55,12 +55,12 @@ class DynamicSecretCreateGoogleWorkspace(object): attribute_map = { 'access_mode': 'access-mode', - 'admin_name': 'admin-name', + 'admin_email': 'admin-email', 'delete_protection': 'delete_protection', 'description': 'description', 'gcp_key': 'gcp-key', - 'group_name': 'group-name', - 'group_role_type': 'group-role-type', + 'group_email': 'group-email', + 'group_role': 'group-role', 'json': 'json', 'name': 'name', 'producer_encryption_key_name': 'producer-encryption-key-name', @@ -73,19 +73,19 @@ class DynamicSecretCreateGoogleWorkspace(object): 'user_ttl': 'user-ttl' } - def __init__(self, access_mode=None, admin_name=None, delete_protection=None, description=None, gcp_key=None, group_name=None, group_role_type=None, json=False, name=None, producer_encryption_key_name=None, role_name=None, role_scope=None, tags=None, target_name=None, token=None, uid_token=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 + def __init__(self, access_mode=None, admin_email=None, delete_protection=None, description=None, gcp_key=None, group_email=None, group_role=None, json=False, name=None, producer_encryption_key_name=None, role_name=None, role_scope=None, tags=None, target_name=None, token=None, uid_token=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 """DynamicSecretCreateGoogleWorkspace - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._access_mode = None - self._admin_name = None + self._admin_email = None self._delete_protection = None self._description = None self._gcp_key = None - self._group_name = None - self._group_role_type = None + self._group_email = None + self._group_role = None self._json = None self._name = None self._producer_encryption_key_name = None @@ -99,17 +99,17 @@ def __init__(self, access_mode=None, admin_name=None, delete_protection=None, de self.discriminator = None self.access_mode = access_mode - self.admin_name = admin_name + self.admin_email = admin_email if delete_protection is not None: self.delete_protection = delete_protection if description is not None: self.description = description if gcp_key is not None: self.gcp_key = gcp_key - if group_name is not None: - self.group_name = group_name - if group_role_type is not None: - self.group_role_type = group_role_type + if group_email is not None: + self.group_email = group_email + if group_role is not None: + self.group_role = group_role if json is not None: self.json = json self.name = name @@ -154,29 +154,29 @@ def access_mode(self, access_mode): self._access_mode = access_mode @property - def admin_name(self): - """Gets the admin_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + def admin_email(self): + """Gets the admin_email of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 Admin user email # noqa: E501 - :return: The admin_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + :return: The admin_email of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :rtype: str """ - return self._admin_name + return self._admin_email - @admin_name.setter - def admin_name(self, admin_name): - """Sets the admin_name of this DynamicSecretCreateGoogleWorkspace. + @admin_email.setter + def admin_email(self, admin_email): + """Sets the admin_email of this DynamicSecretCreateGoogleWorkspace. Admin user email # noqa: E501 - :param admin_name: The admin_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + :param admin_email: The admin_email of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :type: str """ - if self.local_vars_configuration.client_side_validation and admin_name is None: # noqa: E501 - raise ValueError("Invalid value for `admin_name`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and admin_email is None: # noqa: E501 + raise ValueError("Invalid value for `admin_email`, must not be `None`") # noqa: E501 - self._admin_name = admin_name + self._admin_email = admin_email @property def delete_protection(self): @@ -248,48 +248,48 @@ def gcp_key(self, gcp_key): self._gcp_key = gcp_key @property - def group_name(self): - """Gets the group_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + def group_email(self): + """Gets the group_email of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 A group email, relevant only for group access-mode # noqa: E501 - :return: The group_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + :return: The group_email of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :rtype: str """ - return self._group_name + return self._group_email - @group_name.setter - def group_name(self, group_name): - """Sets the group_name of this DynamicSecretCreateGoogleWorkspace. + @group_email.setter + def group_email(self, group_email): + """Sets the group_email of this DynamicSecretCreateGoogleWorkspace. A group email, relevant only for group access-mode # noqa: E501 - :param group_name: The group_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + :param group_email: The group_email of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :type: str """ - self._group_name = group_name + self._group_email = group_email @property - def group_role_type(self): - """Gets the group_role_type of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + def group_role(self): + """Gets the group_role of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 - :return: The group_role_type of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + :return: The group_role of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :rtype: str """ - return self._group_role_type + return self._group_role - @group_role_type.setter - def group_role_type(self, group_role_type): - """Sets the group_role_type of this DynamicSecretCreateGoogleWorkspace. + @group_role.setter + def group_role(self, group_role): + """Sets the group_role of this DynamicSecretCreateGoogleWorkspace. - :param group_role_type: The group_role_type of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 + :param group_role: The group_role of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :type: str """ - self._group_role_type = group_role_type + self._group_role = group_role @property def json(self): @@ -433,7 +433,7 @@ def tags(self, tags): def target_name(self): """Gets the target_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 - Name of existing target to use in producer creation # noqa: E501 + Name of existing target to use in dynamic secret creation # noqa: E501 :return: The target_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :rtype: str @@ -444,7 +444,7 @@ def target_name(self): def target_name(self, target_name): """Sets the target_name of this DynamicSecretCreateGoogleWorkspace. - Name of existing target to use in producer creation # noqa: E501 + Name of existing target to use in dynamic secret creation # noqa: E501 :param target_name: The target_name of this DynamicSecretCreateGoogleWorkspace. # noqa: E501 :type: str diff --git a/akeyless/models/dynamic_secret_create_ldap.py b/akeyless/models/dynamic_secret_create_ldap.py index bd23fe9a..2ce19965 100644 --- a/akeyless/models/dynamic_secret_create_ldap.py +++ b/akeyless/models/dynamic_secret_create_ldap.py @@ -34,19 +34,26 @@ class DynamicSecretCreateLdap(object): and the value is json key in definition. """ openapi_types = { + 'provider_type': 'str', 'bind_dn': 'str', 'bind_dn_password': 'str', 'delete_protection': 'str', 'description': 'str', 'external_username': 'str', 'group_dn': 'str', + 'host_provider': 'str', 'json': 'bool', 'ldap_ca_cert': 'str', 'ldap_url': 'str', 'name': 'str', 'password_length': 'str', 'producer_encryption_key_name': 'str', + 'secure_access_enable': 'str', + 'secure_access_host': 'list[str]', + 'secure_access_rd_gateway_server': 'str', + 'secure_access_rdp_domain': 'str', 'tags': 'list[str]', + 'target': 'list[str]', 'target_name': 'str', 'token': 'str', 'token_expiration': 'str', @@ -57,19 +64,26 @@ class DynamicSecretCreateLdap(object): } attribute_map = { + 'provider_type': 'ProviderType', 'bind_dn': 'bind-dn', 'bind_dn_password': 'bind-dn-password', 'delete_protection': 'delete_protection', 'description': 'description', 'external_username': 'external-username', 'group_dn': 'group-dn', + 'host_provider': 'host-provider', 'json': 'json', 'ldap_ca_cert': 'ldap-ca-cert', 'ldap_url': 'ldap-url', 'name': 'name', 'password_length': 'password-length', 'producer_encryption_key_name': 'producer-encryption-key-name', + 'secure_access_enable': 'secure-access-enable', + 'secure_access_host': 'secure-access-host', + 'secure_access_rd_gateway_server': 'secure-access-rd-gateway-server', + 'secure_access_rdp_domain': 'secure-access-rdp-domain', 'tags': 'tags', + 'target': 'target', 'target_name': 'target-name', 'token': 'token', 'token_expiration': 'token-expiration', @@ -79,25 +93,32 @@ class DynamicSecretCreateLdap(object): 'user_ttl': 'user-ttl' } - def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, description=None, external_username='false', group_dn=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, password_length=None, producer_encryption_key_name=None, tags=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, bind_dn=None, bind_dn_password=None, delete_protection=None, description=None, external_username='false', group_dn=None, host_provider=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, password_length=None, producer_encryption_key_name=None, secure_access_enable=None, secure_access_host=None, secure_access_rd_gateway_server=None, secure_access_rdp_domain=None, tags=None, target=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 """DynamicSecretCreateLdap - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._provider_type = None self._bind_dn = None self._bind_dn_password = None self._delete_protection = None self._description = None self._external_username = None self._group_dn = None + self._host_provider = None self._json = None self._ldap_ca_cert = None self._ldap_url = None self._name = None self._password_length = None self._producer_encryption_key_name = None + self._secure_access_enable = None + self._secure_access_host = None + self._secure_access_rd_gateway_server = None + self._secure_access_rdp_domain = None self._tags = None + self._target = None self._target_name = None self._token = None self._token_expiration = None @@ -107,6 +128,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self._user_ttl = None self.discriminator = None + if provider_type is not None: + self.provider_type = provider_type if bind_dn is not None: self.bind_dn = bind_dn if bind_dn_password is not None: @@ -119,6 +142,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.external_username = external_username if group_dn is not None: self.group_dn = group_dn + if host_provider is not None: + self.host_provider = host_provider if json is not None: self.json = json if ldap_ca_cert is not None: @@ -130,8 +155,18 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.password_length = password_length if producer_encryption_key_name is not None: self.producer_encryption_key_name = producer_encryption_key_name + if secure_access_enable is not None: + self.secure_access_enable = secure_access_enable + if secure_access_host is not None: + self.secure_access_host = secure_access_host + if secure_access_rd_gateway_server is not None: + self.secure_access_rd_gateway_server = secure_access_rd_gateway_server + if secure_access_rdp_domain is not None: + self.secure_access_rdp_domain = secure_access_rdp_domain if tags is not None: self.tags = tags + if target is not None: + self.target = target if target_name is not None: self.target_name = target_name if token is not None: @@ -147,6 +182,27 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, if user_ttl is not None: self.user_ttl = user_ttl + @property + def provider_type(self): + """Gets the provider_type of this DynamicSecretCreateLdap. # noqa: E501 + + + :return: The provider_type of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: str + """ + return self._provider_type + + @provider_type.setter + def provider_type(self, provider_type): + """Sets the provider_type of this DynamicSecretCreateLdap. + + + :param provider_type: The provider_type of this DynamicSecretCreateLdap. # noqa: E501 + :type: str + """ + + self._provider_type = provider_type + @property def bind_dn(self): """Gets the bind_dn of this DynamicSecretCreateLdap. # noqa: E501 @@ -285,6 +341,29 @@ def group_dn(self, group_dn): self._group_dn = group_dn + @property + def host_provider(self): + """Gets the host_provider of this DynamicSecretCreateLdap. # noqa: E501 + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :return: The host_provider of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: str + """ + return self._host_provider + + @host_provider.setter + def host_provider(self, host_provider): + """Sets the host_provider of this DynamicSecretCreateLdap. + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :param host_provider: The host_provider of this DynamicSecretCreateLdap. # noqa: E501 + :type: str + """ + + self._host_provider = host_provider + @property def json(self): """Gets the json of this DynamicSecretCreateLdap. # noqa: E501 @@ -425,6 +504,98 @@ def producer_encryption_key_name(self, producer_encryption_key_name): self._producer_encryption_key_name = producer_encryption_key_name + @property + def secure_access_enable(self): + """Gets the secure_access_enable of this DynamicSecretCreateLdap. # noqa: E501 + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :return: The secure_access_enable of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_enable + + @secure_access_enable.setter + def secure_access_enable(self, secure_access_enable): + """Sets the secure_access_enable of this DynamicSecretCreateLdap. + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :param secure_access_enable: The secure_access_enable of this DynamicSecretCreateLdap. # noqa: E501 + :type: str + """ + + self._secure_access_enable = secure_access_enable + + @property + def secure_access_host(self): + """Gets the secure_access_host of this DynamicSecretCreateLdap. # noqa: E501 + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :return: The secure_access_host of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: list[str] + """ + return self._secure_access_host + + @secure_access_host.setter + def secure_access_host(self, secure_access_host): + """Sets the secure_access_host of this DynamicSecretCreateLdap. + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :param secure_access_host: The secure_access_host of this DynamicSecretCreateLdap. # noqa: E501 + :type: list[str] + """ + + self._secure_access_host = secure_access_host + + @property + def secure_access_rd_gateway_server(self): + """Gets the secure_access_rd_gateway_server of this DynamicSecretCreateLdap. # noqa: E501 + + RD Gateway server # noqa: E501 + + :return: The secure_access_rd_gateway_server of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rd_gateway_server + + @secure_access_rd_gateway_server.setter + def secure_access_rd_gateway_server(self, secure_access_rd_gateway_server): + """Sets the secure_access_rd_gateway_server of this DynamicSecretCreateLdap. + + RD Gateway server # noqa: E501 + + :param secure_access_rd_gateway_server: The secure_access_rd_gateway_server of this DynamicSecretCreateLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rd_gateway_server = secure_access_rd_gateway_server + + @property + def secure_access_rdp_domain(self): + """Gets the secure_access_rdp_domain of this DynamicSecretCreateLdap. # noqa: E501 + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :return: The secure_access_rdp_domain of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rdp_domain + + @secure_access_rdp_domain.setter + def secure_access_rdp_domain(self, secure_access_rdp_domain): + """Sets the secure_access_rdp_domain of this DynamicSecretCreateLdap. + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :param secure_access_rdp_domain: The secure_access_rdp_domain of this DynamicSecretCreateLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rdp_domain = secure_access_rdp_domain + @property def tags(self): """Gets the tags of this DynamicSecretCreateLdap. # noqa: E501 @@ -448,6 +619,29 @@ def tags(self, tags): self._tags = tags + @property + def target(self): + """Gets the target of this DynamicSecretCreateLdap. # noqa: E501 + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :return: The target of this DynamicSecretCreateLdap. # noqa: E501 + :rtype: list[str] + """ + return self._target + + @target.setter + def target(self, target): + """Sets the target of this DynamicSecretCreateLdap. + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :param target: The target of this DynamicSecretCreateLdap. # noqa: E501 + :type: list[str] + """ + + self._target = target + @property def target_name(self): """Gets the target_name of this DynamicSecretCreateLdap. # noqa: E501 diff --git a/akeyless/models/dynamic_secret_update_google_workspace.py b/akeyless/models/dynamic_secret_update_google_workspace.py index 32842518..f55fb4a3 100644 --- a/akeyless/models/dynamic_secret_update_google_workspace.py +++ b/akeyless/models/dynamic_secret_update_google_workspace.py @@ -35,12 +35,12 @@ class DynamicSecretUpdateGoogleWorkspace(object): """ openapi_types = { 'access_mode': 'str', - 'admin_name': 'str', + 'admin_email': 'str', 'delete_protection': 'str', 'description': 'str', 'gcp_key': 'str', - 'group_name': 'str', - 'group_role_type': 'str', + 'group_email': 'str', + 'group_role': 'str', 'json': 'bool', 'name': 'str', 'new_name': 'str', @@ -56,12 +56,12 @@ class DynamicSecretUpdateGoogleWorkspace(object): attribute_map = { 'access_mode': 'access-mode', - 'admin_name': 'admin-name', + 'admin_email': 'admin-email', 'delete_protection': 'delete_protection', 'description': 'description', 'gcp_key': 'gcp-key', - 'group_name': 'group-name', - 'group_role_type': 'group-role-type', + 'group_email': 'group-email', + 'group_role': 'group-role', 'json': 'json', 'name': 'name', 'new_name': 'new-name', @@ -75,19 +75,19 @@ class DynamicSecretUpdateGoogleWorkspace(object): 'user_ttl': 'user-ttl' } - def __init__(self, access_mode=None, admin_name=None, delete_protection=None, description=None, gcp_key=None, group_name=None, group_role_type=None, json=False, name=None, new_name=None, producer_encryption_key_name=None, role_name=None, role_scope=None, tags=None, target_name=None, token=None, uid_token=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 + def __init__(self, access_mode=None, admin_email=None, delete_protection=None, description=None, gcp_key=None, group_email=None, group_role=None, json=False, name=None, new_name=None, producer_encryption_key_name=None, role_name=None, role_scope=None, tags=None, target_name=None, token=None, uid_token=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 """DynamicSecretUpdateGoogleWorkspace - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._access_mode = None - self._admin_name = None + self._admin_email = None self._delete_protection = None self._description = None self._gcp_key = None - self._group_name = None - self._group_role_type = None + self._group_email = None + self._group_role = None self._json = None self._name = None self._new_name = None @@ -102,17 +102,17 @@ def __init__(self, access_mode=None, admin_name=None, delete_protection=None, de self.discriminator = None self.access_mode = access_mode - self.admin_name = admin_name + self.admin_email = admin_email if delete_protection is not None: self.delete_protection = delete_protection if description is not None: self.description = description if gcp_key is not None: self.gcp_key = gcp_key - if group_name is not None: - self.group_name = group_name - if group_role_type is not None: - self.group_role_type = group_role_type + if group_email is not None: + self.group_email = group_email + if group_role is not None: + self.group_role = group_role if json is not None: self.json = json self.name = name @@ -159,29 +159,29 @@ def access_mode(self, access_mode): self._access_mode = access_mode @property - def admin_name(self): - """Gets the admin_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + def admin_email(self): + """Gets the admin_email of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 Admin user email # noqa: E501 - :return: The admin_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + :return: The admin_email of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :rtype: str """ - return self._admin_name + return self._admin_email - @admin_name.setter - def admin_name(self, admin_name): - """Sets the admin_name of this DynamicSecretUpdateGoogleWorkspace. + @admin_email.setter + def admin_email(self, admin_email): + """Sets the admin_email of this DynamicSecretUpdateGoogleWorkspace. Admin user email # noqa: E501 - :param admin_name: The admin_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + :param admin_email: The admin_email of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :type: str """ - if self.local_vars_configuration.client_side_validation and admin_name is None: # noqa: E501 - raise ValueError("Invalid value for `admin_name`, must not be `None`") # noqa: E501 + if self.local_vars_configuration.client_side_validation and admin_email is None: # noqa: E501 + raise ValueError("Invalid value for `admin_email`, must not be `None`") # noqa: E501 - self._admin_name = admin_name + self._admin_email = admin_email @property def delete_protection(self): @@ -253,48 +253,48 @@ def gcp_key(self, gcp_key): self._gcp_key = gcp_key @property - def group_name(self): - """Gets the group_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + def group_email(self): + """Gets the group_email of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 A group email, relevant only for group access-mode # noqa: E501 - :return: The group_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + :return: The group_email of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :rtype: str """ - return self._group_name + return self._group_email - @group_name.setter - def group_name(self, group_name): - """Sets the group_name of this DynamicSecretUpdateGoogleWorkspace. + @group_email.setter + def group_email(self, group_email): + """Sets the group_email of this DynamicSecretUpdateGoogleWorkspace. A group email, relevant only for group access-mode # noqa: E501 - :param group_name: The group_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + :param group_email: The group_email of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :type: str """ - self._group_name = group_name + self._group_email = group_email @property - def group_role_type(self): - """Gets the group_role_type of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + def group_role(self): + """Gets the group_role of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 - :return: The group_role_type of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + :return: The group_role of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :rtype: str """ - return self._group_role_type + return self._group_role - @group_role_type.setter - def group_role_type(self, group_role_type): - """Sets the group_role_type of this DynamicSecretUpdateGoogleWorkspace. + @group_role.setter + def group_role(self, group_role): + """Sets the group_role of this DynamicSecretUpdateGoogleWorkspace. - :param group_role_type: The group_role_type of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 + :param group_role: The group_role of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :type: str """ - self._group_role_type = group_role_type + self._group_role = group_role @property def json(self): @@ -461,7 +461,7 @@ def tags(self, tags): def target_name(self): """Gets the target_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 - Name of existing target to use in producer creation # noqa: E501 + Name of existing target to use in dynamic secret creation # noqa: E501 :return: The target_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :rtype: str @@ -472,7 +472,7 @@ def target_name(self): def target_name(self, target_name): """Sets the target_name of this DynamicSecretUpdateGoogleWorkspace. - Name of existing target to use in producer creation # noqa: E501 + Name of existing target to use in dynamic secret creation # noqa: E501 :param target_name: The target_name of this DynamicSecretUpdateGoogleWorkspace. # noqa: E501 :type: str diff --git a/akeyless/models/dynamic_secret_update_ldap.py b/akeyless/models/dynamic_secret_update_ldap.py index adfd7021..c8a7caa0 100644 --- a/akeyless/models/dynamic_secret_update_ldap.py +++ b/akeyless/models/dynamic_secret_update_ldap.py @@ -34,12 +34,14 @@ class DynamicSecretUpdateLdap(object): and the value is json key in definition. """ openapi_types = { + 'provider_type': 'str', 'bind_dn': 'str', 'bind_dn_password': 'str', 'delete_protection': 'str', 'description': 'str', 'external_username': 'str', 'group_dn': 'str', + 'host_provider': 'str', 'json': 'bool', 'ldap_ca_cert': 'str', 'ldap_url': 'str', @@ -47,7 +49,12 @@ class DynamicSecretUpdateLdap(object): 'new_name': 'str', 'password_length': 'str', 'producer_encryption_key_name': 'str', + 'secure_access_enable': 'str', + 'secure_access_host': 'list[str]', + 'secure_access_rd_gateway_server': 'str', + 'secure_access_rdp_domain': 'str', 'tags': 'list[str]', + 'target': 'list[str]', 'target_name': 'str', 'token': 'str', 'token_expiration': 'str', @@ -58,12 +65,14 @@ class DynamicSecretUpdateLdap(object): } attribute_map = { + 'provider_type': 'ProviderType', 'bind_dn': 'bind-dn', 'bind_dn_password': 'bind-dn-password', 'delete_protection': 'delete_protection', 'description': 'description', 'external_username': 'external-username', 'group_dn': 'group-dn', + 'host_provider': 'host-provider', 'json': 'json', 'ldap_ca_cert': 'ldap-ca-cert', 'ldap_url': 'ldap-url', @@ -71,7 +80,12 @@ class DynamicSecretUpdateLdap(object): 'new_name': 'new-name', 'password_length': 'password-length', 'producer_encryption_key_name': 'producer-encryption-key-name', + 'secure_access_enable': 'secure-access-enable', + 'secure_access_host': 'secure-access-host', + 'secure_access_rd_gateway_server': 'secure-access-rd-gateway-server', + 'secure_access_rdp_domain': 'secure-access-rdp-domain', 'tags': 'tags', + 'target': 'target', 'target_name': 'target-name', 'token': 'token', 'token_expiration': 'token-expiration', @@ -81,18 +95,20 @@ class DynamicSecretUpdateLdap(object): 'user_ttl': 'user-ttl' } - def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, description=None, external_username='false', group_dn=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, new_name=None, password_length=None, producer_encryption_key_name=None, tags=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, bind_dn=None, bind_dn_password=None, delete_protection=None, description=None, external_username='false', group_dn=None, host_provider=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, new_name=None, password_length=None, producer_encryption_key_name=None, secure_access_enable=None, secure_access_host=None, secure_access_rd_gateway_server=None, secure_access_rdp_domain=None, tags=None, target=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 """DynamicSecretUpdateLdap - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._provider_type = None self._bind_dn = None self._bind_dn_password = None self._delete_protection = None self._description = None self._external_username = None self._group_dn = None + self._host_provider = None self._json = None self._ldap_ca_cert = None self._ldap_url = None @@ -100,7 +116,12 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self._new_name = None self._password_length = None self._producer_encryption_key_name = None + self._secure_access_enable = None + self._secure_access_host = None + self._secure_access_rd_gateway_server = None + self._secure_access_rdp_domain = None self._tags = None + self._target = None self._target_name = None self._token = None self._token_expiration = None @@ -110,6 +131,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self._user_ttl = None self.discriminator = None + if provider_type is not None: + self.provider_type = provider_type if bind_dn is not None: self.bind_dn = bind_dn if bind_dn_password is not None: @@ -122,6 +145,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.external_username = external_username if group_dn is not None: self.group_dn = group_dn + if host_provider is not None: + self.host_provider = host_provider if json is not None: self.json = json if ldap_ca_cert is not None: @@ -135,8 +160,18 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.password_length = password_length if producer_encryption_key_name is not None: self.producer_encryption_key_name = producer_encryption_key_name + if secure_access_enable is not None: + self.secure_access_enable = secure_access_enable + if secure_access_host is not None: + self.secure_access_host = secure_access_host + if secure_access_rd_gateway_server is not None: + self.secure_access_rd_gateway_server = secure_access_rd_gateway_server + if secure_access_rdp_domain is not None: + self.secure_access_rdp_domain = secure_access_rdp_domain if tags is not None: self.tags = tags + if target is not None: + self.target = target if target_name is not None: self.target_name = target_name if token is not None: @@ -152,6 +187,27 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, if user_ttl is not None: self.user_ttl = user_ttl + @property + def provider_type(self): + """Gets the provider_type of this DynamicSecretUpdateLdap. # noqa: E501 + + + :return: The provider_type of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: str + """ + return self._provider_type + + @provider_type.setter + def provider_type(self, provider_type): + """Sets the provider_type of this DynamicSecretUpdateLdap. + + + :param provider_type: The provider_type of this DynamicSecretUpdateLdap. # noqa: E501 + :type: str + """ + + self._provider_type = provider_type + @property def bind_dn(self): """Gets the bind_dn of this DynamicSecretUpdateLdap. # noqa: E501 @@ -290,6 +346,29 @@ def group_dn(self, group_dn): self._group_dn = group_dn + @property + def host_provider(self): + """Gets the host_provider of this DynamicSecretUpdateLdap. # noqa: E501 + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :return: The host_provider of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: str + """ + return self._host_provider + + @host_provider.setter + def host_provider(self, host_provider): + """Sets the host_provider of this DynamicSecretUpdateLdap. + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :param host_provider: The host_provider of this DynamicSecretUpdateLdap. # noqa: E501 + :type: str + """ + + self._host_provider = host_provider + @property def json(self): """Gets the json of this DynamicSecretUpdateLdap. # noqa: E501 @@ -453,6 +532,98 @@ def producer_encryption_key_name(self, producer_encryption_key_name): self._producer_encryption_key_name = producer_encryption_key_name + @property + def secure_access_enable(self): + """Gets the secure_access_enable of this DynamicSecretUpdateLdap. # noqa: E501 + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :return: The secure_access_enable of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_enable + + @secure_access_enable.setter + def secure_access_enable(self, secure_access_enable): + """Sets the secure_access_enable of this DynamicSecretUpdateLdap. + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :param secure_access_enable: The secure_access_enable of this DynamicSecretUpdateLdap. # noqa: E501 + :type: str + """ + + self._secure_access_enable = secure_access_enable + + @property + def secure_access_host(self): + """Gets the secure_access_host of this DynamicSecretUpdateLdap. # noqa: E501 + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :return: The secure_access_host of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: list[str] + """ + return self._secure_access_host + + @secure_access_host.setter + def secure_access_host(self, secure_access_host): + """Sets the secure_access_host of this DynamicSecretUpdateLdap. + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :param secure_access_host: The secure_access_host of this DynamicSecretUpdateLdap. # noqa: E501 + :type: list[str] + """ + + self._secure_access_host = secure_access_host + + @property + def secure_access_rd_gateway_server(self): + """Gets the secure_access_rd_gateway_server of this DynamicSecretUpdateLdap. # noqa: E501 + + RD Gateway server # noqa: E501 + + :return: The secure_access_rd_gateway_server of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rd_gateway_server + + @secure_access_rd_gateway_server.setter + def secure_access_rd_gateway_server(self, secure_access_rd_gateway_server): + """Sets the secure_access_rd_gateway_server of this DynamicSecretUpdateLdap. + + RD Gateway server # noqa: E501 + + :param secure_access_rd_gateway_server: The secure_access_rd_gateway_server of this DynamicSecretUpdateLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rd_gateway_server = secure_access_rd_gateway_server + + @property + def secure_access_rdp_domain(self): + """Gets the secure_access_rdp_domain of this DynamicSecretUpdateLdap. # noqa: E501 + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :return: The secure_access_rdp_domain of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rdp_domain + + @secure_access_rdp_domain.setter + def secure_access_rdp_domain(self, secure_access_rdp_domain): + """Sets the secure_access_rdp_domain of this DynamicSecretUpdateLdap. + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :param secure_access_rdp_domain: The secure_access_rdp_domain of this DynamicSecretUpdateLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rdp_domain = secure_access_rdp_domain + @property def tags(self): """Gets the tags of this DynamicSecretUpdateLdap. # noqa: E501 @@ -476,6 +647,29 @@ def tags(self, tags): self._tags = tags + @property + def target(self): + """Gets the target of this DynamicSecretUpdateLdap. # noqa: E501 + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :return: The target of this DynamicSecretUpdateLdap. # noqa: E501 + :rtype: list[str] + """ + return self._target + + @target.setter + def target(self, target): + """Sets the target of this DynamicSecretUpdateLdap. + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :param target: The target of this DynamicSecretUpdateLdap. # noqa: E501 + :type: list[str] + """ + + self._target = target + @property def target_name(self): """Gets the target_name of this DynamicSecretUpdateLdap. # noqa: E501 diff --git a/akeyless/models/gateway_create_producer_ldap.py b/akeyless/models/gateway_create_producer_ldap.py index 9601456d..048b0456 100644 --- a/akeyless/models/gateway_create_producer_ldap.py +++ b/akeyless/models/gateway_create_producer_ldap.py @@ -34,18 +34,25 @@ class GatewayCreateProducerLdap(object): and the value is json key in definition. """ openapi_types = { + 'provider_type': 'str', 'bind_dn': 'str', 'bind_dn_password': 'str', 'delete_protection': 'str', 'external_username': 'str', 'group_dn': 'str', + 'host_provider': 'str', 'json': 'bool', 'ldap_ca_cert': 'str', 'ldap_url': 'str', 'name': 'str', 'password_length': 'str', 'producer_encryption_key_name': 'str', + 'secure_access_enable': 'str', + 'secure_access_host': 'list[str]', + 'secure_access_rd_gateway_server': 'str', + 'secure_access_rdp_domain': 'str', 'tags': 'list[str]', + 'target': 'list[str]', 'target_name': 'str', 'token': 'str', 'token_expiration': 'str', @@ -56,18 +63,25 @@ class GatewayCreateProducerLdap(object): } attribute_map = { + 'provider_type': 'ProviderType', 'bind_dn': 'bind-dn', 'bind_dn_password': 'bind-dn-password', 'delete_protection': 'delete_protection', 'external_username': 'external-username', 'group_dn': 'group-dn', + 'host_provider': 'host-provider', 'json': 'json', 'ldap_ca_cert': 'ldap-ca-cert', 'ldap_url': 'ldap-url', 'name': 'name', 'password_length': 'password-length', 'producer_encryption_key_name': 'producer-encryption-key-name', + 'secure_access_enable': 'secure-access-enable', + 'secure_access_host': 'secure-access-host', + 'secure_access_rd_gateway_server': 'secure-access-rd-gateway-server', + 'secure_access_rdp_domain': 'secure-access-rdp-domain', 'tags': 'tags', + 'target': 'target', 'target_name': 'target-name', 'token': 'token', 'token_expiration': 'token-expiration', @@ -77,24 +91,31 @@ class GatewayCreateProducerLdap(object): 'user_ttl': 'user-ttl' } - def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, external_username='false', group_dn=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, password_length=None, producer_encryption_key_name=None, tags=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, bind_dn=None, bind_dn_password=None, delete_protection=None, external_username='false', group_dn=None, host_provider=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, password_length=None, producer_encryption_key_name=None, secure_access_enable=None, secure_access_host=None, secure_access_rd_gateway_server=None, secure_access_rdp_domain=None, tags=None, target=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 """GatewayCreateProducerLdap - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._provider_type = None self._bind_dn = None self._bind_dn_password = None self._delete_protection = None self._external_username = None self._group_dn = None + self._host_provider = None self._json = None self._ldap_ca_cert = None self._ldap_url = None self._name = None self._password_length = None self._producer_encryption_key_name = None + self._secure_access_enable = None + self._secure_access_host = None + self._secure_access_rd_gateway_server = None + self._secure_access_rdp_domain = None self._tags = None + self._target = None self._target_name = None self._token = None self._token_expiration = None @@ -104,6 +125,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self._user_ttl = None self.discriminator = None + if provider_type is not None: + self.provider_type = provider_type if bind_dn is not None: self.bind_dn = bind_dn if bind_dn_password is not None: @@ -114,6 +137,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.external_username = external_username if group_dn is not None: self.group_dn = group_dn + if host_provider is not None: + self.host_provider = host_provider if json is not None: self.json = json if ldap_ca_cert is not None: @@ -125,8 +150,18 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.password_length = password_length if producer_encryption_key_name is not None: self.producer_encryption_key_name = producer_encryption_key_name + if secure_access_enable is not None: + self.secure_access_enable = secure_access_enable + if secure_access_host is not None: + self.secure_access_host = secure_access_host + if secure_access_rd_gateway_server is not None: + self.secure_access_rd_gateway_server = secure_access_rd_gateway_server + if secure_access_rdp_domain is not None: + self.secure_access_rdp_domain = secure_access_rdp_domain if tags is not None: self.tags = tags + if target is not None: + self.target = target if target_name is not None: self.target_name = target_name if token is not None: @@ -142,6 +177,27 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, if user_ttl is not None: self.user_ttl = user_ttl + @property + def provider_type(self): + """Gets the provider_type of this GatewayCreateProducerLdap. # noqa: E501 + + + :return: The provider_type of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._provider_type + + @provider_type.setter + def provider_type(self, provider_type): + """Sets the provider_type of this GatewayCreateProducerLdap. + + + :param provider_type: The provider_type of this GatewayCreateProducerLdap. # noqa: E501 + :type: str + """ + + self._provider_type = provider_type + @property def bind_dn(self): """Gets the bind_dn of this GatewayCreateProducerLdap. # noqa: E501 @@ -257,6 +313,29 @@ def group_dn(self, group_dn): self._group_dn = group_dn + @property + def host_provider(self): + """Gets the host_provider of this GatewayCreateProducerLdap. # noqa: E501 + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :return: The host_provider of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._host_provider + + @host_provider.setter + def host_provider(self, host_provider): + """Sets the host_provider of this GatewayCreateProducerLdap. + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :param host_provider: The host_provider of this GatewayCreateProducerLdap. # noqa: E501 + :type: str + """ + + self._host_provider = host_provider + @property def json(self): """Gets the json of this GatewayCreateProducerLdap. # noqa: E501 @@ -397,6 +476,98 @@ def producer_encryption_key_name(self, producer_encryption_key_name): self._producer_encryption_key_name = producer_encryption_key_name + @property + def secure_access_enable(self): + """Gets the secure_access_enable of this GatewayCreateProducerLdap. # noqa: E501 + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :return: The secure_access_enable of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_enable + + @secure_access_enable.setter + def secure_access_enable(self, secure_access_enable): + """Sets the secure_access_enable of this GatewayCreateProducerLdap. + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :param secure_access_enable: The secure_access_enable of this GatewayCreateProducerLdap. # noqa: E501 + :type: str + """ + + self._secure_access_enable = secure_access_enable + + @property + def secure_access_host(self): + """Gets the secure_access_host of this GatewayCreateProducerLdap. # noqa: E501 + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :return: The secure_access_host of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: list[str] + """ + return self._secure_access_host + + @secure_access_host.setter + def secure_access_host(self, secure_access_host): + """Sets the secure_access_host of this GatewayCreateProducerLdap. + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :param secure_access_host: The secure_access_host of this GatewayCreateProducerLdap. # noqa: E501 + :type: list[str] + """ + + self._secure_access_host = secure_access_host + + @property + def secure_access_rd_gateway_server(self): + """Gets the secure_access_rd_gateway_server of this GatewayCreateProducerLdap. # noqa: E501 + + RD Gateway server # noqa: E501 + + :return: The secure_access_rd_gateway_server of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rd_gateway_server + + @secure_access_rd_gateway_server.setter + def secure_access_rd_gateway_server(self, secure_access_rd_gateway_server): + """Sets the secure_access_rd_gateway_server of this GatewayCreateProducerLdap. + + RD Gateway server # noqa: E501 + + :param secure_access_rd_gateway_server: The secure_access_rd_gateway_server of this GatewayCreateProducerLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rd_gateway_server = secure_access_rd_gateway_server + + @property + def secure_access_rdp_domain(self): + """Gets the secure_access_rdp_domain of this GatewayCreateProducerLdap. # noqa: E501 + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :return: The secure_access_rdp_domain of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rdp_domain + + @secure_access_rdp_domain.setter + def secure_access_rdp_domain(self, secure_access_rdp_domain): + """Sets the secure_access_rdp_domain of this GatewayCreateProducerLdap. + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :param secure_access_rdp_domain: The secure_access_rdp_domain of this GatewayCreateProducerLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rdp_domain = secure_access_rdp_domain + @property def tags(self): """Gets the tags of this GatewayCreateProducerLdap. # noqa: E501 @@ -420,6 +591,29 @@ def tags(self, tags): self._tags = tags + @property + def target(self): + """Gets the target of this GatewayCreateProducerLdap. # noqa: E501 + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :return: The target of this GatewayCreateProducerLdap. # noqa: E501 + :rtype: list[str] + """ + return self._target + + @target.setter + def target(self, target): + """Sets the target of this GatewayCreateProducerLdap. + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :param target: The target of this GatewayCreateProducerLdap. # noqa: E501 + :type: list[str] + """ + + self._target = target + @property def target_name(self): """Gets the target_name of this GatewayCreateProducerLdap. # noqa: E501 diff --git a/akeyless/models/gateway_get_cache.py b/akeyless/models/gateway_get_cache.py new file mode 100644 index 00000000..9b098017 --- /dev/null +++ b/akeyless/models/gateway_get_cache.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayGetCache(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'json': 'bool', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'json': 'json', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, json=False, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayGetCache - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._json = None + self._token = None + self._uid_token = None + self.discriminator = None + + if json is not None: + self.json = json + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def json(self): + """Gets the json of this GatewayGetCache. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayGetCache. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayGetCache. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayGetCache. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def token(self): + """Gets the token of this GatewayGetCache. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayGetCache. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayGetCache. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayGetCache. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayGetCache. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayGetCache. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayGetCache. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayGetCache. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayGetCache): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayGetCache): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_get_defaults.py b/akeyless/models/gateway_get_defaults.py new file mode 100644 index 00000000..06045f98 --- /dev/null +++ b/akeyless/models/gateway_get_defaults.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayGetDefaults(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'json': 'bool', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'json': 'json', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, json=False, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayGetDefaults - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._json = None + self._token = None + self._uid_token = None + self.discriminator = None + + if json is not None: + self.json = json + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def json(self): + """Gets the json of this GatewayGetDefaults. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayGetDefaults. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayGetDefaults. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayGetDefaults. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def token(self): + """Gets the token of this GatewayGetDefaults. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayGetDefaults. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayGetDefaults. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayGetDefaults. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayGetDefaults. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayGetDefaults. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayGetDefaults. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayGetDefaults. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayGetDefaults): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayGetDefaults): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_get_defaults_output.py b/akeyless/models/gateway_get_defaults_output.py new file mode 100644 index 00000000..27cc330f --- /dev/null +++ b/akeyless/models/gateway_get_defaults_output.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayGetDefaultsOutput(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'certificate_access_id': 'str', + 'default_protection_key_id': 'str', + 'notify_on_status_change': 'bool', + 'oidc_access_id': 'str', + 'saml_access_id': 'str' + } + + attribute_map = { + 'certificate_access_id': 'certificate_access_id', + 'default_protection_key_id': 'default_protection_key_id', + 'notify_on_status_change': 'notify_on_status_change', + 'oidc_access_id': 'oidc_access_id', + 'saml_access_id': 'saml_access_id' + } + + def __init__(self, certificate_access_id=None, default_protection_key_id=None, notify_on_status_change=None, oidc_access_id=None, saml_access_id=None, local_vars_configuration=None): # noqa: E501 + """GatewayGetDefaultsOutput - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._certificate_access_id = None + self._default_protection_key_id = None + self._notify_on_status_change = None + self._oidc_access_id = None + self._saml_access_id = None + self.discriminator = None + + if certificate_access_id is not None: + self.certificate_access_id = certificate_access_id + if default_protection_key_id is not None: + self.default_protection_key_id = default_protection_key_id + if notify_on_status_change is not None: + self.notify_on_status_change = notify_on_status_change + if oidc_access_id is not None: + self.oidc_access_id = oidc_access_id + if saml_access_id is not None: + self.saml_access_id = saml_access_id + + @property + def certificate_access_id(self): + """Gets the certificate_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + + + :return: The certificate_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + :rtype: str + """ + return self._certificate_access_id + + @certificate_access_id.setter + def certificate_access_id(self, certificate_access_id): + """Sets the certificate_access_id of this GatewayGetDefaultsOutput. + + + :param certificate_access_id: The certificate_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + :type: str + """ + + self._certificate_access_id = certificate_access_id + + @property + def default_protection_key_id(self): + """Gets the default_protection_key_id of this GatewayGetDefaultsOutput. # noqa: E501 + + + :return: The default_protection_key_id of this GatewayGetDefaultsOutput. # noqa: E501 + :rtype: str + """ + return self._default_protection_key_id + + @default_protection_key_id.setter + def default_protection_key_id(self, default_protection_key_id): + """Sets the default_protection_key_id of this GatewayGetDefaultsOutput. + + + :param default_protection_key_id: The default_protection_key_id of this GatewayGetDefaultsOutput. # noqa: E501 + :type: str + """ + + self._default_protection_key_id = default_protection_key_id + + @property + def notify_on_status_change(self): + """Gets the notify_on_status_change of this GatewayGetDefaultsOutput. # noqa: E501 + + + :return: The notify_on_status_change of this GatewayGetDefaultsOutput. # noqa: E501 + :rtype: bool + """ + return self._notify_on_status_change + + @notify_on_status_change.setter + def notify_on_status_change(self, notify_on_status_change): + """Sets the notify_on_status_change of this GatewayGetDefaultsOutput. + + + :param notify_on_status_change: The notify_on_status_change of this GatewayGetDefaultsOutput. # noqa: E501 + :type: bool + """ + + self._notify_on_status_change = notify_on_status_change + + @property + def oidc_access_id(self): + """Gets the oidc_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + + + :return: The oidc_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + :rtype: str + """ + return self._oidc_access_id + + @oidc_access_id.setter + def oidc_access_id(self, oidc_access_id): + """Sets the oidc_access_id of this GatewayGetDefaultsOutput. + + + :param oidc_access_id: The oidc_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + :type: str + """ + + self._oidc_access_id = oidc_access_id + + @property + def saml_access_id(self): + """Gets the saml_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + + + :return: The saml_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + :rtype: str + """ + return self._saml_access_id + + @saml_access_id.setter + def saml_access_id(self, saml_access_id): + """Sets the saml_access_id of this GatewayGetDefaultsOutput. + + + :param saml_access_id: The saml_access_id of this GatewayGetDefaultsOutput. # noqa: E501 + :type: str + """ + + self._saml_access_id = saml_access_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayGetDefaultsOutput): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayGetDefaultsOutput): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_get_log_forwarding.py b/akeyless/models/gateway_get_log_forwarding.py new file mode 100644 index 00000000..8e8f8eda --- /dev/null +++ b/akeyless/models/gateway_get_log_forwarding.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayGetLogForwarding(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'json': 'bool', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'json': 'json', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, json=False, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayGetLogForwarding - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._json = None + self._token = None + self._uid_token = None + self.discriminator = None + + if json is not None: + self.json = json + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def json(self): + """Gets the json of this GatewayGetLogForwarding. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayGetLogForwarding. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayGetLogForwarding. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayGetLogForwarding. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def token(self): + """Gets the token of this GatewayGetLogForwarding. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayGetLogForwarding. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayGetLogForwarding. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayGetLogForwarding. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayGetLogForwarding. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayGetLogForwarding. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayGetLogForwarding. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayGetLogForwarding. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayGetLogForwarding): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayGetLogForwarding): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_list_customer_fragments.py b/akeyless/models/gateway_list_customer_fragments.py new file mode 100644 index 00000000..03960d4d --- /dev/null +++ b/akeyless/models/gateway_list_customer_fragments.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayListCustomerFragments(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'json': 'bool', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'json': 'json', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, json=False, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayListCustomerFragments - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._json = None + self._token = None + self._uid_token = None + self.discriminator = None + + if json is not None: + self.json = json + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def json(self): + """Gets the json of this GatewayListCustomerFragments. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayListCustomerFragments. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayListCustomerFragments. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayListCustomerFragments. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def token(self): + """Gets the token of this GatewayListCustomerFragments. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayListCustomerFragments. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayListCustomerFragments. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayListCustomerFragments. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayListCustomerFragments. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayListCustomerFragments. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayListCustomerFragments. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayListCustomerFragments. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayListCustomerFragments): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayListCustomerFragments): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_cache.py b/akeyless/models/gateway_update_cache.py new file mode 100644 index 00000000..c640e361 --- /dev/null +++ b/akeyless/models/gateway_update_cache.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateCache(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'backup_interval': 'str', + 'enable_cache': 'str', + 'enable_proactive': 'str', + 'json': 'bool', + 'minimum_fetch_interval': 'str', + 'stale_timeout': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'backup_interval': 'backup-interval', + 'enable_cache': 'enable-cache', + 'enable_proactive': 'enable-proactive', + 'json': 'json', + 'minimum_fetch_interval': 'minimum-fetch-interval', + 'stale_timeout': 'stale-timeout', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, backup_interval='1', enable_cache=None, enable_proactive=None, json=False, minimum_fetch_interval='5', stale_timeout='60', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateCache - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._backup_interval = None + self._enable_cache = None + self._enable_proactive = None + self._json = None + self._minimum_fetch_interval = None + self._stale_timeout = None + self._token = None + self._uid_token = None + self.discriminator = None + + if backup_interval is not None: + self.backup_interval = backup_interval + if enable_cache is not None: + self.enable_cache = enable_cache + if enable_proactive is not None: + self.enable_proactive = enable_proactive + if json is not None: + self.json = json + if minimum_fetch_interval is not None: + self.minimum_fetch_interval = minimum_fetch_interval + if stale_timeout is not None: + self.stale_timeout = stale_timeout + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def backup_interval(self): + """Gets the backup_interval of this GatewayUpdateCache. # noqa: E501 + + Secure backup interval in minutes. To ensure service continuity in case of power cycle and network outage secrets will be backed up periodically per backup interval # noqa: E501 + + :return: The backup_interval of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._backup_interval + + @backup_interval.setter + def backup_interval(self, backup_interval): + """Sets the backup_interval of this GatewayUpdateCache. + + Secure backup interval in minutes. To ensure service continuity in case of power cycle and network outage secrets will be backed up periodically per backup interval # noqa: E501 + + :param backup_interval: The backup_interval of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._backup_interval = backup_interval + + @property + def enable_cache(self): + """Gets the enable_cache of this GatewayUpdateCache. # noqa: E501 + + Enable cache [true/false] # noqa: E501 + + :return: The enable_cache of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._enable_cache + + @enable_cache.setter + def enable_cache(self, enable_cache): + """Sets the enable_cache of this GatewayUpdateCache. + + Enable cache [true/false] # noqa: E501 + + :param enable_cache: The enable_cache of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._enable_cache = enable_cache + + @property + def enable_proactive(self): + """Gets the enable_proactive of this GatewayUpdateCache. # noqa: E501 + + Enable proactive caching [true/false] # noqa: E501 + + :return: The enable_proactive of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._enable_proactive + + @enable_proactive.setter + def enable_proactive(self, enable_proactive): + """Sets the enable_proactive of this GatewayUpdateCache. + + Enable proactive caching [true/false] # noqa: E501 + + :param enable_proactive: The enable_proactive of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._enable_proactive = enable_proactive + + @property + def json(self): + """Gets the json of this GatewayUpdateCache. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateCache. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateCache. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateCache. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def minimum_fetch_interval(self): + """Gets the minimum_fetch_interval of this GatewayUpdateCache. # noqa: E501 + + When using Cache or/and Proactive Cache, additional secrets will be fetched upon requesting a secret, based on the requestor's access policy. Define minimum fetching interval to avoid over fetching in a given time frame # noqa: E501 + + :return: The minimum_fetch_interval of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._minimum_fetch_interval + + @minimum_fetch_interval.setter + def minimum_fetch_interval(self, minimum_fetch_interval): + """Sets the minimum_fetch_interval of this GatewayUpdateCache. + + When using Cache or/and Proactive Cache, additional secrets will be fetched upon requesting a secret, based on the requestor's access policy. Define minimum fetching interval to avoid over fetching in a given time frame # noqa: E501 + + :param minimum_fetch_interval: The minimum_fetch_interval of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._minimum_fetch_interval = minimum_fetch_interval + + @property + def stale_timeout(self): + """Gets the stale_timeout of this GatewayUpdateCache. # noqa: E501 + + Stale timeout in minutes, cache entries which are not accessed within timeout will be removed from cache # noqa: E501 + + :return: The stale_timeout of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._stale_timeout + + @stale_timeout.setter + def stale_timeout(self, stale_timeout): + """Sets the stale_timeout of this GatewayUpdateCache. + + Stale timeout in minutes, cache entries which are not accessed within timeout will be removed from cache # noqa: E501 + + :param stale_timeout: The stale_timeout of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._stale_timeout = stale_timeout + + @property + def token(self): + """Gets the token of this GatewayUpdateCache. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateCache. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateCache. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateCache. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateCache. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateCache. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateCache): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateCache): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_defaults.py b/akeyless/models/gateway_update_defaults.py new file mode 100644 index 00000000..c503e7f7 --- /dev/null +++ b/akeyless/models/gateway_update_defaults.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateDefaults(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'cert_access_id': 'str', + 'event_on_status_change': 'str', + 'json': 'bool', + 'key': 'str', + 'oidc_access_id': 'str', + 'saml_access_id': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'cert_access_id': 'cert-access-id', + 'event_on_status_change': 'event-on-status-change', + 'json': 'json', + 'key': 'key', + 'oidc_access_id': 'oidc-access-id', + 'saml_access_id': 'saml-access-id', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, cert_access_id='use-existing', event_on_status_change=None, json=False, key='Default', oidc_access_id='use-existing', saml_access_id='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateDefaults - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._cert_access_id = None + self._event_on_status_change = None + self._json = None + self._key = None + self._oidc_access_id = None + self._saml_access_id = None + self._token = None + self._uid_token = None + self.discriminator = None + + if cert_access_id is not None: + self.cert_access_id = cert_access_id + if event_on_status_change is not None: + self.event_on_status_change = event_on_status_change + if json is not None: + self.json = json + if key is not None: + self.key = key + if oidc_access_id is not None: + self.oidc_access_id = oidc_access_id + if saml_access_id is not None: + self.saml_access_id = saml_access_id + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def cert_access_id(self): + """Gets the cert_access_id of this GatewayUpdateDefaults. # noqa: E501 + + Default Certificate access id for UI login # noqa: E501 + + :return: The cert_access_id of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._cert_access_id + + @cert_access_id.setter + def cert_access_id(self, cert_access_id): + """Sets the cert_access_id of this GatewayUpdateDefaults. + + Default Certificate access id for UI login # noqa: E501 + + :param cert_access_id: The cert_access_id of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._cert_access_id = cert_access_id + + @property + def event_on_status_change(self): + """Gets the event_on_status_change of this GatewayUpdateDefaults. # noqa: E501 + + Trigger an event when Gateway status is changed [true/false] # noqa: E501 + + :return: The event_on_status_change of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._event_on_status_change + + @event_on_status_change.setter + def event_on_status_change(self, event_on_status_change): + """Sets the event_on_status_change of this GatewayUpdateDefaults. + + Trigger an event when Gateway status is changed [true/false] # noqa: E501 + + :param event_on_status_change: The event_on_status_change of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._event_on_status_change = event_on_status_change + + @property + def json(self): + """Gets the json of this GatewayUpdateDefaults. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateDefaults. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateDefaults. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateDefaults. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def key(self): + """Gets the key of this GatewayUpdateDefaults. # noqa: E501 + + The name of the gateway default encryption key # noqa: E501 + + :return: The key of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this GatewayUpdateDefaults. + + The name of the gateway default encryption key # noqa: E501 + + :param key: The key of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def oidc_access_id(self): + """Gets the oidc_access_id of this GatewayUpdateDefaults. # noqa: E501 + + Default OIDC access id for UI login # noqa: E501 + + :return: The oidc_access_id of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._oidc_access_id + + @oidc_access_id.setter + def oidc_access_id(self, oidc_access_id): + """Sets the oidc_access_id of this GatewayUpdateDefaults. + + Default OIDC access id for UI login # noqa: E501 + + :param oidc_access_id: The oidc_access_id of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._oidc_access_id = oidc_access_id + + @property + def saml_access_id(self): + """Gets the saml_access_id of this GatewayUpdateDefaults. # noqa: E501 + + Default SAML access id for UI login # noqa: E501 + + :return: The saml_access_id of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._saml_access_id + + @saml_access_id.setter + def saml_access_id(self, saml_access_id): + """Sets the saml_access_id of this GatewayUpdateDefaults. + + Default SAML access id for UI login # noqa: E501 + + :param saml_access_id: The saml_access_id of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._saml_access_id = saml_access_id + + @property + def token(self): + """Gets the token of this GatewayUpdateDefaults. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateDefaults. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateDefaults. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateDefaults. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateDefaults. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateDefaults. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateDefaults): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateDefaults): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_aws_s3.py b/akeyless/models/gateway_update_log_forwarding_aws_s3.py new file mode 100644 index 00000000..22f8556d --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_aws_s3.py @@ -0,0 +1,459 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingAwsS3(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'access_id': 'str', + 'access_key': 'str', + 'auth_type': 'str', + 'bucket_name': 'str', + 'enable': 'str', + 'json': 'bool', + 'log_folder': 'str', + 'output_format': 'str', + 'pull_interval': 'str', + 'region': 'str', + 'role_arn': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'access_id': 'access-id', + 'access_key': 'access-key', + 'auth_type': 'auth-type', + 'bucket_name': 'bucket-name', + 'enable': 'enable', + 'json': 'json', + 'log_folder': 'log-folder', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'region': 'region', + 'role_arn': 'role-arn', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, access_id=None, access_key=None, auth_type=None, bucket_name=None, enable='true', json=False, log_folder='use-existing', output_format='text', pull_interval='10', region=None, role_arn=None, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingAwsS3 - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._access_id = None + self._access_key = None + self._auth_type = None + self._bucket_name = None + self._enable = None + self._json = None + self._log_folder = None + self._output_format = None + self._pull_interval = None + self._region = None + self._role_arn = None + self._token = None + self._uid_token = None + self.discriminator = None + + if access_id is not None: + self.access_id = access_id + if access_key is not None: + self.access_key = access_key + if auth_type is not None: + self.auth_type = auth_type + if bucket_name is not None: + self.bucket_name = bucket_name + if enable is not None: + self.enable = enable + if json is not None: + self.json = json + if log_folder is not None: + self.log_folder = log_folder + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if region is not None: + self.region = region + if role_arn is not None: + self.role_arn = role_arn + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def access_id(self): + """Gets the access_id of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS access id relevant for access_key auth-type # noqa: E501 + + :return: The access_id of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._access_id + + @access_id.setter + def access_id(self, access_id): + """Sets the access_id of this GatewayUpdateLogForwardingAwsS3. + + AWS access id relevant for access_key auth-type # noqa: E501 + + :param access_id: The access_id of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._access_id = access_id + + @property + def access_key(self): + """Gets the access_key of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS access key relevant for access_key auth-type # noqa: E501 + + :return: The access_key of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._access_key + + @access_key.setter + def access_key(self, access_key): + """Sets the access_key of this GatewayUpdateLogForwardingAwsS3. + + AWS access key relevant for access_key auth-type # noqa: E501 + + :param access_key: The access_key of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._access_key = access_key + + @property + def auth_type(self): + """Gets the auth_type of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS auth type [access_key/cloud_id/assume_role] # noqa: E501 + + :return: The auth_type of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._auth_type + + @auth_type.setter + def auth_type(self, auth_type): + """Sets the auth_type of this GatewayUpdateLogForwardingAwsS3. + + AWS auth type [access_key/cloud_id/assume_role] # noqa: E501 + + :param auth_type: The auth_type of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._auth_type = auth_type + + @property + def bucket_name(self): + """Gets the bucket_name of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS S3 bucket name # noqa: E501 + + :return: The bucket_name of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._bucket_name + + @bucket_name.setter + def bucket_name(self, bucket_name): + """Sets the bucket_name of this GatewayUpdateLogForwardingAwsS3. + + AWS S3 bucket name # noqa: E501 + + :param bucket_name: The bucket_name of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._bucket_name = bucket_name + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingAwsS3. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingAwsS3. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def log_folder(self): + """Gets the log_folder of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS S3 destination folder for logs # noqa: E501 + + :return: The log_folder of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._log_folder + + @log_folder.setter + def log_folder(self, log_folder): + """Sets the log_folder of this GatewayUpdateLogForwardingAwsS3. + + AWS S3 destination folder for logs # noqa: E501 + + :param log_folder: The log_folder of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._log_folder = log_folder + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingAwsS3. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingAwsS3. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def region(self): + """Gets the region of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS region # noqa: E501 + + :return: The region of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._region + + @region.setter + def region(self, region): + """Sets the region of this GatewayUpdateLogForwardingAwsS3. + + AWS region # noqa: E501 + + :param region: The region of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._region = region + + @property + def role_arn(self): + """Gets the role_arn of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + AWS role arn relevant for assume_role auth-type # noqa: E501 + + :return: The role_arn of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._role_arn + + @role_arn.setter + def role_arn(self, role_arn): + """Sets the role_arn of this GatewayUpdateLogForwardingAwsS3. + + AWS role arn relevant for assume_role auth-type # noqa: E501 + + :param role_arn: The role_arn of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._role_arn = role_arn + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingAwsS3. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingAwsS3. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingAwsS3. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingAwsS3): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingAwsS3): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_azure_analytics.py b/akeyless/models/gateway_update_log_forwarding_azure_analytics.py new file mode 100644 index 00000000..f6a699f2 --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_azure_analytics.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingAzureAnalytics(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'enable': 'str', + 'json': 'bool', + 'output_format': 'str', + 'pull_interval': 'str', + 'token': 'str', + 'uid_token': 'str', + 'workspace_id': 'str', + 'workspace_key': 'str' + } + + attribute_map = { + 'enable': 'enable', + 'json': 'json', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'token': 'token', + 'uid_token': 'uid-token', + 'workspace_id': 'workspace-id', + 'workspace_key': 'workspace-key' + } + + def __init__(self, enable='true', json=False, output_format='text', pull_interval='10', token=None, uid_token=None, workspace_id=None, workspace_key=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingAzureAnalytics - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._enable = None + self._json = None + self._output_format = None + self._pull_interval = None + self._token = None + self._uid_token = None + self._workspace_id = None + self._workspace_key = None + self.discriminator = None + + if enable is not None: + self.enable = enable + if json is not None: + self.json = json + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + if workspace_id is not None: + self.workspace_id = workspace_id + if workspace_key is not None: + self.workspace_key = workspace_key + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingAzureAnalytics. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingAzureAnalytics. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingAzureAnalytics. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingAzureAnalytics. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingAzureAnalytics. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingAzureAnalytics. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + @property + def workspace_id(self): + """Gets the workspace_id of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Azure workspace id # noqa: E501 + + :return: The workspace_id of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._workspace_id + + @workspace_id.setter + def workspace_id(self, workspace_id): + """Sets the workspace_id of this GatewayUpdateLogForwardingAzureAnalytics. + + Azure workspace id # noqa: E501 + + :param workspace_id: The workspace_id of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._workspace_id = workspace_id + + @property + def workspace_key(self): + """Gets the workspace_key of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + + Azure workspace key # noqa: E501 + + :return: The workspace_key of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :rtype: str + """ + return self._workspace_key + + @workspace_key.setter + def workspace_key(self, workspace_key): + """Sets the workspace_key of this GatewayUpdateLogForwardingAzureAnalytics. + + Azure workspace key # noqa: E501 + + :param workspace_key: The workspace_key of this GatewayUpdateLogForwardingAzureAnalytics. # noqa: E501 + :type: str + """ + + self._workspace_key = workspace_key + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingAzureAnalytics): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingAzureAnalytics): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_datadog.py b/akeyless/models/gateway_update_log_forwarding_datadog.py new file mode 100644 index 00000000..37b8cd6a --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_datadog.py @@ -0,0 +1,403 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingDatadog(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_key': 'str', + 'enable': 'str', + 'host': 'str', + 'json': 'bool', + 'log_service': 'str', + 'log_source': 'str', + 'log_tags': 'str', + 'output_format': 'str', + 'pull_interval': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'api_key': 'api-key', + 'enable': 'enable', + 'host': 'host', + 'json': 'json', + 'log_service': 'log-service', + 'log_source': 'log-source', + 'log_tags': 'log-tags', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, api_key=None, enable='true', host=None, json=False, log_service='use-existing', log_source='use-existing', log_tags='use-existing', output_format='text', pull_interval='10', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingDatadog - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_key = None + self._enable = None + self._host = None + self._json = None + self._log_service = None + self._log_source = None + self._log_tags = None + self._output_format = None + self._pull_interval = None + self._token = None + self._uid_token = None + self.discriminator = None + + if api_key is not None: + self.api_key = api_key + if enable is not None: + self.enable = enable + if host is not None: + self.host = host + if json is not None: + self.json = json + if log_service is not None: + self.log_service = log_service + if log_source is not None: + self.log_source = log_source + if log_tags is not None: + self.log_tags = log_tags + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def api_key(self): + """Gets the api_key of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Datadog api key # noqa: E501 + + :return: The api_key of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._api_key + + @api_key.setter + def api_key(self, api_key): + """Sets the api_key of this GatewayUpdateLogForwardingDatadog. + + Datadog api key # noqa: E501 + + :param api_key: The api_key of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._api_key = api_key + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingDatadog. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def host(self): + """Gets the host of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Datadog host # noqa: E501 + + :return: The host of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._host + + @host.setter + def host(self, host): + """Sets the host of this GatewayUpdateLogForwardingDatadog. + + Datadog host # noqa: E501 + + :param host: The host of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._host = host + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingDatadog. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def log_service(self): + """Gets the log_service of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Datadog log service # noqa: E501 + + :return: The log_service of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._log_service + + @log_service.setter + def log_service(self, log_service): + """Sets the log_service of this GatewayUpdateLogForwardingDatadog. + + Datadog log service # noqa: E501 + + :param log_service: The log_service of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._log_service = log_service + + @property + def log_source(self): + """Gets the log_source of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Datadog log source # noqa: E501 + + :return: The log_source of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._log_source + + @log_source.setter + def log_source(self, log_source): + """Sets the log_source of this GatewayUpdateLogForwardingDatadog. + + Datadog log source # noqa: E501 + + :param log_source: The log_source of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._log_source = log_source + + @property + def log_tags(self): + """Gets the log_tags of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + A comma-separated list of Datadog log tags formatted as \"key:value\" strings # noqa: E501 + + :return: The log_tags of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._log_tags + + @log_tags.setter + def log_tags(self, log_tags): + """Sets the log_tags of this GatewayUpdateLogForwardingDatadog. + + A comma-separated list of Datadog log tags formatted as \"key:value\" strings # noqa: E501 + + :param log_tags: The log_tags of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._log_tags = log_tags + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingDatadog. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingDatadog. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingDatadog. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingDatadog. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingDatadog. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingDatadog): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingDatadog): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_elasticsearch.py b/akeyless/models/gateway_update_log_forwarding_elasticsearch.py new file mode 100644 index 00000000..049a536b --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_elasticsearch.py @@ -0,0 +1,543 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingElasticsearch(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_key': 'str', + 'auth_type': 'str', + 'cloud_id': 'str', + 'enable': 'str', + 'enable_tls': 'bool', + 'index': 'str', + 'json': 'bool', + 'nodes': 'str', + 'output_format': 'str', + 'password': 'str', + 'pull_interval': 'str', + 'server_type': 'str', + 'tls_certificate': 'str', + 'token': 'str', + 'uid_token': 'str', + 'user_name': 'str' + } + + attribute_map = { + 'api_key': 'api-key', + 'auth_type': 'auth-type', + 'cloud_id': 'cloud-id', + 'enable': 'enable', + 'enable_tls': 'enable-tls', + 'index': 'index', + 'json': 'json', + 'nodes': 'nodes', + 'output_format': 'output-format', + 'password': 'password', + 'pull_interval': 'pull-interval', + 'server_type': 'server-type', + 'tls_certificate': 'tls-certificate', + 'token': 'token', + 'uid_token': 'uid-token', + 'user_name': 'user-name' + } + + def __init__(self, api_key=None, auth_type=None, cloud_id=None, enable='true', enable_tls=None, index=None, json=False, nodes=None, output_format='text', password=None, pull_interval='10', server_type=None, tls_certificate='use-existing', token=None, uid_token=None, user_name=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingElasticsearch - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_key = None + self._auth_type = None + self._cloud_id = None + self._enable = None + self._enable_tls = None + self._index = None + self._json = None + self._nodes = None + self._output_format = None + self._password = None + self._pull_interval = None + self._server_type = None + self._tls_certificate = None + self._token = None + self._uid_token = None + self._user_name = None + self.discriminator = None + + if api_key is not None: + self.api_key = api_key + if auth_type is not None: + self.auth_type = auth_type + if cloud_id is not None: + self.cloud_id = cloud_id + if enable is not None: + self.enable = enable + if enable_tls is not None: + self.enable_tls = enable_tls + if index is not None: + self.index = index + if json is not None: + self.json = json + if nodes is not None: + self.nodes = nodes + if output_format is not None: + self.output_format = output_format + if password is not None: + self.password = password + if pull_interval is not None: + self.pull_interval = pull_interval + if server_type is not None: + self.server_type = server_type + if tls_certificate is not None: + self.tls_certificate = tls_certificate + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + if user_name is not None: + self.user_name = user_name + + @property + def api_key(self): + """Gets the api_key of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch api key relevant only for api_key auth-type # noqa: E501 + + :return: The api_key of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._api_key + + @api_key.setter + def api_key(self, api_key): + """Sets the api_key of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch api key relevant only for api_key auth-type # noqa: E501 + + :param api_key: The api_key of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._api_key = api_key + + @property + def auth_type(self): + """Gets the auth_type of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch auth type [api_key/password] # noqa: E501 + + :return: The auth_type of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._auth_type + + @auth_type.setter + def auth_type(self, auth_type): + """Sets the auth_type of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch auth type [api_key/password] # noqa: E501 + + :param auth_type: The auth_type of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._auth_type = auth_type + + @property + def cloud_id(self): + """Gets the cloud_id of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch cloud id relevant only for cloud server-type # noqa: E501 + + :return: The cloud_id of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._cloud_id + + @cloud_id.setter + def cloud_id(self, cloud_id): + """Sets the cloud_id of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch cloud id relevant only for cloud server-type # noqa: E501 + + :param cloud_id: The cloud_id of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._cloud_id = cloud_id + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingElasticsearch. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def enable_tls(self): + """Gets the enable_tls of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Enable tls # noqa: E501 + + :return: The enable_tls of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: bool + """ + return self._enable_tls + + @enable_tls.setter + def enable_tls(self, enable_tls): + """Sets the enable_tls of this GatewayUpdateLogForwardingElasticsearch. + + Enable tls # noqa: E501 + + :param enable_tls: The enable_tls of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: bool + """ + + self._enable_tls = enable_tls + + @property + def index(self): + """Gets the index of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch index # noqa: E501 + + :return: The index of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._index + + @index.setter + def index(self, index): + """Sets the index of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch index # noqa: E501 + + :param index: The index of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._index = index + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingElasticsearch. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def nodes(self): + """Gets the nodes of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch nodes relevant only for nodes server-type # noqa: E501 + + :return: The nodes of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._nodes + + @nodes.setter + def nodes(self, nodes): + """Sets the nodes of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch nodes relevant only for nodes server-type # noqa: E501 + + :param nodes: The nodes of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._nodes = nodes + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingElasticsearch. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def password(self): + """Gets the password of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch password relevant only for password auth-type # noqa: E501 + + :return: The password of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch password relevant only for password auth-type # noqa: E501 + + :param password: The password of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._password = password + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingElasticsearch. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def server_type(self): + """Gets the server_type of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch server type [cloud/nodes] # noqa: E501 + + :return: The server_type of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._server_type + + @server_type.setter + def server_type(self, server_type): + """Sets the server_type of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch server type [cloud/nodes] # noqa: E501 + + :param server_type: The server_type of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._server_type = server_type + + @property + def tls_certificate(self): + """Gets the tls_certificate of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch tls certificate # noqa: E501 + + :return: The tls_certificate of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._tls_certificate + + @tls_certificate.setter + def tls_certificate(self, tls_certificate): + """Sets the tls_certificate of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch tls certificate # noqa: E501 + + :param tls_certificate: The tls_certificate of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._tls_certificate = tls_certificate + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingElasticsearch. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingElasticsearch. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + @property + def user_name(self): + """Gets the user_name of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + + Elasticsearch user name relevant only for password auth-type # noqa: E501 + + :return: The user_name of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :rtype: str + """ + return self._user_name + + @user_name.setter + def user_name(self, user_name): + """Sets the user_name of this GatewayUpdateLogForwardingElasticsearch. + + Elasticsearch user name relevant only for password auth-type # noqa: E501 + + :param user_name: The user_name of this GatewayUpdateLogForwardingElasticsearch. # noqa: E501 + :type: str + """ + + self._user_name = user_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingElasticsearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingElasticsearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_google_chronicle.py b/akeyless/models/gateway_update_log_forwarding_google_chronicle.py new file mode 100644 index 00000000..d293104d --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_google_chronicle.py @@ -0,0 +1,375 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingGoogleChronicle(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'customer_id': 'str', + 'enable': 'str', + 'gcp_key': 'str', + 'json': 'bool', + 'log_type': 'str', + 'output_format': 'str', + 'pull_interval': 'str', + 'region': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'customer_id': 'customer-id', + 'enable': 'enable', + 'gcp_key': 'gcp-key', + 'json': 'json', + 'log_type': 'log-type', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'region': 'region', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, customer_id=None, enable='true', gcp_key=None, json=False, log_type=None, output_format='text', pull_interval='10', region=None, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingGoogleChronicle - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._customer_id = None + self._enable = None + self._gcp_key = None + self._json = None + self._log_type = None + self._output_format = None + self._pull_interval = None + self._region = None + self._token = None + self._uid_token = None + self.discriminator = None + + if customer_id is not None: + self.customer_id = customer_id + if enable is not None: + self.enable = enable + if gcp_key is not None: + self.gcp_key = gcp_key + if json is not None: + self.json = json + if log_type is not None: + self.log_type = log_type + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if region is not None: + self.region = region + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def customer_id(self): + """Gets the customer_id of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Google chronicle customer id # noqa: E501 + + :return: The customer_id of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this GatewayUpdateLogForwardingGoogleChronicle. + + Google chronicle customer id # noqa: E501 + + :param customer_id: The customer_id of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._customer_id = customer_id + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingGoogleChronicle. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def gcp_key(self): + """Gets the gcp_key of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Base64-encoded service account private key text # noqa: E501 + + :return: The gcp_key of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._gcp_key + + @gcp_key.setter + def gcp_key(self, gcp_key): + """Sets the gcp_key of this GatewayUpdateLogForwardingGoogleChronicle. + + Base64-encoded service account private key text # noqa: E501 + + :param gcp_key: The gcp_key of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._gcp_key = gcp_key + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingGoogleChronicle. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def log_type(self): + """Gets the log_type of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Google chronicle log type # noqa: E501 + + :return: The log_type of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._log_type + + @log_type.setter + def log_type(self, log_type): + """Sets the log_type of this GatewayUpdateLogForwardingGoogleChronicle. + + Google chronicle log type # noqa: E501 + + :param log_type: The log_type of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._log_type = log_type + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingGoogleChronicle. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingGoogleChronicle. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def region(self): + """Gets the region of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Google chronicle region [eu_multi_region/london/us_multi_region/singapore/tel_aviv] # noqa: E501 + + :return: The region of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._region + + @region.setter + def region(self, region): + """Sets the region of this GatewayUpdateLogForwardingGoogleChronicle. + + Google chronicle region [eu_multi_region/london/us_multi_region/singapore/tel_aviv] # noqa: E501 + + :param region: The region of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._region = region + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingGoogleChronicle. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingGoogleChronicle. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingGoogleChronicle. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingGoogleChronicle): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingGoogleChronicle): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_logstash.py b/akeyless/models/gateway_update_log_forwarding_logstash.py new file mode 100644 index 00000000..30453b85 --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_logstash.py @@ -0,0 +1,375 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingLogstash(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'dns': 'str', + 'enable': 'str', + 'enable_tls': 'bool', + 'json': 'bool', + 'output_format': 'str', + 'protocol': 'str', + 'pull_interval': 'str', + 'tls_certificate': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'dns': 'dns', + 'enable': 'enable', + 'enable_tls': 'enable-tls', + 'json': 'json', + 'output_format': 'output-format', + 'protocol': 'protocol', + 'pull_interval': 'pull-interval', + 'tls_certificate': 'tls-certificate', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, dns=None, enable='true', enable_tls=None, json=False, output_format='text', protocol=None, pull_interval='10', tls_certificate='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingLogstash - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._dns = None + self._enable = None + self._enable_tls = None + self._json = None + self._output_format = None + self._protocol = None + self._pull_interval = None + self._tls_certificate = None + self._token = None + self._uid_token = None + self.discriminator = None + + if dns is not None: + self.dns = dns + if enable is not None: + self.enable = enable + if enable_tls is not None: + self.enable_tls = enable_tls + if json is not None: + self.json = json + if output_format is not None: + self.output_format = output_format + if protocol is not None: + self.protocol = protocol + if pull_interval is not None: + self.pull_interval = pull_interval + if tls_certificate is not None: + self.tls_certificate = tls_certificate + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def dns(self): + """Gets the dns of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Logstash dns # noqa: E501 + + :return: The dns of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._dns + + @dns.setter + def dns(self, dns): + """Sets the dns of this GatewayUpdateLogForwardingLogstash. + + Logstash dns # noqa: E501 + + :param dns: The dns of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._dns = dns + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingLogstash. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def enable_tls(self): + """Gets the enable_tls of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Enable tls # noqa: E501 + + :return: The enable_tls of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: bool + """ + return self._enable_tls + + @enable_tls.setter + def enable_tls(self, enable_tls): + """Sets the enable_tls of this GatewayUpdateLogForwardingLogstash. + + Enable tls # noqa: E501 + + :param enable_tls: The enable_tls of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: bool + """ + + self._enable_tls = enable_tls + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingLogstash. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingLogstash. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def protocol(self): + """Gets the protocol of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Logstash protocol [tcp/udp] # noqa: E501 + + :return: The protocol of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this GatewayUpdateLogForwardingLogstash. + + Logstash protocol [tcp/udp] # noqa: E501 + + :param protocol: The protocol of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._protocol = protocol + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingLogstash. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def tls_certificate(self): + """Gets the tls_certificate of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Logstash tls certificate # noqa: E501 + + :return: The tls_certificate of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._tls_certificate + + @tls_certificate.setter + def tls_certificate(self, tls_certificate): + """Sets the tls_certificate of this GatewayUpdateLogForwardingLogstash. + + Logstash tls certificate # noqa: E501 + + :param tls_certificate: The tls_certificate of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._tls_certificate = tls_certificate + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingLogstash. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingLogstash. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingLogstash. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingLogstash): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingLogstash): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_logz_io.py b/akeyless/models/gateway_update_log_forwarding_logz_io.py new file mode 100644 index 00000000..e31a552d --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_logz_io.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingLogzIo(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'enable': 'str', + 'json': 'bool', + 'logz_io_token': 'str', + 'output_format': 'str', + 'protocol': 'str', + 'pull_interval': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'enable': 'enable', + 'json': 'json', + 'logz_io_token': 'logz-io-token', + 'output_format': 'output-format', + 'protocol': 'protocol', + 'pull_interval': 'pull-interval', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, enable='true', json=False, logz_io_token=None, output_format='text', protocol=None, pull_interval='10', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingLogzIo - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._enable = None + self._json = None + self._logz_io_token = None + self._output_format = None + self._protocol = None + self._pull_interval = None + self._token = None + self._uid_token = None + self.discriminator = None + + if enable is not None: + self.enable = enable + if json is not None: + self.json = json + if logz_io_token is not None: + self.logz_io_token = logz_io_token + if output_format is not None: + self.output_format = output_format + if protocol is not None: + self.protocol = protocol + if pull_interval is not None: + self.pull_interval = pull_interval + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingLogzIo. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingLogzIo. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def logz_io_token(self): + """Gets the logz_io_token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + Logz-io token # noqa: E501 + + :return: The logz_io_token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._logz_io_token + + @logz_io_token.setter + def logz_io_token(self, logz_io_token): + """Sets the logz_io_token of this GatewayUpdateLogForwardingLogzIo. + + Logz-io token # noqa: E501 + + :param logz_io_token: The logz_io_token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._logz_io_token = logz_io_token + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingLogzIo. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def protocol(self): + """Gets the protocol of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + LogzIo protocol [tcp/https] # noqa: E501 + + :return: The protocol of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this GatewayUpdateLogForwardingLogzIo. + + LogzIo protocol [tcp/https] # noqa: E501 + + :param protocol: The protocol of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._protocol = protocol + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingLogzIo. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingLogzIo. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingLogzIo. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingLogzIo. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingLogzIo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingLogzIo): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_output.py b/akeyless/models/gateway_update_log_forwarding_output.py new file mode 100644 index 00000000..922e5680 --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_output.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingOutput(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'updated': 'bool' + } + + attribute_map = { + 'updated': 'updated' + } + + def __init__(self, updated=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingOutput - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._updated = None + self.discriminator = None + + if updated is not None: + self.updated = updated + + @property + def updated(self): + """Gets the updated of this GatewayUpdateLogForwardingOutput. # noqa: E501 + + + :return: The updated of this GatewayUpdateLogForwardingOutput. # noqa: E501 + :rtype: bool + """ + return self._updated + + @updated.setter + def updated(self, updated): + """Sets the updated of this GatewayUpdateLogForwardingOutput. + + + :param updated: The updated of this GatewayUpdateLogForwardingOutput. # noqa: E501 + :type: bool + """ + + self._updated = updated + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingOutput): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingOutput): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_splunk.py b/akeyless/models/gateway_update_log_forwarding_splunk.py new file mode 100644 index 00000000..7acd02c0 --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_splunk.py @@ -0,0 +1,459 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingSplunk(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'enable': 'str', + 'enable_tls': 'bool', + 'index': 'str', + 'json': 'bool', + 'output_format': 'str', + 'pull_interval': 'str', + 'source': 'str', + 'source_type': 'str', + 'splunk_token': 'str', + 'splunk_url': 'str', + 'tls_certificate': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'enable': 'enable', + 'enable_tls': 'enable-tls', + 'index': 'index', + 'json': 'json', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'source': 'source', + 'source_type': 'source-type', + 'splunk_token': 'splunk-token', + 'splunk_url': 'splunk-url', + 'tls_certificate': 'tls-certificate', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, enable='true', enable_tls=None, index=None, json=False, output_format='text', pull_interval='10', source='use-existing', source_type='use-existing', splunk_token=None, splunk_url=None, tls_certificate='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingSplunk - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._enable = None + self._enable_tls = None + self._index = None + self._json = None + self._output_format = None + self._pull_interval = None + self._source = None + self._source_type = None + self._splunk_token = None + self._splunk_url = None + self._tls_certificate = None + self._token = None + self._uid_token = None + self.discriminator = None + + if enable is not None: + self.enable = enable + if enable_tls is not None: + self.enable_tls = enable_tls + if index is not None: + self.index = index + if json is not None: + self.json = json + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if source is not None: + self.source = source + if source_type is not None: + self.source_type = source_type + if splunk_token is not None: + self.splunk_token = splunk_token + if splunk_url is not None: + self.splunk_url = splunk_url + if tls_certificate is not None: + self.tls_certificate = tls_certificate + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingSplunk. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def enable_tls(self): + """Gets the enable_tls of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Enable tls # noqa: E501 + + :return: The enable_tls of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: bool + """ + return self._enable_tls + + @enable_tls.setter + def enable_tls(self, enable_tls): + """Sets the enable_tls of this GatewayUpdateLogForwardingSplunk. + + Enable tls # noqa: E501 + + :param enable_tls: The enable_tls of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: bool + """ + + self._enable_tls = enable_tls + + @property + def index(self): + """Gets the index of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Splunk index # noqa: E501 + + :return: The index of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._index + + @index.setter + def index(self, index): + """Sets the index of this GatewayUpdateLogForwardingSplunk. + + Splunk index # noqa: E501 + + :param index: The index of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._index = index + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingSplunk. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingSplunk. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingSplunk. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def source(self): + """Gets the source of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Splunk source # noqa: E501 + + :return: The source of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this GatewayUpdateLogForwardingSplunk. + + Splunk source # noqa: E501 + + :param source: The source of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._source = source + + @property + def source_type(self): + """Gets the source_type of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Splunk source type # noqa: E501 + + :return: The source_type of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._source_type + + @source_type.setter + def source_type(self, source_type): + """Sets the source_type of this GatewayUpdateLogForwardingSplunk. + + Splunk source type # noqa: E501 + + :param source_type: The source_type of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._source_type = source_type + + @property + def splunk_token(self): + """Gets the splunk_token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Splunk token # noqa: E501 + + :return: The splunk_token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._splunk_token + + @splunk_token.setter + def splunk_token(self, splunk_token): + """Sets the splunk_token of this GatewayUpdateLogForwardingSplunk. + + Splunk token # noqa: E501 + + :param splunk_token: The splunk_token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._splunk_token = splunk_token + + @property + def splunk_url(self): + """Gets the splunk_url of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Splunk server URL # noqa: E501 + + :return: The splunk_url of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._splunk_url + + @splunk_url.setter + def splunk_url(self, splunk_url): + """Sets the splunk_url of this GatewayUpdateLogForwardingSplunk. + + Splunk server URL # noqa: E501 + + :param splunk_url: The splunk_url of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._splunk_url = splunk_url + + @property + def tls_certificate(self): + """Gets the tls_certificate of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Splunk tls certificate # noqa: E501 + + :return: The tls_certificate of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._tls_certificate + + @tls_certificate.setter + def tls_certificate(self, tls_certificate): + """Sets the tls_certificate of this GatewayUpdateLogForwardingSplunk. + + Splunk tls certificate # noqa: E501 + + :param tls_certificate: The tls_certificate of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._tls_certificate = tls_certificate + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingSplunk. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingSplunk. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingSplunk. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingSplunk): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingSplunk): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_stdout.py b/akeyless/models/gateway_update_log_forwarding_stdout.py new file mode 100644 index 00000000..da6143af --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_stdout.py @@ -0,0 +1,263 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingStdout(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'enable': 'str', + 'json': 'bool', + 'output_format': 'str', + 'pull_interval': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'enable': 'enable', + 'json': 'json', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, enable='true', json=False, output_format='text', pull_interval='10', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingStdout - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._enable = None + self._json = None + self._output_format = None + self._pull_interval = None + self._token = None + self._uid_token = None + self.discriminator = None + + if enable is not None: + self.enable = enable + if json is not None: + self.json = json + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingStdout. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingStdout. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingStdout. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingStdout. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingStdout. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingStdout. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingStdout. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingStdout. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingStdout. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingStdout. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingStdout. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingStdout. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingStdout. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingStdout): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingStdout): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_sumologic.py b/akeyless/models/gateway_update_log_forwarding_sumologic.py new file mode 100644 index 00000000..56220b53 --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_sumologic.py @@ -0,0 +1,347 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingSumologic(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'enable': 'str', + 'endpoint': 'str', + 'host': 'str', + 'json': 'bool', + 'output_format': 'str', + 'pull_interval': 'str', + 'sumologic_tags': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'enable': 'enable', + 'endpoint': 'endpoint', + 'host': 'host', + 'json': 'json', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'sumologic_tags': 'sumologic-tags', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, enable='true', endpoint=None, host='use-existing', json=False, output_format='text', pull_interval='10', sumologic_tags='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingSumologic - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._enable = None + self._endpoint = None + self._host = None + self._json = None + self._output_format = None + self._pull_interval = None + self._sumologic_tags = None + self._token = None + self._uid_token = None + self.discriminator = None + + if enable is not None: + self.enable = enable + if endpoint is not None: + self.endpoint = endpoint + if host is not None: + self.host = host + if json is not None: + self.json = json + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if sumologic_tags is not None: + self.sumologic_tags = sumologic_tags + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingSumologic. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def endpoint(self): + """Gets the endpoint of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Sumologic endpoint URL # noqa: E501 + + :return: The endpoint of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._endpoint + + @endpoint.setter + def endpoint(self, endpoint): + """Sets the endpoint of this GatewayUpdateLogForwardingSumologic. + + Sumologic endpoint URL # noqa: E501 + + :param endpoint: The endpoint of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._endpoint = endpoint + + @property + def host(self): + """Gets the host of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Sumologic host # noqa: E501 + + :return: The host of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._host + + @host.setter + def host(self, host): + """Sets the host of this GatewayUpdateLogForwardingSumologic. + + Sumologic host # noqa: E501 + + :param host: The host of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._host = host + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingSumologic. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingSumologic. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingSumologic. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def sumologic_tags(self): + """Gets the sumologic_tags of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + A comma-separated list of Sumologic tags # noqa: E501 + + :return: The sumologic_tags of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._sumologic_tags + + @sumologic_tags.setter + def sumologic_tags(self, sumologic_tags): + """Sets the sumologic_tags of this GatewayUpdateLogForwardingSumologic. + + A comma-separated list of Sumologic tags # noqa: E501 + + :param sumologic_tags: The sumologic_tags of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._sumologic_tags = sumologic_tags + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingSumologic. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingSumologic. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingSumologic. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingSumologic): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingSumologic): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_log_forwarding_syslog.py b/akeyless/models/gateway_update_log_forwarding_syslog.py new file mode 100644 index 00000000..e2728f84 --- /dev/null +++ b/akeyless/models/gateway_update_log_forwarding_syslog.py @@ -0,0 +1,431 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateLogForwardingSyslog(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'enable': 'str', + 'enable_tls': 'bool', + 'formatter': 'str', + 'host': 'str', + 'json': 'bool', + 'network': 'str', + 'output_format': 'str', + 'pull_interval': 'str', + 'target_tag': 'str', + 'tls_certificate': 'str', + 'token': 'str', + 'uid_token': 'str' + } + + attribute_map = { + 'enable': 'enable', + 'enable_tls': 'enable-tls', + 'formatter': 'formatter', + 'host': 'host', + 'json': 'json', + 'network': 'network', + 'output_format': 'output-format', + 'pull_interval': 'pull-interval', + 'target_tag': 'target-tag', + 'tls_certificate': 'tls-certificate', + 'token': 'token', + 'uid_token': 'uid-token' + } + + def __init__(self, enable='true', enable_tls=None, formatter='text', host=None, json=False, network='tcp', output_format='text', pull_interval='10', target_tag='use-existing', tls_certificate='use-existing', token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateLogForwardingSyslog - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._enable = None + self._enable_tls = None + self._formatter = None + self._host = None + self._json = None + self._network = None + self._output_format = None + self._pull_interval = None + self._target_tag = None + self._tls_certificate = None + self._token = None + self._uid_token = None + self.discriminator = None + + if enable is not None: + self.enable = enable + if enable_tls is not None: + self.enable_tls = enable_tls + if formatter is not None: + self.formatter = formatter + if host is not None: + self.host = host + if json is not None: + self.json = json + if network is not None: + self.network = network + if output_format is not None: + self.output_format = output_format + if pull_interval is not None: + self.pull_interval = pull_interval + if target_tag is not None: + self.target_tag = target_tag + if tls_certificate is not None: + self.tls_certificate = tls_certificate + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + + @property + def enable(self): + """Gets the enable of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Enable Log Forwarding [true/false] # noqa: E501 + + :return: The enable of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this GatewayUpdateLogForwardingSyslog. + + Enable Log Forwarding [true/false] # noqa: E501 + + :param enable: The enable of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._enable = enable + + @property + def enable_tls(self): + """Gets the enable_tls of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Enable tls relevant only for network type TCP # noqa: E501 + + :return: The enable_tls of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: bool + """ + return self._enable_tls + + @enable_tls.setter + def enable_tls(self, enable_tls): + """Sets the enable_tls of this GatewayUpdateLogForwardingSyslog. + + Enable tls relevant only for network type TCP # noqa: E501 + + :param enable_tls: The enable_tls of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: bool + """ + + self._enable_tls = enable_tls + + @property + def formatter(self): + """Gets the formatter of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Syslog formatter [text/cef] # noqa: E501 + + :return: The formatter of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._formatter + + @formatter.setter + def formatter(self, formatter): + """Sets the formatter of this GatewayUpdateLogForwardingSyslog. + + Syslog formatter [text/cef] # noqa: E501 + + :param formatter: The formatter of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._formatter = formatter + + @property + def host(self): + """Gets the host of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Syslog host # noqa: E501 + + :return: The host of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._host + + @host.setter + def host(self, host): + """Sets the host of this GatewayUpdateLogForwardingSyslog. + + Syslog host # noqa: E501 + + :param host: The host of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._host = host + + @property + def json(self): + """Gets the json of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this GatewayUpdateLogForwardingSyslog. + + Set output format to JSON # noqa: E501 + + :param json: The json of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def network(self): + """Gets the network of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Syslog network [tcp/udp] # noqa: E501 + + :return: The network of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._network + + @network.setter + def network(self, network): + """Sets the network of this GatewayUpdateLogForwardingSyslog. + + Syslog network [tcp/udp] # noqa: E501 + + :param network: The network of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._network = network + + @property + def output_format(self): + """Gets the output_format of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Logs format [text/json] # noqa: E501 + + :return: The output_format of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._output_format + + @output_format.setter + def output_format(self, output_format): + """Sets the output_format of this GatewayUpdateLogForwardingSyslog. + + Logs format [text/json] # noqa: E501 + + :param output_format: The output_format of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._output_format = output_format + + @property + def pull_interval(self): + """Gets the pull_interval of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Pull interval in seconds # noqa: E501 + + :return: The pull_interval of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._pull_interval + + @pull_interval.setter + def pull_interval(self, pull_interval): + """Sets the pull_interval of this GatewayUpdateLogForwardingSyslog. + + Pull interval in seconds # noqa: E501 + + :param pull_interval: The pull_interval of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._pull_interval = pull_interval + + @property + def target_tag(self): + """Gets the target_tag of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Syslog target tag # noqa: E501 + + :return: The target_tag of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._target_tag + + @target_tag.setter + def target_tag(self, target_tag): + """Sets the target_tag of this GatewayUpdateLogForwardingSyslog. + + Syslog target tag # noqa: E501 + + :param target_tag: The target_tag of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._target_tag = target_tag + + @property + def tls_certificate(self): + """Gets the tls_certificate of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Syslog tls certificate # noqa: E501 + + :return: The tls_certificate of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._tls_certificate + + @tls_certificate.setter + def tls_certificate(self, tls_certificate): + """Sets the tls_certificate of this GatewayUpdateLogForwardingSyslog. + + Syslog tls certificate # noqa: E501 + + :param tls_certificate: The tls_certificate of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._tls_certificate = tls_certificate + + @property + def token(self): + """Gets the token of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this GatewayUpdateLogForwardingSyslog. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this GatewayUpdateLogForwardingSyslog. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this GatewayUpdateLogForwardingSyslog. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateLogForwardingSyslog): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateLogForwardingSyslog): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_output.py b/akeyless/models/gateway_update_output.py new file mode 100644 index 00000000..bef3885f --- /dev/null +++ b/akeyless/models/gateway_update_output.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class GatewayUpdateOutput(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'updated': 'bool' + } + + attribute_map = { + 'updated': 'updated' + } + + def __init__(self, updated=None, local_vars_configuration=None): # noqa: E501 + """GatewayUpdateOutput - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._updated = None + self.discriminator = None + + if updated is not None: + self.updated = updated + + @property + def updated(self): + """Gets the updated of this GatewayUpdateOutput. # noqa: E501 + + + :return: The updated of this GatewayUpdateOutput. # noqa: E501 + :rtype: bool + """ + return self._updated + + @updated.setter + def updated(self, updated): + """Sets the updated of this GatewayUpdateOutput. + + + :param updated: The updated of this GatewayUpdateOutput. # noqa: E501 + :type: bool + """ + + self._updated = updated + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GatewayUpdateOutput): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GatewayUpdateOutput): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/gateway_update_producer_ldap.py b/akeyless/models/gateway_update_producer_ldap.py index 5057de19..13e80f93 100644 --- a/akeyless/models/gateway_update_producer_ldap.py +++ b/akeyless/models/gateway_update_producer_ldap.py @@ -34,11 +34,13 @@ class GatewayUpdateProducerLdap(object): and the value is json key in definition. """ openapi_types = { + 'provider_type': 'str', 'bind_dn': 'str', 'bind_dn_password': 'str', 'delete_protection': 'str', 'external_username': 'str', 'group_dn': 'str', + 'host_provider': 'str', 'json': 'bool', 'ldap_ca_cert': 'str', 'ldap_url': 'str', @@ -46,7 +48,12 @@ class GatewayUpdateProducerLdap(object): 'new_name': 'str', 'password_length': 'str', 'producer_encryption_key_name': 'str', + 'secure_access_enable': 'str', + 'secure_access_host': 'list[str]', + 'secure_access_rd_gateway_server': 'str', + 'secure_access_rdp_domain': 'str', 'tags': 'list[str]', + 'target': 'list[str]', 'target_name': 'str', 'token': 'str', 'token_expiration': 'str', @@ -57,11 +64,13 @@ class GatewayUpdateProducerLdap(object): } attribute_map = { + 'provider_type': 'ProviderType', 'bind_dn': 'bind-dn', 'bind_dn_password': 'bind-dn-password', 'delete_protection': 'delete_protection', 'external_username': 'external-username', 'group_dn': 'group-dn', + 'host_provider': 'host-provider', 'json': 'json', 'ldap_ca_cert': 'ldap-ca-cert', 'ldap_url': 'ldap-url', @@ -69,7 +78,12 @@ class GatewayUpdateProducerLdap(object): 'new_name': 'new-name', 'password_length': 'password-length', 'producer_encryption_key_name': 'producer-encryption-key-name', + 'secure_access_enable': 'secure-access-enable', + 'secure_access_host': 'secure-access-host', + 'secure_access_rd_gateway_server': 'secure-access-rd-gateway-server', + 'secure_access_rdp_domain': 'secure-access-rdp-domain', 'tags': 'tags', + 'target': 'target', 'target_name': 'target-name', 'token': 'token', 'token_expiration': 'token-expiration', @@ -79,17 +93,19 @@ class GatewayUpdateProducerLdap(object): 'user_ttl': 'user-ttl' } - def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, external_username='false', group_dn=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, new_name=None, password_length=None, producer_encryption_key_name=None, tags=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, bind_dn=None, bind_dn_password=None, delete_protection=None, external_username='false', group_dn=None, host_provider=None, json=False, ldap_ca_cert=None, ldap_url=None, name=None, new_name=None, password_length=None, producer_encryption_key_name=None, secure_access_enable=None, secure_access_host=None, secure_access_rd_gateway_server=None, secure_access_rdp_domain=None, tags=None, target=None, target_name=None, token=None, token_expiration=None, uid_token=None, user_attribute=None, user_dn=None, user_ttl='60m', local_vars_configuration=None): # noqa: E501 """GatewayUpdateProducerLdap - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._provider_type = None self._bind_dn = None self._bind_dn_password = None self._delete_protection = None self._external_username = None self._group_dn = None + self._host_provider = None self._json = None self._ldap_ca_cert = None self._ldap_url = None @@ -97,7 +113,12 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self._new_name = None self._password_length = None self._producer_encryption_key_name = None + self._secure_access_enable = None + self._secure_access_host = None + self._secure_access_rd_gateway_server = None + self._secure_access_rdp_domain = None self._tags = None + self._target = None self._target_name = None self._token = None self._token_expiration = None @@ -107,6 +128,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self._user_ttl = None self.discriminator = None + if provider_type is not None: + self.provider_type = provider_type if bind_dn is not None: self.bind_dn = bind_dn if bind_dn_password is not None: @@ -117,6 +140,8 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.external_username = external_username if group_dn is not None: self.group_dn = group_dn + if host_provider is not None: + self.host_provider = host_provider if json is not None: self.json = json if ldap_ca_cert is not None: @@ -130,8 +155,18 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, self.password_length = password_length if producer_encryption_key_name is not None: self.producer_encryption_key_name = producer_encryption_key_name + if secure_access_enable is not None: + self.secure_access_enable = secure_access_enable + if secure_access_host is not None: + self.secure_access_host = secure_access_host + if secure_access_rd_gateway_server is not None: + self.secure_access_rd_gateway_server = secure_access_rd_gateway_server + if secure_access_rdp_domain is not None: + self.secure_access_rdp_domain = secure_access_rdp_domain if tags is not None: self.tags = tags + if target is not None: + self.target = target if target_name is not None: self.target_name = target_name if token is not None: @@ -147,6 +182,27 @@ def __init__(self, bind_dn=None, bind_dn_password=None, delete_protection=None, if user_ttl is not None: self.user_ttl = user_ttl + @property + def provider_type(self): + """Gets the provider_type of this GatewayUpdateProducerLdap. # noqa: E501 + + + :return: The provider_type of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._provider_type + + @provider_type.setter + def provider_type(self, provider_type): + """Sets the provider_type of this GatewayUpdateProducerLdap. + + + :param provider_type: The provider_type of this GatewayUpdateProducerLdap. # noqa: E501 + :type: str + """ + + self._provider_type = provider_type + @property def bind_dn(self): """Gets the bind_dn of this GatewayUpdateProducerLdap. # noqa: E501 @@ -262,6 +318,29 @@ def group_dn(self, group_dn): self._group_dn = group_dn + @property + def host_provider(self): + """Gets the host_provider of this GatewayUpdateProducerLdap. # noqa: E501 + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :return: The host_provider of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._host_provider + + @host_provider.setter + def host_provider(self, host_provider): + """Sets the host_provider of this GatewayUpdateProducerLdap. + + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 + + :param host_provider: The host_provider of this GatewayUpdateProducerLdap. # noqa: E501 + :type: str + """ + + self._host_provider = host_provider + @property def json(self): """Gets the json of this GatewayUpdateProducerLdap. # noqa: E501 @@ -425,6 +504,98 @@ def producer_encryption_key_name(self, producer_encryption_key_name): self._producer_encryption_key_name = producer_encryption_key_name + @property + def secure_access_enable(self): + """Gets the secure_access_enable of this GatewayUpdateProducerLdap. # noqa: E501 + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :return: The secure_access_enable of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_enable + + @secure_access_enable.setter + def secure_access_enable(self, secure_access_enable): + """Sets the secure_access_enable of this GatewayUpdateProducerLdap. + + Enable/Disable secure remote access [true/false] # noqa: E501 + + :param secure_access_enable: The secure_access_enable of this GatewayUpdateProducerLdap. # noqa: E501 + :type: str + """ + + self._secure_access_enable = secure_access_enable + + @property + def secure_access_host(self): + """Gets the secure_access_host of this GatewayUpdateProducerLdap. # noqa: E501 + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :return: The secure_access_host of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: list[str] + """ + return self._secure_access_host + + @secure_access_host.setter + def secure_access_host(self, secure_access_host): + """Sets the secure_access_host of this GatewayUpdateProducerLdap. + + Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) # noqa: E501 + + :param secure_access_host: The secure_access_host of this GatewayUpdateProducerLdap. # noqa: E501 + :type: list[str] + """ + + self._secure_access_host = secure_access_host + + @property + def secure_access_rd_gateway_server(self): + """Gets the secure_access_rd_gateway_server of this GatewayUpdateProducerLdap. # noqa: E501 + + RD Gateway server # noqa: E501 + + :return: The secure_access_rd_gateway_server of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rd_gateway_server + + @secure_access_rd_gateway_server.setter + def secure_access_rd_gateway_server(self, secure_access_rd_gateway_server): + """Sets the secure_access_rd_gateway_server of this GatewayUpdateProducerLdap. + + RD Gateway server # noqa: E501 + + :param secure_access_rd_gateway_server: The secure_access_rd_gateway_server of this GatewayUpdateProducerLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rd_gateway_server = secure_access_rd_gateway_server + + @property + def secure_access_rdp_domain(self): + """Gets the secure_access_rdp_domain of this GatewayUpdateProducerLdap. # noqa: E501 + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :return: The secure_access_rdp_domain of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: str + """ + return self._secure_access_rdp_domain + + @secure_access_rdp_domain.setter + def secure_access_rdp_domain(self, secure_access_rdp_domain): + """Sets the secure_access_rdp_domain of this GatewayUpdateProducerLdap. + + Required when the Dynamic Secret is used for a domain user # noqa: E501 + + :param secure_access_rdp_domain: The secure_access_rdp_domain of this GatewayUpdateProducerLdap. # noqa: E501 + :type: str + """ + + self._secure_access_rdp_domain = secure_access_rdp_domain + @property def tags(self): """Gets the tags of this GatewayUpdateProducerLdap. # noqa: E501 @@ -448,6 +619,29 @@ def tags(self, tags): self._tags = tags + @property + def target(self): + """Gets the target of this GatewayUpdateProducerLdap. # noqa: E501 + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :return: The target of this GatewayUpdateProducerLdap. # noqa: E501 + :rtype: list[str] + """ + return self._target + + @target.setter + def target(self, target): + """Sets the target of this GatewayUpdateProducerLdap. + + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 + + :param target: The target of this GatewayUpdateProducerLdap. # noqa: E501 + :type: list[str] + """ + + self._target = target + @property def target_name(self): """Gets the target_name of this GatewayUpdateProducerLdap. # noqa: E501 diff --git a/akeyless/models/get_pki_certificate_output.py b/akeyless/models/get_pki_certificate_output.py index 2e428401..0b5b9246 100644 --- a/akeyless/models/get_pki_certificate_output.py +++ b/akeyless/models/get_pki_certificate_output.py @@ -35,6 +35,7 @@ class GetPKICertificateOutput(object): """ openapi_types = { 'cert_display_id': 'str', + 'cert_item_id': 'int', 'data': 'str', 'parent_cert': 'str', 'path': 'str', @@ -43,19 +44,21 @@ class GetPKICertificateOutput(object): attribute_map = { 'cert_display_id': 'cert_display_id', + 'cert_item_id': 'cert_item_id', 'data': 'data', 'parent_cert': 'parent_cert', 'path': 'path', 'reading_token': 'reading_token' } - def __init__(self, cert_display_id=None, data=None, parent_cert=None, path=None, reading_token=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, cert_display_id=None, cert_item_id=None, data=None, parent_cert=None, path=None, reading_token=None, local_vars_configuration=None): # noqa: E501 """GetPKICertificateOutput - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._cert_display_id = None + self._cert_item_id = None self._data = None self._parent_cert = None self._path = None @@ -64,6 +67,8 @@ def __init__(self, cert_display_id=None, data=None, parent_cert=None, path=None, if cert_display_id is not None: self.cert_display_id = cert_display_id + if cert_item_id is not None: + self.cert_item_id = cert_item_id if data is not None: self.data = data if parent_cert is not None: @@ -94,6 +99,27 @@ def cert_display_id(self, cert_display_id): self._cert_display_id = cert_display_id + @property + def cert_item_id(self): + """Gets the cert_item_id of this GetPKICertificateOutput. # noqa: E501 + + + :return: The cert_item_id of this GetPKICertificateOutput. # noqa: E501 + :rtype: int + """ + return self._cert_item_id + + @cert_item_id.setter + def cert_item_id(self, cert_item_id): + """Sets the cert_item_id of this GetPKICertificateOutput. + + + :param cert_item_id: The cert_item_id of this GetPKICertificateOutput. # noqa: E501 + :type: int + """ + + self._cert_item_id = cert_item_id + @property def data(self): """Gets the data of this GetPKICertificateOutput. # noqa: E501 diff --git a/akeyless/models/hashi_vault_target_details.py b/akeyless/models/hashi_vault_target_details.py new file mode 100644 index 00000000..3f58e024 --- /dev/null +++ b/akeyless/models/hashi_vault_target_details.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class HashiVaultTargetDetails(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'vault_namespaces': 'str', + 'vault_token': 'str', + 'vault_url': 'str' + } + + attribute_map = { + 'vault_namespaces': 'vault_namespaces', + 'vault_token': 'vault_token', + 'vault_url': 'vault_url' + } + + def __init__(self, vault_namespaces=None, vault_token=None, vault_url=None, local_vars_configuration=None): # noqa: E501 + """HashiVaultTargetDetails - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._vault_namespaces = None + self._vault_token = None + self._vault_url = None + self.discriminator = None + + if vault_namespaces is not None: + self.vault_namespaces = vault_namespaces + if vault_token is not None: + self.vault_token = vault_token + if vault_url is not None: + self.vault_url = vault_url + + @property + def vault_namespaces(self): + """Gets the vault_namespaces of this HashiVaultTargetDetails. # noqa: E501 + + + :return: The vault_namespaces of this HashiVaultTargetDetails. # noqa: E501 + :rtype: str + """ + return self._vault_namespaces + + @vault_namespaces.setter + def vault_namespaces(self, vault_namespaces): + """Sets the vault_namespaces of this HashiVaultTargetDetails. + + + :param vault_namespaces: The vault_namespaces of this HashiVaultTargetDetails. # noqa: E501 + :type: str + """ + + self._vault_namespaces = vault_namespaces + + @property + def vault_token(self): + """Gets the vault_token of this HashiVaultTargetDetails. # noqa: E501 + + + :return: The vault_token of this HashiVaultTargetDetails. # noqa: E501 + :rtype: str + """ + return self._vault_token + + @vault_token.setter + def vault_token(self, vault_token): + """Sets the vault_token of this HashiVaultTargetDetails. + + + :param vault_token: The vault_token of this HashiVaultTargetDetails. # noqa: E501 + :type: str + """ + + self._vault_token = vault_token + + @property + def vault_url(self): + """Gets the vault_url of this HashiVaultTargetDetails. # noqa: E501 + + + :return: The vault_url of this HashiVaultTargetDetails. # noqa: E501 + :rtype: str + """ + return self._vault_url + + @vault_url.setter + def vault_url(self, vault_url): + """Sets the vault_url of this HashiVaultTargetDetails. + + + :param vault_url: The vault_url of this HashiVaultTargetDetails. # noqa: E501 + :type: str + """ + + self._vault_url = vault_url + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, HashiVaultTargetDetails): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, HashiVaultTargetDetails): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/item_sra_status.py b/akeyless/models/item_sra_status.py index 0f5b47a9..d130de5b 100644 --- a/akeyless/models/item_sra_status.py +++ b/akeyless/models/item_sra_status.py @@ -34,35 +34,66 @@ class ItemSraStatus(object): and the value is json key in definition. """ openapi_types = { + 'count_by_host_info': 'dict(str, int)', 'count_info': 'dict(str, dict(str, int))', + 'hosts_in_use': 'list[str]', 'is_in_use': 'bool', 'last_used_item': 'datetime' } attribute_map = { + 'count_by_host_info': 'count_by_host_info', 'count_info': 'count_info', + 'hosts_in_use': 'hosts_in_use', 'is_in_use': 'is_in_use', 'last_used_item': 'last_used_item' } - def __init__(self, count_info=None, is_in_use=None, last_used_item=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, count_by_host_info=None, count_info=None, hosts_in_use=None, is_in_use=None, last_used_item=None, local_vars_configuration=None): # noqa: E501 """ItemSraStatus - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._count_by_host_info = None self._count_info = None + self._hosts_in_use = None self._is_in_use = None self._last_used_item = None self.discriminator = None + if count_by_host_info is not None: + self.count_by_host_info = count_by_host_info if count_info is not None: self.count_info = count_info + if hosts_in_use is not None: + self.hosts_in_use = hosts_in_use if is_in_use is not None: self.is_in_use = is_in_use if last_used_item is not None: self.last_used_item = last_used_item + @property + def count_by_host_info(self): + """Gets the count_by_host_info of this ItemSraStatus. # noqa: E501 + + + :return: The count_by_host_info of this ItemSraStatus. # noqa: E501 + :rtype: dict(str, int) + """ + return self._count_by_host_info + + @count_by_host_info.setter + def count_by_host_info(self, count_by_host_info): + """Sets the count_by_host_info of this ItemSraStatus. + + + :param count_by_host_info: The count_by_host_info of this ItemSraStatus. # noqa: E501 + :type: dict(str, int) + """ + + self._count_by_host_info = count_by_host_info + @property def count_info(self): """Gets the count_info of this ItemSraStatus. # noqa: E501 @@ -84,6 +115,27 @@ def count_info(self, count_info): self._count_info = count_info + @property + def hosts_in_use(self): + """Gets the hosts_in_use of this ItemSraStatus. # noqa: E501 + + + :return: The hosts_in_use of this ItemSraStatus. # noqa: E501 + :rtype: list[str] + """ + return self._hosts_in_use + + @hosts_in_use.setter + def hosts_in_use(self, hosts_in_use): + """Sets the hosts_in_use of this ItemSraStatus. + + + :param hosts_in_use: The hosts_in_use of this ItemSraStatus. # noqa: E501 + :type: list[str] + """ + + self._hosts_in_use = hosts_in_use + @property def is_in_use(self): """Gets the is_in_use of this ItemSraStatus. # noqa: E501 diff --git a/akeyless/models/rotated_secret_create_ldap.py b/akeyless/models/rotated_secret_create_ldap.py index 657fb79d..61eb37d7 100644 --- a/akeyless/models/rotated_secret_create_ldap.py +++ b/akeyless/models/rotated_secret_create_ldap.py @@ -101,7 +101,7 @@ class RotatedSecretCreateLdap(object): 'user_dn': 'user-dn' } - def __init__(self, provider_type=None, authentication_credentials='use-user-creds', auto_rotate=None, delete_protection=None, description=None, host_provider='explicit', json=False, key=None, max_versions=None, name=None, password_length=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_type=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, tags=None, target=None, target_name=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, authentication_credentials='use-user-creds', auto_rotate=None, delete_protection=None, description=None, host_provider=None, json=False, key=None, max_versions=None, name=None, password_length=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_type=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, tags=None, target=None, target_name=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 """RotatedSecretCreateLdap - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -317,7 +317,7 @@ def description(self, description): def host_provider(self): """Gets the host_provider of this RotatedSecretCreateLdap. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this RotatedSecretCreateLdap. # noqa: E501 :rtype: str @@ -328,7 +328,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this RotatedSecretCreateLdap. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this RotatedSecretCreateLdap. # noqa: E501 :type: str @@ -781,7 +781,7 @@ def tags(self, tags): def target(self): """Gets the target of this RotatedSecretCreateLdap. # noqa: E501 - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :return: The target of this RotatedSecretCreateLdap. # noqa: E501 :rtype: list[str] @@ -792,7 +792,7 @@ def target(self): def target(self, target): """Sets the target of this RotatedSecretCreateLdap. - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :param target: The target of this RotatedSecretCreateLdap. # noqa: E501 :type: list[str] diff --git a/akeyless/models/rotated_secret_update_ldap.py b/akeyless/models/rotated_secret_update_ldap.py index 82bd6bd1..be62d994 100644 --- a/akeyless/models/rotated_secret_update_ldap.py +++ b/akeyless/models/rotated_secret_update_ldap.py @@ -103,7 +103,7 @@ class RotatedSecretUpdateLdap(object): 'user_dn': 'user-dn' } - def __init__(self, provider_type=None, add_tag=None, authentication_credentials='use-user-creds', auto_rotate=None, delete_protection=None, description='default_metadata', host_provider='explicit', json=False, keep_prev_version=None, key=None, max_versions=None, name=None, new_name=None, password_length=None, rm_tag=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, target=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, add_tag=None, authentication_credentials='use-user-creds', auto_rotate=None, delete_protection=None, description='default_metadata', host_provider=None, json=False, keep_prev_version=None, key=None, max_versions=None, name=None, new_name=None, password_length=None, rm_tag=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, target=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 """RotatedSecretUpdateLdap - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -347,7 +347,7 @@ def description(self, description): def host_provider(self): """Gets the host_provider of this RotatedSecretUpdateLdap. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this RotatedSecretUpdateLdap. # noqa: E501 :rtype: str @@ -358,7 +358,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this RotatedSecretUpdateLdap. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this RotatedSecretUpdateLdap. # noqa: E501 :type: str @@ -832,7 +832,7 @@ def secure_access_web_proxy(self, secure_access_web_proxy): def target(self): """Gets the target of this RotatedSecretUpdateLdap. # noqa: E501 - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :return: The target of this RotatedSecretUpdateLdap. # noqa: E501 :rtype: list[str] @@ -843,7 +843,7 @@ def target(self): def target(self, target): """Sets the target of this RotatedSecretUpdateLdap. - A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times # noqa: E501 + A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times # noqa: E501 :param target: The target of this RotatedSecretUpdateLdap. # noqa: E501 :type: list[str] diff --git a/akeyless/models/secret_info.py b/akeyless/models/secret_info.py index 79c6b184..81094976 100644 --- a/akeyless/models/secret_info.py +++ b/akeyless/models/secret_info.py @@ -43,7 +43,8 @@ class SecretInfo(object): 'secret_id': 'str', 'status': 'bool', 'tags': 'dict(str, str)', - 'type': 'str' + 'type': 'str', + 'version': 'int' } attribute_map = { @@ -56,10 +57,11 @@ class SecretInfo(object): 'secret_id': 'secret_id', 'status': 'status', 'tags': 'tags', - 'type': 'type' + 'type': 'type', + 'version': 'version' } - def __init__(self, created=None, description=None, expiration=None, last_retrieved=None, location=None, name=None, secret_id=None, status=None, tags=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, created=None, description=None, expiration=None, last_retrieved=None, location=None, name=None, secret_id=None, status=None, tags=None, type=None, version=None, local_vars_configuration=None): # noqa: E501 """SecretInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -75,6 +77,7 @@ def __init__(self, created=None, description=None, expiration=None, last_retriev self._status = None self._tags = None self._type = None + self._version = None self.discriminator = None if created is not None: @@ -97,6 +100,8 @@ def __init__(self, created=None, description=None, expiration=None, last_retriev self.tags = tags if type is not None: self.type = type + if version is not None: + self.version = version @property def created(self): @@ -308,6 +313,27 @@ def type(self, type): self._type = type + @property + def version(self): + """Gets the version of this SecretInfo. # noqa: E501 + + + :return: The version of this SecretInfo. # noqa: E501 + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this SecretInfo. + + + :param version: The version of this SecretInfo. # noqa: E501 + :type: int + """ + + self._version = version + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/akeyless/models/sharing_policy_info.py b/akeyless/models/sharing_policy_info.py index 30740c86..09af8f7c 100644 --- a/akeyless/models/sharing_policy_info.py +++ b/akeyless/models/sharing_policy_info.py @@ -34,24 +34,29 @@ class SharingPolicyInfo(object): and the value is json key in definition. """ openapi_types = { - 'default_share_link_ttl': 'int' + 'default_share_link_ttl': 'int', + 'enable': 'bool' } attribute_map = { - 'default_share_link_ttl': 'default_share_link_ttl' + 'default_share_link_ttl': 'default_share_link_ttl', + 'enable': 'enable' } - def __init__(self, default_share_link_ttl=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, default_share_link_ttl=None, enable=None, local_vars_configuration=None): # noqa: E501 """SharingPolicyInfo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._default_share_link_ttl = None + self._enable = None self.discriminator = None if default_share_link_ttl is not None: self.default_share_link_ttl = default_share_link_ttl + if enable is not None: + self.enable = enable @property def default_share_link_ttl(self): @@ -74,6 +79,27 @@ def default_share_link_ttl(self, default_share_link_ttl): self._default_share_link_ttl = default_share_link_ttl + @property + def enable(self): + """Gets the enable of this SharingPolicyInfo. # noqa: E501 + + + :return: The enable of this SharingPolicyInfo. # noqa: E501 + :rtype: bool + """ + return self._enable + + @enable.setter + def enable(self, enable): + """Sets the enable of this SharingPolicyInfo. + + + :param enable: The enable of this SharingPolicyInfo. # noqa: E501 + :type: bool + """ + + self._enable = enable + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/akeyless/models/target_type_details_input.py b/akeyless/models/target_type_details_input.py index 92b9a955..4da87d93 100644 --- a/akeyless/models/target_type_details_input.py +++ b/akeyless/models/target_type_details_input.py @@ -48,6 +48,7 @@ class TargetTypeDetailsInput(object): 'globalsign_atlas_target_details': 'GlobalSignAtlasTargetDetails', 'globalsign_target_details': 'GlobalSignGCCTargetDetails', 'godaddy_target_details': 'GodaddyTargetDetails', + 'hashi_vault_target_details': 'HashiVaultTargetDetails', 'ldap_target_details': 'LdapTargetDetails', 'linked_target_details': 'LinkedTargetDetails', 'mongo_db_target_details': 'MongoDBTargetDetails', @@ -77,6 +78,7 @@ class TargetTypeDetailsInput(object): 'globalsign_atlas_target_details': 'globalsign_atlas_target_details', 'globalsign_target_details': 'globalsign_target_details', 'godaddy_target_details': 'godaddy_target_details', + 'hashi_vault_target_details': 'hashi_vault_target_details', 'ldap_target_details': 'ldap_target_details', 'linked_target_details': 'linked_target_details', 'mongo_db_target_details': 'mongo_db_target_details', @@ -91,7 +93,7 @@ class TargetTypeDetailsInput(object): 'zerossl_target_details': 'zerossl_target_details' } - def __init__(self, artifactory_target_details=None, aws_target_details=None, azure_target_details=None, chef_target_details=None, custom_target_details=None, db_target_details=None, dockerhub_target_details=None, eks_target_details=None, gcp_target_details=None, github_target_details=None, gke_target_details=None, globalsign_atlas_target_details=None, globalsign_target_details=None, godaddy_target_details=None, ldap_target_details=None, linked_target_details=None, mongo_db_target_details=None, native_k8s_target_details=None, ping_target_details=None, rabbit_mq_target_details=None, salesforce_target_details=None, ssh_target_details=None, venafi_target_details=None, web_target_details=None, windows_target_details=None, zerossl_target_details=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, artifactory_target_details=None, aws_target_details=None, azure_target_details=None, chef_target_details=None, custom_target_details=None, db_target_details=None, dockerhub_target_details=None, eks_target_details=None, gcp_target_details=None, github_target_details=None, gke_target_details=None, globalsign_atlas_target_details=None, globalsign_target_details=None, godaddy_target_details=None, hashi_vault_target_details=None, ldap_target_details=None, linked_target_details=None, mongo_db_target_details=None, native_k8s_target_details=None, ping_target_details=None, rabbit_mq_target_details=None, salesforce_target_details=None, ssh_target_details=None, venafi_target_details=None, web_target_details=None, windows_target_details=None, zerossl_target_details=None, local_vars_configuration=None): # noqa: E501 """TargetTypeDetailsInput - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -111,6 +113,7 @@ def __init__(self, artifactory_target_details=None, aws_target_details=None, azu self._globalsign_atlas_target_details = None self._globalsign_target_details = None self._godaddy_target_details = None + self._hashi_vault_target_details = None self._ldap_target_details = None self._linked_target_details = None self._mongo_db_target_details = None @@ -153,6 +156,8 @@ def __init__(self, artifactory_target_details=None, aws_target_details=None, azu self.globalsign_target_details = globalsign_target_details if godaddy_target_details is not None: self.godaddy_target_details = godaddy_target_details + if hashi_vault_target_details is not None: + self.hashi_vault_target_details = hashi_vault_target_details if ldap_target_details is not None: self.ldap_target_details = ldap_target_details if linked_target_details is not None: @@ -472,6 +477,27 @@ def godaddy_target_details(self, godaddy_target_details): self._godaddy_target_details = godaddy_target_details + @property + def hashi_vault_target_details(self): + """Gets the hashi_vault_target_details of this TargetTypeDetailsInput. # noqa: E501 + + + :return: The hashi_vault_target_details of this TargetTypeDetailsInput. # noqa: E501 + :rtype: HashiVaultTargetDetails + """ + return self._hashi_vault_target_details + + @hashi_vault_target_details.setter + def hashi_vault_target_details(self, hashi_vault_target_details): + """Sets the hashi_vault_target_details of this TargetTypeDetailsInput. + + + :param hashi_vault_target_details: The hashi_vault_target_details of this TargetTypeDetailsInput. # noqa: E501 + :type: HashiVaultTargetDetails + """ + + self._hashi_vault_target_details = hashi_vault_target_details + @property def ldap_target_details(self): """Gets the ldap_target_details of this TargetTypeDetailsInput. # noqa: E501 diff --git a/akeyless/models/update_account_settings.py b/akeyless/models/update_account_settings.py index d5a2daf0..aa3f86f4 100644 --- a/akeyless/models/update_account_settings.py +++ b/akeyless/models/update_account_settings.py @@ -44,6 +44,7 @@ class UpdateAccountSettings(object): 'dp_enable_classic_key_protection': 'str', 'dynamic_secret_max_ttl': 'int', 'dynamic_secret_max_ttl_enable': 'str', + 'enable_item_sharing': 'str', 'force_new_versions': 'str', 'invalid_characters': 'str', 'item_type': 'str', @@ -81,6 +82,7 @@ class UpdateAccountSettings(object): 'dp_enable_classic_key_protection': 'dp-enable-classic-key-protection', 'dynamic_secret_max_ttl': 'dynamic-secret-max-ttl', 'dynamic_secret_max_ttl_enable': 'dynamic-secret-max-ttl-enable', + 'enable_item_sharing': 'enable-item-sharing', 'force_new_versions': 'force-new-versions', 'invalid_characters': 'invalid-characters', 'item_type': 'item-type', @@ -107,7 +109,7 @@ class UpdateAccountSettings(object): 'use_capital_letters': 'use_capital-letters' } - def __init__(self, address=None, city=None, company_name=None, country=None, default_key_name=None, default_share_link_ttl_minutes=None, default_versioning=None, dp_enable_classic_key_protection=None, dynamic_secret_max_ttl=None, dynamic_secret_max_ttl_enable=None, force_new_versions=None, invalid_characters='notReceivedInvalidCharacter', item_type=None, items_deletion_protection=None, json=False, jwt_ttl_default=None, jwt_ttl_max=None, jwt_ttl_min=None, lock_default_key=None, max_rotation_interval=None, max_rotation_interval_enable=None, max_versions=None, password_length=None, phone=None, postal_code=None, token=None, uid_token=None, usage_event_enable=None, usage_event_interval=None, usage_event_object_type=None, use_lower_letters=None, use_numbers=None, use_special_characters=None, use_capital_letters=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, address=None, city=None, company_name=None, country=None, default_key_name=None, default_share_link_ttl_minutes=None, default_versioning=None, dp_enable_classic_key_protection=None, dynamic_secret_max_ttl=None, dynamic_secret_max_ttl_enable=None, enable_item_sharing=None, force_new_versions=None, invalid_characters='notReceivedInvalidCharacter', item_type=None, items_deletion_protection=None, json=False, jwt_ttl_default=None, jwt_ttl_max=None, jwt_ttl_min=None, lock_default_key=None, max_rotation_interval=None, max_rotation_interval_enable=None, max_versions=None, password_length=None, phone=None, postal_code=None, token=None, uid_token=None, usage_event_enable=None, usage_event_interval=None, usage_event_object_type=None, use_lower_letters=None, use_numbers=None, use_special_characters=None, use_capital_letters=None, local_vars_configuration=None): # noqa: E501 """UpdateAccountSettings - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -123,6 +125,7 @@ def __init__(self, address=None, city=None, company_name=None, country=None, def self._dp_enable_classic_key_protection = None self._dynamic_secret_max_ttl = None self._dynamic_secret_max_ttl_enable = None + self._enable_item_sharing = None self._force_new_versions = None self._invalid_characters = None self._item_type = None @@ -169,6 +172,8 @@ def __init__(self, address=None, city=None, company_name=None, country=None, def self.dynamic_secret_max_ttl = dynamic_secret_max_ttl if dynamic_secret_max_ttl_enable is not None: self.dynamic_secret_max_ttl_enable = dynamic_secret_max_ttl_enable + if enable_item_sharing is not None: + self.enable_item_sharing = enable_item_sharing if force_new_versions is not None: self.force_new_versions = force_new_versions if invalid_characters is not None: @@ -448,6 +453,29 @@ def dynamic_secret_max_ttl_enable(self, dynamic_secret_max_ttl_enable): self._dynamic_secret_max_ttl_enable = dynamic_secret_max_ttl_enable + @property + def enable_item_sharing(self): + """Gets the enable_item_sharing of this UpdateAccountSettings. # noqa: E501 + + Enable sharing items [true/false] # noqa: E501 + + :return: The enable_item_sharing of this UpdateAccountSettings. # noqa: E501 + :rtype: str + """ + return self._enable_item_sharing + + @enable_item_sharing.setter + def enable_item_sharing(self, enable_item_sharing): + """Sets the enable_item_sharing of this UpdateAccountSettings. + + Enable sharing items [true/false] # noqa: E501 + + :param enable_item_sharing: The enable_item_sharing of this UpdateAccountSettings. # noqa: E501 + :type: str + """ + + self._enable_item_sharing = enable_item_sharing + @property def force_new_versions(self): """Gets the force_new_versions of this UpdateAccountSettings. # noqa: E501 diff --git a/akeyless/models/update_hashi_vault_target.py b/akeyless/models/update_hashi_vault_target.py new file mode 100644 index 00000000..c3e51e2d --- /dev/null +++ b/akeyless/models/update_hashi_vault_target.py @@ -0,0 +1,460 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class UpdateHashiVaultTarget(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'hashi_url': 'str', + 'json': 'bool', + 'keep_prev_version': 'str', + 'key': 'str', + 'max_versions': 'str', + 'name': 'str', + 'namespace': 'list[str]', + 'new_name': 'str', + 'token': 'str', + 'uid_token': 'str', + 'update_version': 'bool', + 'vault_token': 'str' + } + + attribute_map = { + 'description': 'description', + 'hashi_url': 'hashi-url', + 'json': 'json', + 'keep_prev_version': 'keep-prev-version', + 'key': 'key', + 'max_versions': 'max-versions', + 'name': 'name', + 'namespace': 'namespace', + 'new_name': 'new-name', + 'token': 'token', + 'uid_token': 'uid-token', + 'update_version': 'update-version', + 'vault_token': 'vault-token' + } + + def __init__(self, description=None, hashi_url=None, json=False, keep_prev_version=None, key=None, max_versions=None, name=None, namespace=None, new_name=None, token=None, uid_token=None, update_version=None, vault_token=None, local_vars_configuration=None): # noqa: E501 + """UpdateHashiVaultTarget - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._hashi_url = None + self._json = None + self._keep_prev_version = None + self._key = None + self._max_versions = None + self._name = None + self._namespace = None + self._new_name = None + self._token = None + self._uid_token = None + self._update_version = None + self._vault_token = None + self.discriminator = None + + if description is not None: + self.description = description + if hashi_url is not None: + self.hashi_url = hashi_url + if json is not None: + self.json = json + if keep_prev_version is not None: + self.keep_prev_version = keep_prev_version + if key is not None: + self.key = key + if max_versions is not None: + self.max_versions = max_versions + self.name = name + if namespace is not None: + self.namespace = namespace + if new_name is not None: + self.new_name = new_name + if token is not None: + self.token = token + if uid_token is not None: + self.uid_token = uid_token + if update_version is not None: + self.update_version = update_version + if vault_token is not None: + self.vault_token = vault_token + + @property + def description(self): + """Gets the description of this UpdateHashiVaultTarget. # noqa: E501 + + Description of the object # noqa: E501 + + :return: The description of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this UpdateHashiVaultTarget. + + Description of the object # noqa: E501 + + :param description: The description of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def hashi_url(self): + """Gets the hashi_url of this UpdateHashiVaultTarget. # noqa: E501 + + HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 # noqa: E501 + + :return: The hashi_url of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._hashi_url + + @hashi_url.setter + def hashi_url(self, hashi_url): + """Sets the hashi_url of this UpdateHashiVaultTarget. + + HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 # noqa: E501 + + :param hashi_url: The hashi_url of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._hashi_url = hashi_url + + @property + def json(self): + """Gets the json of this UpdateHashiVaultTarget. # noqa: E501 + + Set output format to JSON # noqa: E501 + + :return: The json of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: bool + """ + return self._json + + @json.setter + def json(self, json): + """Sets the json of this UpdateHashiVaultTarget. + + Set output format to JSON # noqa: E501 + + :param json: The json of this UpdateHashiVaultTarget. # noqa: E501 + :type: bool + """ + + self._json = json + + @property + def keep_prev_version(self): + """Gets the keep_prev_version of this UpdateHashiVaultTarget. # noqa: E501 + + Whether to keep previous version [true/false]. If not set, use default according to account settings # noqa: E501 + + :return: The keep_prev_version of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._keep_prev_version + + @keep_prev_version.setter + def keep_prev_version(self, keep_prev_version): + """Sets the keep_prev_version of this UpdateHashiVaultTarget. + + Whether to keep previous version [true/false]. If not set, use default according to account settings # noqa: E501 + + :param keep_prev_version: The keep_prev_version of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._keep_prev_version = keep_prev_version + + @property + def key(self): + """Gets the key of this UpdateHashiVaultTarget. # noqa: E501 + + The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) # noqa: E501 + + :return: The key of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this UpdateHashiVaultTarget. + + The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) # noqa: E501 + + :param key: The key of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def max_versions(self): + """Gets the max_versions of this UpdateHashiVaultTarget. # noqa: E501 + + Set the maximum number of versions, limited by the account settings defaults. # noqa: E501 + + :return: The max_versions of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._max_versions + + @max_versions.setter + def max_versions(self, max_versions): + """Sets the max_versions of this UpdateHashiVaultTarget. + + Set the maximum number of versions, limited by the account settings defaults. # noqa: E501 + + :param max_versions: The max_versions of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._max_versions = max_versions + + @property + def name(self): + """Gets the name of this UpdateHashiVaultTarget. # noqa: E501 + + Target name # noqa: E501 + + :return: The name of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateHashiVaultTarget. + + Target name # noqa: E501 + + :param name: The name of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this UpdateHashiVaultTarget. # noqa: E501 + + Comma-separated list of vault namespaces # noqa: E501 + + :return: The namespace of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: list[str] + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this UpdateHashiVaultTarget. + + Comma-separated list of vault namespaces # noqa: E501 + + :param namespace: The namespace of this UpdateHashiVaultTarget. # noqa: E501 + :type: list[str] + """ + + self._namespace = namespace + + @property + def new_name(self): + """Gets the new_name of this UpdateHashiVaultTarget. # noqa: E501 + + New target name # noqa: E501 + + :return: The new_name of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._new_name + + @new_name.setter + def new_name(self, new_name): + """Sets the new_name of this UpdateHashiVaultTarget. + + New target name # noqa: E501 + + :param new_name: The new_name of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._new_name = new_name + + @property + def token(self): + """Gets the token of this UpdateHashiVaultTarget. # noqa: E501 + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :return: The token of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this UpdateHashiVaultTarget. + + Authentication token (see `/auth` and `/configure`) # noqa: E501 + + :param token: The token of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._token = token + + @property + def uid_token(self): + """Gets the uid_token of this UpdateHashiVaultTarget. # noqa: E501 + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :return: The uid_token of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._uid_token + + @uid_token.setter + def uid_token(self, uid_token): + """Sets the uid_token of this UpdateHashiVaultTarget. + + The universal identity token, Required only for universal_identity authentication # noqa: E501 + + :param uid_token: The uid_token of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._uid_token = uid_token + + @property + def update_version(self): + """Gets the update_version of this UpdateHashiVaultTarget. # noqa: E501 + + Deprecated # noqa: E501 + + :return: The update_version of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: bool + """ + return self._update_version + + @update_version.setter + def update_version(self, update_version): + """Sets the update_version of this UpdateHashiVaultTarget. + + Deprecated # noqa: E501 + + :param update_version: The update_version of this UpdateHashiVaultTarget. # noqa: E501 + :type: bool + """ + + self._update_version = update_version + + @property + def vault_token(self): + """Gets the vault_token of this UpdateHashiVaultTarget. # noqa: E501 + + Vault access token with sufficient permissions # noqa: E501 + + :return: The vault_token of this UpdateHashiVaultTarget. # noqa: E501 + :rtype: str + """ + return self._vault_token + + @vault_token.setter + def vault_token(self, vault_token): + """Sets the vault_token of this UpdateHashiVaultTarget. + + Vault access token with sufficient permissions # noqa: E501 + + :param vault_token: The vault_token of this UpdateHashiVaultTarget. # noqa: E501 + :type: str + """ + + self._vault_token = vault_token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateHashiVaultTarget): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateHashiVaultTarget): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/update_hashi_vault_target_output.py b/akeyless/models/update_hashi_vault_target_output.py new file mode 100644 index 00000000..ee2f8a87 --- /dev/null +++ b/akeyless/models/update_hashi_vault_target_output.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from akeyless.configuration import Configuration + + +class UpdateHashiVaultTargetOutput(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'target_id': 'int' + } + + attribute_map = { + 'target_id': 'target_id' + } + + def __init__(self, target_id=None, local_vars_configuration=None): # noqa: E501 + """UpdateHashiVaultTargetOutput - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._target_id = None + self.discriminator = None + + if target_id is not None: + self.target_id = target_id + + @property + def target_id(self): + """Gets the target_id of this UpdateHashiVaultTargetOutput. # noqa: E501 + + + :return: The target_id of this UpdateHashiVaultTargetOutput. # noqa: E501 + :rtype: int + """ + return self._target_id + + @target_id.setter + def target_id(self, target_id): + """Sets the target_id of this UpdateHashiVaultTargetOutput. + + + :param target_id: The target_id of this UpdateHashiVaultTargetOutput. # noqa: E501 + :type: int + """ + + self._target_id = target_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateHashiVaultTargetOutput): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UpdateHashiVaultTargetOutput): + return True + + return self.to_dict() != other.to_dict() diff --git a/akeyless/models/update_item.py b/akeyless/models/update_item.py index 716889f9..c5b225ac 100644 --- a/akeyless/models/update_item.py +++ b/akeyless/models/update_item.py @@ -123,7 +123,7 @@ class UpdateItem(object): 'uid_token': 'uid-token' } - def __init__(self, provider_type=None, accessibility='regular', add_tag=None, cert_file_data=None, change_event=None, delete_protection=None, description='default_metadata', host_provider='explicit', json=False, max_versions=None, name=None, new_metadata='default_metadata', new_name=None, rm_tag=None, rotate_after_disconnect='false', secure_access_add_host=None, secure_access_allow_external_user=None, secure_access_allow_port_forwading=None, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_aws_region=None, secure_access_bastion_api=None, secure_access_bastion_issuer=None, secure_access_bastion_ssh=None, secure_access_cluster_endpoint=None, secure_access_dashboard_url=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rd_gateway_server=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_rm_host=None, secure_access_ssh_creds=None, secure_access_ssh_creds_user=None, secure_access_url=None, secure_access_use_internal_bastion=None, secure_access_web_browsing=False, secure_access_web_proxy=False, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, accessibility='regular', add_tag=None, cert_file_data=None, change_event=None, delete_protection=None, description='default_metadata', host_provider=None, json=False, max_versions=None, name=None, new_metadata='default_metadata', new_name=None, rm_tag=None, rotate_after_disconnect='false', secure_access_add_host=None, secure_access_allow_external_user=None, secure_access_allow_port_forwading=None, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_aws_region=None, secure_access_bastion_api=None, secure_access_bastion_issuer=None, secure_access_bastion_ssh=None, secure_access_cluster_endpoint=None, secure_access_dashboard_url=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rd_gateway_server=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_rm_host=None, secure_access_ssh_creds=None, secure_access_ssh_creds_user=None, secure_access_url=None, secure_access_use_internal_bastion=None, secure_access_web_browsing=False, secure_access_web_proxy=False, token=None, uid_token=None, local_vars_configuration=None): # noqa: E501 """UpdateItem - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -420,7 +420,7 @@ def description(self, description): def host_provider(self): """Gets the host_provider of this UpdateItem. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this UpdateItem. # noqa: E501 :rtype: str @@ -431,7 +431,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this UpdateItem. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this UpdateItem. # noqa: E501 :type: str diff --git a/akeyless/models/update_rotated_secret.py b/akeyless/models/update_rotated_secret.py index 9dda49b2..589642ca 100644 --- a/akeyless/models/update_rotated_secret.py +++ b/akeyless/models/update_rotated_secret.py @@ -135,7 +135,7 @@ class UpdateRotatedSecret(object): 'user_dn': 'user-dn' } - def __init__(self, provider_type=None, add_tag=None, api_id=None, api_key=None, auto_rotate=None, aws_region='us-east-2', custom_payload=None, description='default_metadata', gcp_key=None, grace_rotation=None, host_provider='explicit', json=False, keep_prev_version=None, key=None, name=None, new_metadata='default_metadata', new_name=None, new_version=None, rm_tag=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_creds_type='use-self-creds', rotator_custom_cmd=None, same_password=None, secure_access_allow_external_user=False, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_bastion_issuer=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, ssh_password=None, ssh_username=None, storage_account_key_name=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, add_tag=None, api_id=None, api_key=None, auto_rotate=None, aws_region='us-east-2', custom_payload=None, description='default_metadata', gcp_key=None, grace_rotation=None, host_provider=None, json=False, keep_prev_version=None, key=None, name=None, new_metadata='default_metadata', new_name=None, new_version=None, rm_tag=None, rotate_after_disconnect='false', rotated_password=None, rotated_username=None, rotation_hour=None, rotation_interval=None, rotator_creds_type='use-self-creds', rotator_custom_cmd=None, same_password=None, secure_access_allow_external_user=False, secure_access_aws_account_id=None, secure_access_aws_native_cli=None, secure_access_bastion_issuer=None, secure_access_db_name=None, secure_access_db_schema=None, secure_access_enable=None, secure_access_host=None, secure_access_rdp_domain=None, secure_access_rdp_user=None, secure_access_url=None, secure_access_web=False, secure_access_web_browsing=False, secure_access_web_proxy=False, ssh_password=None, ssh_username=None, storage_account_key_name=None, token=None, uid_token=None, user_attribute='cn', user_dn=None, local_vars_configuration=None): # noqa: E501 """UpdateRotatedSecret - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -519,7 +519,7 @@ def grace_rotation(self, grace_rotation): def host_provider(self): """Gets the host_provider of this UpdateRotatedSecret. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this UpdateRotatedSecret. # noqa: E501 :rtype: str @@ -530,7 +530,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this UpdateRotatedSecret. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this UpdateRotatedSecret. # noqa: E501 :type: str diff --git a/akeyless/models/update_ssh_cert_issuer.py b/akeyless/models/update_ssh_cert_issuer.py index 15880d5a..2d282aba 100644 --- a/akeyless/models/update_ssh_cert_issuer.py +++ b/akeyless/models/update_ssh_cert_issuer.py @@ -85,7 +85,7 @@ class UpdateSSHCertIssuer(object): 'uid_token': 'uid-token' } - def __init__(self, provider_type=None, add_tag=None, allowed_users=None, delete_protection=None, description=None, extensions=None, host_provider='explicit', json=False, metadata=None, name=None, new_name=None, principals=None, rm_tag=None, secure_access_bastion_api=None, secure_access_bastion_ssh=None, secure_access_enable=None, secure_access_host=None, secure_access_ssh_creds_user=None, secure_access_use_internal_bastion=None, signer_key_name=None, token=None, ttl=None, uid_token=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, provider_type=None, add_tag=None, allowed_users=None, delete_protection=None, description=None, extensions=None, host_provider=None, json=False, metadata=None, name=None, new_name=None, principals=None, rm_tag=None, secure_access_bastion_api=None, secure_access_bastion_ssh=None, secure_access_enable=None, secure_access_host=None, secure_access_ssh_creds_user=None, secure_access_use_internal_bastion=None, signer_key_name=None, token=None, ttl=None, uid_token=None, local_vars_configuration=None): # noqa: E501 """UpdateSSHCertIssuer - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -301,7 +301,7 @@ def extensions(self, extensions): def host_provider(self): """Gets the host_provider of this UpdateSSHCertIssuer. # noqa: E501 - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :return: The host_provider of this UpdateSSHCertIssuer. # noqa: E501 :rtype: str @@ -312,7 +312,7 @@ def host_provider(self): def host_provider(self, host_provider): """Sets the host_provider of this UpdateSSHCertIssuer. - Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret # noqa: E501 + Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret # noqa: E501 :param host_provider: The host_provider of this UpdateSSHCertIssuer. # noqa: E501 :type: str diff --git a/akeyless/models/usc_create.py b/akeyless/models/usc_create.py index 49428a8e..5770b542 100644 --- a/akeyless/models/usc_create.py +++ b/akeyless/models/usc_create.py @@ -37,6 +37,7 @@ class UscCreate(object): 'binary_value': 'bool', 'description': 'str', 'json': 'bool', + 'namespace': 'str', 'secret_name': 'str', 'tags': 'dict(str, str)', 'token': 'str', @@ -49,6 +50,7 @@ class UscCreate(object): 'binary_value': 'binary-value', 'description': 'description', 'json': 'json', + 'namespace': 'namespace', 'secret_name': 'secret-name', 'tags': 'tags', 'token': 'token', @@ -57,7 +59,7 @@ class UscCreate(object): 'value': 'value' } - def __init__(self, binary_value=None, description=None, json=False, secret_name=None, tags=None, token=None, uid_token=None, usc_name=None, value=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, binary_value=None, description=None, json=False, namespace=None, secret_name=None, tags=None, token=None, uid_token=None, usc_name=None, value=None, local_vars_configuration=None): # noqa: E501 """UscCreate - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -66,6 +68,7 @@ def __init__(self, binary_value=None, description=None, json=False, secret_name= self._binary_value = None self._description = None self._json = None + self._namespace = None self._secret_name = None self._tags = None self._token = None @@ -80,6 +83,8 @@ def __init__(self, binary_value=None, description=None, json=False, secret_name= self.description = description if json is not None: self.json = json + if namespace is not None: + self.namespace = namespace self.secret_name = secret_name if tags is not None: self.tags = tags @@ -159,6 +164,29 @@ def json(self, json): self._json = json + @property + def namespace(self): + """Gets the namespace of this UscCreate. # noqa: E501 + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :return: The namespace of this UscCreate. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this UscCreate. + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :param namespace: The namespace of this UscCreate. # noqa: E501 + :type: str + """ + + self._namespace = namespace + @property def secret_name(self): """Gets the secret_name of this UscCreate. # noqa: E501 diff --git a/akeyless/models/usc_delete.py b/akeyless/models/usc_delete.py index 66445168..c0466597 100644 --- a/akeyless/models/usc_delete.py +++ b/akeyless/models/usc_delete.py @@ -35,6 +35,7 @@ class UscDelete(object): """ openapi_types = { 'json': 'bool', + 'namespace': 'str', 'secret_id': 'str', 'token': 'str', 'uid_token': 'str', @@ -43,19 +44,21 @@ class UscDelete(object): attribute_map = { 'json': 'json', + 'namespace': 'namespace', 'secret_id': 'secret-id', 'token': 'token', 'uid_token': 'uid-token', 'usc_name': 'usc-name' } - def __init__(self, json=False, secret_id=None, token=None, uid_token=None, usc_name=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, json=False, namespace=None, secret_id=None, token=None, uid_token=None, usc_name=None, local_vars_configuration=None): # noqa: E501 """UscDelete - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._json = None + self._namespace = None self._secret_id = None self._token = None self._uid_token = None @@ -64,6 +67,8 @@ def __init__(self, json=False, secret_id=None, token=None, uid_token=None, usc_n if json is not None: self.json = json + if namespace is not None: + self.namespace = namespace self.secret_id = secret_id if token is not None: self.token = token @@ -94,11 +99,34 @@ def json(self, json): self._json = json + @property + def namespace(self): + """Gets the namespace of this UscDelete. # noqa: E501 + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :return: The namespace of this UscDelete. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this UscDelete. + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :param namespace: The namespace of this UscDelete. # noqa: E501 + :type: str + """ + + self._namespace = namespace + @property def secret_id(self): """Gets the secret_id of this UscDelete. # noqa: E501 - The universal secrets id (or name, for AWS, Azure or K8s targets) to delete # noqa: E501 + The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete # noqa: E501 :return: The secret_id of this UscDelete. # noqa: E501 :rtype: str @@ -109,7 +137,7 @@ def secret_id(self): def secret_id(self, secret_id): """Sets the secret_id of this UscDelete. - The universal secrets id (or name, for AWS, Azure or K8s targets) to delete # noqa: E501 + The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete # noqa: E501 :param secret_id: The secret_id of this UscDelete. # noqa: E501 :type: str diff --git a/akeyless/models/usc_get.py b/akeyless/models/usc_get.py index 9efae123..304b8572 100644 --- a/akeyless/models/usc_get.py +++ b/akeyless/models/usc_get.py @@ -35,41 +35,51 @@ class UscGet(object): """ openapi_types = { 'json': 'bool', + 'namespace': 'str', 'secret_id': 'str', 'token': 'str', 'uid_token': 'str', - 'usc_name': 'str' + 'usc_name': 'str', + 'version_id': 'str' } attribute_map = { 'json': 'json', + 'namespace': 'namespace', 'secret_id': 'secret-id', 'token': 'token', 'uid_token': 'uid-token', - 'usc_name': 'usc-name' + 'usc_name': 'usc-name', + 'version_id': 'version-id' } - def __init__(self, json=False, secret_id=None, token=None, uid_token=None, usc_name=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, json=False, namespace=None, secret_id=None, token=None, uid_token=None, usc_name=None, version_id=None, local_vars_configuration=None): # noqa: E501 """UscGet - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._json = None + self._namespace = None self._secret_id = None self._token = None self._uid_token = None self._usc_name = None + self._version_id = None self.discriminator = None if json is not None: self.json = json + if namespace is not None: + self.namespace = namespace self.secret_id = secret_id if token is not None: self.token = token if uid_token is not None: self.uid_token = uid_token self.usc_name = usc_name + if version_id is not None: + self.version_id = version_id @property def json(self): @@ -94,11 +104,34 @@ def json(self, json): self._json = json + @property + def namespace(self): + """Gets the namespace of this UscGet. # noqa: E501 + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :return: The namespace of this UscGet. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this UscGet. + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :param namespace: The namespace of this UscGet. # noqa: E501 + :type: str + """ + + self._namespace = namespace + @property def secret_id(self): """Gets the secret_id of this UscGet. # noqa: E501 - The secret id (or name, for AWS, Azure or K8s targets) to get from the Universal Secrets Connector # noqa: E501 + The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector # noqa: E501 :return: The secret_id of this UscGet. # noqa: E501 :rtype: str @@ -109,7 +142,7 @@ def secret_id(self): def secret_id(self, secret_id): """Sets the secret_id of this UscGet. - The secret id (or name, for AWS, Azure or K8s targets) to get from the Universal Secrets Connector # noqa: E501 + The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector # noqa: E501 :param secret_id: The secret_id of this UscGet. # noqa: E501 :type: str @@ -190,6 +223,29 @@ def usc_name(self, usc_name): self._usc_name = usc_name + @property + def version_id(self): + """Gets the version_id of this UscGet. # noqa: E501 + + The version id (if not specified, will retrieve the last version) # noqa: E501 + + :return: The version_id of this UscGet. # noqa: E501 + :rtype: str + """ + return self._version_id + + @version_id.setter + def version_id(self, version_id): + """Sets the version_id of this UscGet. + + The version id (if not specified, will retrieve the last version) # noqa: E501 + + :param version_id: The version_id of this UscGet. # noqa: E501 + :type: str + """ + + self._version_id = version_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/akeyless/models/usc_update.py b/akeyless/models/usc_update.py index 4cfa9051..dc2011e9 100644 --- a/akeyless/models/usc_update.py +++ b/akeyless/models/usc_update.py @@ -37,6 +37,7 @@ class UscUpdate(object): 'binary_value': 'bool', 'description': 'str', 'json': 'bool', + 'namespace': 'str', 'secret_id': 'str', 'tags': 'dict(str, str)', 'token': 'str', @@ -49,6 +50,7 @@ class UscUpdate(object): 'binary_value': 'binary-value', 'description': 'description', 'json': 'json', + 'namespace': 'namespace', 'secret_id': 'secret-id', 'tags': 'tags', 'token': 'token', @@ -57,7 +59,7 @@ class UscUpdate(object): 'value': 'value' } - def __init__(self, binary_value=None, description=None, json=False, secret_id=None, tags=None, token=None, uid_token=None, usc_name=None, value=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, binary_value=None, description=None, json=False, namespace=None, secret_id=None, tags=None, token=None, uid_token=None, usc_name=None, value=None, local_vars_configuration=None): # noqa: E501 """UscUpdate - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -66,6 +68,7 @@ def __init__(self, binary_value=None, description=None, json=False, secret_id=No self._binary_value = None self._description = None self._json = None + self._namespace = None self._secret_id = None self._tags = None self._token = None @@ -80,6 +83,8 @@ def __init__(self, binary_value=None, description=None, json=False, secret_id=No self.description = description if json is not None: self.json = json + if namespace is not None: + self.namespace = namespace self.secret_id = secret_id if tags is not None: self.tags = tags @@ -159,11 +164,34 @@ def json(self, json): self._json = json + @property + def namespace(self): + """Gets the namespace of this UscUpdate. # noqa: E501 + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :return: The namespace of this UscUpdate. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this UscUpdate. + + The namespace (relevant for Hashi vault target) # noqa: E501 + + :param namespace: The namespace of this UscUpdate. # noqa: E501 + :type: str + """ + + self._namespace = namespace + @property def secret_id(self): """Gets the secret_id of this UscUpdate. # noqa: E501 - The universal secrets id (or name, for AWS, Azure or K8s targets) to update # noqa: E501 + The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to update # noqa: E501 :return: The secret_id of this UscUpdate. # noqa: E501 :rtype: str @@ -174,7 +202,7 @@ def secret_id(self): def secret_id(self, secret_id): """Sets the secret_id of this UscUpdate. - The universal secrets id (or name, for AWS, Azure or K8s targets) to update # noqa: E501 + The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to update # noqa: E501 :param secret_id: The secret_id of this UscUpdate. # noqa: E501 :type: str diff --git a/docs/AssocTargetItem.md b/docs/AssocTargetItem.md index 193d947e..2ba22126 100644 --- a/docs/AssocTargetItem.md +++ b/docs/AssocTargetItem.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **post_provision_command** | **str** | A custom command to run on the remote target after successful provisioning (relevant only for certificate provisioning) | [optional] **private_key_path** | **str** | A path on the target to store the private key (relevant only for certificate provisioning) | [optional] **project_id** | **str** | Project id of the GCP KMS (required for gcp targets) | [optional] +**protection_level** | **str** | Protection level of the key [software/hardware] (relevant for gcp targets) | [optional] [default to 'software'] **purpose** | **str** | Purpose of the key in GCP KMS (required for gcp targets) | [optional] **regions** | **list[str]** | The list of regions to create a copy of the key in (relevant for aws targets) | [optional] **sra_association** | **bool** | Is the target to associate is for sra, relevant only for linked target association for ldap rotated secret | [optional] [default to False] diff --git a/docs/BastionListEntry.md b/docs/BastionListEntry.md index ea8aa68a..d21012bf 100644 --- a/docs/BastionListEntry.md +++ b/docs/BastionListEntry.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **allowed_urls_per_instance** | **dict(str, list[str])** | | [optional] **cluster_name** | **str** | | [optional] **display_name** | **str** | | [optional] +**has_gateway_identity** | **bool** | | [optional] **last_report** | **datetime** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreateHashiVaultTarget.md b/docs/CreateHashiVaultTarget.md new file mode 100644 index 00000000..2340c831 --- /dev/null +++ b/docs/CreateHashiVaultTarget.md @@ -0,0 +1,19 @@ +# CreateHashiVaultTarget + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Description of the object | [optional] +**hashi_url** | **str** | HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**key** | **str** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] +**max_versions** | **str** | Set the maximum number of versions, limited by the account settings defaults. | [optional] +**name** | **str** | Target name | +**namespace** | **list[str]** | Comma-separated list of vault namespaces | [optional] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] +**vault_token** | **str** | Vault access token with sufficient permissions | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateHashiVaultTargetOutput.md b/docs/CreateHashiVaultTargetOutput.md new file mode 100644 index 00000000..fcfba0c7 --- /dev/null +++ b/docs/CreateHashiVaultTargetOutput.md @@ -0,0 +1,10 @@ +# CreateHashiVaultTargetOutput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**target_id** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateRotatedSecret.md b/docs/CreateRotatedSecret.md index bc1f13d9..9ff52eab 100644 --- a/docs/CreateRotatedSecret.md +++ b/docs/CreateRotatedSecret.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **gcp_service_account_email** | **str** | The email of the gcp service account to rotate | [optional] **gcp_service_account_key_id** | **str** | The key id of the gcp service account to rotate | [optional] **grace_rotation** | **str** | Create a new access key without deleting the old key from AWS for backup (relevant only for AWS) [true/false] | [optional] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **key** | **str** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] **metadata** | **str** | Deprecated - use description | [optional] @@ -51,7 +51,7 @@ Name | Type | Description | Notes **ssh_username** | **str** | Deprecated: use RotatedUser | [optional] **storage_account_key_name** | **str** | The name of the storage account key to rotate [key1/key2/kerb1/kerb2] (relevat to azure-storage-account) | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] -**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **target_name** | **str** | Target name | **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/CreateSSHCertIssuer.md b/docs/CreateSSHCertIssuer.md index 8f37f563..29480654 100644 --- a/docs/CreateSSHCertIssuer.md +++ b/docs/CreateSSHCertIssuer.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] **extensions** | **dict(str, str)** | Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\" | [optional] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **metadata** | **str** | Deprecated - use description | [optional] **name** | **str** | SSH certificate issuer name | @@ -21,7 +21,7 @@ Name | Type | Description | Notes **secure_access_use_internal_bastion** | **bool** | Use internal SSH Bastion | [optional] **signer_key_name** | **str** | A key to sign the certificate with | **tag** | **list[str]** | List of the tags attached to this key | [optional] -**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **ttl** | **int** | The requested Time To Live for the certificate, in seconds | **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/DecryptFile.md b/docs/DecryptFile.md index 50ac4206..6c323640 100644 --- a/docs/DecryptFile.md +++ b/docs/DecryptFile.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **out** | **str** | Path to the output file. If not provided, the output will be sent to stdout | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] +**version** | **int** | key version (relevant only for classic key) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DynamicSecretCreateGoogleWorkspace.md b/docs/DynamicSecretCreateGoogleWorkspace.md index 0e90f73c..516d6781 100644 --- a/docs/DynamicSecretCreateGoogleWorkspace.md +++ b/docs/DynamicSecretCreateGoogleWorkspace.md @@ -5,19 +5,19 @@ dynamicSecretCreateGoogleWorkspace is a command that creates Google Workspace dy Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_mode** | **str** | | -**admin_name** | **str** | Admin user email | +**admin_email** | **str** | Admin user email | **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] **gcp_key** | **str** | Base64-encoded service account private key text | [optional] -**group_name** | **str** | A group email, relevant only for group access-mode | [optional] -**group_role_type** | **str** | | [optional] +**group_email** | **str** | A group email, relevant only for group access-mode | [optional] +**group_role** | **str** | | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **name** | **str** | Dynamic secret name | **producer_encryption_key_name** | **str** | Dynamic producer encryption key | [optional] **role_name** | **str** | Name of the admin role to assign to the user, relevant only for role access-mode | [optional] **role_scope** | **str** | | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] -**target_name** | **str** | Name of existing target to use in producer creation | [optional] +**target_name** | **str** | Name of existing target to use in dynamic secret creation | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] **user_ttl** | **str** | User TTL | [optional] [default to '60m'] diff --git a/docs/DynamicSecretCreateLdap.md b/docs/DynamicSecretCreateLdap.md index 046af5cf..ebe8231d 100644 --- a/docs/DynamicSecretCreateLdap.md +++ b/docs/DynamicSecretCreateLdap.md @@ -4,19 +4,26 @@ dynamicSecretCreateLdap is a command that creates ldap dynamic secret ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**provider_type** | **str** | | [optional] **bind_dn** | **str** | Bind DN | [optional] **bind_dn_password** | **str** | Bind DN Password | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] **external_username** | **str** | Externally provided username [true/false] | [optional] [default to 'false'] **group_dn** | **str** | Group DN which the temporary user should be added | [optional] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **ldap_ca_cert** | **str** | CA Certificate File Content | [optional] **ldap_url** | **str** | LDAP Server URL | [optional] **name** | **str** | Dynamic secret name | **password_length** | **str** | The length of the password to be generated | [optional] **producer_encryption_key_name** | **str** | Dynamic producer encryption key | [optional] +**secure_access_enable** | **str** | Enable/Disable secure remote access [true/false] | [optional] +**secure_access_host** | **list[str]** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] +**secure_access_rd_gateway_server** | **str** | RD Gateway server | [optional] +**secure_access_rdp_domain** | **str** | Required when the Dynamic Secret is used for a domain user | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **target_name** | **str** | Target name | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **token_expiration** | **str** | Token expiration | [optional] diff --git a/docs/DynamicSecretUpdateGoogleWorkspace.md b/docs/DynamicSecretUpdateGoogleWorkspace.md index 8def2193..ec5d190a 100644 --- a/docs/DynamicSecretUpdateGoogleWorkspace.md +++ b/docs/DynamicSecretUpdateGoogleWorkspace.md @@ -5,12 +5,12 @@ dynamicSecretUpdateGoogleWorkspace is a command that updates a Google Workspace Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_mode** | **str** | | -**admin_name** | **str** | Admin user email | +**admin_email** | **str** | Admin user email | **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] **gcp_key** | **str** | Base64-encoded service account private key text | [optional] -**group_name** | **str** | A group email, relevant only for group access-mode | [optional] -**group_role_type** | **str** | | [optional] +**group_email** | **str** | A group email, relevant only for group access-mode | [optional] +**group_role** | **str** | | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **name** | **str** | Dynamic secret name | **new_name** | **str** | Dynamic secret new name | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes **role_name** | **str** | Name of the admin role to assign to the user, relevant only for role access-mode | [optional] **role_scope** | **str** | | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] -**target_name** | **str** | Name of existing target to use in producer creation | [optional] +**target_name** | **str** | Name of existing target to use in dynamic secret creation | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] **user_ttl** | **str** | User TTL | [optional] [default to '60m'] diff --git a/docs/DynamicSecretUpdateLdap.md b/docs/DynamicSecretUpdateLdap.md index a3228c7d..a0e91b7a 100644 --- a/docs/DynamicSecretUpdateLdap.md +++ b/docs/DynamicSecretUpdateLdap.md @@ -4,12 +4,14 @@ dynamicSecretUpdateLdap is a command that updates ldap dynamic secret ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**provider_type** | **str** | | [optional] **bind_dn** | **str** | Bind DN | [optional] **bind_dn_password** | **str** | Bind DN Password | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] **external_username** | **str** | Externally provided username [true/false] | [optional] [default to 'false'] **group_dn** | **str** | Group DN which the temporary user should be added | [optional] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **ldap_ca_cert** | **str** | CA Certificate File Content | [optional] **ldap_url** | **str** | LDAP Server URL | [optional] @@ -17,7 +19,12 @@ Name | Type | Description | Notes **new_name** | **str** | Dynamic secret new name | [optional] **password_length** | **str** | The length of the password to be generated | [optional] **producer_encryption_key_name** | **str** | Dynamic producer encryption key | [optional] +**secure_access_enable** | **str** | Enable/Disable secure remote access [true/false] | [optional] +**secure_access_host** | **list[str]** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] +**secure_access_rd_gateway_server** | **str** | RD Gateway server | [optional] +**secure_access_rdp_domain** | **str** | Required when the Dynamic Secret is used for a domain user | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **target_name** | **str** | Target name | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **token_expiration** | **str** | Token expiration | [optional] diff --git a/docs/GatewayCreateProducerLdap.md b/docs/GatewayCreateProducerLdap.md index 8704f674..86601472 100644 --- a/docs/GatewayCreateProducerLdap.md +++ b/docs/GatewayCreateProducerLdap.md @@ -4,18 +4,25 @@ gatewayCreateProducerLdap is a command that creates ldap producer [Deprecated: U ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**provider_type** | **str** | | [optional] **bind_dn** | **str** | Bind DN | [optional] **bind_dn_password** | **str** | Bind DN Password | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **external_username** | **str** | Externally provided username [true/false] | [optional] [default to 'false'] **group_dn** | **str** | Group DN which the temporary user should be added | [optional] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **ldap_ca_cert** | **str** | CA Certificate File Content | [optional] **ldap_url** | **str** | LDAP Server URL | [optional] **name** | **str** | Dynamic secret name | **password_length** | **str** | The length of the password to be generated | [optional] **producer_encryption_key_name** | **str** | Dynamic producer encryption key | [optional] +**secure_access_enable** | **str** | Enable/Disable secure remote access [true/false] | [optional] +**secure_access_host** | **list[str]** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] +**secure_access_rd_gateway_server** | **str** | RD Gateway server | [optional] +**secure_access_rdp_domain** | **str** | Required when the Dynamic Secret is used for a domain user | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **target_name** | **str** | Target name | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **token_expiration** | **str** | Token expiration | [optional] diff --git a/docs/GatewayGetCache.md b/docs/GatewayGetCache.md new file mode 100644 index 00000000..a032afcf --- /dev/null +++ b/docs/GatewayGetCache.md @@ -0,0 +1,13 @@ +# GatewayGetCache + +gatewayGetCache is a command that get cache settings +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayGetDefaults.md b/docs/GatewayGetDefaults.md new file mode 100644 index 00000000..dc907bed --- /dev/null +++ b/docs/GatewayGetDefaults.md @@ -0,0 +1,13 @@ +# GatewayGetDefaults + +gatewayGetDefaults is a command that get defaults settings +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayGetDefaultsOutput.md b/docs/GatewayGetDefaultsOutput.md new file mode 100644 index 00000000..ce007afb --- /dev/null +++ b/docs/GatewayGetDefaultsOutput.md @@ -0,0 +1,14 @@ +# GatewayGetDefaultsOutput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**certificate_access_id** | **str** | | [optional] +**default_protection_key_id** | **str** | | [optional] +**notify_on_status_change** | **bool** | | [optional] +**oidc_access_id** | **str** | | [optional] +**saml_access_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayGetLogForwarding.md b/docs/GatewayGetLogForwarding.md new file mode 100644 index 00000000..cd6a67a8 --- /dev/null +++ b/docs/GatewayGetLogForwarding.md @@ -0,0 +1,13 @@ +# GatewayGetLogForwarding + +gatewayGetLogForwarding is a command to get log forwarding configuration +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayListCustomerFragments.md b/docs/GatewayListCustomerFragments.md new file mode 100644 index 00000000..f1943dba --- /dev/null +++ b/docs/GatewayListCustomerFragments.md @@ -0,0 +1,13 @@ +# GatewayListCustomerFragments + +gatewayListCustomerFragments is a command that list customer fragments +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateCache.md b/docs/GatewayUpdateCache.md new file mode 100644 index 00000000..a5247379 --- /dev/null +++ b/docs/GatewayUpdateCache.md @@ -0,0 +1,18 @@ +# GatewayUpdateCache + +gatewayUpdateCache is a command that updates cache settings +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**backup_interval** | **str** | Secure backup interval in minutes. To ensure service continuity in case of power cycle and network outage secrets will be backed up periodically per backup interval | [optional] [default to '1'] +**enable_cache** | **str** | Enable cache [true/false] | [optional] +**enable_proactive** | **str** | Enable proactive caching [true/false] | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**minimum_fetch_interval** | **str** | When using Cache or/and Proactive Cache, additional secrets will be fetched upon requesting a secret, based on the requestor's access policy. Define minimum fetching interval to avoid over fetching in a given time frame | [optional] [default to '5'] +**stale_timeout** | **str** | Stale timeout in minutes, cache entries which are not accessed within timeout will be removed from cache | [optional] [default to '60'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateDefaults.md b/docs/GatewayUpdateDefaults.md new file mode 100644 index 00000000..7692131c --- /dev/null +++ b/docs/GatewayUpdateDefaults.md @@ -0,0 +1,18 @@ +# GatewayUpdateDefaults + +gatewayUpdateDefaults is a command that updates defaults settings +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cert_access_id** | **str** | Default Certificate access id for UI login | [optional] [default to 'use-existing'] +**event_on_status_change** | **str** | Trigger an event when Gateway status is changed [true/false] | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**key** | **str** | The name of the gateway default encryption key | [optional] [default to 'Default'] +**oidc_access_id** | **str** | Default OIDC access id for UI login | [optional] [default to 'use-existing'] +**saml_access_id** | **str** | Default SAML access id for UI login | [optional] [default to 'use-existing'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingAwsS3.md b/docs/GatewayUpdateLogForwardingAwsS3.md new file mode 100644 index 00000000..0821f55e --- /dev/null +++ b/docs/GatewayUpdateLogForwardingAwsS3.md @@ -0,0 +1,23 @@ +# GatewayUpdateLogForwardingAwsS3 + +gatewayUpdateLogForwardingAwsS3 is a command that updates log forwarding config (aws-s3 target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**access_id** | **str** | AWS access id relevant for access_key auth-type | [optional] +**access_key** | **str** | AWS access key relevant for access_key auth-type | [optional] +**auth_type** | **str** | AWS auth type [access_key/cloud_id/assume_role] | [optional] +**bucket_name** | **str** | AWS S3 bucket name | [optional] +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**log_folder** | **str** | AWS S3 destination folder for logs | [optional] [default to 'use-existing'] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**region** | **str** | AWS region | [optional] +**role_arn** | **str** | AWS role arn relevant for assume_role auth-type | [optional] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingAzureAnalytics.md b/docs/GatewayUpdateLogForwardingAzureAnalytics.md new file mode 100644 index 00000000..ef35e651 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingAzureAnalytics.md @@ -0,0 +1,18 @@ +# GatewayUpdateLogForwardingAzureAnalytics + +gatewayUpdateLogForwardingAzureAnalytics is a command that updates log forwarding config (azure-analytics target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] +**workspace_id** | **str** | Azure workspace id | [optional] +**workspace_key** | **str** | Azure workspace key | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingDatadog.md b/docs/GatewayUpdateLogForwardingDatadog.md new file mode 100644 index 00000000..c1965b75 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingDatadog.md @@ -0,0 +1,21 @@ +# GatewayUpdateLogForwardingDatadog + +gatewayUpdateLogForwardingDatadog is a command that updates log forwarding config (datadog target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_key** | **str** | Datadog api key | [optional] +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**host** | **str** | Datadog host | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**log_service** | **str** | Datadog log service | [optional] [default to 'use-existing'] +**log_source** | **str** | Datadog log source | [optional] [default to 'use-existing'] +**log_tags** | **str** | A comma-separated list of Datadog log tags formatted as \"key:value\" strings | [optional] [default to 'use-existing'] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingElasticsearch.md b/docs/GatewayUpdateLogForwardingElasticsearch.md new file mode 100644 index 00000000..503be2a1 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingElasticsearch.md @@ -0,0 +1,26 @@ +# GatewayUpdateLogForwardingElasticsearch + +gatewayUpdateLogForwardingElasticsearch is a command that updates log forwarding config (elasticsearch target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_key** | **str** | Elasticsearch api key relevant only for api_key auth-type | [optional] +**auth_type** | **str** | Elasticsearch auth type [api_key/password] | [optional] +**cloud_id** | **str** | Elasticsearch cloud id relevant only for cloud server-type | [optional] +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**enable_tls** | **bool** | Enable tls | [optional] +**index** | **str** | Elasticsearch index | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**nodes** | **str** | Elasticsearch nodes relevant only for nodes server-type | [optional] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**password** | **str** | Elasticsearch password relevant only for password auth-type | [optional] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**server_type** | **str** | Elasticsearch server type [cloud/nodes] | [optional] +**tls_certificate** | **str** | Elasticsearch tls certificate | [optional] [default to 'use-existing'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] +**user_name** | **str** | Elasticsearch user name relevant only for password auth-type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingGoogleChronicle.md b/docs/GatewayUpdateLogForwardingGoogleChronicle.md new file mode 100644 index 00000000..a8b24998 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingGoogleChronicle.md @@ -0,0 +1,20 @@ +# GatewayUpdateLogForwardingGoogleChronicle + +gatewayUpdateLogForwardingGoogleChronicle is a command that updates log forwarding config (google-chronicle target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **str** | Google chronicle customer id | [optional] +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**gcp_key** | **str** | Base64-encoded service account private key text | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**log_type** | **str** | Google chronicle log type | [optional] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**region** | **str** | Google chronicle region [eu_multi_region/london/us_multi_region/singapore/tel_aviv] | [optional] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingLogstash.md b/docs/GatewayUpdateLogForwardingLogstash.md new file mode 100644 index 00000000..b1151e17 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingLogstash.md @@ -0,0 +1,20 @@ +# GatewayUpdateLogForwardingLogstash + +gatewayUpdateLogForwardingLogstash is a command that updates log forwarding config (logstash target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dns** | **str** | Logstash dns | [optional] +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**enable_tls** | **bool** | Enable tls | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**protocol** | **str** | Logstash protocol [tcp/udp] | [optional] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**tls_certificate** | **str** | Logstash tls certificate | [optional] [default to 'use-existing'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingLogzIo.md b/docs/GatewayUpdateLogForwardingLogzIo.md new file mode 100644 index 00000000..e90f6bd9 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingLogzIo.md @@ -0,0 +1,18 @@ +# GatewayUpdateLogForwardingLogzIo + +gatewayUpdateLogForwardingLogzIo is a command that updates log forwarding config (logz-io target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**logz_io_token** | **str** | Logz-io token | [optional] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**protocol** | **str** | LogzIo protocol [tcp/https] | [optional] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingOutput.md b/docs/GatewayUpdateLogForwardingOutput.md new file mode 100644 index 00000000..70a04e97 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingOutput.md @@ -0,0 +1,10 @@ +# GatewayUpdateLogForwardingOutput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**updated** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingSplunk.md b/docs/GatewayUpdateLogForwardingSplunk.md new file mode 100644 index 00000000..e620f714 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingSplunk.md @@ -0,0 +1,23 @@ +# GatewayUpdateLogForwardingSplunk + +gatewayUpdateLogForwardingSplunk is a command that updates log forwarding config (splunk target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**enable_tls** | **bool** | Enable tls | [optional] +**index** | **str** | Splunk index | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**source** | **str** | Splunk source | [optional] [default to 'use-existing'] +**source_type** | **str** | Splunk source type | [optional] [default to 'use-existing'] +**splunk_token** | **str** | Splunk token | [optional] +**splunk_url** | **str** | Splunk server URL | [optional] +**tls_certificate** | **str** | Splunk tls certificate | [optional] [default to 'use-existing'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingStdout.md b/docs/GatewayUpdateLogForwardingStdout.md new file mode 100644 index 00000000..81c57a30 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingStdout.md @@ -0,0 +1,16 @@ +# GatewayUpdateLogForwardingStdout + +gatewayUpdateLogForwardingStdout is a command that updates log forwarding config (stdout target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingSumologic.md b/docs/GatewayUpdateLogForwardingSumologic.md new file mode 100644 index 00000000..0f801cb7 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingSumologic.md @@ -0,0 +1,19 @@ +# GatewayUpdateLogForwardingSumologic + +gatewayUpdateLogForwardingSumologic is a command that updates log forwarding config (sumologic target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**endpoint** | **str** | Sumologic endpoint URL | [optional] +**host** | **str** | Sumologic host | [optional] [default to 'use-existing'] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**sumologic_tags** | **str** | A comma-separated list of Sumologic tags | [optional] [default to 'use-existing'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateLogForwardingSyslog.md b/docs/GatewayUpdateLogForwardingSyslog.md new file mode 100644 index 00000000..ea6f9a47 --- /dev/null +++ b/docs/GatewayUpdateLogForwardingSyslog.md @@ -0,0 +1,22 @@ +# GatewayUpdateLogForwardingSyslog + +gatewayUpdateLogForwardingSyslog is a command that updates log forwarding config (syslog target) +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **str** | Enable Log Forwarding [true/false] | [optional] [default to 'true'] +**enable_tls** | **bool** | Enable tls relevant only for network type TCP | [optional] +**formatter** | **str** | Syslog formatter [text/cef] | [optional] [default to 'text'] +**host** | **str** | Syslog host | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**network** | **str** | Syslog network [tcp/udp] | [optional] [default to 'tcp'] +**output_format** | **str** | Logs format [text/json] | [optional] [default to 'text'] +**pull_interval** | **str** | Pull interval in seconds | [optional] [default to '10'] +**target_tag** | **str** | Syslog target tag | [optional] [default to 'use-existing'] +**tls_certificate** | **str** | Syslog tls certificate | [optional] [default to 'use-existing'] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateOutput.md b/docs/GatewayUpdateOutput.md new file mode 100644 index 00000000..34595475 --- /dev/null +++ b/docs/GatewayUpdateOutput.md @@ -0,0 +1,10 @@ +# GatewayUpdateOutput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**updated** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GatewayUpdateProducerLdap.md b/docs/GatewayUpdateProducerLdap.md index de8e61e6..4e7233e4 100644 --- a/docs/GatewayUpdateProducerLdap.md +++ b/docs/GatewayUpdateProducerLdap.md @@ -4,11 +4,13 @@ gatewayUpdateProducerLdap is a command that updates ldap producer [Deprecated: U ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**provider_type** | **str** | | [optional] **bind_dn** | **str** | Bind DN | [optional] **bind_dn_password** | **str** | Bind DN Password | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **external_username** | **str** | Externally provided username [true/false] | [optional] [default to 'false'] **group_dn** | **str** | Group DN which the temporary user should be added | [optional] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **ldap_ca_cert** | **str** | CA Certificate File Content | [optional] **ldap_url** | **str** | LDAP Server URL | [optional] @@ -16,7 +18,12 @@ Name | Type | Description | Notes **new_name** | **str** | Dynamic secret name | [optional] **password_length** | **str** | The length of the password to be generated | [optional] **producer_encryption_key_name** | **str** | Dynamic producer encryption key | [optional] +**secure_access_enable** | **str** | Enable/Disable secure remote access [true/false] | [optional] +**secure_access_host** | **list[str]** | Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) | [optional] +**secure_access_rd_gateway_server** | **str** | RD Gateway server | [optional] +**secure_access_rdp_domain** | **str** | Required when the Dynamic Secret is used for a domain user | [optional] **tags** | **list[str]** | Add tags attached to this object | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **target_name** | **str** | Target name | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **token_expiration** | **str** | Token expiration | [optional] diff --git a/docs/GetPKICertificateOutput.md b/docs/GetPKICertificateOutput.md index fc0a6c20..3eb173fe 100644 --- a/docs/GetPKICertificateOutput.md +++ b/docs/GetPKICertificateOutput.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cert_display_id** | **str** | | [optional] +**cert_item_id** | **int** | | [optional] **data** | **str** | | [optional] **parent_cert** | **str** | | [optional] **path** | **str** | | [optional] diff --git a/docs/HashiVaultTargetDetails.md b/docs/HashiVaultTargetDetails.md new file mode 100644 index 00000000..b2834770 --- /dev/null +++ b/docs/HashiVaultTargetDetails.md @@ -0,0 +1,13 @@ +# HashiVaultTargetDetails + +HashiVaultTargetDetails +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vault_namespaces** | **str** | | [optional] +**vault_token** | **str** | | [optional] +**vault_url** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ItemSraStatus.md b/docs/ItemSraStatus.md index f8dbf65f..ef4c17d3 100644 --- a/docs/ItemSraStatus.md +++ b/docs/ItemSraStatus.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**count_by_host_info** | **dict(str, int)** | | [optional] **count_info** | **dict(str, dict(str, int))** | | [optional] +**hosts_in_use** | **list[str]** | | [optional] **is_in_use** | **bool** | | [optional] **last_used_item** | **datetime** | | [optional] diff --git a/docs/RotatedSecretCreateLdap.md b/docs/RotatedSecretCreateLdap.md index bf50e22f..af35ba29 100644 --- a/docs/RotatedSecretCreateLdap.md +++ b/docs/RotatedSecretCreateLdap.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **auto_rotate** | **str** | Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **key** | **str** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] **max_versions** | **str** | Set the maximum number of versions, limited by the account settings defaults. | [optional] @@ -28,7 +28,7 @@ Name | Type | Description | Notes **secure_access_web_browsing** | **bool** | Secure browser via Akeyless Web Access Bastion | [optional] [default to False] **secure_access_web_proxy** | **bool** | Web-Proxy via Akeyless Web Access Bastion | [optional] [default to False] **tags** | **list[str]** | Add tags attached to this object | [optional] -**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **target_name** | **str** | Target name | **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/RotatedSecretUpdateLdap.md b/docs/RotatedSecretUpdateLdap.md index 4704f3e9..06985009 100644 --- a/docs/RotatedSecretUpdateLdap.md +++ b/docs/RotatedSecretUpdateLdap.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **auto_rotate** | **str** | Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] [default to 'default_metadata'] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **keep_prev_version** | **str** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] **key** | **str** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes **secure_access_web** | **bool** | Enable Web Secure Remote Access | [optional] [default to False] **secure_access_web_browsing** | **bool** | Secure browser via Akeyless Web Access Bastion | [optional] [default to False] **secure_access_web_proxy** | **bool** | Web-Proxy via Akeyless Web Access Bastion | [optional] [default to False] -**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times | [optional] +**target** | **list[str]** | A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer, ldap rotated secret and ldap dynamic secret, To specify multiple targets use argument multiple times | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] **user_attribute** | **str** | LDAP User Attribute, Default value \"cn\" | [optional] [default to 'cn'] diff --git a/docs/SecretInfo.md b/docs/SecretInfo.md index 98065151..666c3d2a 100644 --- a/docs/SecretInfo.md +++ b/docs/SecretInfo.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **status** | **bool** | | [optional] **tags** | **dict(str, str)** | | [optional] **type** | **str** | | [optional] +**version** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SharingPolicyInfo.md b/docs/SharingPolicyInfo.md index 5845b239..a0689a8b 100644 --- a/docs/SharingPolicyInfo.md +++ b/docs/SharingPolicyInfo.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **default_share_link_ttl** | **int** | | [optional] +**enable** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TargetTypeDetailsInput.md b/docs/TargetTypeDetailsInput.md index 01005c25..6cd9fd1c 100644 --- a/docs/TargetTypeDetailsInput.md +++ b/docs/TargetTypeDetailsInput.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **globalsign_atlas_target_details** | [**GlobalSignAtlasTargetDetails**](GlobalSignAtlasTargetDetails.md) | | [optional] **globalsign_target_details** | [**GlobalSignGCCTargetDetails**](GlobalSignGCCTargetDetails.md) | | [optional] **godaddy_target_details** | [**GodaddyTargetDetails**](GodaddyTargetDetails.md) | | [optional] +**hashi_vault_target_details** | [**HashiVaultTargetDetails**](HashiVaultTargetDetails.md) | | [optional] **ldap_target_details** | [**LdapTargetDetails**](LdapTargetDetails.md) | | [optional] **linked_target_details** | [**LinkedTargetDetails**](LinkedTargetDetails.md) | | [optional] **mongo_db_target_details** | [**MongoDBTargetDetails**](MongoDBTargetDetails.md) | | [optional] diff --git a/docs/UpdateAccountSettings.md b/docs/UpdateAccountSettings.md index 6045beb5..16a20b06 100644 --- a/docs/UpdateAccountSettings.md +++ b/docs/UpdateAccountSettings.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **dp_enable_classic_key_protection** | **str** | Set to update protection with classic keys state [true/false] | [optional] **dynamic_secret_max_ttl** | **int** | Set the maximum ttl for dynamic secrets | [optional] **dynamic_secret_max_ttl_enable** | **str** | Set a maximum ttl for dynamic secrets [true/false] | [optional] +**enable_item_sharing** | **str** | Enable sharing items [true/false] | [optional] **force_new_versions** | **str** | If set to true, new version will be created on update | [optional] **invalid_characters** | **str** | Characters that cannot be used for items/targets/roles/auths/event_forwarder names. Empty string will enforce nothing. | [optional] [default to 'notReceivedInvalidCharacter'] **item_type** | **str** | VersionSettingsObjectType defines object types for account version settings | [optional] diff --git a/docs/UpdateHashiVaultTarget.md b/docs/UpdateHashiVaultTarget.md new file mode 100644 index 00000000..5d7e6c3c --- /dev/null +++ b/docs/UpdateHashiVaultTarget.md @@ -0,0 +1,22 @@ +# UpdateHashiVaultTarget + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Description of the object | [optional] +**hashi_url** | **str** | HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 | [optional] +**json** | **bool** | Set output format to JSON | [optional] [default to False] +**keep_prev_version** | **str** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] +**key** | **str** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] +**max_versions** | **str** | Set the maximum number of versions, limited by the account settings defaults. | [optional] +**name** | **str** | Target name | +**namespace** | **list[str]** | Comma-separated list of vault namespaces | [optional] +**new_name** | **str** | New target name | [optional] +**token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] +**uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] +**update_version** | **bool** | Deprecated | [optional] +**vault_token** | **str** | Vault access token with sufficient permissions | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateHashiVaultTargetOutput.md b/docs/UpdateHashiVaultTargetOutput.md new file mode 100644 index 00000000..5a43f20e --- /dev/null +++ b/docs/UpdateHashiVaultTargetOutput.md @@ -0,0 +1,10 @@ +# UpdateHashiVaultTargetOutput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**target_id** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateItem.md b/docs/UpdateItem.md index 28b428a2..5102988d 100644 --- a/docs/UpdateItem.md +++ b/docs/UpdateItem.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **change_event** | **str** | Trigger an event when a secret value changed [true/false] (Relevant only for Static Secret) | [optional] **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] [default to 'default_metadata'] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **max_versions** | **str** | Set the maximum number of versions, limited by the account settings defaults. | [optional] **name** | **str** | Current item name | diff --git a/docs/UpdateRotatedSecret.md b/docs/UpdateRotatedSecret.md index 91d94dd3..4df21e20 100644 --- a/docs/UpdateRotatedSecret.md +++ b/docs/UpdateRotatedSecret.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **description** | **str** | Description of the object | [optional] [default to 'default_metadata'] **gcp_key** | **str** | Base64-encoded service account private key text | [optional] **grace_rotation** | **str** | Create a new access key without deleting the old key from AWS for backup (relevant only for AWS) [true/false] | [optional] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **keep_prev_version** | **str** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] **key** | **str** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] diff --git a/docs/UpdateSSHCertIssuer.md b/docs/UpdateSSHCertIssuer.md index 65fb0bfa..8131044c 100644 --- a/docs/UpdateSSHCertIssuer.md +++ b/docs/UpdateSSHCertIssuer.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **delete_protection** | **str** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **str** | Description of the object | [optional] **extensions** | **dict(str, str)** | Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\" | [optional] -**host_provider** | **str** | Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret | [optional] [default to 'explicit'] +**host_provider** | **str** | Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access of ssh cert issuer, ldap rotated secret and ldap dynamic secret | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] **metadata** | **str** | Deprecated - use description | [optional] **name** | **str** | SSH certificate issuer name | diff --git a/docs/UscCreate.md b/docs/UscCreate.md index c6e67ae3..c2fb3f5e 100644 --- a/docs/UscCreate.md +++ b/docs/UscCreate.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **binary_value** | **bool** | Use this option if the universal secrets value is a base64 encoded binary | [optional] **description** | **str** | Description of the universal secrets | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] +**namespace** | **str** | The namespace (relevant for Hashi vault target) | [optional] **secret_name** | **str** | Name for the new universal secrets | **tags** | **dict(str, str)** | Tags for the universal secrets | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] diff --git a/docs/UscDelete.md b/docs/UscDelete.md index 86ad6020..1ab233d9 100644 --- a/docs/UscDelete.md +++ b/docs/UscDelete.md @@ -5,7 +5,8 @@ uscDelete is a command that deletes a secret from a Universal Secrets Connector Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **json** | **bool** | Set output format to JSON | [optional] [default to False] -**secret_id** | **str** | The universal secrets id (or name, for AWS, Azure or K8s targets) to delete | +**namespace** | **str** | The namespace (relevant for Hashi vault target) | [optional] +**secret_id** | **str** | The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete | **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] **usc_name** | **str** | Name of the Universal Secrets Connector item | diff --git a/docs/UscGet.md b/docs/UscGet.md index 002085ef..3bd86100 100644 --- a/docs/UscGet.md +++ b/docs/UscGet.md @@ -5,10 +5,12 @@ uscGet is a command that gets the value and internal details of a secret from a Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **json** | **bool** | Set output format to JSON | [optional] [default to False] -**secret_id** | **str** | The secret id (or name, for AWS, Azure or K8s targets) to get from the Universal Secrets Connector | +**namespace** | **str** | The namespace (relevant for Hashi vault target) | [optional] +**secret_id** | **str** | The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector | **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] **usc_name** | **str** | Name of the Universal Secrets Connector item | +**version_id** | **str** | The version id (if not specified, will retrieve the last version) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UscUpdate.md b/docs/UscUpdate.md index d71eabc1..3e23b4df 100644 --- a/docs/UscUpdate.md +++ b/docs/UscUpdate.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **binary_value** | **bool** | Use this option if the universal secrets value is a base64 encoded binary | [optional] **description** | **str** | Description of the universal secrets | [optional] **json** | **bool** | Set output format to JSON | [optional] [default to False] -**secret_id** | **str** | The universal secrets id (or name, for AWS, Azure or K8s targets) to update | +**namespace** | **str** | The namespace (relevant for Hashi vault target) | [optional] +**secret_id** | **str** | The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to update | **tags** | **dict(str, str)** | Tags for the universal secrets | [optional] **token** | **str** | Authentication token (see `/auth` and `/configure`) | [optional] **uid_token** | **str** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/V2Api.md b/docs/V2Api.md index 2cd45b1e..7ce07941 100644 --- a/docs/V2Api.md +++ b/docs/V2Api.md @@ -42,6 +42,7 @@ Method | HTTP request | Description [**create_global_sign_target**](V2Api.md#create_global_sign_target) | **POST** /create-globalsign-target | [**create_godaddy_target**](V2Api.md#create_godaddy_target) | **POST** /create-godaddy-target | [**create_group**](V2Api.md#create_group) | **POST** /create-group | +[**create_hashi_vault_target**](V2Api.md#create_hashi_vault_target) | **POST** /create-hashi-vault-target | [**create_key**](V2Api.md#create_key) | **POST** /create-key | [**create_linked_target**](V2Api.md#create_linked_target) | **POST** /create-linked-target | [**create_native_k8_s_target**](V2Api.md#create_native_k8_s_target) | **POST** /create-k8s-target | @@ -201,12 +202,16 @@ Method | HTTP request | Description [**gateway_delete_producer**](V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer | [**gateway_download_customer_fragments**](V2Api.md#gateway_download_customer_fragments) | **POST** /gateway-download-customer-fragments | [**gateway_get_allowed_access**](V2Api.md#gateway_get_allowed_access) | **POST** /gateway-get-allowed-access | +[**gateway_get_cache**](V2Api.md#gateway_get_cache) | **POST** /gateway-get-cache | [**gateway_get_config**](V2Api.md#gateway_get_config) | **POST** /gateway-get-config | +[**gateway_get_defaults**](V2Api.md#gateway_get_defaults) | **POST** /gateway-get-defaults | [**gateway_get_k8_s_auth_config**](V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config | [**gateway_get_ldap_auth_config**](V2Api.md#gateway_get_ldap_auth_config) | **POST** /gateway-get-ldap-auth-config | +[**gateway_get_log_forwarding**](V2Api.md#gateway_get_log_forwarding) | **POST** /gateway-get-log-forwarding | [**gateway_get_migration**](V2Api.md#gateway_get_migration) | **POST** /gateway-get-migration | [**gateway_get_producer**](V2Api.md#gateway_get_producer) | **POST** /gateway-get-producer | [**gateway_get_tmp_users**](V2Api.md#gateway_get_tmp_users) | **POST** /gateway-get-producer-tmp-creds | +[**gateway_list_customer_fragments**](V2Api.md#gateway_list_customer_fragments) | **POST** /gateway-list-customer-fragments | [**gateway_list_migration**](V2Api.md#gateway_list_migration) | **POST** /gateway-list-migration | [**gateway_list_producers**](V2Api.md#gateway_list_producers) | **POST** /gateway-list-producers | [**gateway_list_rotated_secrets**](V2Api.md#gateway_list_rotated_secrets) | **POST** /gateway-list-rotated-secrets | @@ -217,9 +222,22 @@ Method | HTTP request | Description [**gateway_stop_producer**](V2Api.md#gateway_stop_producer) | **POST** /gateway-stop-producer | [**gateway_sync_migration**](V2Api.md#gateway_sync_migration) | **POST** /gateway-sync-migration | [**gateway_update_allowed_access**](V2Api.md#gateway_update_allowed_access) | **POST** /gateway-update-allowed-access | +[**gateway_update_cache**](V2Api.md#gateway_update_cache) | **POST** /gateway-update-cache | +[**gateway_update_defaults**](V2Api.md#gateway_update_defaults) | **POST** /gateway-update-defaults | [**gateway_update_item**](V2Api.md#gateway_update_item) | **POST** /gateway-update-item | [**gateway_update_k8_s_auth_config**](V2Api.md#gateway_update_k8_s_auth_config) | **POST** /gateway-update-k8s-auth-config | [**gateway_update_ldap_auth_config**](V2Api.md#gateway_update_ldap_auth_config) | **POST** /gateway-update-ldap-auth-config | +[**gateway_update_log_forwarding_aws_s3**](V2Api.md#gateway_update_log_forwarding_aws_s3) | **POST** /gateway-update-log-forwarding-aws-s3 | +[**gateway_update_log_forwarding_azure_analytics**](V2Api.md#gateway_update_log_forwarding_azure_analytics) | **POST** /gateway-update-log-forwarding-azure-analytics | +[**gateway_update_log_forwarding_datadog**](V2Api.md#gateway_update_log_forwarding_datadog) | **POST** /gateway-update-log-forwarding-datadog | +[**gateway_update_log_forwarding_elasticsearch**](V2Api.md#gateway_update_log_forwarding_elasticsearch) | **POST** /gateway-update-log-forwarding-elasticsearch | +[**gateway_update_log_forwarding_google_chronicle**](V2Api.md#gateway_update_log_forwarding_google_chronicle) | **POST** /gateway-update-log-forwarding-google-chronicle | +[**gateway_update_log_forwarding_logstash**](V2Api.md#gateway_update_log_forwarding_logstash) | **POST** /gateway-update-log-forwarding-logstash | +[**gateway_update_log_forwarding_logz_io**](V2Api.md#gateway_update_log_forwarding_logz_io) | **POST** /gateway-update-log-forwarding-logz-io | +[**gateway_update_log_forwarding_splunk**](V2Api.md#gateway_update_log_forwarding_splunk) | **POST** /gateway-update-log-forwarding-splunk | +[**gateway_update_log_forwarding_stdout**](V2Api.md#gateway_update_log_forwarding_stdout) | **POST** /gateway-update-log-forwarding-stdout | +[**gateway_update_log_forwarding_sumologic**](V2Api.md#gateway_update_log_forwarding_sumologic) | **POST** /gateway-update-log-forwarding-sumologic | +[**gateway_update_log_forwarding_syslog**](V2Api.md#gateway_update_log_forwarding_syslog) | **POST** /gateway-update-log-forwarding-syslog | [**gateway_update_migration**](V2Api.md#gateway_update_migration) | **POST** /gateway-update-migration | [**gateway_update_producer_artifactory**](V2Api.md#gateway_update_producer_artifactory) | **POST** /gateway-update-producer-artifactory | [**gateway_update_producer_aws**](V2Api.md#gateway_update_producer_aws) | **POST** /gateway-update-producer-aws | @@ -392,6 +410,7 @@ Method | HTTP request | Description [**update_global_sign_target**](V2Api.md#update_global_sign_target) | **POST** /update-globalsign-target | [**update_godaddy_target**](V2Api.md#update_godaddy_target) | **POST** /update-godaddy-target | [**update_group**](V2Api.md#update_group) | **POST** /update-group | +[**update_hashi_vault_target**](V2Api.md#update_hashi_vault_target) | **POST** /update-hashi-vault-target | [**update_item**](V2Api.md#update_item) | **POST** /update-item | [**update_ldap_target**](V2Api.md#update_ldap_target) | **POST** /update-ldap-target | [**update_ldap_target_details**](V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details | @@ -2714,6 +2733,66 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **create_hashi_vault_target** +> CreateHashiVaultTargetOutput create_hashi_vault_target(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.CreateHashiVaultTarget() # CreateHashiVaultTarget | + + try: + api_response = api_instance.create_hashi_vault_target(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->create_hashi_vault_target: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**CreateHashiVaultTarget**](CreateHashiVaultTarget.md)| | + +### Return type + +[**CreateHashiVaultTargetOutput**](CreateHashiVaultTargetOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | createHashiVaultTargetResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_key** > CreateKeyOutput create_key(body) @@ -12248,13 +12327,1032 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayGetAllowedAccessResponse wraps response body. | - | +**200** | gatewayGetAllowedAccessResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_cache** +> CacheConfigPart gateway_get_cache(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetCache() # GatewayGetCache | + + try: + api_response = api_instance.gateway_get_cache(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_cache: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetCache**](GatewayGetCache.md)| | + +### Return type + +[**CacheConfigPart**](CacheConfigPart.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayGetCacheResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_config** +> AkeylessGatewayConfig gateway_get_config(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetConfig() # GatewayGetConfig | + + try: + api_response = api_instance.gateway_get_config(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_config: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetConfig**](GatewayGetConfig.md)| | + +### Return type + +[**AkeylessGatewayConfig**](AkeylessGatewayConfig.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayGetConfigResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_defaults** +> GatewayGetDefaultsOutput gateway_get_defaults(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetDefaults() # GatewayGetDefaults | + + try: + api_response = api_instance.gateway_get_defaults(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_defaults: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetDefaults**](GatewayGetDefaults.md)| | + +### Return type + +[**GatewayGetDefaultsOutput**](GatewayGetDefaultsOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayGetDefaultsResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_k8_s_auth_config** +> GatewayGetK8SAuthConfigOutput gateway_get_k8_s_auth_config(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetK8SAuthConfig() # GatewayGetK8SAuthConfig | + + try: + api_response = api_instance.gateway_get_k8_s_auth_config(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_k8_s_auth_config: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetK8SAuthConfig**](GatewayGetK8SAuthConfig.md)| | + +### Return type + +[**GatewayGetK8SAuthConfigOutput**](GatewayGetK8SAuthConfigOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | gatewayGetK8SAuthConfigResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_ldap_auth_config** +> GatewayGetLdapAuthConfigOutput gateway_get_ldap_auth_config(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetLdapAuthConfig() # GatewayGetLdapAuthConfig | + + try: + api_response = api_instance.gateway_get_ldap_auth_config(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_ldap_auth_config: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetLdapAuthConfig**](GatewayGetLdapAuthConfig.md)| | + +### Return type + +[**GatewayGetLdapAuthConfigOutput**](GatewayGetLdapAuthConfigOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | gatewayGetLdapAuthConfigResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_log_forwarding** +> LogForwardingConfigPart gateway_get_log_forwarding(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetLogForwarding() # GatewayGetLogForwarding | + + try: + api_response = api_instance.gateway_get_log_forwarding(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_log_forwarding: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetLogForwarding**](GatewayGetLogForwarding.md)| | + +### Return type + +[**LogForwardingConfigPart**](LogForwardingConfigPart.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayGetLogForwardingResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_migration** +> GatewayMigrationGetOutput gateway_get_migration(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetMigration() # GatewayGetMigration | + + try: + api_response = api_instance.gateway_get_migration(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_migration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetMigration**](GatewayGetMigration.md)| | + +### Return type + +[**GatewayMigrationGetOutput**](GatewayMigrationGetOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayMigrationGetResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_producer** +> DSProducerDetails gateway_get_producer(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetProducer() # GatewayGetProducer | + + try: + api_response = api_instance.gateway_get_producer(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_producer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetProducer**](GatewayGetProducer.md)| | + +### Return type + +[**DSProducerDetails**](DSProducerDetails.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayGetProducerResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_get_tmp_users** +> list[TmpUserData] gateway_get_tmp_users(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayGetTmpUsers() # GatewayGetTmpUsers | + + try: + api_response = api_instance.gateway_get_tmp_users(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_get_tmp_users: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayGetTmpUsers**](GatewayGetTmpUsers.md)| | + +### Return type + +[**list[TmpUserData]**](TmpUserData.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayGetTmpUsersResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_list_customer_fragments** +> dict(str, object) gateway_list_customer_fragments(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayListCustomerFragments() # GatewayListCustomerFragments | + + try: + api_response = api_instance.gateway_list_customer_fragments(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_list_customer_fragments: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayListCustomerFragments**](GatewayListCustomerFragments.md)| | + +### Return type + +**dict(str, object)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayListCustomerFragmentsResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_list_migration** +> GatewayMigrationListOutput gateway_list_migration(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayListMigration() # GatewayListMigration | + + try: + api_response = api_instance.gateway_list_migration(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_list_migration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayListMigration**](GatewayListMigration.md)| | + +### Return type + +[**GatewayMigrationListOutput**](GatewayMigrationListOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayMigrationListResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_list_producers** +> GetProducersListReplyObj gateway_list_producers(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayListProducers() # GatewayListProducers | + + try: + api_response = api_instance.gateway_list_producers(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_list_producers: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayListProducers**](GatewayListProducers.md)| | + +### Return type + +[**GetProducersListReplyObj**](GetProducersListReplyObj.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayListProducersResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_list_rotated_secrets** +> ListItemsOutput gateway_list_rotated_secrets(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayListRotatedSecrets() # GatewayListRotatedSecrets | + + try: + api_response = api_instance.gateway_list_rotated_secrets(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_list_rotated_secrets: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayListRotatedSecrets**](GatewayListRotatedSecrets.md)| | + +### Return type + +[**ListItemsOutput**](ListItemsOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayListRotatedSecretsResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_migrate_personal_items** +> GatewayMigratePersonalItemsOutput gateway_migrate_personal_items(body=body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayMigratePersonalItems() # GatewayMigratePersonalItems | (optional) + + try: + api_response = api_instance.gateway_migrate_personal_items(body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_migrate_personal_items: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayMigratePersonalItems**](GatewayMigratePersonalItems.md)| | [optional] + +### Return type + +[**GatewayMigratePersonalItemsOutput**](GatewayMigratePersonalItemsOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayMigratePersonalItemsResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_revoke_tmp_users** +> gateway_revoke_tmp_users(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayRevokeTmpUsers() # GatewayRevokeTmpUsers | + + try: + api_instance.gateway_revoke_tmp_users(body) + except ApiException as e: + print("Exception when calling V2Api->gateway_revoke_tmp_users: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayRevokeTmpUsers**](GatewayRevokeTmpUsers.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayRevokeTmpUsersResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_start_producer** +> GatewayStartProducerOutput gateway_start_producer(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayStartProducer() # GatewayStartProducer | + + try: + api_response = api_instance.gateway_start_producer(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_start_producer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayStartProducer**](GatewayStartProducer.md)| | + +### Return type + +[**GatewayStartProducerOutput**](GatewayStartProducerOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayStartProducerResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **gateway_status_migration** +> MigrationStatusReplyObj gateway_status_migration(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.GatewayStatusMigration() # GatewayStatusMigration | + + try: + api_response = api_instance.gateway_status_migration(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->gateway_status_migration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**GatewayStatusMigration**](GatewayStatusMigration.md)| | + +### Return type + +[**MigrationStatusReplyObj**](MigrationStatusReplyObj.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | gatewayMigrationStatusResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_get_config** -> AkeylessGatewayConfig gateway_get_config(body) +# **gateway_stop_producer** +> GatewayStopProducerOutput gateway_stop_producer(body) @@ -12277,24 +13375,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayGetConfig() # GatewayGetConfig | + body = akeyless.GatewayStopProducer() # GatewayStopProducer | try: - api_response = api_instance.gateway_get_config(body) + api_response = api_instance.gateway_stop_producer(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_get_config: %s\n" % e) + print("Exception when calling V2Api->gateway_stop_producer: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayGetConfig**](GatewayGetConfig.md)| | + **body** | [**GatewayStopProducer**](GatewayStopProducer.md)| | ### Return type -[**AkeylessGatewayConfig**](AkeylessGatewayConfig.md) +[**GatewayStopProducerOutput**](GatewayStopProducerOutput.md) ### Authorization @@ -12308,13 +13406,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayGetConfigResponse wraps response body. | - | +**200** | gatewayStopProducerResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_get_k8_s_auth_config** -> GatewayGetK8SAuthConfigOutput gateway_get_k8_s_auth_config(body) +# **gateway_sync_migration** +> GatewayMigrationSyncOutput gateway_sync_migration(body) @@ -12337,24 +13435,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayGetK8SAuthConfig() # GatewayGetK8SAuthConfig | + body = akeyless.GatewaySyncMigration() # GatewaySyncMigration | try: - api_response = api_instance.gateway_get_k8_s_auth_config(body) + api_response = api_instance.gateway_sync_migration(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_get_k8_s_auth_config: %s\n" % e) + print("Exception when calling V2Api->gateway_sync_migration: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayGetK8SAuthConfig**](GatewayGetK8SAuthConfig.md)| | + **body** | [**GatewaySyncMigration**](GatewaySyncMigration.md)| | ### Return type -[**GatewayGetK8SAuthConfigOutput**](GatewayGetK8SAuthConfigOutput.md) +[**GatewayMigrationSyncOutput**](GatewayMigrationSyncOutput.md) ### Authorization @@ -12368,13 +13466,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | gatewayGetK8SAuthConfigResponse wraps response body. | - | +**200** | gatewayMigrationSyncResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_get_ldap_auth_config** -> GatewayGetLdapAuthConfigOutput gateway_get_ldap_auth_config(body) +# **gateway_update_allowed_access** +> AllowedAccess gateway_update_allowed_access(body) @@ -12397,24 +13495,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayGetLdapAuthConfig() # GatewayGetLdapAuthConfig | + body = akeyless.GatewayUpdateAllowedAccess() # GatewayUpdateAllowedAccess | try: - api_response = api_instance.gateway_get_ldap_auth_config(body) + api_response = api_instance.gateway_update_allowed_access(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_get_ldap_auth_config: %s\n" % e) + print("Exception when calling V2Api->gateway_update_allowed_access: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayGetLdapAuthConfig**](GatewayGetLdapAuthConfig.md)| | + **body** | [**GatewayUpdateAllowedAccess**](GatewayUpdateAllowedAccess.md)| | ### Return type -[**GatewayGetLdapAuthConfigOutput**](GatewayGetLdapAuthConfigOutput.md) +[**AllowedAccess**](AllowedAccess.md) ### Authorization @@ -12428,13 +13526,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | gatewayGetLdapAuthConfigResponse wraps response body. | - | +**200** | gatewayCreateAllowedAccessResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_get_migration** -> GatewayMigrationGetOutput gateway_get_migration(body) +# **gateway_update_cache** +> GatewayUpdateOutput gateway_update_cache(body) @@ -12457,24 +13555,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayGetMigration() # GatewayGetMigration | + body = akeyless.GatewayUpdateCache() # GatewayUpdateCache | try: - api_response = api_instance.gateway_get_migration(body) + api_response = api_instance.gateway_update_cache(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_get_migration: %s\n" % e) + print("Exception when calling V2Api->gateway_update_cache: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayGetMigration**](GatewayGetMigration.md)| | + **body** | [**GatewayUpdateCache**](GatewayUpdateCache.md)| | ### Return type -[**GatewayMigrationGetOutput**](GatewayMigrationGetOutput.md) +[**GatewayUpdateOutput**](GatewayUpdateOutput.md) ### Authorization @@ -12488,13 +13586,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayMigrationGetResponse wraps response body. | - | +**201** | gatewayUpdateCacheResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_get_producer** -> DSProducerDetails gateway_get_producer(body) +# **gateway_update_defaults** +> GatewayUpdateOutput gateway_update_defaults(body) @@ -12517,24 +13615,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayGetProducer() # GatewayGetProducer | + body = akeyless.GatewayUpdateDefaults() # GatewayUpdateDefaults | try: - api_response = api_instance.gateway_get_producer(body) + api_response = api_instance.gateway_update_defaults(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_get_producer: %s\n" % e) + print("Exception when calling V2Api->gateway_update_defaults: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayGetProducer**](GatewayGetProducer.md)| | + **body** | [**GatewayUpdateDefaults**](GatewayUpdateDefaults.md)| | ### Return type -[**DSProducerDetails**](DSProducerDetails.md) +[**GatewayUpdateOutput**](GatewayUpdateOutput.md) ### Authorization @@ -12548,13 +13646,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayGetProducerResponse wraps response body. | - | +**201** | gatewayUpdateDefaultsResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_get_tmp_users** -> list[TmpUserData] gateway_get_tmp_users(body) +# **gateway_update_item** +> GatewayUpdateItemOutput gateway_update_item(body) @@ -12577,24 +13675,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayGetTmpUsers() # GatewayGetTmpUsers | + body = akeyless.GatewayUpdateItem() # GatewayUpdateItem | try: - api_response = api_instance.gateway_get_tmp_users(body) + api_response = api_instance.gateway_update_item(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_get_tmp_users: %s\n" % e) + print("Exception when calling V2Api->gateway_update_item: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayGetTmpUsers**](GatewayGetTmpUsers.md)| | + **body** | [**GatewayUpdateItem**](GatewayUpdateItem.md)| | ### Return type -[**list[TmpUserData]**](TmpUserData.md) +[**GatewayUpdateItemOutput**](GatewayUpdateItemOutput.md) ### Authorization @@ -12608,13 +13706,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayGetTmpUsersResponse wraps response body. | - | +**201** | gatewayUpdateItemResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_list_migration** -> GatewayMigrationListOutput gateway_list_migration(body) +# **gateway_update_k8_s_auth_config** +> GatewayUpdateK8SAuthConfigOutput gateway_update_k8_s_auth_config(body) @@ -12637,24 +13735,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayListMigration() # GatewayListMigration | + body = akeyless.GatewayUpdateK8SAuthConfig() # GatewayUpdateK8SAuthConfig | try: - api_response = api_instance.gateway_list_migration(body) + api_response = api_instance.gateway_update_k8_s_auth_config(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_list_migration: %s\n" % e) + print("Exception when calling V2Api->gateway_update_k8_s_auth_config: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayListMigration**](GatewayListMigration.md)| | + **body** | [**GatewayUpdateK8SAuthConfig**](GatewayUpdateK8SAuthConfig.md)| | ### Return type -[**GatewayMigrationListOutput**](GatewayMigrationListOutput.md) +[**GatewayUpdateK8SAuthConfigOutput**](GatewayUpdateK8SAuthConfigOutput.md) ### Authorization @@ -12668,13 +13766,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayMigrationListResponse wraps response body. | - | +**201** | gatewayUpdateK8SAuthConfigResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_list_producers** -> GetProducersListReplyObj gateway_list_producers(body) +# **gateway_update_ldap_auth_config** +> GatewayUpdateLdapAuthConfigOutput gateway_update_ldap_auth_config(body) @@ -12697,24 +13795,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayListProducers() # GatewayListProducers | + body = akeyless.GatewayUpdateLdapAuthConfig() # GatewayUpdateLdapAuthConfig | try: - api_response = api_instance.gateway_list_producers(body) + api_response = api_instance.gateway_update_ldap_auth_config(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_list_producers: %s\n" % e) + print("Exception when calling V2Api->gateway_update_ldap_auth_config: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayListProducers**](GatewayListProducers.md)| | + **body** | [**GatewayUpdateLdapAuthConfig**](GatewayUpdateLdapAuthConfig.md)| | ### Return type -[**GetProducersListReplyObj**](GetProducersListReplyObj.md) +[**GatewayUpdateLdapAuthConfigOutput**](GatewayUpdateLdapAuthConfigOutput.md) ### Authorization @@ -12728,13 +13826,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayListProducersResponse wraps response body. | - | +**201** | GatewayUpdateLdapAuthConfigResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_list_rotated_secrets** -> ListItemsOutput gateway_list_rotated_secrets(body) +# **gateway_update_log_forwarding_aws_s3** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_aws_s3(body) @@ -12757,24 +13855,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayListRotatedSecrets() # GatewayListRotatedSecrets | + body = akeyless.GatewayUpdateLogForwardingAwsS3() # GatewayUpdateLogForwardingAwsS3 | try: - api_response = api_instance.gateway_list_rotated_secrets(body) + api_response = api_instance.gateway_update_log_forwarding_aws_s3(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_list_rotated_secrets: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_aws_s3: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayListRotatedSecrets**](GatewayListRotatedSecrets.md)| | + **body** | [**GatewayUpdateLogForwardingAwsS3**](GatewayUpdateLogForwardingAwsS3.md)| | ### Return type -[**ListItemsOutput**](ListItemsOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -12788,13 +13886,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayListRotatedSecretsResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_migrate_personal_items** -> GatewayMigratePersonalItemsOutput gateway_migrate_personal_items(body=body) +# **gateway_update_log_forwarding_azure_analytics** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_azure_analytics(body) @@ -12817,24 +13915,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayMigratePersonalItems() # GatewayMigratePersonalItems | (optional) + body = akeyless.GatewayUpdateLogForwardingAzureAnalytics() # GatewayUpdateLogForwardingAzureAnalytics | try: - api_response = api_instance.gateway_migrate_personal_items(body=body) + api_response = api_instance.gateway_update_log_forwarding_azure_analytics(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_migrate_personal_items: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_azure_analytics: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayMigratePersonalItems**](GatewayMigratePersonalItems.md)| | [optional] + **body** | [**GatewayUpdateLogForwardingAzureAnalytics**](GatewayUpdateLogForwardingAzureAnalytics.md)| | ### Return type -[**GatewayMigratePersonalItemsOutput**](GatewayMigratePersonalItemsOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -12848,13 +13946,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayMigratePersonalItemsResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_revoke_tmp_users** -> gateway_revoke_tmp_users(body) +# **gateway_update_log_forwarding_datadog** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_datadog(body) @@ -12877,23 +13975,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayRevokeTmpUsers() # GatewayRevokeTmpUsers | + body = akeyless.GatewayUpdateLogForwardingDatadog() # GatewayUpdateLogForwardingDatadog | try: - api_instance.gateway_revoke_tmp_users(body) + api_response = api_instance.gateway_update_log_forwarding_datadog(body) + pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_revoke_tmp_users: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_datadog: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayRevokeTmpUsers**](GatewayRevokeTmpUsers.md)| | + **body** | [**GatewayUpdateLogForwardingDatadog**](GatewayUpdateLogForwardingDatadog.md)| | ### Return type -void (empty response body) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -12907,13 +14006,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayRevokeTmpUsersResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_start_producer** -> GatewayStartProducerOutput gateway_start_producer(body) +# **gateway_update_log_forwarding_elasticsearch** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_elasticsearch(body) @@ -12936,24 +14035,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayStartProducer() # GatewayStartProducer | + body = akeyless.GatewayUpdateLogForwardingElasticsearch() # GatewayUpdateLogForwardingElasticsearch | try: - api_response = api_instance.gateway_start_producer(body) + api_response = api_instance.gateway_update_log_forwarding_elasticsearch(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_start_producer: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_elasticsearch: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayStartProducer**](GatewayStartProducer.md)| | + **body** | [**GatewayUpdateLogForwardingElasticsearch**](GatewayUpdateLogForwardingElasticsearch.md)| | ### Return type -[**GatewayStartProducerOutput**](GatewayStartProducerOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -12967,13 +14066,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayStartProducerResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_status_migration** -> MigrationStatusReplyObj gateway_status_migration(body) +# **gateway_update_log_forwarding_google_chronicle** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_google_chronicle(body) @@ -12996,24 +14095,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayStatusMigration() # GatewayStatusMigration | + body = akeyless.GatewayUpdateLogForwardingGoogleChronicle() # GatewayUpdateLogForwardingGoogleChronicle | try: - api_response = api_instance.gateway_status_migration(body) + api_response = api_instance.gateway_update_log_forwarding_google_chronicle(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_status_migration: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_google_chronicle: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayStatusMigration**](GatewayStatusMigration.md)| | + **body** | [**GatewayUpdateLogForwardingGoogleChronicle**](GatewayUpdateLogForwardingGoogleChronicle.md)| | ### Return type -[**MigrationStatusReplyObj**](MigrationStatusReplyObj.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13027,13 +14126,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayMigrationStatusResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_stop_producer** -> GatewayStopProducerOutput gateway_stop_producer(body) +# **gateway_update_log_forwarding_logstash** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_logstash(body) @@ -13056,24 +14155,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayStopProducer() # GatewayStopProducer | + body = akeyless.GatewayUpdateLogForwardingLogstash() # GatewayUpdateLogForwardingLogstash | try: - api_response = api_instance.gateway_stop_producer(body) + api_response = api_instance.gateway_update_log_forwarding_logstash(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_stop_producer: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_logstash: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayStopProducer**](GatewayStopProducer.md)| | + **body** | [**GatewayUpdateLogForwardingLogstash**](GatewayUpdateLogForwardingLogstash.md)| | ### Return type -[**GatewayStopProducerOutput**](GatewayStopProducerOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13087,13 +14186,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayStopProducerResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_sync_migration** -> GatewayMigrationSyncOutput gateway_sync_migration(body) +# **gateway_update_log_forwarding_logz_io** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_logz_io(body) @@ -13116,24 +14215,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewaySyncMigration() # GatewaySyncMigration | + body = akeyless.GatewayUpdateLogForwardingLogzIo() # GatewayUpdateLogForwardingLogzIo | try: - api_response = api_instance.gateway_sync_migration(body) + api_response = api_instance.gateway_update_log_forwarding_logz_io(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_sync_migration: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_logz_io: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewaySyncMigration**](GatewaySyncMigration.md)| | + **body** | [**GatewayUpdateLogForwardingLogzIo**](GatewayUpdateLogForwardingLogzIo.md)| | ### Return type -[**GatewayMigrationSyncOutput**](GatewayMigrationSyncOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13147,13 +14246,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayMigrationSyncResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_update_allowed_access** -> AllowedAccess gateway_update_allowed_access(body) +# **gateway_update_log_forwarding_splunk** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_splunk(body) @@ -13176,24 +14275,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayUpdateAllowedAccess() # GatewayUpdateAllowedAccess | + body = akeyless.GatewayUpdateLogForwardingSplunk() # GatewayUpdateLogForwardingSplunk | try: - api_response = api_instance.gateway_update_allowed_access(body) + api_response = api_instance.gateway_update_log_forwarding_splunk(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_update_allowed_access: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_splunk: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayUpdateAllowedAccess**](GatewayUpdateAllowedAccess.md)| | + **body** | [**GatewayUpdateLogForwardingSplunk**](GatewayUpdateLogForwardingSplunk.md)| | ### Return type -[**AllowedAccess**](AllowedAccess.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13207,13 +14306,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | gatewayCreateAllowedAccessResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_update_item** -> GatewayUpdateItemOutput gateway_update_item(body) +# **gateway_update_log_forwarding_stdout** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_stdout(body) @@ -13236,24 +14335,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayUpdateItem() # GatewayUpdateItem | + body = akeyless.GatewayUpdateLogForwardingStdout() # GatewayUpdateLogForwardingStdout | try: - api_response = api_instance.gateway_update_item(body) + api_response = api_instance.gateway_update_log_forwarding_stdout(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_update_item: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_stdout: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayUpdateItem**](GatewayUpdateItem.md)| | + **body** | [**GatewayUpdateLogForwardingStdout**](GatewayUpdateLogForwardingStdout.md)| | ### Return type -[**GatewayUpdateItemOutput**](GatewayUpdateItemOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13267,13 +14366,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | gatewayUpdateItemResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_update_k8_s_auth_config** -> GatewayUpdateK8SAuthConfigOutput gateway_update_k8_s_auth_config(body) +# **gateway_update_log_forwarding_sumologic** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_sumologic(body) @@ -13296,24 +14395,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayUpdateK8SAuthConfig() # GatewayUpdateK8SAuthConfig | + body = akeyless.GatewayUpdateLogForwardingSumologic() # GatewayUpdateLogForwardingSumologic | try: - api_response = api_instance.gateway_update_k8_s_auth_config(body) + api_response = api_instance.gateway_update_log_forwarding_sumologic(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_update_k8_s_auth_config: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_sumologic: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayUpdateK8SAuthConfig**](GatewayUpdateK8SAuthConfig.md)| | + **body** | [**GatewayUpdateLogForwardingSumologic**](GatewayUpdateLogForwardingSumologic.md)| | ### Return type -[**GatewayUpdateK8SAuthConfigOutput**](GatewayUpdateK8SAuthConfigOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13327,13 +14426,13 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | gatewayUpdateK8SAuthConfigResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **gateway_update_ldap_auth_config** -> GatewayUpdateLdapAuthConfigOutput gateway_update_ldap_auth_config(body) +# **gateway_update_log_forwarding_syslog** +> GatewayUpdateLogForwardingOutput gateway_update_log_forwarding_syslog(body) @@ -13356,24 +14455,24 @@ configuration = akeyless.Configuration( with akeyless.ApiClient() as api_client: # Create an instance of the API class api_instance = akeyless.V2Api(api_client) - body = akeyless.GatewayUpdateLdapAuthConfig() # GatewayUpdateLdapAuthConfig | + body = akeyless.GatewayUpdateLogForwardingSyslog() # GatewayUpdateLogForwardingSyslog | try: - api_response = api_instance.gateway_update_ldap_auth_config(body) + api_response = api_instance.gateway_update_log_forwarding_syslog(body) pprint(api_response) except ApiException as e: - print("Exception when calling V2Api->gateway_update_ldap_auth_config: %s\n" % e) + print("Exception when calling V2Api->gateway_update_log_forwarding_syslog: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**GatewayUpdateLdapAuthConfig**](GatewayUpdateLdapAuthConfig.md)| | + **body** | [**GatewayUpdateLogForwardingSyslog**](GatewayUpdateLogForwardingSyslog.md)| | ### Return type -[**GatewayUpdateLdapAuthConfigOutput**](GatewayUpdateLdapAuthConfigOutput.md) +[**GatewayUpdateLogForwardingOutput**](GatewayUpdateLogForwardingOutput.md) ### Authorization @@ -13387,7 +14486,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | GatewayUpdateLdapAuthConfigResponse wraps response body. | - | +**201** | gatewayUpdateLogForwardingResponse wraps response body. | - | **0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -23701,6 +24800,66 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **update_hashi_vault_target** +> UpdateHashiVaultTargetOutput update_hashi_vault_target(body) + + + +### Example + +```python +from __future__ import print_function +import time +import akeyless +from akeyless.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.akeyless.io +# See configuration.py for a list of all supported configuration parameters. +configuration = akeyless.Configuration( + host = "https://api.akeyless.io" +) + + +# Enter a context with an instance of the API client +with akeyless.ApiClient() as api_client: + # Create an instance of the API class + api_instance = akeyless.V2Api(api_client) + body = akeyless.UpdateHashiVaultTarget() # UpdateHashiVaultTarget | + + try: + api_response = api_instance.update_hashi_vault_target(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling V2Api->update_hashi_vault_target: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**UpdateHashiVaultTarget**](UpdateHashiVaultTarget.md)| | + +### Return type + +[**UpdateHashiVaultTargetOutput**](UpdateHashiVaultTargetOutput.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | updateHashiVaultTargetResponse wraps response body. | - | +**0** | errorResponse wraps any error to return it as a JSON object with one \"error\" field. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_item** > UpdateItemOutput update_item(body) diff --git a/setup.py b/setup.py index 7e408a29..5a5d3dd1 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "akeyless" -VERSION = "4.0.0" +VERSION = "4.1.0" # To install the library, run the following # # python setup.py install diff --git a/test/test_create_hashi_vault_target.py b/test/test_create_hashi_vault_target.py new file mode 100644 index 00000000..da8e459d --- /dev/null +++ b/test/test_create_hashi_vault_target.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.create_hashi_vault_target import CreateHashiVaultTarget # noqa: E501 +from akeyless.rest import ApiException + +class TestCreateHashiVaultTarget(unittest.TestCase): + """CreateHashiVaultTarget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test CreateHashiVaultTarget + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.create_hashi_vault_target.CreateHashiVaultTarget() # noqa: E501 + if include_optional : + return CreateHashiVaultTarget( + description = '0', + hashi_url = '0', + json = True, + key = '0', + max_versions = '0', + name = '0', + namespace = [ + '0' + ], + token = '0', + uid_token = '0', + vault_token = '0' + ) + else : + return CreateHashiVaultTarget( + name = '0', + ) + + def testCreateHashiVaultTarget(self): + """Test CreateHashiVaultTarget""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_create_hashi_vault_target_output.py b/test/test_create_hashi_vault_target_output.py new file mode 100644 index 00000000..fe7f995e --- /dev/null +++ b/test/test_create_hashi_vault_target_output.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.create_hashi_vault_target_output import CreateHashiVaultTargetOutput # noqa: E501 +from akeyless.rest import ApiException + +class TestCreateHashiVaultTargetOutput(unittest.TestCase): + """CreateHashiVaultTargetOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test CreateHashiVaultTargetOutput + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.create_hashi_vault_target_output.CreateHashiVaultTargetOutput() # noqa: E501 + if include_optional : + return CreateHashiVaultTargetOutput( + target_id = 56 + ) + else : + return CreateHashiVaultTargetOutput( + ) + + def testCreateHashiVaultTargetOutput(self): + """Test CreateHashiVaultTargetOutput""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_get_cache.py b/test/test_gateway_get_cache.py new file mode 100644 index 00000000..d4e8e3d4 --- /dev/null +++ b/test/test_gateway_get_cache.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_get_cache import GatewayGetCache # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayGetCache(unittest.TestCase): + """GatewayGetCache unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayGetCache + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_get_cache.GatewayGetCache() # noqa: E501 + if include_optional : + return GatewayGetCache( + json = True, + token = '0', + uid_token = '0' + ) + else : + return GatewayGetCache( + ) + + def testGatewayGetCache(self): + """Test GatewayGetCache""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_get_defaults.py b/test/test_gateway_get_defaults.py new file mode 100644 index 00000000..887fb705 --- /dev/null +++ b/test/test_gateway_get_defaults.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_get_defaults import GatewayGetDefaults # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayGetDefaults(unittest.TestCase): + """GatewayGetDefaults unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayGetDefaults + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_get_defaults.GatewayGetDefaults() # noqa: E501 + if include_optional : + return GatewayGetDefaults( + json = True, + token = '0', + uid_token = '0' + ) + else : + return GatewayGetDefaults( + ) + + def testGatewayGetDefaults(self): + """Test GatewayGetDefaults""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_get_defaults_output.py b/test/test_gateway_get_defaults_output.py new file mode 100644 index 00000000..f4273f29 --- /dev/null +++ b/test/test_gateway_get_defaults_output.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_get_defaults_output import GatewayGetDefaultsOutput # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayGetDefaultsOutput(unittest.TestCase): + """GatewayGetDefaultsOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayGetDefaultsOutput + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_get_defaults_output.GatewayGetDefaultsOutput() # noqa: E501 + if include_optional : + return GatewayGetDefaultsOutput( + certificate_access_id = '0', + default_protection_key_id = '0', + notify_on_status_change = True, + oidc_access_id = '0', + saml_access_id = '0' + ) + else : + return GatewayGetDefaultsOutput( + ) + + def testGatewayGetDefaultsOutput(self): + """Test GatewayGetDefaultsOutput""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_get_log_forwarding.py b/test/test_gateway_get_log_forwarding.py new file mode 100644 index 00000000..6959509d --- /dev/null +++ b/test/test_gateway_get_log_forwarding.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_get_log_forwarding import GatewayGetLogForwarding # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayGetLogForwarding(unittest.TestCase): + """GatewayGetLogForwarding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayGetLogForwarding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_get_log_forwarding.GatewayGetLogForwarding() # noqa: E501 + if include_optional : + return GatewayGetLogForwarding( + json = True, + token = '0', + uid_token = '0' + ) + else : + return GatewayGetLogForwarding( + ) + + def testGatewayGetLogForwarding(self): + """Test GatewayGetLogForwarding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_list_customer_fragments.py b/test/test_gateway_list_customer_fragments.py new file mode 100644 index 00000000..4fdcbcea --- /dev/null +++ b/test/test_gateway_list_customer_fragments.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_list_customer_fragments import GatewayListCustomerFragments # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayListCustomerFragments(unittest.TestCase): + """GatewayListCustomerFragments unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayListCustomerFragments + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_list_customer_fragments.GatewayListCustomerFragments() # noqa: E501 + if include_optional : + return GatewayListCustomerFragments( + json = True, + token = '0', + uid_token = '0' + ) + else : + return GatewayListCustomerFragments( + ) + + def testGatewayListCustomerFragments(self): + """Test GatewayListCustomerFragments""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_cache.py b/test/test_gateway_update_cache.py new file mode 100644 index 00000000..cdb5ad01 --- /dev/null +++ b/test/test_gateway_update_cache.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_cache import GatewayUpdateCache # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateCache(unittest.TestCase): + """GatewayUpdateCache unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateCache + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_cache.GatewayUpdateCache() # noqa: E501 + if include_optional : + return GatewayUpdateCache( + backup_interval = '1', + enable_cache = '0', + enable_proactive = '0', + json = True, + minimum_fetch_interval = '5', + stale_timeout = '60', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateCache( + ) + + def testGatewayUpdateCache(self): + """Test GatewayUpdateCache""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_defaults.py b/test/test_gateway_update_defaults.py new file mode 100644 index 00000000..72d2fe4c --- /dev/null +++ b/test/test_gateway_update_defaults.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_defaults import GatewayUpdateDefaults # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateDefaults(unittest.TestCase): + """GatewayUpdateDefaults unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateDefaults + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_defaults.GatewayUpdateDefaults() # noqa: E501 + if include_optional : + return GatewayUpdateDefaults( + cert_access_id = 'use-existing', + event_on_status_change = '0', + json = True, + key = 'Default', + oidc_access_id = 'use-existing', + saml_access_id = 'use-existing', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateDefaults( + ) + + def testGatewayUpdateDefaults(self): + """Test GatewayUpdateDefaults""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_aws_s3.py b/test/test_gateway_update_log_forwarding_aws_s3.py new file mode 100644 index 00000000..1287c93e --- /dev/null +++ b/test/test_gateway_update_log_forwarding_aws_s3.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_aws_s3 import GatewayUpdateLogForwardingAwsS3 # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingAwsS3(unittest.TestCase): + """GatewayUpdateLogForwardingAwsS3 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingAwsS3 + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_aws_s3.GatewayUpdateLogForwardingAwsS3() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingAwsS3( + access_id = '0', + access_key = '0', + auth_type = '0', + bucket_name = '0', + enable = 'true', + json = True, + log_folder = 'use-existing', + output_format = 'text', + pull_interval = '10', + region = '0', + role_arn = '0', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingAwsS3( + ) + + def testGatewayUpdateLogForwardingAwsS3(self): + """Test GatewayUpdateLogForwardingAwsS3""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_azure_analytics.py b/test/test_gateway_update_log_forwarding_azure_analytics.py new file mode 100644 index 00000000..c539e038 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_azure_analytics.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_azure_analytics import GatewayUpdateLogForwardingAzureAnalytics # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingAzureAnalytics(unittest.TestCase): + """GatewayUpdateLogForwardingAzureAnalytics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingAzureAnalytics + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_azure_analytics.GatewayUpdateLogForwardingAzureAnalytics() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingAzureAnalytics( + enable = 'true', + json = True, + output_format = 'text', + pull_interval = '10', + token = '0', + uid_token = '0', + workspace_id = '0', + workspace_key = '0' + ) + else : + return GatewayUpdateLogForwardingAzureAnalytics( + ) + + def testGatewayUpdateLogForwardingAzureAnalytics(self): + """Test GatewayUpdateLogForwardingAzureAnalytics""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_datadog.py b/test/test_gateway_update_log_forwarding_datadog.py new file mode 100644 index 00000000..ee1d060a --- /dev/null +++ b/test/test_gateway_update_log_forwarding_datadog.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_datadog import GatewayUpdateLogForwardingDatadog # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingDatadog(unittest.TestCase): + """GatewayUpdateLogForwardingDatadog unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingDatadog + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_datadog.GatewayUpdateLogForwardingDatadog() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingDatadog( + api_key = '0', + enable = 'true', + host = '0', + json = True, + log_service = 'use-existing', + log_source = 'use-existing', + log_tags = 'use-existing', + output_format = 'text', + pull_interval = '10', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingDatadog( + ) + + def testGatewayUpdateLogForwardingDatadog(self): + """Test GatewayUpdateLogForwardingDatadog""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_elasticsearch.py b/test/test_gateway_update_log_forwarding_elasticsearch.py new file mode 100644 index 00000000..8641935f --- /dev/null +++ b/test/test_gateway_update_log_forwarding_elasticsearch.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_elasticsearch import GatewayUpdateLogForwardingElasticsearch # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingElasticsearch(unittest.TestCase): + """GatewayUpdateLogForwardingElasticsearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingElasticsearch + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_elasticsearch.GatewayUpdateLogForwardingElasticsearch() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingElasticsearch( + api_key = '0', + auth_type = '0', + cloud_id = '0', + enable = 'true', + enable_tls = True, + index = '0', + json = True, + nodes = '0', + output_format = 'text', + password = '0', + pull_interval = '10', + server_type = '0', + tls_certificate = 'use-existing', + token = '0', + uid_token = '0', + user_name = '0' + ) + else : + return GatewayUpdateLogForwardingElasticsearch( + ) + + def testGatewayUpdateLogForwardingElasticsearch(self): + """Test GatewayUpdateLogForwardingElasticsearch""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_google_chronicle.py b/test/test_gateway_update_log_forwarding_google_chronicle.py new file mode 100644 index 00000000..24dab50e --- /dev/null +++ b/test/test_gateway_update_log_forwarding_google_chronicle.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_google_chronicle import GatewayUpdateLogForwardingGoogleChronicle # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingGoogleChronicle(unittest.TestCase): + """GatewayUpdateLogForwardingGoogleChronicle unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingGoogleChronicle + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_google_chronicle.GatewayUpdateLogForwardingGoogleChronicle() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingGoogleChronicle( + customer_id = '0', + enable = 'true', + gcp_key = '0', + json = True, + log_type = '0', + output_format = 'text', + pull_interval = '10', + region = '0', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingGoogleChronicle( + ) + + def testGatewayUpdateLogForwardingGoogleChronicle(self): + """Test GatewayUpdateLogForwardingGoogleChronicle""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_logstash.py b/test/test_gateway_update_log_forwarding_logstash.py new file mode 100644 index 00000000..a39efa72 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_logstash.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_logstash import GatewayUpdateLogForwardingLogstash # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingLogstash(unittest.TestCase): + """GatewayUpdateLogForwardingLogstash unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingLogstash + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_logstash.GatewayUpdateLogForwardingLogstash() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingLogstash( + dns = '0', + enable = 'true', + enable_tls = True, + json = True, + output_format = 'text', + protocol = '0', + pull_interval = '10', + tls_certificate = 'use-existing', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingLogstash( + ) + + def testGatewayUpdateLogForwardingLogstash(self): + """Test GatewayUpdateLogForwardingLogstash""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_logz_io.py b/test/test_gateway_update_log_forwarding_logz_io.py new file mode 100644 index 00000000..f5921f61 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_logz_io.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_logz_io import GatewayUpdateLogForwardingLogzIo # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingLogzIo(unittest.TestCase): + """GatewayUpdateLogForwardingLogzIo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingLogzIo + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_logz_io.GatewayUpdateLogForwardingLogzIo() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingLogzIo( + enable = 'true', + json = True, + logz_io_token = '0', + output_format = 'text', + protocol = '0', + pull_interval = '10', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingLogzIo( + ) + + def testGatewayUpdateLogForwardingLogzIo(self): + """Test GatewayUpdateLogForwardingLogzIo""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_output.py b/test/test_gateway_update_log_forwarding_output.py new file mode 100644 index 00000000..136c72f3 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_output.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_output import GatewayUpdateLogForwardingOutput # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingOutput(unittest.TestCase): + """GatewayUpdateLogForwardingOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingOutput + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_output.GatewayUpdateLogForwardingOutput() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingOutput( + updated = True + ) + else : + return GatewayUpdateLogForwardingOutput( + ) + + def testGatewayUpdateLogForwardingOutput(self): + """Test GatewayUpdateLogForwardingOutput""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_splunk.py b/test/test_gateway_update_log_forwarding_splunk.py new file mode 100644 index 00000000..6dec50d1 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_splunk.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_splunk import GatewayUpdateLogForwardingSplunk # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingSplunk(unittest.TestCase): + """GatewayUpdateLogForwardingSplunk unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingSplunk + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_splunk.GatewayUpdateLogForwardingSplunk() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingSplunk( + enable = 'true', + enable_tls = True, + index = '0', + json = True, + output_format = 'text', + pull_interval = '10', + source = 'use-existing', + source_type = 'use-existing', + splunk_token = '0', + splunk_url = '0', + tls_certificate = 'use-existing', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingSplunk( + ) + + def testGatewayUpdateLogForwardingSplunk(self): + """Test GatewayUpdateLogForwardingSplunk""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_stdout.py b/test/test_gateway_update_log_forwarding_stdout.py new file mode 100644 index 00000000..f92f50dc --- /dev/null +++ b/test/test_gateway_update_log_forwarding_stdout.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_stdout import GatewayUpdateLogForwardingStdout # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingStdout(unittest.TestCase): + """GatewayUpdateLogForwardingStdout unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingStdout + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_stdout.GatewayUpdateLogForwardingStdout() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingStdout( + enable = 'true', + json = True, + output_format = 'text', + pull_interval = '10', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingStdout( + ) + + def testGatewayUpdateLogForwardingStdout(self): + """Test GatewayUpdateLogForwardingStdout""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_sumologic.py b/test/test_gateway_update_log_forwarding_sumologic.py new file mode 100644 index 00000000..ee35a254 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_sumologic.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_sumologic import GatewayUpdateLogForwardingSumologic # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingSumologic(unittest.TestCase): + """GatewayUpdateLogForwardingSumologic unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingSumologic + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_sumologic.GatewayUpdateLogForwardingSumologic() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingSumologic( + enable = 'true', + endpoint = '0', + host = 'use-existing', + json = True, + output_format = 'text', + pull_interval = '10', + sumologic_tags = 'use-existing', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingSumologic( + ) + + def testGatewayUpdateLogForwardingSumologic(self): + """Test GatewayUpdateLogForwardingSumologic""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_log_forwarding_syslog.py b/test/test_gateway_update_log_forwarding_syslog.py new file mode 100644 index 00000000..b77986a2 --- /dev/null +++ b/test/test_gateway_update_log_forwarding_syslog.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_log_forwarding_syslog import GatewayUpdateLogForwardingSyslog # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateLogForwardingSyslog(unittest.TestCase): + """GatewayUpdateLogForwardingSyslog unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateLogForwardingSyslog + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_log_forwarding_syslog.GatewayUpdateLogForwardingSyslog() # noqa: E501 + if include_optional : + return GatewayUpdateLogForwardingSyslog( + enable = 'true', + enable_tls = True, + formatter = 'text', + host = '0', + json = True, + network = 'tcp', + output_format = 'text', + pull_interval = '10', + target_tag = 'use-existing', + tls_certificate = 'use-existing', + token = '0', + uid_token = '0' + ) + else : + return GatewayUpdateLogForwardingSyslog( + ) + + def testGatewayUpdateLogForwardingSyslog(self): + """Test GatewayUpdateLogForwardingSyslog""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gateway_update_output.py b/test/test_gateway_update_output.py new file mode 100644 index 00000000..e5bcf0f7 --- /dev/null +++ b/test/test_gateway_update_output.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.gateway_update_output import GatewayUpdateOutput # noqa: E501 +from akeyless.rest import ApiException + +class TestGatewayUpdateOutput(unittest.TestCase): + """GatewayUpdateOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GatewayUpdateOutput + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.gateway_update_output.GatewayUpdateOutput() # noqa: E501 + if include_optional : + return GatewayUpdateOutput( + updated = True + ) + else : + return GatewayUpdateOutput( + ) + + def testGatewayUpdateOutput(self): + """Test GatewayUpdateOutput""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_hashi_vault_target_details.py b/test/test_hashi_vault_target_details.py new file mode 100644 index 00000000..ee8b0a72 --- /dev/null +++ b/test/test_hashi_vault_target_details.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.hashi_vault_target_details import HashiVaultTargetDetails # noqa: E501 +from akeyless.rest import ApiException + +class TestHashiVaultTargetDetails(unittest.TestCase): + """HashiVaultTargetDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test HashiVaultTargetDetails + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.hashi_vault_target_details.HashiVaultTargetDetails() # noqa: E501 + if include_optional : + return HashiVaultTargetDetails( + vault_namespaces = '0', + vault_token = '0', + vault_url = '0' + ) + else : + return HashiVaultTargetDetails( + ) + + def testHashiVaultTargetDetails(self): + """Test HashiVaultTargetDetails""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_update_hashi_vault_target.py b/test/test_update_hashi_vault_target.py new file mode 100644 index 00000000..89742d0b --- /dev/null +++ b/test/test_update_hashi_vault_target.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.update_hashi_vault_target import UpdateHashiVaultTarget # noqa: E501 +from akeyless.rest import ApiException + +class TestUpdateHashiVaultTarget(unittest.TestCase): + """UpdateHashiVaultTarget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test UpdateHashiVaultTarget + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.update_hashi_vault_target.UpdateHashiVaultTarget() # noqa: E501 + if include_optional : + return UpdateHashiVaultTarget( + description = '0', + hashi_url = '0', + json = True, + keep_prev_version = '0', + key = '0', + max_versions = '0', + name = '0', + namespace = [ + '0' + ], + new_name = '0', + token = '0', + uid_token = '0', + update_version = True, + vault_token = '0' + ) + else : + return UpdateHashiVaultTarget( + name = '0', + ) + + def testUpdateHashiVaultTarget(self): + """Test UpdateHashiVaultTarget""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_update_hashi_vault_target_output.py b/test/test_update_hashi_vault_target_output.py new file mode 100644 index 00000000..a7c51464 --- /dev/null +++ b/test/test_update_hashi_vault_target_output.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Akeyless API + + The purpose of this application is to provide access to Akeyless API. # noqa: E501 + + The version of the OpenAPI document: 2.0 + Contact: support@akeyless.io + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import akeyless +from akeyless.models.update_hashi_vault_target_output import UpdateHashiVaultTargetOutput # noqa: E501 +from akeyless.rest import ApiException + +class TestUpdateHashiVaultTargetOutput(unittest.TestCase): + """UpdateHashiVaultTargetOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test UpdateHashiVaultTargetOutput + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = akeyless.models.update_hashi_vault_target_output.UpdateHashiVaultTargetOutput() # noqa: E501 + if include_optional : + return UpdateHashiVaultTargetOutput( + target_id = 56 + ) + else : + return UpdateHashiVaultTargetOutput( + ) + + def testUpdateHashiVaultTargetOutput(self): + """Test UpdateHashiVaultTargetOutput""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main()