-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations.yml
57 lines (56 loc) · 2.44 KB
/
azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations.yml
1
2
3
4
5
6
7
8
9
10
11
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
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations
name: VirtualMachineRunCommandsOperations
fullName: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations
module: azure.mgmt.compute.v2018_04_01.operations
inheritances:
- builtins.object
summary: "> [!WARNING]\n> DO NOT instantiate this class directly.\n>\n> \n>\n> Instead,\
\ you should access the following operations through\n>\n> <xref:azure.mgmt.compute.v2018_04_01.ComputeManagementClient>'s\n\
>\n> <xref:virtual_machine_run_commands> attribute.\n>"
constructor:
syntax: VirtualMachineRunCommandsOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations.get
name: get
summary: Gets specific run command for a subscription in a location.
signature: 'get(location: str, command_id: str, **kwargs: Any) -> RunCommandDocument'
parameters:
- name: location
description: The location upon which run commands is queried. Required.
isRequired: true
types:
- <xref:str>
- name: command_id
description: The command id. Required.
isRequired: true
types:
- <xref:str>
return:
description: RunCommandDocument or the result of cls(response)
types:
- <xref:azure.mgmt.compute.v2018_04_01.models.RunCommandDocument>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations.list
name: list
summary: Lists all available run commands for a subscription in a location.
signature: 'list(location: str, **kwargs: Any) -> Iterable[RunCommandDocumentBase]'
parameters:
- name: location
description: The location upon which run commands is queried. Required.
isRequired: true
types:
- <xref:str>
return:
description: 'An iterator like instance of either RunCommandDocumentBase or the
result of
cls(response)'
types:
- <xref:azure.core.paging.ItemPaged>[<xref:azure.mgmt.compute.v2018_04_01.models.RunCommandDocumentBase>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.compute.v2018_04_01.operations.VirtualMachineRunCommandsOperations.models
name: models
signature: models = <module 'azure.mgmt.compute.v2018_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2018_04_01\\models\\__init__.py'>