Skip to content

cli_services

ArkCLIAPI

Bases: ArkAPI

Source code in ark_sdk_python/cli_services/ark_cli_api.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class ArkCLIAPI(ArkAPI):
    @property
    def dpa_policies_vm_editor(self) -> "ArkDPAVMPoliciesEditorService":
        """
        VM policy editor CLI service

        Returns:
            ArkDPAVMPoliciesEditorService: _description_
        """
        from ark_sdk_python.cli_services.dpa.vm import ArkDPAVMPoliciesEditorService

        return ArkDPAVMPoliciesEditorService(self.authenticator('isp'), profile=self.profile)

    @property
    def dpa_policies_db_editor(self) -> "ArkDPADBPoliciesEditorService":
        """
        DB policy editor CLI service

        Returns:
            ArkDPADBPoliciesEditorService: _description_
        """
        from ark_sdk_python.cli_services.dpa.db import ArkDPADBPoliciesEditorService

        return ArkDPADBPoliciesEditorService(self.authenticator('isp'), profile=self.profile)

dpa_policies_db_editor: 'ArkDPADBPoliciesEditorService' property

DB policy editor CLI service

Returns:

Name Type Description
ArkDPADBPoliciesEditorService 'ArkDPADBPoliciesEditorService'

description

dpa_policies_vm_editor: 'ArkDPAVMPoliciesEditorService' property

VM policy editor CLI service

Returns:

Name Type Description
ArkDPAVMPoliciesEditorService 'ArkDPAVMPoliciesEditorService'

description