baiducloud-python-sdk-cloudassistant 0.0.1__py3-none-any.whl → 0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  This module defines some common string constants.
3
3
  """
4
4
 
5
- SDK_VERSION = b'0.0.1'
5
+ SDK_VERSION = b'0.0.2'
@@ -16,12 +16,15 @@ from .action_run_list_response import ActionRunListResponse
16
16
  from .action_run_page import ActionRunPage
17
17
  from .action_run_request import ActionRunRequest
18
18
  from .action_run_response import ActionRunResponse
19
+ from .action_type import ActionType
19
20
  from .agent import Agent
21
+ from .agent_state import AgentState
20
22
  from .batch_get_agent_request import BatchGetAgentRequest
21
23
  from .batch_get_agent_response import BatchGetAgentResponse
22
24
  from .child_run import ChildRun
23
25
  from .command import Command
24
26
  from .command_filter import CommandFilter
27
+ from .command_type import CommandType
25
28
  from .create_action_request import CreateActionRequest
26
29
  from .create_action_response import CreateActionResponse
27
30
  from .delete_action_response import DeleteActionResponse
@@ -30,7 +33,6 @@ from .file_upload import FileUpload
30
33
  from .get_action_response import GetActionResponse
31
34
  from .get_action_run_response import GetActionRunResponse
32
35
  from .host import Host
33
- from .id import Id
34
36
  from .instance_type import InstanceType
35
37
  from .keyword_type import KeywordType
36
38
  from .log import Log
@@ -46,7 +48,6 @@ from .target import Target
46
48
  from .target_import import TargetImport
47
49
  from .target_selector import TargetSelector
48
50
  from .target_selector_type import TargetSelectorType
49
- from .type import Type
50
51
  from .update_action_request import UpdateActionRequest
51
52
  from .update_action_response import UpdateActionResponse
52
53
  from .get_action_run_request import GetActionRunRequest
@@ -1,11 +1,11 @@
1
1
  """
2
- Id information
2
+ ActionType information
3
3
  """
4
4
 
5
5
 
6
- class Id:
6
+ class ActionType:
7
7
  """
8
- Enum class for Id
8
+ Enum class for ActionType
9
9
  Allowed values: COMMAND, FILE_UPLOAD
10
10
  """
11
11
 
@@ -0,0 +1,19 @@
1
+ """
2
+ AgentState information
3
+ """
4
+
5
+
6
+ class AgentState:
7
+ """
8
+ Enum class for AgentState
9
+ Allowed values: ONLINE, OFFLINE
10
+ """
11
+
12
+ ONLINE = 'ONLINE'
13
+ OFFLINE = 'OFFLINE'
14
+
15
+ @staticmethod
16
+ def is_valid(value):
17
+ """Check if the value is valid for this enum"""
18
+ valid_values = ['ONLINE', 'OFFLINE']
19
+ return value in valid_values
@@ -1,11 +1,11 @@
1
1
  """
2
- Type information
2
+ CommandType information
3
3
  """
4
4
 
5
5
 
6
- class Type:
6
+ class CommandType:
7
7
  """
8
- Enum class for Type
8
+ Enum class for CommandType
9
9
  Allowed values: SHELL, POWERSHELL
10
10
  """
11
11
 
@@ -6,15 +6,17 @@ State information
6
6
  class State:
7
7
  """
8
8
  Enum class for State
9
- Allowed values: FAILED, RUNNING, SUCCESS
9
+ Allowed values: FAILED, RUNNING, SUCCESS, PARTIAL_FAILED, PENDING
10
10
  """
11
11
 
12
12
  FAILED = 'FAILED'
13
13
  RUNNING = 'RUNNING'
14
14
  SUCCESS = 'SUCCESS'
15
+ PARTIAL_FAILED = 'PARTIAL_FAILED'
16
+ PENDING = 'PENDING'
15
17
 
16
18
  @staticmethod
17
19
  def is_valid(value):
18
20
  """Check if the value is valid for this enum"""
19
- valid_values = ['FAILED', 'RUNNING', 'SUCCESS']
21
+ valid_values = ['FAILED', 'RUNNING', 'SUCCESS', 'PARTIAL_FAILED', 'PENDING']
20
22
  return value in valid_values
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: baiducloud-python-sdk-cloudassistant
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Baidu Cloud cloudassistantApi SDK Library for Python
5
5
  Home-page: https://github.com/baidubce/baiducloud-python-sdk
6
6
  Author: Baidu Cloud SDK
@@ -1,7 +1,7 @@
1
- baiducloud_python_sdk_cloudassistant/__init__.py,sha256=bt9sRM9eOkTcWameYewny0-aV2vf83SIg4ollwpBtU0,82
1
+ baiducloud_python_sdk_cloudassistant/__init__.py,sha256=r0_5ZJKMPFw1QsbVcgd5aBwjJlYvPlSe-SU7lAv2liw,82
2
2
  baiducloud_python_sdk_cloudassistant/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  baiducloud_python_sdk_cloudassistant/api/cloudassistant_client.py,sha256=HF-VjAxexbDJBzFYWYWkrHVVENnHyBwiAs5KEjw6vFM,16120
4
- baiducloud_python_sdk_cloudassistant/models/__init__.py,sha256=tANhbpkFII3b04Bp69wXXtQZ-9CX81uMvyg4St6m_TA,2092
4
+ baiducloud_python_sdk_cloudassistant/models/__init__.py,sha256=shmKLqw6wRh1_JxPI9XOQttrBcvKtlwZ3Ms4KxlBvrg,2160
5
5
  baiducloud_python_sdk_cloudassistant/models/action.py,sha256=Yt3w7R6aLnXV1TXmNfBtAfYTVJUbVT34dAZeS_vpz5Q,5842
6
6
  baiducloud_python_sdk_cloudassistant/models/action_filter.py,sha256=7KtGwQ3SlRW568zLixJspTMUuO-d53W1QcvqfXz6gZY,3137
7
7
  baiducloud_python_sdk_cloudassistant/models/action_index.py,sha256=brR_c5xoV1ESHnrfAoYa4YsA_KqTQUA1I-qBRvNf1jA,2119
@@ -16,12 +16,15 @@ baiducloud_python_sdk_cloudassistant/models/action_run_list_response.py,sha256=l
16
16
  baiducloud_python_sdk_cloudassistant/models/action_run_page.py,sha256=A1k-HRdwpF9tiCTpc5f-xGqRo6NbEKVrT_wDWGsQIuA,2507
17
17
  baiducloud_python_sdk_cloudassistant/models/action_run_request.py,sha256=5KcYfVUtrneuFN6YF-fri6z59eOPhD_t3jaOedxrm6k,3561
18
18
  baiducloud_python_sdk_cloudassistant/models/action_run_response.py,sha256=XDHqZ5r6cpZYY93be7QMCuCPSVG3tH3c65nFqgbCcAs,2876
19
+ baiducloud_python_sdk_cloudassistant/models/action_type.py,sha256=mfIvzIxAUghMY7A7bIkZ5YI-ci4PxEz1kU2nTvMLlqA,382
19
20
  baiducloud_python_sdk_cloudassistant/models/agent.py,sha256=pYFoQH3bxs5TgRMBSmKQLyzm4fjCK_zh-vAp5_BlPJM,2141
21
+ baiducloud_python_sdk_cloudassistant/models/agent_state.py,sha256=3ld89iQhV2XhJpN9QJnxC5MIsrqSLERmumCHiJ75e18,362
20
22
  baiducloud_python_sdk_cloudassistant/models/batch_get_agent_request.py,sha256=lJS-WO08xqZisUp1NX9cMlbgo--pAS46ISKxb7C2eLE,1763
21
23
  baiducloud_python_sdk_cloudassistant/models/batch_get_agent_response.py,sha256=2Nhn2vpE4Rnv8yNVW8WPMTwtVI7Fhmj-VfD7d19teXE,3027
22
24
  baiducloud_python_sdk_cloudassistant/models/child_run.py,sha256=C3lLG967esgTW-FVBd6p8RcHWUPEWLPt4kkGEh0eKRU,4399
23
25
  baiducloud_python_sdk_cloudassistant/models/command.py,sha256=X1e9zZYAvoZ1Z4_hdk9Z0egPEP27xh7r79NQFhRY6RI,4402
24
26
  baiducloud_python_sdk_cloudassistant/models/command_filter.py,sha256=B3kXTbhUWnLiasdQMed5PRds6Am4zm8LrLFiqsz0-6c,2109
27
+ baiducloud_python_sdk_cloudassistant/models/command_type.py,sha256=bBFxqWreMgX1W6N9KwMEWvHOVEdZoNLyYPc9169zm3g,373
25
28
  baiducloud_python_sdk_cloudassistant/models/create_action_request.py,sha256=k-fbKND8fEEZw80fjehN7jum_YunD_3afCGn49pKFuY,3975
26
29
  baiducloud_python_sdk_cloudassistant/models/create_action_response.py,sha256=o4zr0hINENgewtDoCjRgsUtiPVsaGEjyRiXK7leb55k,3006
27
30
  baiducloud_python_sdk_cloudassistant/models/delete_action_request.py,sha256=2aMcRzgD-W546fRvK52t8U2xmpVs7rBJbNDTeEG0HXs,1531
@@ -33,7 +36,6 @@ baiducloud_python_sdk_cloudassistant/models/get_action_response.py,sha256=6KLBxN
33
36
  baiducloud_python_sdk_cloudassistant/models/get_action_run_request.py,sha256=lpGSrzyPpDvJCA36FqWyw-sY2ZyYXb8L3WFDUN7y2fE,2666
34
37
  baiducloud_python_sdk_cloudassistant/models/get_action_run_response.py,sha256=M_rgxn1jUrrgr8LnPIRSc7A5MQ_R0ljERlG8xRXGzrk,2998
35
38
  baiducloud_python_sdk_cloudassistant/models/host.py,sha256=IEpZLldwOVdWaBIb9ajiXHIFI4Ay4DlEevXp-Dagmqc,1506
36
- baiducloud_python_sdk_cloudassistant/models/id.py,sha256=HLmwFbml03CFAblbr_eg0xBAqA9npGUg5NSYM8THxE0,358
37
39
  baiducloud_python_sdk_cloudassistant/models/instance_type.py,sha256=or4lg_-yXcg1N8pezdj7y7_BxPOpc82ohhL1Qq3tzqQ,340
38
40
  baiducloud_python_sdk_cloudassistant/models/keyword_type.py,sha256=EqfPt-GnL8u4ClZzPShraCIX6ix7K3OBzsksAShTnws,393
39
41
  baiducloud_python_sdk_cloudassistant/models/log.py,sha256=R2YeLEqyj_R448cUqWLDuaevUF1YKVeWJnDhMXaOe5s,1397
@@ -42,18 +44,17 @@ baiducloud_python_sdk_cloudassistant/models/os.py,sha256=5BSuolqzitWU6QC9HmUHqnN
42
44
  baiducloud_python_sdk_cloudassistant/models/output.py,sha256=P99pKvoP5I42VRdnkiQKwQ9F6BKpEHTSTZTewpkePc8,2421
43
45
  baiducloud_python_sdk_cloudassistant/models/parameter.py,sha256=PGJkD_8LZTc8QktcJlac6EGxMnlxufroiUMSWyZQUcU,2335
44
46
  baiducloud_python_sdk_cloudassistant/models/scope.py,sha256=TXPRVJcBca-ciZi4EArCX-UtBgDAwrAPVe_7QOWsopU,359
45
- baiducloud_python_sdk_cloudassistant/models/state.py,sha256=FLs3Fxk5-5QMxbPmcOHXSxP6JQodg0IB8WQRCz1FTm4,391
47
+ baiducloud_python_sdk_cloudassistant/models/state.py,sha256=gNAuaCFKmcFAtCqeRLK0n2PboxJkb86rfnZXExybsE8,507
46
48
  baiducloud_python_sdk_cloudassistant/models/statistics.py,sha256=aYr6mBM95YbpOU_zQ8bwsS1yJhKnvcOSCUhaNvXQkPU,2026
47
49
  baiducloud_python_sdk_cloudassistant/models/tag.py,sha256=tsWf93y4WCG0ewywKoKCSgkglPy9iBIQUB47jsGpWxM,1737
48
50
  baiducloud_python_sdk_cloudassistant/models/target.py,sha256=PNz6oeFEuXOnFSrXCk7zXgDp9gzXJfb_aklyJLy-_Vs,3230
49
51
  baiducloud_python_sdk_cloudassistant/models/target_import.py,sha256=I_jP0DjmnVebGQvIHMzzeneJ-_eUMEd6VZfqPevHn3I,1966
50
52
  baiducloud_python_sdk_cloudassistant/models/target_selector.py,sha256=9s3uMwN-vLVCELwgnawYSHE4WUif4kSwj3MSMHkW3YQ,2489
51
53
  baiducloud_python_sdk_cloudassistant/models/target_selector_type.py,sha256=jwHZ754BOqQpdVEmr-g5rSDyAAEoua73EqD3jLIZ5Bw,590
52
- baiducloud_python_sdk_cloudassistant/models/type.py,sha256=jvV4PJVwtw4dYJ6EM9PRP_SjPSbiffwsVZSrxr-9QD0,352
53
54
  baiducloud_python_sdk_cloudassistant/models/update_action_request.py,sha256=TW0bp6Xn5d2I4d44zLWAabSyO5nBjUSVhfyt-hHEbTo,3975
54
55
  baiducloud_python_sdk_cloudassistant/models/update_action_response.py,sha256=i43KwW7o84_ouPZkvnxv86mM2VNAxbOPhcwppJNSgoI,2605
55
- baiducloud_python_sdk_cloudassistant-0.0.1.dist-info/LICENSE,sha256=vWvFalMLAgEWwNa8irw-tSDlh7k7bl4APjMGE_lGiws,10372
56
- baiducloud_python_sdk_cloudassistant-0.0.1.dist-info/METADATA,sha256=4nR8Z9gPWbPuIhf8oJFWsiAYfCC-HdGWhODGOljIuiA,2723
57
- baiducloud_python_sdk_cloudassistant-0.0.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
58
- baiducloud_python_sdk_cloudassistant-0.0.1.dist-info/top_level.txt,sha256=a7IUN78q8-j0OedzC5Snq3kNvTf5T2Z7cmxYa4TE61s,37
59
- baiducloud_python_sdk_cloudassistant-0.0.1.dist-info/RECORD,,
56
+ baiducloud_python_sdk_cloudassistant-0.0.2.dist-info/LICENSE,sha256=vWvFalMLAgEWwNa8irw-tSDlh7k7bl4APjMGE_lGiws,10372
57
+ baiducloud_python_sdk_cloudassistant-0.0.2.dist-info/METADATA,sha256=7njyc-OgkGN-HcHRG1ySthIS1dEsMgO_GhOXZ2kU_iM,2723
58
+ baiducloud_python_sdk_cloudassistant-0.0.2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
59
+ baiducloud_python_sdk_cloudassistant-0.0.2.dist-info/top_level.txt,sha256=a7IUN78q8-j0OedzC5Snq3kNvTf5T2Z7cmxYa4TE61s,37
60
+ baiducloud_python_sdk_cloudassistant-0.0.2.dist-info/RECORD,,