DscNodeOperations Class
DscNodeOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectDscNodeOperations
Constructor
DscNodeOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| delete |
Delete the dsc node identified by node id. |
| get |
Retrieve the dsc node identified by node id. |
| list_by_automation_account |
Retrieve a list of dsc nodes. |
| update |
Update the dsc node. |
delete
Delete the dsc node identified by node id.
async delete(resource_group_name: str, automation_account_name: str, node_id: str, **kwargs) -> azure.mgmt.automation.models._models_py3.DscNode
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DscNode, or the result of cls(response)
Return type
Exceptions
get
Retrieve the dsc node identified by node id.
async get(resource_group_name: str, automation_account_name: str, node_id: str, **kwargs) -> azure.mgmt.automation.models._models_py3.DscNode
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DscNode, or the result of cls(response)
Return type
Exceptions
list_by_automation_account
Retrieve a list of dsc nodes.
list_by_automation_account(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, skip: Optional[int] = None, top: Optional[int] = None, inlinecount: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.automation.models._models_py3.DscNodeListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DscNodeListResult or the result of cls(response)
Return type
Exceptions
update
Update the dsc node.
async update(resource_group_name: str, automation_account_name: str, node_id: str, dsc_node_update_parameters: azure.mgmt.automation.models._models_py3.DscNodeUpdateParameters, **kwargs) -> azure.mgmt.automation.models._models_py3.DscNode
Parameters
- dsc_node_update_parameters
- DscNodeUpdateParameters
Parameters supplied to the update dsc node.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DscNode, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.automation.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\automation\\models\\__init__.py'>
Feedback
Submit and view feedback for