Skip to content

ark_dpa_api

ArkDPAAPI

Source code in ark_sdk_python/services/dpa/ark_dpa_api.py
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
class ArkDPAAPI:
    def __init__(self, isp_auth: ArkISPAuth) -> None:
        self.__db_workspace_service = ArkDPADBWorkspaceService(isp_auth)
        self.__vm_policies_service = ArkDPAVMPoliciesService(isp_auth)
        self.__db_policies_service = ArkDPADBPoliciesService(isp_auth)
        self.__db_secrets_service = ArkDPADBSecretsService(isp_auth)
        self.__sso_service = ArkDPASSOService(isp_auth)
        self.__db_service = ArkDPADBService(isp_auth)
        self.__certificates_service = ArkDPACertificatesService(isp_auth)
        self.__k8s_service = ArkDPAK8SService(isp_auth)

    @property
    def workspace_db(self) -> ArkDPADBWorkspaceService:
        """
        Getter for the DB workspace service.

        Returns:
            ArkDPADBWorkspaceService: _description_
        """
        return self.__db_workspace_service

    @property
    def policies_vm(self) -> ArkDPAVMPoliciesService:
        """
        Getter for the VM policies service.

        Returns:
            ArkDPAVMPoliciesService: _description_
        """
        return self.__vm_policies_service

    @property
    def policies_db(self) -> ArkDPADBPoliciesService:
        """
        Getter for the DB policies service.

        Returns:
            ArkDPADBPoliciesService: _description_
        """
        return self.__db_policies_service

    @property
    def secrets_db(self) -> ArkDPADBSecretsService:
        """
        Getter for the DB secrets service.

        Returns:
            ArkDPADBSecretsService: _description_
        """
        return self.__db_secrets_service

    @property
    def sso(self) -> ArkDPASSOService:
        """
        Getter for the SSO service.

        Returns:
            ArkDPASSOService: _description_
        """
        return self.__sso_service

    @property
    def db(self) -> ArkDPADBService:
        """
        Getter for the DB service.

        Returns:
            ArkDPADBService: _description_
        """
        return self.__db_service

    @property
    def certificates(self) -> ArkDPACertificatesService:
        """
        Getter for the certificates service.

        Returns:
            ArkDPACertificatesService: _description_
        """
        return self.__certificates_service

    @property
    def k8s(self) -> ArkDPAK8SService:
        """
        Getter for the K8s service.

        Returns:
            ArkDPAK8SService: _description_
        """
        return self.__k8s_service

certificates: ArkDPACertificatesService property

Getter for the certificates service.

Returns:

Name Type Description
ArkDPACertificatesService ArkDPACertificatesService

description

db: ArkDPADBService property

Getter for the DB service.

Returns:

Name Type Description
ArkDPADBService ArkDPADBService

description

k8s: ArkDPAK8SService property

Getter for the K8s service.

Returns:

Name Type Description
ArkDPAK8SService ArkDPAK8SService

description

policies_db: ArkDPADBPoliciesService property

Getter for the DB policies service.

Returns:

Name Type Description
ArkDPADBPoliciesService ArkDPADBPoliciesService

description

policies_vm: ArkDPAVMPoliciesService property

Getter for the VM policies service.

Returns:

Name Type Description
ArkDPAVMPoliciesService ArkDPAVMPoliciesService

description

secrets_db: ArkDPADBSecretsService property

Getter for the DB secrets service.

Returns:

Name Type Description
ArkDPADBSecretsService ArkDPADBSecretsService

description

sso: ArkDPASSOService property

Getter for the SSO service.

Returns:

Name Type Description
ArkDPASSOService ArkDPASSOService

description

workspace_db: ArkDPADBWorkspaceService property

Getter for the DB workspace service.

Returns:

Name Type Description
ArkDPADBWorkspaceService ArkDPADBWorkspaceService

description