azure.mgmt.automation.operations module¶
-
class
azure.mgmt.automation.operations.
ActivityOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sactivity
attribute.-
get
(resource_group_name: str, automation_account_name: str, module_name: str, activity_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Activity[source]¶ Retrieve the activity in the module identified by module name and activity name.
- Parameters
- Keyword Arguments
- Returns
Activity, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_module
(resource_group_name: str, automation_account_name: str, module_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.ActivityListResult][source]¶ Retrieve a list of activities in the module identified by module name.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either ActivityListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
AgentRegistrationInformationOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sagent_registration_information
attribute.-
get
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.AgentRegistration[source]¶ Retrieve the automation agent registration information.
- Parameters
- Keyword Arguments
- Returns
AgentRegistration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
regenerate_key
(resource_group_name: str, automation_account_name: str, parameters: azure.mgmt.automation.models._models_py3.AgentRegistrationRegenerateKeyParameter, **kwargs: Any) → azure.mgmt.automation.models._models_py3.AgentRegistration[source]¶ Regenerate a primary or secondary agent registration key.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
parameters (AgentRegistrationRegenerateKeyParameter) – The name of the agent registration key to be regenerated.
- Keyword Arguments
- Returns
AgentRegistration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
AutomationAccountOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sautomation_account
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, parameters: azure.mgmt.automation.models._models_py3.AutomationAccountCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.AutomationAccount[source]¶ Create or update automation account.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
parameters (AutomationAccountCreateOrUpdateParameters) – Parameters supplied to the create or update automation account.
- Keyword Arguments
- Returns
AutomationAccount, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → None[source]¶ Delete an automation account.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.AutomationAccount[source]¶ Get information about an Automation Account.
- Parameters
- Keyword Arguments
- Returns
AutomationAccount, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.AutomationAccountListResult][source]¶ Lists the Automation Accounts within an Azure subscription.
Retrieve a list of accounts within a given subscription.
- Keyword Arguments
- Returns
An iterator like instance of either AutomationAccountListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.AutomationAccountListResult][source]¶ Retrieve a list of accounts within a given resource group.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
- Keyword Arguments
- Returns
An iterator like instance of either AutomationAccountListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, parameters: azure.mgmt.automation.models._models_py3.AutomationAccountUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.AutomationAccount[source]¶ Update an automation account.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
parameters (AutomationAccountUpdateParameters) – Parameters supplied to the update automation account.
- Keyword Arguments
- Returns
AutomationAccount, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
AutomationClientOperationsMixin
[source]¶ Bases:
azure.mgmt.automation._vendor.MixinABC
-
convert_graph_runbook_content
(resource_group_name: str, automation_account_name: str, parameters: azure.mgmt.automation.models._models_py3.GraphicalRunbookContent, **kwargs: Any) → azure.mgmt.automation.models._models_py3.GraphicalRunbookContent[source]¶ Post operation to serialize or deserialize GraphRunbookContent.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
parameters (GraphicalRunbookContent) – Input data describing the graphical runbook.
- Keyword Arguments
- Returns
GraphicalRunbookContent, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
-
class
azure.mgmt.automation.operations.
CertificateOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’scertificate
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, certificate_name: str, parameters: azure.mgmt.automation.models._models_py3.CertificateCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Certificate[source]¶ Create a certificate.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
certificate_name (str) – The parameters supplied to the create or update certificate operation.
parameters (CertificateCreateOrUpdateParameters) – The parameters supplied to the create or update certificate operation.
- Keyword Arguments
- Returns
Certificate, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, certificate_name: str, **kwargs: Any) → None[source]¶ Delete the certificate.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, certificate_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Certificate[source]¶ Retrieve the certificate identified by certificate name.
- Parameters
- Keyword Arguments
- Returns
Certificate, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.CertificateListResult][source]¶ Retrieve a list of certificates.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either CertificateListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, certificate_name: str, parameters: azure.mgmt.automation.models._models_py3.CertificateUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Certificate[source]¶ Update a certificate.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
certificate_name (str) – The parameters supplied to the update certificate operation.
parameters (CertificateUpdateParameters) – The parameters supplied to the update certificate operation.
- Keyword Arguments
- Returns
Certificate, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
ConnectionOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sconnection
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, connection_name: str, parameters: azure.mgmt.automation.models._models_py3.ConnectionCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Connection[source]¶ Create or update a connection.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
connection_name (str) – The parameters supplied to the create or update connection operation.
parameters (ConnectionCreateOrUpdateParameters) – The parameters supplied to the create or update connection operation.
- Keyword Arguments
- Returns
Connection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, connection_name: str, **kwargs: Any) → None[source]¶ Delete the connection.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, connection_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Connection[source]¶ Retrieve the connection identified by connection name.
- Parameters
- Keyword Arguments
- Returns
Connection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.ConnectionListResult][source]¶ Retrieve a list of connections.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either ConnectionListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, connection_name: str, parameters: azure.mgmt.automation.models._models_py3.ConnectionUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Connection[source]¶ Update a connection.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
connection_name (str) – The parameters supplied to the update a connection operation.
parameters (ConnectionUpdateParameters) – The parameters supplied to the update a connection operation.
- Keyword Arguments
- Returns
Connection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
ConnectionTypeOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sconnection_type
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, connection_type_name: str, parameters: azure.mgmt.automation.models._models_py3.ConnectionTypeCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.ConnectionType[source]¶ Create a connection type.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
connection_type_name (str) – The parameters supplied to the create or update connection type operation.
parameters (ConnectionTypeCreateOrUpdateParameters) – The parameters supplied to the create or update connection type operation.
- Keyword Arguments
- Returns
ConnectionType, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, connection_type_name: str, **kwargs: Any) → None[source]¶ Delete the connection type.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, connection_type_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.ConnectionType[source]¶ Retrieve the connection type identified by connection type name.
- Parameters
- Keyword Arguments
- Returns
ConnectionType, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.ConnectionTypeListResult][source]¶ Retrieve a list of connection types.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either ConnectionTypeListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
CredentialOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’scredential
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, credential_name: str, parameters: azure.mgmt.automation.models._models_py3.CredentialCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Credential[source]¶ Create a credential.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
credential_name (str) – The parameters supplied to the create or update credential operation.
parameters (CredentialCreateOrUpdateParameters) – The parameters supplied to the create or update credential operation.
- Keyword Arguments
- Returns
Credential, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, credential_name: str, **kwargs: Any) → None[source]¶ Delete the credential.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, credential_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Credential[source]¶ Retrieve the credential identified by credential name.
- Parameters
- Keyword Arguments
- Returns
Credential, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.CredentialListResult][source]¶ Retrieve a list of credentials.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either CredentialListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, credential_name: str, parameters: azure.mgmt.automation.models._models_py3.CredentialUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Credential[source]¶ Update a credential.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
credential_name (str) – The parameters supplied to the Update credential operation.
parameters (CredentialUpdateParameters) – The parameters supplied to the Update credential operation.
- Keyword Arguments
- Returns
Credential, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
DscCompilationJobOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sdsc_compilation_job
attribute.-
begin_create
(resource_group_name: str, automation_account_name: str, compilation_job_name: str, parameters: azure.mgmt.automation.models._models_py3.DscCompilationJobCreateParameters, **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.mgmt.automation.models._models_py3.DscCompilationJob][source]¶ Creates the Dsc compilation job of the configuration.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
compilation_job_name (str) – The DSC configuration Id.
parameters (DscCompilationJobCreateParameters) – The parameters supplied to the create compilation job operation.
- Keyword Arguments
api_version (str) – Api Version. Default value is “2020-01-13-preview”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either DscCompilationJob or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, compilation_job_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscCompilationJob[source]¶ Retrieve the Dsc configuration compilation job identified by job id.
- Parameters
- Keyword Arguments
- Returns
DscCompilationJob, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_stream
(resource_group_name: str, automation_account_name: str, job_id: str, job_stream_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.JobStream[source]¶ Retrieve the job stream identified by job stream id.
- Parameters
- Keyword Arguments
- Returns
JobStream, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.DscCompilationJobListResult][source]¶ Retrieve a list of dsc compilation jobs.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either DscCompilationJobListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
DscCompilationJobStreamOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sdsc_compilation_job_stream
attribute.-
list_by_job
(resource_group_name: str, automation_account_name: str, job_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.JobStreamListResult[source]¶ Retrieve all the job streams for the compilation Job.
- Parameters
- Keyword Arguments
- Returns
JobStreamListResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
DscConfigurationOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sdsc_configuration
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, configuration_name: str, parameters: Union[str, azure.mgmt.automation.models._models_py3.DscConfigurationCreateOrUpdateParameters], *, content_type: Optional[str] = 'application/json', **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscConfiguration[source]¶ Create the configuration identified by configuration name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
configuration_name (str) – The create or update parameters for configuration.
parameters (str or DscConfigurationCreateOrUpdateParameters) – The create or update parameters for configuration.
- Keyword Arguments
content_type (str) – Media type of the body sent to the API. Known values are: “text/plain; charset=utf-8” or “application/json”. Default value is “application/json”.
api_version (str) – Api Version. Default value is “2019-06-01”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
- Returns
DscConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, configuration_name: str, **kwargs: Any) → None[source]¶ Delete the dsc configuration identified by configuration name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, configuration_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscConfiguration[source]¶ Retrieve the configuration identified by configuration name.
- Parameters
- Keyword Arguments
- Returns
DscConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_content
(resource_group_name: str, automation_account_name: str, configuration_name: str, **kwargs: Any) → str[source]¶ Retrieve the configuration script identified by configuration name.
- Parameters
- Keyword Arguments
- Returns
str, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
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: Any) → Iterable[azure.mgmt.automation.models._models_py3.DscConfigurationListResult][source]¶ Retrieve a list of configurations.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
filter (str) – The filter to apply on the operation. Default value is None.
skip (int) – The number of rows to skip. Default value is None.
top (int) – The number of rows to take. Default value is None.
inlinecount (str) – Return total rows. Default value is None.
- Keyword Arguments
- Returns
An iterator like instance of either DscConfigurationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, configuration_name: str, parameters: Optional[Union[str, azure.mgmt.automation.models._models_py3.DscConfigurationUpdateParameters]] = None, *, content_type: Optional[str] = 'application/json', **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscConfiguration[source]¶ Create the configuration identified by configuration name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
configuration_name (str) – The create or update parameters for configuration.
parameters (str or DscConfigurationUpdateParameters) – The create or update parameters for configuration. Default value is None.
- Keyword Arguments
content_type (str) – Media type of the body sent to the API. Known values are: “text/plain; charset=utf-8” or “application/json”. Default value is “application/json”.
api_version (str) – Api Version. Default value is “2019-06-01”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
- Returns
DscConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
DscNodeConfigurationOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sdsc_node_configuration
attribute.-
begin_create_or_update
(resource_group_name: str, automation_account_name: str, node_configuration_name: str, parameters: azure.mgmt.automation.models._models_py3.DscNodeConfigurationCreateOrUpdateParameters, **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.mgmt.automation.models._models_py3.DscNodeConfiguration][source]¶ Create the node configuration identified by node configuration name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
node_configuration_name (str) – The Dsc node configuration name.
parameters (DscNodeConfigurationCreateOrUpdateParameters) – The create or update parameters for configuration.
- Keyword Arguments
api_version (str) – Api Version. Default value is “2020-01-13-preview”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either DscNodeConfiguration or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, node_configuration_name: str, **kwargs: Any) → None[source]¶ Delete the Dsc node configurations by node configuration.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, node_configuration_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscNodeConfiguration[source]¶ Retrieve the Dsc node configurations by node configuration.
- Parameters
- Keyword Arguments
- Returns
DscNodeConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
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: Any) → Iterable[azure.mgmt.automation.models._models_py3.DscNodeConfigurationListResult][source]¶ Retrieve a list of dsc node configurations.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
filter (str) – The filter to apply on the operation. Default value is None.
skip (int) – The number of rows to skip. Default value is None.
top (int) – The number of rows to take. Default value is None.
inlinecount (str) – Return total rows. Default value is None.
- Keyword Arguments
- Returns
An iterator like instance of either DscNodeConfigurationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
DscNodeOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sdsc_node
attribute.-
delete
(resource_group_name: str, automation_account_name: str, node_id: str, **kwargs: Any) → None[source]¶ Delete the dsc node identified by node id.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, node_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscNode[source]¶ Retrieve the dsc node identified by node id.
- Parameters
- Keyword Arguments
- Returns
DscNode, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
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: Any) → Iterable[azure.mgmt.automation.models._models_py3.DscNodeListResult][source]¶ Retrieve a list of dsc nodes.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
filter (str) – The filter to apply on the operation. Default value is None.
skip (int) – The number of rows to skip. Default value is None.
top (int) – The number of rows to take. Default value is None.
inlinecount (str) – Return total rows. Default value is None.
- Keyword Arguments
- Returns
An iterator like instance of either DscNodeListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, node_id: str, dsc_node_update_parameters: azure.mgmt.automation.models._models_py3.DscNodeUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscNode[source]¶ Update the dsc node.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
node_id (str) – Parameters supplied to the update dsc node.
dsc_node_update_parameters (DscNodeUpdateParameters) – Parameters supplied to the update dsc node.
- Keyword Arguments
- Returns
DscNode, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
FieldsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sfields
attribute.-
list_by_type
(resource_group_name: str, automation_account_name: str, module_name: str, type_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.TypeFieldListResult][source]¶ Retrieve a list of fields of a given type identified by module name.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either TypeFieldListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
HybridRunbookWorkerGroupOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’shybrid_runbook_worker_group
attribute.-
create
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, hybrid_runbook_worker_group_creation_parameters: azure.mgmt.automation.models._models_py3.HybridRunbookWorkerGroupCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.HybridRunbookWorkerGroup[source]¶ Create a hybrid runbook worker group.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
hybrid_runbook_worker_group_name (str) – The hybrid runbook worker group name.
hybrid_runbook_worker_group_creation_parameters (HybridRunbookWorkerGroupCreateOrUpdateParameters) – The create or update parameters for hybrid runbook worker group.
- Keyword Arguments
- Returns
HybridRunbookWorkerGroup, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, **kwargs: Any) → None[source]¶ Delete a hybrid runbook worker group.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.HybridRunbookWorkerGroup[source]¶ Retrieve a hybrid runbook worker group.
- Parameters
- Keyword Arguments
- Returns
HybridRunbookWorkerGroup, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.HybridRunbookWorkerGroupsListResult][source]¶ Retrieve a list of hybrid runbook worker groups.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either HybridRunbookWorkerGroupsListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, parameters: azure.mgmt.automation.models._models_py3.HybridRunbookWorkerGroupCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.HybridRunbookWorkerGroup[source]¶ Update a hybrid runbook worker group.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
hybrid_runbook_worker_group_name (str) – The hybrid runbook worker group name.
parameters (HybridRunbookWorkerGroupCreateOrUpdateParameters) – The hybrid runbook worker group.
- Keyword Arguments
- Returns
HybridRunbookWorkerGroup, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
HybridRunbookWorkersOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’shybrid_runbook_workers
attribute.-
create
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, hybrid_runbook_worker_id: str, hybrid_runbook_worker_creation_parameters: azure.mgmt.automation.models._models_py3.HybridRunbookWorkerCreateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.HybridRunbookWorker[source]¶ Create a hybrid runbook worker.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
hybrid_runbook_worker_group_name (str) – The hybrid runbook worker group name.
hybrid_runbook_worker_id (str) – The hybrid runbook worker id.
hybrid_runbook_worker_creation_parameters (HybridRunbookWorkerCreateParameters) – The create or update parameters for hybrid runbook worker.
- Keyword Arguments
- Returns
HybridRunbookWorker, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, hybrid_runbook_worker_id: str, **kwargs: Any) → None[source]¶ Delete a hybrid runbook worker.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, hybrid_runbook_worker_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.HybridRunbookWorker[source]¶ Retrieve a hybrid runbook worker.
- Parameters
- Keyword Arguments
- Returns
HybridRunbookWorker, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_hybrid_runbook_worker_group
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.HybridRunbookWorkersListResult][source]¶ Retrieve a list of hybrid runbook workers.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either HybridRunbookWorkersListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
move
(resource_group_name: str, automation_account_name: str, hybrid_runbook_worker_group_name: str, hybrid_runbook_worker_id: str, hybrid_runbook_worker_move_parameters: azure.mgmt.automation.models._models_py3.HybridRunbookWorkerMoveParameters, **kwargs: Any) → None[source]¶ Move a hybrid worker to a different group.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
hybrid_runbook_worker_group_name (str) – The hybrid runbook worker group name.
hybrid_runbook_worker_id (str) – The hybrid runbook worker id.
hybrid_runbook_worker_move_parameters (HybridRunbookWorkerMoveParameters) – The hybrid runbook worker move parameters.
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
JobOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sjob
attribute.-
create
(resource_group_name: str, automation_account_name: str, job_name: str, parameters: azure.mgmt.automation.models._models_py3.JobCreateParameters, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Job[source]¶ Create a job of the runbook.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
job_name (str) – The job name.
parameters (JobCreateParameters) – The parameters supplied to the create job operation.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
Job, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, job_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Job[source]¶ Retrieve the job identified by job name.
- Parameters
- Keyword Arguments
- Returns
Job, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_output
(resource_group_name: str, automation_account_name: str, job_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → str[source]¶ Retrieve the job output identified by job name.
- Parameters
- Keyword Arguments
- Returns
str, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_runbook_content
(resource_group_name: str, automation_account_name: str, job_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → str[source]¶ Retrieve the runbook content of the job identified by job name.
- Parameters
- Keyword Arguments
- Returns
str, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, client_request_id: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.JobListResultV2][source]¶ Retrieve a list of jobs.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either JobListResultV2 or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
resume
(resource_group_name: str, automation_account_name: str, job_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → None[source]¶ Resume the job identified by jobName.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
stop
(resource_group_name: str, automation_account_name: str, job_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → None[source]¶ Stop the job identified by jobName.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
suspend
(resource_group_name: str, automation_account_name: str, job_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → None[source]¶ Suspend the job identified by job name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
JobScheduleOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sjob_schedule
attribute.-
create
(resource_group_name: str, automation_account_name: str, job_schedule_id: str, parameters: azure.mgmt.automation.models._models_py3.JobScheduleCreateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.JobSchedule[source]¶ Create a job schedule.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
job_schedule_id (str) – The job schedule name.
parameters (JobScheduleCreateParameters) – The parameters supplied to the create job schedule operation.
- Keyword Arguments
- Returns
JobSchedule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, job_schedule_id: str, **kwargs: Any) → None[source]¶ Delete the job schedule identified by job schedule name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, job_schedule_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.JobSchedule[source]¶ Retrieve the job schedule identified by job schedule name.
- Parameters
- Keyword Arguments
- Returns
JobSchedule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.JobScheduleListResult][source]¶ Retrieve a list of job schedules.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either JobScheduleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
JobStreamOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sjob_stream
attribute.-
get
(resource_group_name: str, automation_account_name: str, job_name: str, job_stream_id: str, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.JobStream[source]¶ Retrieve the job stream identified by job stream id.
- Parameters
- Keyword Arguments
- Returns
JobStream, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_job
(resource_group_name: str, automation_account_name: str, job_name: str, filter: Optional[str] = None, client_request_id: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.JobStreamListResult][source]¶ Retrieve a list of jobs streams identified by job name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
job_name (str) – The job name.
filter (str) – The filter to apply on the operation. Default value is None.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
An iterator like instance of either JobStreamListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
KeysOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’skeys
attribute.-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.KeyListResult[source]¶ Retrieve the automation keys for an account.
- Parameters
- Keyword Arguments
- Returns
KeyListResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
LinkedWorkspaceOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’slinked_workspace
attribute.-
get
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.LinkedWorkspace[source]¶ Retrieve the linked workspace for the account id.
- Parameters
- Keyword Arguments
- Returns
LinkedWorkspace, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
ModuleOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’smodule
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, module_name: str, parameters: azure.mgmt.automation.models._models_py3.ModuleCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Module[source]¶ Create or Update the module identified by module name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
module_name (str) – The name of module.
parameters (ModuleCreateOrUpdateParameters) – The create or update parameters for module.
- Keyword Arguments
- Returns
Module, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, module_name: str, **kwargs: Any) → None[source]¶ Delete the module by name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, module_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Module[source]¶ Retrieve the module identified by module name.
- Parameters
- Keyword Arguments
- Returns
Module, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.ModuleListResult][source]¶ Retrieve a list of modules.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either ModuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, module_name: str, parameters: azure.mgmt.automation.models._models_py3.ModuleUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Module[source]¶ Update the module identified by module name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
module_name (str) – The name of module.
parameters (ModuleUpdateParameters) – The update parameters for module.
- Keyword Arguments
- Returns
Module, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
NodeCountInformationOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’snode_count_information
attribute.-
get
(resource_group_name: str, automation_account_name: str, count_type: Union[str, azure.mgmt.automation.models._automation_client_enums.CountType], **kwargs: Any) → azure.mgmt.automation.models._models_py3.NodeCounts[source]¶ Retrieve counts for Dsc Nodes.
- Parameters
- Keyword Arguments
- Returns
NodeCounts, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
NodeReportsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’snode_reports
attribute.-
get
(resource_group_name: str, automation_account_name: str, node_id: str, report_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.DscNodeReport[source]¶ Retrieve the Dsc node report data by node id and report id.
- Parameters
- Keyword Arguments
- Returns
DscNodeReport, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_content
(resource_group_name: str, automation_account_name: str, node_id: str, report_id: str, **kwargs: Any) → Any[source]¶ Retrieve the Dsc node reports by node id and report id.
- Parameters
- Keyword Arguments
- Returns
any, or the result of cls(response)
- Return type
any
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_node
(resource_group_name: str, automation_account_name: str, node_id: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.DscNodeReportListResult][source]¶ Retrieve the Dsc node report list by node id.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either DscNodeReportListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
ObjectDataTypesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sobject_data_types
attribute.-
list_fields_by_module_and_type
(resource_group_name: str, automation_account_name: str, module_name: str, type_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.TypeFieldListResult][source]¶ Retrieve a list of fields of a given type identified by module name.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either TypeFieldListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_fields_by_type
(resource_group_name: str, automation_account_name: str, type_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.TypeFieldListResult][source]¶ Retrieve a list of fields of a given type across all accessible modules.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either TypeFieldListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.OperationListResult][source]¶ Lists all of the available Automation REST API operations.
- Keyword Arguments
- Returns
An iterator like instance of either OperationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
PrivateEndpointConnectionsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sprivate_endpoint_connections
attribute.-
begin_create_or_update
(resource_group_name: str, automation_account_name: str, private_endpoint_connection_name: str, parameters: azure.mgmt.automation.models._models_py3.PrivateEndpointConnection, **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.mgmt.automation.models._models_py3.PrivateEndpointConnection][source]¶ Approve or reject a private endpoint connection with a given name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
private_endpoint_connection_name (str) – The name of the private endpoint connection.
parameters (PrivateEndpointConnection) –
- Keyword Arguments
api_version (str) – Api Version. Default value is “2020-01-13-preview”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
begin_delete
(resource_group_name: str, automation_account_name: str, private_endpoint_connection_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes a private endpoint connection with a given name.
- Parameters
- Keyword Arguments
api_version (str) – Api Version. Default value is “2020-01-13-preview”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, private_endpoint_connection_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.PrivateEndpointConnection[source]¶ Gets a private endpoint connection.
- Parameters
- Keyword Arguments
- Returns
PrivateEndpointConnection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.PrivateEndpointConnectionListResult][source]¶ List all private endpoint connections on a Automation account.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
PrivateLinkResourcesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sprivate_link_resources
attribute.-
automation
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.PrivateLinkResourceListResult][source]¶ Gets the private link resources that need to be created for Automation account.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either PrivateLinkResourceListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
Python2PackageOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’spython2_package
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, package_name: str, parameters: azure.mgmt.automation.models._models_py3.PythonPackageCreateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Module[source]¶ Create or Update the python 2 package identified by package name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
package_name (str) – The name of python package.
parameters (PythonPackageCreateParameters) – The create or update parameters for python package.
- Keyword Arguments
- Returns
Module, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, package_name: str, **kwargs: Any) → None[source]¶ Delete the python 2 package by name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, package_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Module[source]¶ Retrieve the python 2 package identified by package name.
- Parameters
- Keyword Arguments
- Returns
Module, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.ModuleListResult][source]¶ Retrieve a list of python 2 packages.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either ModuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, package_name: str, parameters: azure.mgmt.automation.models._models_py3.PythonPackageUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Module[source]¶ Update the python 2 package identified by package name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
package_name (str) – The name of python package.
parameters (PythonPackageUpdateParameters) – The update parameters for python package.
- Keyword Arguments
- Returns
Module, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
RunbookDraftOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’srunbook_draft
attribute.-
begin_replace_content
(resource_group_name: str, automation_account_name: str, runbook_name: str, runbook_content: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[IO][source]¶ Replaces the runbook draft content.
- Parameters
- Keyword Arguments
api_version (str) – Api Version. Default value is “2018-06-30”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either IO or the result of cls(response)
- Return type
LROPoller[IO]
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.RunbookDraft[source]¶ Retrieve the runbook draft identified by runbook name.
- Parameters
- Keyword Arguments
- Returns
RunbookDraft, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_content
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → IO[source]¶ Retrieve the content of runbook draft identified by runbook name.
- Parameters
- Keyword Arguments
- Returns
IO, or the result of cls(response)
- Return type
IO
- Raises
~azure.core.exceptions.HttpResponseError
-
undo_edit
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.RunbookDraftUndoEditResult[source]¶ Undo draft edit to last known published state identified by runbook name.
- Parameters
- Keyword Arguments
- Returns
RunbookDraftUndoEditResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
RunbookOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’srunbook
attribute.-
begin_publish
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Publish runbook draft.
- Parameters
- Keyword Arguments
api_version (str) – Api Version. Default value is “2018-06-30”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
create_or_update
(resource_group_name: str, automation_account_name: str, runbook_name: str, parameters: azure.mgmt.automation.models._models_py3.RunbookCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Runbook[source]¶ Create the runbook identified by runbook name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
runbook_name (str) – The runbook name.
parameters (RunbookCreateOrUpdateParameters) – The create or update parameters for runbook. Provide either content link for a published runbook or draft, not both.
- Keyword Arguments
- Returns
Runbook, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → None[source]¶ Delete the runbook by name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Runbook[source]¶ Retrieve the runbook identified by runbook name.
- Parameters
- Keyword Arguments
- Returns
Runbook, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_content
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → IO[source]¶ Retrieve the content of runbook identified by runbook name.
- Parameters
- Keyword Arguments
- Returns
IO, or the result of cls(response)
- Return type
IO
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.RunbookListResult][source]¶ Retrieve a list of runbooks.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either RunbookListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, runbook_name: str, parameters: azure.mgmt.automation.models._models_py3.RunbookUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Runbook[source]¶ Update the runbook identified by runbook name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
runbook_name (str) – The runbook name.
parameters (RunbookUpdateParameters) – The update parameters for runbook.
- Keyword Arguments
- Returns
Runbook, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
ScheduleOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sschedule
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, schedule_name: str, parameters: azure.mgmt.automation.models._models_py3.ScheduleCreateOrUpdateParameters, **kwargs: Any) → Optional[azure.mgmt.automation.models._models_py3.Schedule][source]¶ Create a schedule.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
schedule_name (str) – The schedule name.
parameters (ScheduleCreateOrUpdateParameters) – The parameters supplied to the create or update schedule operation.
- Keyword Arguments
- Returns
Schedule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, schedule_name: str, **kwargs: Any) → None[source]¶ Delete the schedule identified by schedule name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, schedule_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Schedule[source]¶ Retrieve the schedule identified by schedule name.
- Parameters
- Keyword Arguments
- Returns
Schedule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.ScheduleListResult][source]¶ Retrieve a list of schedules.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either ScheduleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, schedule_name: str, parameters: azure.mgmt.automation.models._models_py3.ScheduleUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Schedule[source]¶ Update the schedule identified by schedule name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
schedule_name (str) – The schedule name.
parameters (ScheduleUpdateParameters) – The parameters supplied to the update schedule operation.
- Keyword Arguments
- Returns
Schedule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
SoftwareUpdateConfigurationMachineRunsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’ssoftware_update_configuration_machine_runs
attribute.-
get_by_id
(resource_group_name: str, automation_account_name: str, software_update_configuration_machine_run_id: str, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfigurationMachineRun[source]¶ Get a single software update configuration machine run by Id.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
software_update_configuration_machine_run_id (str) – The Id of the software update configuration machine run.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
SoftwareUpdateConfigurationMachineRun, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, automation_account_name: str, client_request_id: Optional[str] = None, filter: Optional[str] = None, skip: Optional[str] = None, top: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfigurationMachineRunListResult[source]¶ Return list of software update configuration machine runs.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
client_request_id (str) – Identifies this specific client request. Default value is None.
filter (str) – The filter to apply on the operation. You can use the following filters: ‘properties/osType’, ‘properties/status’, ‘properties/startTime’, and ‘properties/softwareUpdateConfiguration/name’. Default value is None.
skip (str) – number of entries you skip before returning results. Default value is None.
top (str) – Maximum number of entries returned in the results collection. Default value is None.
- Keyword Arguments
- Returns
SoftwareUpdateConfigurationMachineRunListResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
SoftwareUpdateConfigurationRunsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’ssoftware_update_configuration_runs
attribute.-
get_by_id
(resource_group_name: str, automation_account_name: str, software_update_configuration_run_id: str, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfigurationRun[source]¶ Get a single software update configuration Run by Id.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
software_update_configuration_run_id (str) – The Id of the software update configuration run.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
SoftwareUpdateConfigurationRun, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, automation_account_name: str, client_request_id: Optional[str] = None, filter: Optional[str] = None, skip: Optional[str] = None, top: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfigurationRunListResult[source]¶ Return list of software update configuration runs.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
client_request_id (str) – Identifies this specific client request. Default value is None.
filter (str) – The filter to apply on the operation. You can use the following filters: ‘properties/osType’, ‘properties/status’, ‘properties/startTime’, and ‘properties/softwareUpdateConfiguration/name’. Default value is None.
skip (str) – Number of entries you skip before returning results. Default value is None.
top (str) – Maximum number of entries returned in the results collection. Default value is None.
- Keyword Arguments
- Returns
SoftwareUpdateConfigurationRunListResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
SoftwareUpdateConfigurationsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’ssoftware_update_configurations
attribute.-
create
(resource_group_name: str, automation_account_name: str, software_update_configuration_name: str, parameters: azure.mgmt.automation.models._models_py3.SoftwareUpdateConfiguration, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfiguration[source]¶ Create a new software update configuration with the name given in the URI.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
software_update_configuration_name (str) – The name of the software update configuration to be created.
parameters (SoftwareUpdateConfiguration) – Request body.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
SoftwareUpdateConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, software_update_configuration_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → None[source]¶ delete a specific software update configuration.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
software_update_configuration_name (str) – The name of the software update configuration to be created.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_by_name
(resource_group_name: str, automation_account_name: str, software_update_configuration_name: str, client_request_id: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfiguration[source]¶ Get a single software update configuration by name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
software_update_configuration_name (str) – The name of the software update configuration to be created.
client_request_id (str) – Identifies this specific client request. Default value is None.
- Keyword Arguments
- Returns
SoftwareUpdateConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, automation_account_name: str, client_request_id: Optional[str] = None, filter: Optional[str] = None, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SoftwareUpdateConfigurationListResult[source]¶ Get all software update configurations for the account.
- Parameters
- Keyword Arguments
- Returns
SoftwareUpdateConfigurationListResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
SourceControlOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’ssource_control
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, source_control_name: str, parameters: azure.mgmt.automation.models._models_py3.SourceControlCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SourceControl[source]¶ Create a source control.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
source_control_name (str) – The source control name.
parameters (SourceControlCreateOrUpdateParameters) – The parameters supplied to the create or update source control operation.
- Keyword Arguments
- Returns
SourceControl, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, source_control_name: str, **kwargs: Any) → None[source]¶ Delete the source control.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, source_control_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SourceControl[source]¶ Retrieve the source control identified by source control name.
- Parameters
- Keyword Arguments
- Returns
SourceControl, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.SourceControlListResult][source]¶ Retrieve a list of source controls.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either SourceControlListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, source_control_name: str, parameters: azure.mgmt.automation.models._models_py3.SourceControlUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SourceControl[source]¶ Update a source control.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
source_control_name (str) – The source control name.
parameters (SourceControlUpdateParameters) – The parameters supplied to the update source control operation.
- Keyword Arguments
- Returns
SourceControl, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
SourceControlSyncJobOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’ssource_control_sync_job
attribute.-
create
(resource_group_name: str, automation_account_name: str, source_control_name: str, source_control_sync_job_id: str, parameters: azure.mgmt.automation.models._models_py3.SourceControlSyncJobCreateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SourceControlSyncJob[source]¶ Creates the sync job for a source control.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
source_control_name (str) – The source control name.
source_control_sync_job_id (str) – The source control sync job id.
parameters (SourceControlSyncJobCreateParameters) – The parameters supplied to the create source control sync job operation.
- Keyword Arguments
- Returns
SourceControlSyncJob, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, source_control_name: str, source_control_sync_job_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SourceControlSyncJobById[source]¶ Retrieve the source control sync job identified by job id.
- Parameters
- Keyword Arguments
- Returns
SourceControlSyncJobById, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, source_control_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.SourceControlSyncJobListResult][source]¶ Retrieve a list of source control sync jobs.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either SourceControlSyncJobListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
SourceControlSyncJobStreamsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’ssource_control_sync_job_streams
attribute.-
get
(resource_group_name: str, automation_account_name: str, source_control_name: str, source_control_sync_job_id: str, stream_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.SourceControlSyncJobStreamById[source]¶ Retrieve a sync job stream identified by stream id.
- Parameters
- Keyword Arguments
- Returns
SourceControlSyncJobStreamById, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_sync_job
(resource_group_name: str, automation_account_name: str, source_control_name: str, source_control_sync_job_id: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.SourceControlSyncJobStreamsListBySyncJob][source]¶ Retrieve a list of sync job streams identified by sync job id.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
source_control_name (str) – The source control name.
source_control_sync_job_id (str) – The source control sync job id.
filter (str) – The filter to apply on the operation. Default value is None.
- Keyword Arguments
- Returns
An iterator like instance of either SourceControlSyncJobStreamsListBySyncJob or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
StatisticsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’sstatistics
attribute.-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.StatisticsListResult][source]¶ Retrieve the statistics for the account.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either StatisticsListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
TestJobOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’stest_job
attribute.-
create
(resource_group_name: str, automation_account_name: str, runbook_name: str, parameters: azure.mgmt.automation.models._models_py3.TestJobCreateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.TestJob[source]¶ Create a test job of the runbook.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
runbook_name (str) – The parameters supplied to the create test job operation.
parameters (TestJobCreateParameters) – The parameters supplied to the create test job operation.
- Keyword Arguments
- Returns
TestJob, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.TestJob[source]¶ Retrieve the test job for the specified runbook.
- Parameters
- Keyword Arguments
- Returns
TestJob, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
resume
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → None[source]¶ Resume the test job.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
stop
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → None[source]¶ Stop the test job.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
suspend
(resource_group_name: str, automation_account_name: str, runbook_name: str, **kwargs: Any) → None[source]¶ Suspend the test job.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
TestJobStreamsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’stest_job_streams
attribute.-
get
(resource_group_name: str, automation_account_name: str, runbook_name: str, job_stream_id: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.JobStream[source]¶ Retrieve a test job stream of the test job identified by runbook name and stream id.
- Parameters
- Keyword Arguments
- Returns
JobStream, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_test_job
(resource_group_name: str, automation_account_name: str, runbook_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.JobStreamListResult][source]¶ Retrieve a list of test job streams identified by runbook name.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either JobStreamListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
UsagesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’susages
attribute.-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.UsageListResult][source]¶ Retrieve the usage for the account id.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either UsageListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
VariableOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’svariable
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, variable_name: str, parameters: azure.mgmt.automation.models._models_py3.VariableCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Variable[source]¶ Create a variable.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
variable_name (str) – The variable name.
parameters (VariableCreateOrUpdateParameters) – The parameters supplied to the create or update variable operation.
- Keyword Arguments
- Returns
Variable, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, variable_name: str, **kwargs: Any) → None[source]¶ Delete the variable.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, variable_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Variable[source]¶ Retrieve the variable identified by variable name.
- Parameters
- Keyword Arguments
- Returns
Variable, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.VariableListResult][source]¶ Retrieve a list of variables.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either VariableListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, variable_name: str, parameters: azure.mgmt.automation.models._models_py3.VariableUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Variable[source]¶ Update a variable.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
variable_name (str) – The variable name.
parameters (VariableUpdateParameters) – The parameters supplied to the update variable operation.
- Keyword Arguments
- Returns
Variable, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
WatcherOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’swatcher
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, watcher_name: str, parameters: azure.mgmt.automation.models._models_py3.Watcher, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Watcher[source]¶ Create the watcher identified by watcher name.
- Parameters
- Keyword Arguments
- Returns
Watcher, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, watcher_name: str, **kwargs: Any) → None[source]¶ Delete the watcher by name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, watcher_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Watcher[source]¶ Retrieve the watcher identified by watcher name.
- Parameters
- Keyword Arguments
- Returns
Watcher, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.WatcherListResult][source]¶ Retrieve a list of watchers.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either WatcherListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
start
(resource_group_name: str, automation_account_name: str, watcher_name: str, **kwargs: Any) → None[source]¶ Resume the watcher identified by watcher name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
stop
(resource_group_name: str, automation_account_name: str, watcher_name: str, **kwargs: Any) → None[source]¶ Resume the watcher identified by watcher name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, watcher_name: str, parameters: azure.mgmt.automation.models._models_py3.WatcherUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Watcher[source]¶ Update the watcher identified by watcher name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
watcher_name (str) – The watcher name.
parameters (WatcherUpdateParameters) – The update parameters for watcher.
- Keyword Arguments
- Returns
Watcher, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-
-
class
azure.mgmt.automation.operations.
WebhookOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AutomationClient
’swebhook
attribute.-
create_or_update
(resource_group_name: str, automation_account_name: str, webhook_name: str, parameters: azure.mgmt.automation.models._models_py3.WebhookCreateOrUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Webhook[source]¶ Create the webhook identified by webhook name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
webhook_name (str) – The webhook name.
parameters (WebhookCreateOrUpdateParameters) – The create or update parameters for webhook.
- Keyword Arguments
- Returns
Webhook, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete
(resource_group_name: str, automation_account_name: str, webhook_name: str, **kwargs: Any) → None[source]¶ Delete the webhook by name.
- Parameters
- Keyword Arguments
- Returns
None, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
generate_uri
(resource_group_name: str, automation_account_name: str, **kwargs: Any) → str[source]¶ Generates a Uri for use in creating a webhook.
- Parameters
- Keyword Arguments
- Returns
str, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, automation_account_name: str, webhook_name: str, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Webhook[source]¶ Retrieve the webhook identified by webhook name.
- Parameters
- Keyword Arguments
- Returns
Webhook, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_automation_account
(resource_group_name: str, automation_account_name: str, filter: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.automation.models._models_py3.WebhookListResult][source]¶ Retrieve a list of webhooks.
- Parameters
- Keyword Arguments
- Returns
An iterator like instance of either WebhookListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
update
(resource_group_name: str, automation_account_name: str, webhook_name: str, parameters: azure.mgmt.automation.models._models_py3.WebhookUpdateParameters, **kwargs: Any) → azure.mgmt.automation.models._models_py3.Webhook[source]¶ Update the webhook identified by webhook name.
- Parameters
resource_group_name (str) – Name of an Azure Resource group.
automation_account_name (str) – The name of the automation account.
webhook_name (str) – The webhook name.
parameters (WebhookUpdateParameters) – The update parameters for webhook.
- Keyword Arguments
- Returns
Webhook, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.automation.models' from '/mnt/vss/_work/1/s/sdk/automation/azure-mgmt-automation/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/automation/models/__init__.py'>¶
-