azure.mgmt.automation.models module¶
- class azure.mgmt.automation.models.Activity(*, id: str | None = None, definition: str | None = None, parameter_sets: List[_models.ActivityParameterSet] | None = None, output_types: List[_models.ActivityOutputType] | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the activity.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Gets or sets the id of the resource.
name (str) – Gets the name of the activity.
definition (str) – Gets or sets the user name of the activity.
parameter_sets (list[ActivityParameterSet]) – Gets or sets the parameter sets of the activity.
output_types (list[ActivityOutputType]) – Gets or sets the output types of the activity.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
id (str) – Gets or sets the id of the resource.
definition (str) – Gets or sets the user name of the activity.
parameter_sets (list[ActivityParameterSet]) – Gets or sets the parameter sets of the activity.
output_types (list[ActivityOutputType]) – Gets or sets the output types of the activity.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.ActivityListResult(*, value: List[_models.Activity] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list activity operation.
- class azure.mgmt.automation.models.ActivityOutputType(*, name: str | None = None, type: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the activity output type.
- class azure.mgmt.automation.models.ActivityParameter(*, name: str | None = None, type: str | None = None, is_mandatory: bool | None = None, is_dynamic: bool | None = None, position: int | None = None, value_from_pipeline: bool | None = None, value_from_pipeline_by_property_name: bool | None = None, value_from_remaining_arguments: bool | None = None, description: str | None = None, validation_set: List[_models.ActivityParameterValidationSet] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the activity parameter.
- Variables:
name (str) – Gets or sets the name of the activity parameter.
type (str) – Gets or sets the type of the activity parameter.
is_mandatory (bool) – Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional.
is_dynamic (bool) – Gets or sets a Boolean value that indicates true if the parameter is dynamic.
position (int) – Gets or sets the position of the activity parameter.
value_from_pipeline (bool) – Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object.
value_from_pipeline_by_property_name (bool) – Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name.
value_from_remaining_arguments (bool) – Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values.
description (str) – Gets or sets the description of the activity parameter.
validation_set (list[ActivityParameterValidationSet]) – Gets or sets the validation set of activity parameter.
- Keyword Arguments:
name (str) – Gets or sets the name of the activity parameter.
type (str) – Gets or sets the type of the activity parameter.
is_mandatory (bool) – Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional.
is_dynamic (bool) – Gets or sets a Boolean value that indicates true if the parameter is dynamic.
position (int) – Gets or sets the position of the activity parameter.
value_from_pipeline (bool) – Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object.
value_from_pipeline_by_property_name (bool) – Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name.
value_from_remaining_arguments (bool) – Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values.
description (str) – Gets or sets the description of the activity parameter.
validation_set (list[ActivityParameterValidationSet]) – Gets or sets the validation set of activity parameter.
- class azure.mgmt.automation.models.ActivityParameterSet(*, name: str | None = None, parameters: List[_models.ActivityParameter] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the activity parameter set.
- Variables:
name (str) – Gets or sets the name of the activity parameter set.
parameters (list[ActivityParameter]) – Gets or sets the parameters of the activity parameter set.
- Keyword Arguments:
name (str) – Gets or sets the name of the activity parameter set.
parameters (list[ActivityParameter]) – Gets or sets the parameters of the activity parameter set.
- class azure.mgmt.automation.models.ActivityParameterValidationSet(*, member_value: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the activity parameter validation set.
- class azure.mgmt.automation.models.AdvancedSchedule(*, week_days: List[str] | None = None, month_days: List[int] | None = None, monthly_occurrences: List[_models.AdvancedScheduleMonthlyOccurrence] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The properties of the create Advanced Schedule.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.AdvancedScheduleMonthlyOccurrence(*, occurrence: int | None = None, day: str | _models.ScheduleDay | None = None, **kwargs: Any)[source]¶
Bases:
Model
The properties of the create advanced schedule monthly occurrence.
- Variables:
occurrence (int) – Occurrence of the week within the month. Must be between 1 and 5.
day (str or ScheduleDay) – Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday. Known values are: “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, and “Sunday”.
- Keyword Arguments:
occurrence (int) – Occurrence of the week within the month. Must be between 1 and 5.
day (str or ScheduleDay) – Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday. Known values are: “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, and “Sunday”.
- class azure.mgmt.automation.models.AgentRegistration(*, dsc_meta_configuration: str | None = None, endpoint: str | None = None, keys: _models.AgentRegistrationKeys | None = None, id: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the agent registration information type.
- Variables:
dsc_meta_configuration (str) – Gets or sets the dsc meta configuration.
endpoint (str) – Gets or sets the dsc server endpoint.
keys (AgentRegistrationKeys) – Gets or sets the agent registration keys.
id (str) – Gets or sets the id.
- Keyword Arguments:
dsc_meta_configuration (str) – Gets or sets the dsc meta configuration.
endpoint (str) – Gets or sets the dsc server endpoint.
keys (AgentRegistrationKeys) – Gets or sets the agent registration keys.
id (str) – Gets or sets the id.
- class azure.mgmt.automation.models.AgentRegistrationKeyName(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the agent registration key name - primary or secondary.
- PRIMARY = 'primary'¶
- SECONDARY = 'secondary'¶
- class azure.mgmt.automation.models.AgentRegistrationKeys(*, primary: str | None = None, secondary: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the agent registration keys.
- class azure.mgmt.automation.models.AgentRegistrationRegenerateKeyParameter(*, key_name: str | _models.AgentRegistrationKeyName, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the regenerate keys operation.
All required parameters must be populated in order to send to server.
- Variables:
key_name (str or AgentRegistrationKeyName) – Gets or sets the agent registration key name - primary or secondary. Required. Known values are: “primary” and “secondary”.
- Keyword Arguments:
key_name (str or AgentRegistrationKeyName) – Gets or sets the agent registration key name - primary or secondary. Required. Known values are: “primary” and “secondary”.
- class azure.mgmt.automation.models.AutomationAccount(*, tags: Dict[str, str] | None = None, location: str | None = None, etag: str | None = None, identity: _models.Identity | None = None, sku: _models.Sku | None = None, last_modified_by: str | None = None, description: str | None = None, encryption: _models.EncryptionProperties | None = None, private_endpoint_connections: List[_models.PrivateEndpointConnection] | None = None, public_network_access: bool | None = None, disable_local_auth: bool | None = None, automation_hybrid_service_url: str | None = None, **kwargs: Any)[source]¶
Bases:
TrackedResource
Definition of the automation account type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
identity (Identity) – Identity for the resource.
system_data (SystemData) – Resource system metadata.
sku (Sku) – Gets or sets the SKU of account.
last_modified_by (str) – Gets or sets the last modified by.
state (str or AutomationAccountState) – Gets status of account. Known values are: “Ok”, “Unavailable”, and “Suspended”.
creation_time (datetime) – Gets the creation time.
last_modified_time (datetime) – Gets the last modified time.
description (str) – Gets or sets the description.
encryption (EncryptionProperties) – Encryption properties for the automation account.
private_endpoint_connections (list[PrivateEndpointConnection]) – List of Automation operations supported by the Automation resource provider.
public_network_access (bool) – Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.
disable_local_auth (bool) – Indicates whether requests using non-AAD authentication are blocked.
automation_hybrid_service_url (str) – URL of automation hybrid service which is used for hybrid worker on-boarding.
- Keyword Arguments:
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
identity (Identity) – Identity for the resource.
sku (Sku) – Gets or sets the SKU of account.
last_modified_by (str) – Gets or sets the last modified by.
description (str) – Gets or sets the description.
encryption (EncryptionProperties) – Encryption properties for the automation account.
private_endpoint_connections (list[PrivateEndpointConnection]) – List of Automation operations supported by the Automation resource provider.
public_network_access (bool) – Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.
disable_local_auth (bool) – Indicates whether requests using non-AAD authentication are blocked.
automation_hybrid_service_url (str) – URL of automation hybrid service which is used for hybrid worker on-boarding.
- class azure.mgmt.automation.models.AutomationAccountCreateOrUpdateParameters(*, name: str | None = None, location: str | None = None, identity: _models.Identity | None = None, tags: Dict[str, str] | None = None, sku: _models.Sku | None = None, encryption: _models.EncryptionProperties | None = None, public_network_access: bool | None = None, disable_local_auth: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update automation account operation.
- Variables:
name (str) – Gets or sets name of the resource.
location (str) – Gets or sets the location of the resource.
identity (Identity) – Sets the identity property for automation account.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
sku (Sku) – Gets or sets account SKU.
encryption (EncryptionProperties) – Set the encryption properties for the automation account.
public_network_access (bool) – Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.
disable_local_auth (bool) – Indicates whether requests using non-AAD authentication are blocked.
- Keyword Arguments:
name (str) – Gets or sets name of the resource.
location (str) – Gets or sets the location of the resource.
identity (Identity) – Sets the identity property for automation account.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
sku (Sku) – Gets or sets account SKU.
encryption (EncryptionProperties) – Set the encryption properties for the automation account.
public_network_access (bool) – Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.
disable_local_auth (bool) – Indicates whether requests using non-AAD authentication are blocked.
- class azure.mgmt.automation.models.AutomationAccountListResult(*, value: List[_models.AutomationAccount] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list account operation.
- Variables:
value (list[AutomationAccount]) – Gets or sets list of accounts.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[AutomationAccount]) – Gets or sets list of accounts.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.AutomationAccountState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets status of account.
- OK = 'Ok'¶
- SUSPENDED = 'Suspended'¶
- UNAVAILABLE = 'Unavailable'¶
- class azure.mgmt.automation.models.AutomationAccountUpdateParameters(*, name: str | None = None, location: str | None = None, identity: _models.Identity | None = None, tags: Dict[str, str] | None = None, sku: _models.Sku | None = None, encryption: _models.EncryptionProperties | None = None, public_network_access: bool | None = None, disable_local_auth: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update automation account operation.
- Variables:
name (str) – Gets or sets the name of the resource.
location (str) – Gets or sets the location of the resource.
identity (Identity) – Sets the identity property for automation account.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
sku (Sku) – Gets or sets account SKU.
encryption (EncryptionProperties) – Set the encryption properties for the automation account.
public_network_access (bool) – Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.
disable_local_auth (bool) – Indicates whether requests using non-AAD authentication are blocked.
- Keyword Arguments:
name (str) – Gets or sets the name of the resource.
location (str) – Gets or sets the location of the resource.
identity (Identity) – Sets the identity property for automation account.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
sku (Sku) – Gets or sets account SKU.
encryption (EncryptionProperties) – Set the encryption properties for the automation account.
public_network_access (bool) – Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.
disable_local_auth (bool) – Indicates whether requests using non-AAD authentication are blocked.
- class azure.mgmt.automation.models.AutomationKeyName(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Automation key name.
- PRIMARY = 'Primary'¶
- SECONDARY = 'Secondary'¶
- class azure.mgmt.automation.models.AutomationKeyPermissions(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Automation key permissions.
- FULL = 'Full'¶
- READ = 'Read'¶
- class azure.mgmt.automation.models.AzureQueryProperties(*, scope: List[str] | None = None, locations: List[str] | None = None, tag_settings: _models.TagSettingsProperties | None = None, **kwargs: Any)[source]¶
Bases:
Model
Azure query for the update configuration.
- Variables:
scope (list[str]) – List of Subscription or Resource Group ARM Ids.
locations (list[str]) – List of locations to scope the query to.
tag_settings (TagSettingsProperties) – Tag settings for the VM.
- Keyword Arguments:
scope (list[str]) – List of Subscription or Resource Group ARM Ids.
locations (list[str]) – List of locations to scope the query to.
tag_settings (TagSettingsProperties) – Tag settings for the VM.
- class azure.mgmt.automation.models.Certificate(*, description: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the certificate.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
thumbprint (str) – Gets the thumbprint of the certificate.
expiry_time (datetime) – Gets the expiry time of the certificate.
is_exportable (bool) – Gets the is exportable flag of the certificate.
creation_time (datetime) – Gets the creation time.
last_modified_time (datetime) – Gets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.CertificateCreateOrUpdateParameters(*, name: str, base64_value: str, description: str | None = None, thumbprint: str | None = None, is_exportable: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update or replace certificate operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets the name of the certificate. Required.
base64_value (str) – Gets or sets the base64 encoded value of the certificate. Required.
description (str) – Gets or sets the description of the certificate.
thumbprint (str) – Gets or sets the thumbprint of the certificate.
is_exportable (bool) – Gets or sets the is exportable flag of the certificate.
- Keyword Arguments:
name (str) – Gets or sets the name of the certificate. Required.
base64_value (str) – Gets or sets the base64 encoded value of the certificate. Required.
description (str) – Gets or sets the description of the certificate.
thumbprint (str) – Gets or sets the thumbprint of the certificate.
is_exportable (bool) – Gets or sets the is exportable flag of the certificate.
- class azure.mgmt.automation.models.CertificateListResult(*, value: List[_models.Certificate] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list certificate operation.
- Variables:
value (list[Certificate]) – Gets or sets a list of certificates.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[Certificate]) – Gets or sets a list of certificates.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.CertificateUpdateParameters(*, name: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update certificate operation.
- class azure.mgmt.automation.models.Connection(*, connection_type: _models.ConnectionTypeAssociationProperty | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the connection.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
connection_type (ConnectionTypeAssociationProperty) – Gets or sets the connectionType of the connection.
field_definition_values (dict[str, str]) – Gets the field definition values of the connection.
creation_time (datetime) – Gets the creation time.
last_modified_time (datetime) – Gets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
connection_type (ConnectionTypeAssociationProperty) – Gets or sets the connectionType of the connection.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.ConnectionCreateOrUpdateParameters(*, name: str, connection_type: _models.ConnectionTypeAssociationProperty, description: str | None = None, field_definition_values: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update connection operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets the name of the connection. Required.
description (str) – Gets or sets the description of the connection.
connection_type (ConnectionTypeAssociationProperty) – Gets or sets the connectionType of the connection. Required.
field_definition_values (dict[str, str]) – Gets or sets the field definition properties of the connection.
- Keyword Arguments:
name (str) – Gets or sets the name of the connection. Required.
description (str) – Gets or sets the description of the connection.
connection_type (ConnectionTypeAssociationProperty) – Gets or sets the connectionType of the connection. Required.
field_definition_values (dict[str, str]) – Gets or sets the field definition properties of the connection.
- class azure.mgmt.automation.models.ConnectionListResult(*, value: List[_models.Connection] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list connection operation.
- Variables:
value (list[Connection]) – Gets or sets a list of connection.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[Connection]) – Gets or sets a list of connection.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.ConnectionType(*, is_global: bool | None = None, last_modified_time: datetime | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the connection type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Gets the id of the resource.
name (str) – Gets the name of the connection type.
type (str) – Resource type.
is_global (bool) – Gets or sets a Boolean value to indicate if the connection type is global.
field_definitions (dict[str, FieldDefinition]) – Gets the field definitions of the connection type.
creation_time (datetime) – Gets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
- class azure.mgmt.automation.models.ConnectionTypeAssociationProperty(*, name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The connection type property associated with the entity.
- class azure.mgmt.automation.models.ConnectionTypeCreateOrUpdateParameters(*, name: str, field_definitions: Dict[str, _models.FieldDefinition], is_global: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update connection type operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets the name of the connection type. Required.
is_global (bool) – Gets or sets a Boolean value to indicate if the connection type is global.
field_definitions (dict[str, FieldDefinition]) – Gets or sets the field definitions of the connection type. Required.
- Keyword Arguments:
name (str) – Gets or sets the name of the connection type. Required.
is_global (bool) – Gets or sets a Boolean value to indicate if the connection type is global.
field_definitions (dict[str, FieldDefinition]) – Gets or sets the field definitions of the connection type. Required.
- class azure.mgmt.automation.models.ConnectionTypeListResult(*, value: List[_models.ConnectionType] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list connection type operation.
- Variables:
value (list[ConnectionType]) – Gets or sets a list of connection types.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[ConnectionType]) – Gets or sets a list of connection types.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.ConnectionUpdateParameters(*, name: str | None = None, description: str | None = None, field_definition_values: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update connection operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.ContentHash(*, algorithm: str, value: str, **kwargs: Any)[source]¶
Bases:
Model
Definition of the runbook property type.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.ContentLink(*, uri: str | None = None, content_hash: _models.ContentHash | None = None, version: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the content link.
- Variables:
uri (str) – Gets or sets the uri of the runbook content.
content_hash (ContentHash) – Gets or sets the hash.
version (str) – Gets or sets the version of the content.
- Keyword Arguments:
uri (str) – Gets or sets the uri of the runbook content.
content_hash (ContentHash) – Gets or sets the hash.
version (str) – Gets or sets the version of the content.
- class azure.mgmt.automation.models.ContentSource(*, hash: _models.ContentHash | None = None, type: str | _models.ContentSourceType | None = None, value: str | None = None, version: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the content source.
- Variables:
hash (ContentHash) – Gets or sets the hash.
type (str or ContentSourceType) – Gets or sets the content source type. Known values are: “embeddedContent” and “uri”.
value (str) – Gets or sets the value of the content. This is based on the content source type.
version (str) – Gets or sets the version of the content.
- Keyword Arguments:
hash (ContentHash) – Gets or sets the hash.
type (str or ContentSourceType) – Gets or sets the content source type. Known values are: “embeddedContent” and “uri”.
value (str) – Gets or sets the value of the content. This is based on the content source type.
version (str) – Gets or sets the version of the content.
- class azure.mgmt.automation.models.ContentSourceType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the content source type.
- EMBEDDED_CONTENT = 'embeddedContent'¶
- URI = 'uri'¶
- class azure.mgmt.automation.models.CountType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
CountType.
- NODECONFIGURATION = 'nodeconfiguration'¶
- STATUS = 'status'¶
- class azure.mgmt.automation.models.CreatedByType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The type of identity that created the resource.
- APPLICATION = 'Application'¶
- KEY = 'Key'¶
- MANAGED_IDENTITY = 'ManagedIdentity'¶
- USER = 'User'¶
- class azure.mgmt.automation.models.Credential(*, description: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the credential.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
user_name (str) – Gets the user name of the credential.
creation_time (datetime) – Gets the creation time.
last_modified_time (datetime) – Gets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.CredentialCreateOrUpdateParameters(*, name: str, user_name: str, password: str, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update credential operation.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.CredentialListResult(*, value: List[_models.Credential] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list credential operation.
- Variables:
value (list[Credential]) – Gets or sets a list of credentials.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[Credential]) – Gets or sets a list of credentials.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.CredentialUpdateParameters(*, name: str | None = None, user_name: str | None = None, password: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the Update credential operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.DeletedAutomationAccount(*, id: str | None = None, name: str | None = None, type: str | None = None, location: str | None = None, automation_account_resource_id: str | None = None, automation_account_id: str | None = None, location_properties_location: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the deleted automation account type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – The resource id.
name (str) – Gets or sets name of the resource.
type (str) – The resource type.
location (str) – Gets or sets the location of the resource.
automation_account_resource_id (str) – Gets or sets the Automation Account Resource Id.
automation_account_id (str) – Gets or sets the Automation Account Id.
location_properties_location (str) – Gets or sets the location of the resource.
deletion_time (datetime) – Gets the deletion time.
- Keyword Arguments:
id (str) – The resource id.
name (str) – Gets or sets name of the resource.
type (str) – The resource type.
location (str) – Gets or sets the location of the resource.
automation_account_resource_id (str) – Gets or sets the Automation Account Resource Id.
automation_account_id (str) – Gets or sets the Automation Account Id.
location_properties_location (str) – Gets or sets the location of the resource.
- class azure.mgmt.automation.models.DeletedAutomationAccountListResult(*, value: List[_models.DeletedAutomationAccount] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list deleted automation account.
- Variables:
value (list[DeletedAutomationAccount]) – Gets or sets the list of deleted automation accounts.
- Keyword Arguments:
value (list[DeletedAutomationAccount]) – Gets or sets the list of deleted automation accounts.
- class azure.mgmt.automation.models.Dimension(*, name: str | None = None, display_name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Dimension of the metric.
- class azure.mgmt.automation.models.DscCompilationJob(*, configuration: _models.DscConfigurationAssociationProperty | None = None, provisioning_state: str | _models.JobProvisioningState | None = None, run_on: str | None = None, status: str | _models.JobStatus | None = None, status_details: str | None = None, parameters: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the Dsc Compilation job.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration.
started_by (str) – Gets the compilation job started by.
job_id (str) – Gets the id of the job.
creation_time (datetime) – Gets the creation time of the job.
provisioning_state (str or JobProvisioningState) – The current provisioning state of the job. Known values are: “Failed”, “Succeeded”, “Suspended”, and “Processing”.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
status (str or JobStatus) – Gets or sets the status of the job. Known values are: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, and “Removing”.
status_details (str) – Gets or sets the status details of the job.
start_time (datetime) – Gets the start time of the job.
end_time (datetime) – Gets the end time of the job.
exception (str) – Gets the exception of the job.
last_modified_time (datetime) – Gets the last modified time of the job.
last_status_modified_time (datetime) – Gets the last status modified time of the job.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
- Keyword Arguments:
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration.
provisioning_state (str or JobProvisioningState) – The current provisioning state of the job. Known values are: “Failed”, “Succeeded”, “Suspended”, and “Processing”.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
status (str or JobStatus) – Gets or sets the status of the job. Known values are: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, and “Removing”.
status_details (str) – Gets or sets the status details of the job.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
- class azure.mgmt.automation.models.DscCompilationJobCreateParameters(*, configuration: _models.DscConfigurationAssociationProperty, name: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, parameters: Dict[str, str] | None = None, increment_node_configuration_build: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create compilation job operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration. Required.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
increment_node_configuration_build (bool) – If a new build version of NodeConfiguration is required.
- Keyword Arguments:
name (str) – Gets or sets name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration. Required.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
increment_node_configuration_build (bool) – If a new build version of NodeConfiguration is required.
- class azure.mgmt.automation.models.DscCompilationJobListResult(*, value: List[_models.DscCompilationJob] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list job operation.
- Variables:
value (list[DscCompilationJob]) – Gets or sets a list of Dsc Compilation jobs.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[DscCompilationJob]) – Gets or sets a list of Dsc Compilation jobs.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.DscConfiguration(*, tags: Dict[str, str] | None = None, location: str | None = None, etag: str | None = None, provisioning_state: Literal['Succeeded'] | None = None, job_count: int | None = None, parameters: Dict[str, _models.DscConfigurationParameter] | None = None, source: _models.ContentSource | None = None, state: str | _models.DscConfigurationState | None = None, log_verbose: bool | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, node_configuration_count: int | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
TrackedResource
Definition of the configuration type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
provisioning_state (str) – Gets or sets the provisioning state of the configuration. Default value is “Succeeded”.
job_count (int) – Gets or sets the job count of the configuration.
parameters (dict[str, DscConfigurationParameter]) – Gets or sets the configuration parameters.
source (ContentSource) – Gets or sets the source.
state (str or DscConfigurationState) – Gets or sets the state of the configuration. Known values are: “New”, “Edit”, and “Published”.
log_verbose (bool) – Gets or sets verbose log option.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
node_configuration_count (int) – Gets the number of compiled node configurations.
description (str) – Gets or sets the description.
- Keyword Arguments:
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
provisioning_state (str) – Gets or sets the provisioning state of the configuration. Default value is “Succeeded”.
job_count (int) – Gets or sets the job count of the configuration.
parameters (dict[str, DscConfigurationParameter]) – Gets or sets the configuration parameters.
source (ContentSource) – Gets or sets the source.
state (str or DscConfigurationState) – Gets or sets the state of the configuration. Known values are: “New”, “Edit”, and “Published”.
log_verbose (bool) – Gets or sets verbose log option.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
node_configuration_count (int) – Gets the number of compiled node configurations.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.DscConfigurationAssociationProperty(*, name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The Dsc configuration property associated with the entity.
- class azure.mgmt.automation.models.DscConfigurationCreateOrUpdateParameters(*, source: _models.ContentSource, name: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, log_verbose: bool | None = None, log_progress: bool | None = None, parameters: Dict[str, _models.DscConfigurationParameter] | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update configuration operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
source (ContentSource) – Gets or sets the source. Required.
parameters (dict[str, DscConfigurationParameter]) – Gets or sets the configuration parameters.
description (str) – Gets or sets the description of the configuration.
- Keyword Arguments:
name (str) – Gets or sets name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
source (ContentSource) – Gets or sets the source. Required.
parameters (dict[str, DscConfigurationParameter]) – Gets or sets the configuration parameters.
description (str) – Gets or sets the description of the configuration.
- class azure.mgmt.automation.models.DscConfigurationListResult(*, value: List[_models.DscConfiguration] | None = None, next_link: str | None = None, total_count: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list configuration operation.
- Variables:
value (list[DscConfiguration]) – Gets or sets a list of configurations.
next_link (str) – Gets or sets the next link.
total_count (int) – Gets the total number of configurations matching filter criteria.
- Keyword Arguments:
value (list[DscConfiguration]) – Gets or sets a list of configurations.
next_link (str) – Gets or sets the next link.
total_count (int) – Gets the total number of configurations matching filter criteria.
- class azure.mgmt.automation.models.DscConfigurationParameter(*, type: str | None = None, is_mandatory: bool | None = None, position: int | None = None, default_value: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the configuration parameter type.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.DscConfigurationState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the state of the configuration.
- EDIT = 'Edit'¶
- NEW = 'New'¶
- PUBLISHED = 'Published'¶
- class azure.mgmt.automation.models.DscConfigurationUpdateParameters(*, name: str | None = None, tags: Dict[str, str] | None = None, log_verbose: bool | None = None, log_progress: bool | None = None, source: _models.ContentSource | None = None, parameters: Dict[str, _models.DscConfigurationParameter] | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update configuration operation.
- Variables:
name (str) – Gets or sets name of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
source (ContentSource) – Gets or sets the source.
parameters (dict[str, DscConfigurationParameter]) – Gets or sets the configuration parameters.
description (str) – Gets or sets the description of the configuration.
- Keyword Arguments:
name (str) – Gets or sets name of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
source (ContentSource) – Gets or sets the source.
parameters (dict[str, DscConfigurationParameter]) – Gets or sets the configuration parameters.
description (str) – Gets or sets the description of the configuration.
- class azure.mgmt.automation.models.DscMetaConfiguration(*, configuration_mode_frequency_mins: int | None = None, reboot_node_if_needed: bool | None = None, configuration_mode: str | None = None, action_after_reboot: str | None = None, certificate_id: str | None = None, refresh_frequency_mins: int | None = None, allow_module_overwrite: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the DSC Meta Configuration.
- Variables:
configuration_mode_frequency_mins (int) – Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.
reboot_node_if_needed (bool) – Gets or sets the RebootNodeIfNeeded value of the meta configuration.
configuration_mode (str) – Gets or sets the ConfigurationMode value of the meta configuration.
action_after_reboot (str) – Gets or sets the ActionAfterReboot value of the meta configuration.
certificate_id (str) – Gets or sets the CertificateId value of the meta configuration.
refresh_frequency_mins (int) – Gets or sets the RefreshFrequencyMins value of the meta configuration.
allow_module_overwrite (bool) – Gets or sets the AllowModuleOverwrite value of the meta configuration.
- Keyword Arguments:
configuration_mode_frequency_mins (int) – Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.
reboot_node_if_needed (bool) – Gets or sets the RebootNodeIfNeeded value of the meta configuration.
configuration_mode (str) – Gets or sets the ConfigurationMode value of the meta configuration.
action_after_reboot (str) – Gets or sets the ActionAfterReboot value of the meta configuration.
certificate_id (str) – Gets or sets the CertificateId value of the meta configuration.
refresh_frequency_mins (int) – Gets or sets the RefreshFrequencyMins value of the meta configuration.
allow_module_overwrite (bool) – Gets or sets the AllowModuleOverwrite value of the meta configuration.
- class azure.mgmt.automation.models.DscNode(*, last_seen: datetime | None = None, registration_time: datetime | None = None, ip: str | None = None, account_id: str | None = None, status: str | None = None, node_id: str | None = None, etag: str | None = None, total_count: int | None = None, extension_handler: List[_models.DscNodeExtensionHandlerAssociationProperty] | None = None, name_properties_node_configuration_name: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of a DscNode.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
last_seen (datetime) – Gets or sets the last seen time of the node.
registration_time (datetime) – Gets or sets the registration time of the node.
ip (str) – Gets or sets the ip of the node.
account_id (str) – Gets or sets the account id of the node.
status (str) – Gets or sets the status of the node.
node_id (str) – Gets or sets the node id.
etag (str) – Gets or sets the etag of the resource.
total_count (int) – Gets the total number of records matching filter criteria.
extension_handler (list[DscNodeExtensionHandlerAssociationProperty]) – Gets or sets the list of extensionHandler properties for a Node.
name_properties_node_configuration_name (str) – Gets or sets the name of the dsc node configuration.
- Keyword Arguments:
last_seen (datetime) – Gets or sets the last seen time of the node.
registration_time (datetime) – Gets or sets the registration time of the node.
ip (str) – Gets or sets the ip of the node.
account_id (str) – Gets or sets the account id of the node.
status (str) – Gets or sets the status of the node.
node_id (str) – Gets or sets the node id.
etag (str) – Gets or sets the etag of the resource.
total_count (int) – Gets the total number of records matching filter criteria.
extension_handler (list[DscNodeExtensionHandlerAssociationProperty]) – Gets or sets the list of extensionHandler properties for a Node.
name_properties_node_configuration_name (str) – Gets or sets the name of the dsc node configuration.
- class azure.mgmt.automation.models.DscNodeConfiguration(*, last_modified_time: datetime | None = None, creation_time: datetime | None = None, configuration: _models.DscConfigurationAssociationProperty | None = None, source: str | None = None, node_count: int | None = None, increment_node_configuration_build: bool | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the dsc node configuration.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
last_modified_time (datetime) – Gets or sets the last modified time.
creation_time (datetime) – Gets or sets creation time.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration of the node.
source (str) – Source of node configuration.
node_count (int) – Number of nodes with this node configuration assigned.
increment_node_configuration_build (bool) – If a new build version of NodeConfiguration is required.
- Keyword Arguments:
last_modified_time (datetime) – Gets or sets the last modified time.
creation_time (datetime) – Gets or sets creation time.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration of the node.
source (str) – Source of node configuration.
node_count (int) – Number of nodes with this node configuration assigned.
increment_node_configuration_build (bool) – If a new build version of NodeConfiguration is required.
- class azure.mgmt.automation.models.DscNodeConfigurationCreateOrUpdateParameters(*, name: str | None = None, tags: Dict[str, str] | None = None, source: _models.ContentSource | None = None, configuration: _models.DscConfigurationAssociationProperty | None = None, increment_node_configuration_build: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update node configuration operation.
- Variables:
name (str) – Name of the node configuration.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
source (ContentSource) – Gets or sets the source.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration of the node.
increment_node_configuration_build (bool) – If a new build version of NodeConfiguration is required.
- Keyword Arguments:
name (str) – Name of the node configuration.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
source (ContentSource) – Gets or sets the source.
configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration of the node.
increment_node_configuration_build (bool) – If a new build version of NodeConfiguration is required.
- class azure.mgmt.automation.models.DscNodeConfigurationListResult(*, value: List[_models.DscNodeConfiguration] | None = None, next_link: str | None = None, total_count: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list job operation.
- Variables:
value (list[DscNodeConfiguration]) – Gets or sets a list of Dsc node configurations.
next_link (str) – Gets or sets the next link.
total_count (int) – Gets or sets the total rows in query.
- Keyword Arguments:
value (list[DscNodeConfiguration]) – Gets or sets a list of Dsc node configurations.
next_link (str) – Gets or sets the next link.
total_count (int) – Gets or sets the total rows in query.
- class azure.mgmt.automation.models.DscNodeExtensionHandlerAssociationProperty(*, name: str | None = None, version: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The dsc extensionHandler property associated with the node.
- class azure.mgmt.automation.models.DscNodeListResult(*, value: List[_models.DscNode] | None = None, next_link: str | None = None, total_count: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list dsc nodes operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.DscNodeReport(*, end_time: datetime | None = None, last_modified_time: datetime | None = None, start_time: datetime | None = None, type: str | None = None, report_id: str | None = None, status: str | None = None, refresh_mode: str | None = None, reboot_requested: str | None = None, report_format_version: str | None = None, configuration_version: str | None = None, id: str | None = None, errors: List[_models.DscReportError] | None = None, resources: List[_models.DscReportResource] | None = None, meta_configuration: _models.DscMetaConfiguration | None = None, host_name: str | None = None, i_pv4_addresses: List[str] | None = None, i_pv6_addresses: List[str] | None = None, number_of_resources: int | None = None, raw_errors: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the dsc node report type.
- Variables:
end_time (datetime) – Gets or sets the end time of the node report.
last_modified_time (datetime) – Gets or sets the lastModifiedTime of the node report.
start_time (datetime) – Gets or sets the start time of the node report.
type (str) – Gets or sets the type of the node report.
report_id (str) – Gets or sets the id of the node report.
status (str) – Gets or sets the status of the node report.
refresh_mode (str) – Gets or sets the refreshMode of the node report.
reboot_requested (str) – Gets or sets the rebootRequested of the node report.
report_format_version (str) – Gets or sets the reportFormatVersion of the node report.
configuration_version (str) – Gets or sets the configurationVersion of the node report.
id (str) – Gets or sets the id.
errors (list[DscReportError]) – Gets or sets the errors for the node report.
resources (list[DscReportResource]) – Gets or sets the resource for the node report.
meta_configuration (DscMetaConfiguration) – Gets or sets the metaConfiguration of the node at the time of the report.
host_name (str) – Gets or sets the hostname of the node that sent the report.
i_pv4_addresses (list[str]) – Gets or sets the IPv4 address of the node that sent the report.
i_pv6_addresses (list[str]) – Gets or sets the IPv6 address of the node that sent the report.
number_of_resources (int) – Gets or sets the number of resource in the node report.
raw_errors (str) – Gets or sets the unparsed errors for the node report.
- Keyword Arguments:
end_time (datetime) – Gets or sets the end time of the node report.
last_modified_time (datetime) – Gets or sets the lastModifiedTime of the node report.
start_time (datetime) – Gets or sets the start time of the node report.
type (str) – Gets or sets the type of the node report.
report_id (str) – Gets or sets the id of the node report.
status (str) – Gets or sets the status of the node report.
refresh_mode (str) – Gets or sets the refreshMode of the node report.
reboot_requested (str) – Gets or sets the rebootRequested of the node report.
report_format_version (str) – Gets or sets the reportFormatVersion of the node report.
configuration_version (str) – Gets or sets the configurationVersion of the node report.
id (str) – Gets or sets the id.
errors (list[DscReportError]) – Gets or sets the errors for the node report.
resources (list[DscReportResource]) – Gets or sets the resource for the node report.
meta_configuration (DscMetaConfiguration) – Gets or sets the metaConfiguration of the node at the time of the report.
host_name (str) – Gets or sets the hostname of the node that sent the report.
i_pv4_addresses (list[str]) – Gets or sets the IPv4 address of the node that sent the report.
i_pv6_addresses (list[str]) – Gets or sets the IPv6 address of the node that sent the report.
number_of_resources (int) – Gets or sets the number of resource in the node report.
raw_errors (str) – Gets or sets the unparsed errors for the node report.
- class azure.mgmt.automation.models.DscNodeReportListResult(*, value: List[_models.DscNodeReport] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list dsc nodes operation.
- Variables:
value (list[DscNodeReport]) – Gets or sets a list of dsc node reports.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[DscNodeReport]) – Gets or sets a list of dsc node reports.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.DscNodeUpdateParameters(*, node_id: str | None = None, properties: _models.DscNodeUpdateParametersProperties | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update dsc node operation.
- Variables:
node_id (str) – Gets or sets the id of the dsc node.
properties (DscNodeUpdateParametersProperties)
- Keyword Arguments:
node_id (str) – Gets or sets the id of the dsc node.
properties (DscNodeUpdateParametersProperties)
- class azure.mgmt.automation.models.DscNodeUpdateParametersProperties(*, name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
DscNodeUpdateParametersProperties.
- class azure.mgmt.automation.models.DscReportError(*, error_source: str | None = None, resource_id: str | None = None, error_code: str | None = None, error_message: str | None = None, locale: str | None = None, error_details: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the dsc node report error type.
- Variables:
error_source (str) – Gets or sets the source of the error.
resource_id (str) – Gets or sets the resource ID which generated the error.
error_code (str) – Gets or sets the error code.
error_message (str) – Gets or sets the error message.
locale (str) – Gets or sets the locale of the error.
error_details (str) – Gets or sets the error details.
- Keyword Arguments:
error_source (str) – Gets or sets the source of the error.
resource_id (str) – Gets or sets the resource ID which generated the error.
error_code (str) – Gets or sets the error code.
error_message (str) – Gets or sets the error message.
locale (str) – Gets or sets the locale of the error.
error_details (str) – Gets or sets the error details.
- class azure.mgmt.automation.models.DscReportResource(*, resource_id: str | None = None, source_info: str | None = None, depends_on: List[_models.DscReportResourceNavigation] | None = None, module_name: str | None = None, module_version: str | None = None, resource_name: str | None = None, error: str | None = None, status: str | None = None, duration_in_seconds: float | None = None, start_date: datetime | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the DSC Report Resource.
- Variables:
resource_id (str) – Gets or sets the ID of the resource.
source_info (str) – Gets or sets the source info of the resource.
depends_on (list[DscReportResourceNavigation]) – Gets or sets the Resource Navigation values for resources the resource depends on.
module_name (str) – Gets or sets the module name of the resource.
module_version (str) – Gets or sets the module version of the resource.
resource_name (str) – Gets or sets the name of the resource.
error (str) – Gets or sets the error of the resource.
status (str) – Gets or sets the status of the resource.
duration_in_seconds (float) – Gets or sets the duration in seconds for the resource.
start_date (datetime) – Gets or sets the start date of the resource.
- Keyword Arguments:
resource_id (str) – Gets or sets the ID of the resource.
source_info (str) – Gets or sets the source info of the resource.
depends_on (list[DscReportResourceNavigation]) – Gets or sets the Resource Navigation values for resources the resource depends on.
module_name (str) – Gets or sets the module name of the resource.
module_version (str) – Gets or sets the module version of the resource.
resource_name (str) – Gets or sets the name of the resource.
error (str) – Gets or sets the error of the resource.
status (str) – Gets or sets the status of the resource.
duration_in_seconds (float) – Gets or sets the duration in seconds for the resource.
start_date (datetime) – Gets or sets the start date of the resource.
Bases:
Model
Navigation for DSC Report Resource.
- class azure.mgmt.automation.models.EncryptionKeySourceType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Encryption Key Source.
- MICROSOFT_AUTOMATION = 'Microsoft.Automation'¶
- MICROSOFT_KEYVAULT = 'Microsoft.Keyvault'¶
- class azure.mgmt.automation.models.EncryptionProperties(*, key_vault_properties: _models.KeyVaultProperties | None = None, key_source: str | _models.EncryptionKeySourceType | None = None, identity: _models.EncryptionPropertiesIdentity | None = None, **kwargs: Any)[source]¶
Bases:
Model
The encryption settings for automation account.
- Variables:
key_vault_properties (KeyVaultProperties) – Key vault properties.
key_source (str or EncryptionKeySourceType) – Encryption Key Source. Known values are: “Microsoft.Automation” and “Microsoft.Keyvault”.
identity (EncryptionPropertiesIdentity) – User identity used for CMK.
- Keyword Arguments:
key_vault_properties (KeyVaultProperties) – Key vault properties.
key_source (str or EncryptionKeySourceType) – Encryption Key Source. Known values are: “Microsoft.Automation” and “Microsoft.Keyvault”.
identity (EncryptionPropertiesIdentity) – User identity used for CMK.
- class azure.mgmt.automation.models.EncryptionPropertiesIdentity(*, user_assigned_identity: MutableMapping[str, Any] | None = None, **kwargs: Any)[source]¶
Bases:
Model
User identity used for CMK.
- Variables:
user_assigned_identity (JSON) – The user identity used for CMK. It will be an ARM resource id in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’. # pylint: disable=line-too-long
- Keyword Arguments:
user_assigned_identity (JSON) – The user identity used for CMK. It will be an ARM resource id in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’. # pylint: disable=line-too-long
- class azure.mgmt.automation.models.ErrorResponse(*, code: str | None = None, message: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Error response of an operation failure.
- class azure.mgmt.automation.models.FieldDefinition(*, type: str, is_encrypted: bool | None = None, is_optional: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the connection fields.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.GraphRunbookType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Runbook Type.
- GRAPH_POWER_SHELL = 'GraphPowerShell'¶
- GRAPH_POWER_SHELL_WORKFLOW = 'GraphPowerShellWorkflow'¶
- class azure.mgmt.automation.models.GraphicalRunbookContent(*, raw_content: _models.RawGraphicalRunbookContent | None = None, graph_runbook_json: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Graphical Runbook Content.
- Variables:
raw_content (RawGraphicalRunbookContent) – Raw graphical Runbook content.
graph_runbook_json (str) – Graphical Runbook content as JSON.
- Keyword Arguments:
raw_content (RawGraphicalRunbookContent) – Raw graphical Runbook content.
graph_runbook_json (str) – Graphical Runbook content as JSON.
- class azure.mgmt.automation.models.GroupTypeEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Type of the HybridWorkerGroup.
- SYSTEM = 'System'¶
- USER = 'User'¶
- class azure.mgmt.automation.models.HttpStatusCode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
HttpStatusCode.
- ACCEPTED = 'Accepted'¶
- AMBIGUOUS = 'Ambiguous'¶
- BAD_GATEWAY = 'BadGateway'¶
- BAD_REQUEST = 'BadRequest'¶
- CONFLICT = 'Conflict'¶
- CONTINUE = 'Continue'¶
- CONTINUE_ENUM = 'Continue'¶
- CREATED = 'Created'¶
- EXPECTATION_FAILED = 'ExpectationFailed'¶
- FORBIDDEN = 'Forbidden'¶
- FOUND = 'Found'¶
- GATEWAY_TIMEOUT = 'GatewayTimeout'¶
- GONE = 'Gone'¶
- HTTP_VERSION_NOT_SUPPORTED = 'HttpVersionNotSupported'¶
- INTERNAL_SERVER_ERROR = 'InternalServerError'¶
- LENGTH_REQUIRED = 'LengthRequired'¶
- METHOD_NOT_ALLOWED = 'MethodNotAllowed'¶
- MOVED = 'Moved'¶
- MOVED_PERMANENTLY = 'MovedPermanently'¶
- MULTIPLE_CHOICES = 'MultipleChoices'¶
- NON_AUTHORITATIVE_INFORMATION = 'NonAuthoritativeInformation'¶
- NOT_ACCEPTABLE = 'NotAcceptable'¶
- NOT_FOUND = 'NotFound'¶
- NOT_IMPLEMENTED = 'NotImplemented'¶
- NOT_MODIFIED = 'NotModified'¶
- NO_CONTENT = 'NoContent'¶
- OK = 'OK'¶
- PARTIAL_CONTENT = 'PartialContent'¶
- PAYMENT_REQUIRED = 'PaymentRequired'¶
- PRECONDITION_FAILED = 'PreconditionFailed'¶
- PROXY_AUTHENTICATION_REQUIRED = 'ProxyAuthenticationRequired'¶
- REDIRECT = 'Redirect'¶
- REDIRECT_KEEP_VERB = 'RedirectKeepVerb'¶
- REDIRECT_METHOD = 'RedirectMethod'¶
- REQUESTED_RANGE_NOT_SATISFIABLE = 'RequestedRangeNotSatisfiable'¶
- REQUEST_ENTITY_TOO_LARGE = 'RequestEntityTooLarge'¶
- REQUEST_TIMEOUT = 'RequestTimeout'¶
- REQUEST_URI_TOO_LONG = 'RequestUriTooLong'¶
- RESET_CONTENT = 'ResetContent'¶
- SEE_OTHER = 'SeeOther'¶
- SERVICE_UNAVAILABLE = 'ServiceUnavailable'¶
- SWITCHING_PROTOCOLS = 'SwitchingProtocols'¶
- TEMPORARY_REDIRECT = 'TemporaryRedirect'¶
- UNAUTHORIZED = 'Unauthorized'¶
- UNSUPPORTED_MEDIA_TYPE = 'UnsupportedMediaType'¶
- UNUSED = 'Unused'¶
- UPGRADE_REQUIRED = 'UpgradeRequired'¶
- USE_PROXY = 'UseProxy'¶
- class azure.mgmt.automation.models.HybridRunbookWorker(*, ip: str | None = None, registered_date_time: datetime | None = None, last_seen_date_time: datetime | None = None, vm_resource_id: str | None = None, worker_type: str | _models.WorkerType | None = None, worker_name: str | None = None, **kwargs: Any)[source]¶
Bases:
Resource
Definition of hybrid runbook worker.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
system_data (SystemData) – Resource system metadata.
ip (str) – Gets or sets the assigned machine IP address.
registered_date_time (datetime) – Gets or sets the registration time of the worker machine.
last_seen_date_time (datetime) – Last Heartbeat from the Worker.
vm_resource_id (str) – Azure Resource Manager Id for a virtual machine.
worker_type (str or WorkerType) – Type of the HybridWorker. Known values are: “HybridV1” and “HybridV2”.
worker_name (str) – Name of the HybridWorker.
- Keyword Arguments:
ip (str) – Gets or sets the assigned machine IP address.
registered_date_time (datetime) – Gets or sets the registration time of the worker machine.
last_seen_date_time (datetime) – Last Heartbeat from the Worker.
vm_resource_id (str) – Azure Resource Manager Id for a virtual machine.
worker_type (str or WorkerType) – Type of the HybridWorker. Known values are: “HybridV1” and “HybridV2”.
worker_name (str) – Name of the HybridWorker.
- class azure.mgmt.automation.models.HybridRunbookWorkerCreateParameters(*, name: str | None = None, vm_resource_id: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create hybrid runbook worker operation.
- class azure.mgmt.automation.models.HybridRunbookWorkerGroup(*, group_type: str | _models.GroupTypeEnum | None = None, credential: _models.RunAsCredentialAssociationProperty | None = None, **kwargs: Any)[source]¶
Bases:
Resource
Definition of hybrid runbook worker group.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
system_data (SystemData) – Resource system metadata.
group_type (str or GroupTypeEnum) – Type of the HybridWorkerGroup. Known values are: “User” and “System”.
credential (RunAsCredentialAssociationProperty) – Sets the credential of a worker group.
- Keyword Arguments:
group_type (str or GroupTypeEnum) – Type of the HybridWorkerGroup. Known values are: “User” and “System”.
credential (RunAsCredentialAssociationProperty) – Sets the credential of a worker group.
- class azure.mgmt.automation.models.HybridRunbookWorkerGroupCreateOrUpdateParameters(*, name: str | None = None, credential: _models.RunAsCredentialAssociationProperty | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create hybrid runbook worker group operation.
- Variables:
name (str) – Gets or sets the name of the resource.
credential (RunAsCredentialAssociationProperty) – Sets the credential of a worker group.
- Keyword Arguments:
name (str) – Gets or sets the name of the resource.
credential (RunAsCredentialAssociationProperty) – Sets the credential of a worker group.
- class azure.mgmt.automation.models.HybridRunbookWorkerGroupsListResult(*, value: List[_models.HybridRunbookWorkerGroup] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list hybrid runbook worker groups.
- Variables:
value (list[HybridRunbookWorkerGroup]) – Gets or sets a list of hybrid runbook worker groups.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[HybridRunbookWorkerGroup]) – Gets or sets a list of hybrid runbook worker groups.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.HybridRunbookWorkerMoveParameters(*, hybrid_runbook_worker_group_name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Parameters supplied to move hybrid worker operation.
- class azure.mgmt.automation.models.HybridRunbookWorkersListResult(*, value: List[_models.HybridRunbookWorker] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list hybrid runbook workers.
- Variables:
value (list[HybridRunbookWorker]) – Gets or sets a list of hybrid runbook workers.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[HybridRunbookWorker]) – Gets or sets a list of hybrid runbook workers.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.Identity(*, type: str | _models.ResourceIdentityType | None = None, user_assigned_identities: Dict[str, _models.UserAssignedIdentitiesProperties] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Identity for the resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
principal_id (str) – The principal ID of resource identity.
tenant_id (str) – The tenant ID of resource.
type (str or ResourceIdentityType) – The identity type. Known values are: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, and “None”.
user_assigned_identities (dict[str, UserAssignedIdentitiesProperties]) – The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’. # pylint: disable=line-too-long
- Keyword Arguments:
type (str or ResourceIdentityType) – The identity type. Known values are: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, and “None”.
user_assigned_identities (dict[str, UserAssignedIdentitiesProperties]) – The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’. # pylint: disable=line-too-long
- class azure.mgmt.automation.models.Job(*, runbook: _models.RunbookAssociationProperty | None = None, started_by: str | None = None, run_on: str | None = None, job_id: str | None = None, creation_time: datetime | None = None, status: str | _models.JobStatus | None = None, status_details: str | None = None, start_time: datetime | None = None, end_time: datetime | None = None, exception: str | None = None, last_modified_time: datetime | None = None, last_status_modified_time: datetime | None = None, parameters: Dict[str, str] | None = None, provisioning_state: str | _models.JobProvisioningState | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the job.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
started_by (str) – Gets or sets the job started by.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
job_id (str) – Gets or sets the id of the job.
creation_time (datetime) – Gets or sets the creation time of the job.
status (str or JobStatus) – Gets or sets the status of the job. Known values are: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, and “Removing”.
status_details (str) – Gets or sets the status details of the job.
start_time (datetime) – Gets or sets the start time of the job.
end_time (datetime) – Gets or sets the end time of the job.
exception (str) – Gets or sets the exception of the job.
last_modified_time (datetime) – Gets or sets the last modified time of the job.
last_status_modified_time (datetime) – Gets or sets the last status modified time of the job.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
provisioning_state (str or JobProvisioningState) – The current provisioning state of the job. Known values are: “Failed”, “Succeeded”, “Suspended”, and “Processing”.
- Keyword Arguments:
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
started_by (str) – Gets or sets the job started by.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
job_id (str) – Gets or sets the id of the job.
creation_time (datetime) – Gets or sets the creation time of the job.
status (str or JobStatus) – Gets or sets the status of the job. Known values are: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, and “Removing”.
status_details (str) – Gets or sets the status details of the job.
start_time (datetime) – Gets or sets the start time of the job.
end_time (datetime) – Gets or sets the end time of the job.
exception (str) – Gets or sets the exception of the job.
last_modified_time (datetime) – Gets or sets the last modified time of the job.
last_status_modified_time (datetime) – Gets or sets the last status modified time of the job.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
provisioning_state (str or JobProvisioningState) – The current provisioning state of the job. Known values are: “Failed”, “Succeeded”, “Suspended”, and “Processing”.
- class azure.mgmt.automation.models.JobCollectionItem(*, run_on: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Job collection item properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
runbook (RunbookAssociationProperty) – The runbook association.
job_id (str) – The id of the job.
creation_time (datetime) – The creation time of the job.
status (str or JobStatus) – The status of the job. Known values are: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, and “Removing”.
start_time (datetime) – The start time of the job.
end_time (datetime) – The end time of the job.
last_modified_time (datetime) – The last modified time of the job.
provisioning_state (str) – The provisioning state of a resource.
run_on (str) – Specifies the runOn group name where the job was executed.
- Keyword Arguments:
run_on (str) – Specifies the runOn group name where the job was executed.
- class azure.mgmt.automation.models.JobCreateParameters(*, runbook: _models.RunbookAssociationProperty | None = None, parameters: Dict[str, str] | None = None, run_on: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create job operation.
- Variables:
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
- Keyword Arguments:
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
- class azure.mgmt.automation.models.JobListResultV2(*, value: List[_models.JobCollectionItem] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list job operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[JobCollectionItem]) – List of jobs.
next_link (str) – The link to the next page.
- Keyword Arguments:
value (list[JobCollectionItem]) – List of jobs.
Bases:
Model
Software update configuration machine run job navigation properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Id of the job associated with the software update configuration run.
- class azure.mgmt.automation.models.JobProvisioningState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The provisioning state of the resource.
- FAILED = 'Failed'¶
- PROCESSING = 'Processing'¶
- SUCCEEDED = 'Succeeded'¶
- SUSPENDED = 'Suspended'¶
- class azure.mgmt.automation.models.JobSchedule(*, job_schedule_id: str | None = None, schedule: _models.ScheduleAssociationProperty | None = None, runbook: _models.RunbookAssociationProperty | None = None, run_on: str | None = None, parameters: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the job schedule.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Gets the id of the resource.
name (str) – Gets the name of the variable.
type (str) – Resource type.
job_schedule_id (str) – Gets or sets the id of job schedule.
schedule (ScheduleAssociationProperty) – Gets or sets the schedule.
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
run_on (str) – Gets or sets the hybrid worker group that the scheduled job should run on.
parameters (dict[str, str]) – Gets or sets the parameters of the job schedule.
- Keyword Arguments:
job_schedule_id (str) – Gets or sets the id of job schedule.
schedule (ScheduleAssociationProperty) – Gets or sets the schedule.
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
run_on (str) – Gets or sets the hybrid worker group that the scheduled job should run on.
parameters (dict[str, str]) – Gets or sets the parameters of the job schedule.
- class azure.mgmt.automation.models.JobScheduleCreateParameters(*, schedule: _models.ScheduleAssociationProperty, runbook: _models.RunbookAssociationProperty, run_on: str | None = None, parameters: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create job schedule operation.
All required parameters must be populated in order to send to server.
- Variables:
schedule (ScheduleAssociationProperty) – Gets or sets the schedule. Required.
runbook (RunbookAssociationProperty) – Gets or sets the runbook. Required.
run_on (str) – Gets or sets the hybrid worker group that the scheduled job should run on.
parameters (dict[str, str]) – Gets or sets a list of job properties.
- Keyword Arguments:
schedule (ScheduleAssociationProperty) – Gets or sets the schedule. Required.
runbook (RunbookAssociationProperty) – Gets or sets the runbook. Required.
run_on (str) – Gets or sets the hybrid worker group that the scheduled job should run on.
parameters (dict[str, str]) – Gets or sets a list of job properties.
- class azure.mgmt.automation.models.JobScheduleListResult(*, value: List[_models.JobSchedule] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list job schedule operation.
- Variables:
value (list[JobSchedule]) – Gets or sets a list of job schedules.
next_link (str) – Gets or sets the next link.
- Keyword Arguments:
value (list[JobSchedule]) – Gets or sets a list of job schedules.
next_link (str) – Gets or sets the next link.
- class azure.mgmt.automation.models.JobStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the status of the job.
- ACTIVATING = 'Activating'¶
- BLOCKED = 'Blocked'¶
- COMPLETED = 'Completed'¶
- DISCONNECTED = 'Disconnected'¶
- FAILED = 'Failed'¶
- NEW = 'New'¶
- REMOVING = 'Removing'¶
- RESUMING = 'Resuming'¶
- RUNNING = 'Running'¶
- STOPPED = 'Stopped'¶
- STOPPING = 'Stopping'¶
- SUSPENDED = 'Suspended'¶
- SUSPENDING = 'Suspending'¶
- class azure.mgmt.automation.models.JobStream(*, id: str | None = None, job_stream_id: str | None = None, time: datetime | None = None, stream_type: str | _models.JobStreamType | None = None, stream_text: str | None = None, summary: str | None = None, value: Dict[str, MutableMapping[str, Any]] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the job stream.
- Variables:
id (str) – Gets or sets the id of the resource.
job_stream_id (str) – Gets or sets the id of the job stream.
time (datetime) – Gets or sets the creation time of the job.
stream_type (str or JobStreamType) – Gets or sets the stream type. Known values are: “Progress”, “Output”, “Warning”, “Error”, “Debug”, “Verbose”, and “Any”.
stream_text (str) – Gets or sets the stream text.
summary (str) – Gets or sets the summary.
value (dict[str, JSON]) – Gets or sets the values of the job stream.
- Keyword Arguments:
id (str) – Gets or sets the id of the resource.
job_stream_id (str) – Gets or sets the id of the job stream.
time (datetime) – Gets or sets the creation time of the job.
stream_type (str or JobStreamType) – Gets or sets the stream type. Known values are: “Progress”, “Output”, “Warning”, “Error”, “Debug”, “Verbose”, and “Any”.
stream_text (str) – Gets or sets the stream text.
summary (str) – Gets or sets the summary.
value (dict[str, JSON]) – Gets or sets the values of the job stream.
- class azure.mgmt.automation.models.JobStreamListResult(*, value: List[_models.JobStream] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list job stream operation.
- class azure.mgmt.automation.models.JobStreamType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the stream type.
- ANY = 'Any'¶
- DEBUG = 'Debug'¶
- ERROR = 'Error'¶
- OUTPUT = 'Output'¶
- PROGRESS = 'Progress'¶
- VERBOSE = 'Verbose'¶
- WARNING = 'Warning'¶
- class azure.mgmt.automation.models.Key(**kwargs: Any)[source]¶
Bases:
Model
Automation key which is used to register a DSC Node.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
key_name (str or AutomationKeyName) – Automation key name. Known values are: “Primary” and “Secondary”.
permissions (str or AutomationKeyPermissions) – Automation key permissions. Known values are: “Read” and “Full”.
value (str) – Value of the Automation Key used for registration.
- class azure.mgmt.automation.models.KeyListResult(*, keys: List[_models.Key] | None = None, **kwargs: Any)[source]¶
Bases:
Model
KeyListResult.
- class azure.mgmt.automation.models.KeyVaultProperties(*, keyvault_uri: str | None = None, key_name: str | None = None, key_version: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Settings concerning key vault encryption for a configuration store.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.LinkedWorkspace(**kwargs: Any)[source]¶
Bases:
Model
Definition of the linked workspace.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Gets the id of the linked workspace.
- class azure.mgmt.automation.models.LinuxProperties(*, included_package_classifications: str | _models.LinuxUpdateClasses | None = None, excluded_package_name_masks: List[str] | None = None, included_package_name_masks: List[str] | None = None, reboot_setting: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Linux specific update configuration.
- Variables:
included_package_classifications (str or LinuxUpdateClasses) – Update classifications included in the software update configuration. Known values are: “Unclassified”, “Critical”, “Security”, and “Other”.
excluded_package_name_masks (list[str]) – packages excluded from the software update configuration.
included_package_name_masks (list[str]) – packages included from the software update configuration.
reboot_setting (str) – Reboot setting for the software update configuration.
- Keyword Arguments:
included_package_classifications (str or LinuxUpdateClasses) – Update classifications included in the software update configuration. Known values are: “Unclassified”, “Critical”, “Security”, and “Other”.
excluded_package_name_masks (list[str]) – packages excluded from the software update configuration.
included_package_name_masks (list[str]) – packages included from the software update configuration.
reboot_setting (str) – Reboot setting for the software update configuration.
- class azure.mgmt.automation.models.LinuxUpdateClasses(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Update classifications included in the software update configuration.
- CRITICAL = 'Critical'¶
- OTHER = 'Other'¶
- SECURITY = 'Security'¶
- UNCLASSIFIED = 'Unclassified'¶
- class azure.mgmt.automation.models.LogSpecification(*, name: str | None = None, display_name: str | None = None, blob_duration: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Description of logging specification.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.MetricSpecification(*, name: str | None = None, display_name: str | None = None, display_description: str | None = None, unit: str | None = None, aggregation_type: str | None = None, dimensions: List[_models.Dimension] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Description of metrics specification.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.Module(*, tags: Dict[str, str] | None = None, location: str | None = None, etag: str | None = None, is_global: bool | None = None, version: str | None = None, size_in_bytes: int | None = None, activity_count: int | None = None, provisioning_state: str | _models.ModuleProvisioningState | None = None, content_link: _models.ContentLink | None = None, error: _models.ModuleErrorInfo | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, description: str | None = None, is_composite: bool | None = None, **kwargs: Any)[source]¶
Bases:
TrackedResource
Definition of the module type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
is_global (bool) – Gets or sets the isGlobal flag of the module.
version (str) – Gets or sets the version of the module.
size_in_bytes (int) – Gets or sets the size in bytes of the module.
activity_count (int) – Gets or sets the activity count of the module.
provisioning_state (str or ModuleProvisioningState) – Gets or sets the provisioning state of the module. Known values are: “Created”, “Creating”, “StartingImportModuleRunbook”, “RunningImportModuleRunbook”, “ContentRetrieved”, “ContentDownloaded”, “ContentValidated”, “ConnectionTypeImported”, “ContentStored”, “ModuleDataStored”, “ActivitiesStored”, “ModuleImportRunbookComplete”, “Succeeded”, “Failed”, “Cancelled”, and “Updating”.
content_link (ContentLink) – Gets or sets the contentLink of the module.
error (ModuleErrorInfo) – Gets or sets the error info of the module.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
is_composite (bool) – Gets or sets type of module, if its composite or not.
- Keyword Arguments:
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
is_global (bool) – Gets or sets the isGlobal flag of the module.
version (str) – Gets or sets the version of the module.
size_in_bytes (int) – Gets or sets the size in bytes of the module.
activity_count (int) – Gets or sets the activity count of the module.
provisioning_state (str or ModuleProvisioningState) – Gets or sets the provisioning state of the module. Known values are: “Created”, “Creating”, “StartingImportModuleRunbook”, “RunningImportModuleRunbook”, “ContentRetrieved”, “ContentDownloaded”, “ContentValidated”, “ConnectionTypeImported”, “ContentStored”, “ModuleDataStored”, “ActivitiesStored”, “ModuleImportRunbookComplete”, “Succeeded”, “Failed”, “Cancelled”, and “Updating”.
content_link (ContentLink) – Gets or sets the contentLink of the module.
error (ModuleErrorInfo) – Gets or sets the error info of the module.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
is_composite (bool) – Gets or sets type of module, if its composite or not.
- class azure.mgmt.automation.models.ModuleCreateOrUpdateParameters(*, content_link: _models.ContentLink, name: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update module operation.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.ModuleErrorInfo(*, code: str | None = None, message: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the module error info type.
- class azure.mgmt.automation.models.ModuleListResult(*, value: List[_models.Module] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list module operation.
- class azure.mgmt.automation.models.ModuleProvisioningState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the provisioning state of the module.
- ACTIVITIES_STORED = 'ActivitiesStored'¶
- CANCELLED = 'Cancelled'¶
- CONNECTION_TYPE_IMPORTED = 'ConnectionTypeImported'¶
- CONTENT_DOWNLOADED = 'ContentDownloaded'¶
- CONTENT_RETRIEVED = 'ContentRetrieved'¶
- CONTENT_STORED = 'ContentStored'¶
- CONTENT_VALIDATED = 'ContentValidated'¶
- CREATED = 'Created'¶
- CREATING = 'Creating'¶
- FAILED = 'Failed'¶
- MODULE_DATA_STORED = 'ModuleDataStored'¶
- MODULE_IMPORT_RUNBOOK_COMPLETE = 'ModuleImportRunbookComplete'¶
- RUNNING_IMPORT_MODULE_RUNBOOK = 'RunningImportModuleRunbook'¶
- STARTING_IMPORT_MODULE_RUNBOOK = 'StartingImportModuleRunbook'¶
- SUCCEEDED = 'Succeeded'¶
- UPDATING = 'Updating'¶
- class azure.mgmt.automation.models.ModuleUpdateParameters(*, name: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, content_link: _models.ContentLink | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update module operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.NodeCount(*, name: str | None = None, properties: _models.NodeCountProperties | None = None, **kwargs: Any)[source]¶
Bases:
Model
Number of nodes based on the Filter.
- Variables:
name (str) – Gets the name of a count type.
properties (NodeCountProperties)
- Keyword Arguments:
name (str) – Gets the name of a count type.
properties (NodeCountProperties)
- class azure.mgmt.automation.models.NodeCountProperties(*, count: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
NodeCountProperties.
- class azure.mgmt.automation.models.NodeCounts(*, value: List[_models.NodeCount] | None = None, total_count: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
Gets the count of nodes by count type.
- class azure.mgmt.automation.models.NonAzureQueryProperties(*, function_alias: str | None = None, workspace_id: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Non Azure query for the update configuration.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.OperatingSystemType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Target operating system for the software update configuration.
- LINUX = 'Linux'¶
- WINDOWS = 'Windows'¶
- class azure.mgmt.automation.models.Operation(*, name: str | None = None, display: _models.OperationDisplay | None = None, origin: str | None = None, service_specification: _models.OperationPropertiesFormatServiceSpecification | None = None, **kwargs: Any)[source]¶
Bases:
Model
Automation REST API operation.
- Variables:
name (str) – Operation name: {provider}/{resource}/{operation}.
display (OperationDisplay) – Provider, Resource and Operation values.
origin (str) – Origin of the operation.
service_specification (OperationPropertiesFormatServiceSpecification) – Specification of the service.
- Keyword Arguments:
name (str) – Operation name: {provider}/{resource}/{operation}.
display (OperationDisplay) – Provider, Resource and Operation values.
origin (str) – Origin of the operation.
service_specification (OperationPropertiesFormatServiceSpecification) – Specification of the service.
- class azure.mgmt.automation.models.OperationDisplay(*, provider: str | None = None, resource: str | None = None, operation: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Provider, Resource and Operation values.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.OperationListResult(*, value: List[_models.Operation] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list of Automation operations.
- class azure.mgmt.automation.models.OperationPropertiesFormatServiceSpecification(*, metric_specifications: List[_models.MetricSpecification] | None = None, log_specifications: List[_models.LogSpecification] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Specification of the service.
- Variables:
metric_specifications (list[MetricSpecification]) – Operation service specification.
log_specifications (list[LogSpecification]) – Operation log specification.
- Keyword Arguments:
metric_specifications (list[MetricSpecification]) – Operation service specification.
log_specifications (list[LogSpecification]) – Operation log specification.
- class azure.mgmt.automation.models.PrivateEndpointConnection(*, private_endpoint: _models.PrivateEndpointProperty | None = None, group_ids: List[str] | None = None, private_link_service_connection_state: _models.PrivateLinkServiceConnectionStateProperty | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
A private endpoint connection.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
private_endpoint (PrivateEndpointProperty) – Private endpoint which the connection belongs to.
private_link_service_connection_state (PrivateLinkServiceConnectionStateProperty) – Connection State of the Private Endpoint Connection.
- Keyword Arguments:
private_endpoint (PrivateEndpointProperty) – Private endpoint which the connection belongs to.
private_link_service_connection_state (PrivateLinkServiceConnectionStateProperty) – Connection State of the Private Endpoint Connection.
- class azure.mgmt.automation.models.PrivateEndpointConnectionListResult(*, value: List[_models.PrivateEndpointConnection] | None = None, **kwargs: Any)[source]¶
Bases:
Model
A list of private endpoint connections.
- Variables:
value (list[PrivateEndpointConnection]) – Array of private endpoint connections.
- Keyword Arguments:
value (list[PrivateEndpointConnection]) – Array of private endpoint connections.
- class azure.mgmt.automation.models.PrivateEndpointProperty(*, id: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Private endpoint which the connection belongs to.
- class azure.mgmt.automation.models.PrivateLinkResource(**kwargs: Any)[source]¶
Bases:
ProxyResource
A private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.automation.models.PrivateLinkResourceListResult(*, value: List[_models.PrivateLinkResource] | None = None, **kwargs: Any)[source]¶
Bases:
Model
A list of private link resources.
- Variables:
value (list[PrivateLinkResource]) – Array of private link resources.
- Keyword Arguments:
value (list[PrivateLinkResource]) – Array of private link resources.
- class azure.mgmt.automation.models.PrivateLinkServiceConnectionStateProperty(*, status: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Connection State of the Private Endpoint Connection.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.ProvisioningState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The provisioning state of the job.
- COMPLETED = 'Completed'¶
- FAILED = 'Failed'¶
- RUNNING = 'Running'¶
- class azure.mgmt.automation.models.ProxyResource(**kwargs: Any)[source]¶
Bases:
Resource
ARM proxy resource.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.automation.models.PythonPackageCreateParameters(*, content_link: _models.ContentLink, tags: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update module operation.
All required parameters must be populated in order to send to server.
- Variables:
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
content_link (ContentLink) – Gets or sets the module content link. Required.
- Keyword Arguments:
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
content_link (ContentLink) – Gets or sets the module content link. Required.
- class azure.mgmt.automation.models.PythonPackageUpdateParameters(*, tags: Dict[str, str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update module operation.
- class azure.mgmt.automation.models.RawGraphicalRunbookContent(*, schema_version: str | None = None, runbook_definition: str | None = None, runbook_type: str | _models.GraphRunbookType | None = None, **kwargs: Any)[source]¶
Bases:
Model
Raw Graphical Runbook content.
- Variables:
schema_version (str) – Schema version of the serializer.
runbook_definition (str) – Serialized Graphical runbook.
runbook_type (str or GraphRunbookType) – Runbook Type. Known values are: “GraphPowerShell” and “GraphPowerShellWorkflow”.
- Keyword Arguments:
schema_version (str) – Schema version of the serializer.
runbook_definition (str) – Serialized Graphical runbook.
runbook_type (str or GraphRunbookType) – Runbook Type. Known values are: “GraphPowerShell” and “GraphPowerShellWorkflow”.
- class azure.mgmt.automation.models.Resource(**kwargs: Any)[source]¶
Bases:
Model
The core properties of ARM resources.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.automation.models.ResourceIdentityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The identity type.
- NONE = 'None'¶
- SYSTEM_ASSIGNED = 'SystemAssigned'¶
- SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned, UserAssigned'¶
- USER_ASSIGNED = 'UserAssigned'¶
- class azure.mgmt.automation.models.RunAsCredentialAssociationProperty(*, name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of RunAs credential to use for hybrid worker.
- class azure.mgmt.automation.models.Runbook(*, tags: Dict[str, str] | None = None, location: str | None = None, etag: str | None = None, runbook_type: str | _models.RunbookTypeEnum | None = None, publish_content_link: _models.ContentLink | None = None, state: str | _models.RunbookState | None = None, log_verbose: bool | None = None, log_progress: bool | None = None, log_activity_trace: int | None = None, job_count: int | None = None, parameters: Dict[str, _models.RunbookParameter] | None = None, output_types: List[str] | None = None, draft: _models.RunbookDraft | None = None, provisioning_state: Literal['Succeeded'] | None = None, last_modified_by: str | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
TrackedResource
Definition of the runbook type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
runbook_type (str or RunbookTypeEnum) – Gets or sets the type of the runbook. Known values are: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”, “Python2”, and “Python3”.
publish_content_link (ContentLink) – Gets or sets the published runbook content link.
state (str or RunbookState) – Gets or sets the state of the runbook. Known values are: “New”, “Edit”, and “Published”.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
log_activity_trace (int) – Gets or sets the option to log activity trace of the runbook.
job_count (int) – Gets or sets the job count of the runbook.
parameters (dict[str, RunbookParameter]) – Gets or sets the runbook parameters.
output_types (list[str]) – Gets or sets the runbook output types.
draft (RunbookDraft) – Gets or sets the draft runbook properties.
provisioning_state (str) – Gets or sets the provisioning state of the runbook. Default value is “Succeeded”.
last_modified_by (str) – Gets or sets the last modified by.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
location (str) – The Azure Region where the resource lives.
etag (str) – Gets or sets the etag of the resource.
runbook_type (str or RunbookTypeEnum) – Gets or sets the type of the runbook. Known values are: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”, “Python2”, and “Python3”.
publish_content_link (ContentLink) – Gets or sets the published runbook content link.
state (str or RunbookState) – Gets or sets the state of the runbook. Known values are: “New”, “Edit”, and “Published”.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
log_activity_trace (int) – Gets or sets the option to log activity trace of the runbook.
job_count (int) – Gets or sets the job count of the runbook.
parameters (dict[str, RunbookParameter]) – Gets or sets the runbook parameters.
output_types (list[str]) – Gets or sets the runbook output types.
draft (RunbookDraft) – Gets or sets the draft runbook properties.
provisioning_state (str) – Gets or sets the provisioning state of the runbook. Default value is “Succeeded”.
last_modified_by (str) – Gets or sets the last modified by.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.RunbookAssociationProperty(*, name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The runbook property associated with the entity.
- class azure.mgmt.automation.models.RunbookCreateOrUpdateDraftParameters(*, runbook_content: str, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update runbook operation.
All required parameters must be populated in order to send to server.
- class azure.mgmt.automation.models.RunbookCreateOrUpdateDraftProperties(*, runbook_type: str | _models.RunbookTypeEnum, draft: _models.RunbookDraft, log_verbose: bool | None = None, log_progress: bool | None = None, description: str | None = None, log_activity_trace: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update draft runbook properties.
All required parameters must be populated in order to send to server.
- Variables:
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
runbook_type (str or RunbookTypeEnum) – Gets or sets the type of the runbook. Required. Known values are: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”, “Python2”, and “Python3”.
draft (RunbookDraft) – Gets or sets the draft runbook properties. Required.
description (str) – Gets or sets the description of the runbook.
log_activity_trace (int) – Gets or sets the activity-level tracing options of the runbook.
- Keyword Arguments:
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
runbook_type (str or RunbookTypeEnum) – Gets or sets the type of the runbook. Required. Known values are: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”, “Python2”, and “Python3”.
draft (RunbookDraft) – Gets or sets the draft runbook properties. Required.
description (str) – Gets or sets the description of the runbook.
log_activity_trace (int) – Gets or sets the activity-level tracing options of the runbook.
- class azure.mgmt.automation.models.RunbookCreateOrUpdateParameters(*, runbook_type: str | _models.RunbookTypeEnum, name: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, log_verbose: bool | None = None, log_progress: bool | None = None, draft: _models.RunbookDraft | None = None, publish_content_link: _models.ContentLink | None = None, description: str | None = None, log_activity_trace: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update runbook operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets the name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
runbook_type (str or RunbookTypeEnum) – Gets or sets the type of the runbook. Required. Known values are: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”, “Python2”, and “Python3”.
draft (RunbookDraft) – Gets or sets the draft runbook properties.
publish_content_link (ContentLink) – Gets or sets the published runbook content link.
description (str) – Gets or sets the description of the runbook.
log_activity_trace (int) – Gets or sets the activity-level tracing options of the runbook.
- Keyword Arguments:
name (str) – Gets or sets the name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
runbook_type (str or RunbookTypeEnum) – Gets or sets the type of the runbook. Required. Known values are: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”, “Python2”, and “Python3”.
draft (RunbookDraft) – Gets or sets the draft runbook properties.
publish_content_link (ContentLink) – Gets or sets the published runbook content link.
description (str) – Gets or sets the description of the runbook.
log_activity_trace (int) – Gets or sets the activity-level tracing options of the runbook.
- class azure.mgmt.automation.models.RunbookDraft(*, in_edit: bool | None = None, draft_content_link: _models.ContentLink | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, parameters: Dict[str, _models.RunbookParameter] | None = None, output_types: List[str] | None = None, **kwargs: Any)[source]¶
Bases:
Model
RunbookDraft.
- Variables:
in_edit (bool) – Gets or sets whether runbook is in edit mode.
draft_content_link (ContentLink) – Gets or sets the draft runbook content link.
creation_time (datetime) – Gets or sets the creation time of the runbook draft.
last_modified_time (datetime) – Gets or sets the last modified time of the runbook draft.
parameters (dict[str, RunbookParameter]) – Gets or sets the runbook draft parameters.
output_types (list[str]) – Gets or sets the runbook output types.
- Keyword Arguments:
in_edit (bool) – Gets or sets whether runbook is in edit mode.
draft_content_link (ContentLink) – Gets or sets the draft runbook content link.
creation_time (datetime) – Gets or sets the creation time of the runbook draft.
last_modified_time (datetime) – Gets or sets the last modified time of the runbook draft.
parameters (dict[str, RunbookParameter]) – Gets or sets the runbook draft parameters.
output_types (list[str]) – Gets or sets the runbook output types.
- class azure.mgmt.automation.models.RunbookDraftUndoEditResult(*, status_code: str | _models.HttpStatusCode | None = None, request_id: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the undo edit runbook operation.
- Variables:
status_code (str or HttpStatusCode) – Known values are: “Continue”, “SwitchingProtocols”, “OK”, “Created”, “Accepted”, “NonAuthoritativeInformation”, “NoContent”, “ResetContent”, “PartialContent”, “MultipleChoices”, “Ambiguous”, “MovedPermanently”, “Moved”, “Found”, “Redirect”, “SeeOther”, “RedirectMethod”, “NotModified”, “UseProxy”, “Unused”, “TemporaryRedirect”, “RedirectKeepVerb”, “BadRequest”, “Unauthorized”, “PaymentRequired”, “Forbidden”, “NotFound”, “MethodNotAllowed”, “NotAcceptable”, “ProxyAuthenticationRequired”, “RequestTimeout”, “Conflict”, “Gone”, “LengthRequired”, “PreconditionFailed”, “RequestEntityTooLarge”, “RequestUriTooLong”, “UnsupportedMediaType”, “RequestedRangeNotSatisfiable”, “ExpectationFailed”, “UpgradeRequired”, “InternalServerError”, “NotImplemented”, “BadGateway”, “ServiceUnavailable”, “GatewayTimeout”, “HttpVersionNotSupported”, and “Continue”.
request_id (str)
- Keyword Arguments:
status_code (str or HttpStatusCode) – Known values are: “Continue”, “SwitchingProtocols”, “OK”, “Created”, “Accepted”, “NonAuthoritativeInformation”, “NoContent”, “ResetContent”, “PartialContent”, “MultipleChoices”, “Ambiguous”, “MovedPermanently”, “Moved”, “Found”, “Redirect”, “SeeOther”, “RedirectMethod”, “NotModified”, “UseProxy”, “Unused”, “TemporaryRedirect”, “RedirectKeepVerb”, “BadRequest”, “Unauthorized”, “PaymentRequired”, “Forbidden”, “NotFound”, “MethodNotAllowed”, “NotAcceptable”, “ProxyAuthenticationRequired”, “RequestTimeout”, “Conflict”, “Gone”, “LengthRequired”, “PreconditionFailed”, “RequestEntityTooLarge”, “RequestUriTooLong”, “UnsupportedMediaType”, “RequestedRangeNotSatisfiable”, “ExpectationFailed”, “UpgradeRequired”, “InternalServerError”, “NotImplemented”, “BadGateway”, “ServiceUnavailable”, “GatewayTimeout”, “HttpVersionNotSupported”, and “Continue”.
request_id (str)
- class azure.mgmt.automation.models.RunbookListResult(*, value: List[_models.Runbook] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list runbook operation.
- class azure.mgmt.automation.models.RunbookParameter(*, type: str | None = None, is_mandatory: bool | None = None, position: int | None = None, default_value: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the runbook parameter type.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.RunbookState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the state of the runbook.
- EDIT = 'Edit'¶
- NEW = 'New'¶
- PUBLISHED = 'Published'¶
- class azure.mgmt.automation.models.RunbookTypeEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the type of the runbook.
- GRAPH = 'Graph'¶
- GRAPH_POWER_SHELL = 'GraphPowerShell'¶
- GRAPH_POWER_SHELL_WORKFLOW = 'GraphPowerShellWorkflow'¶
- POWER_SHELL = 'PowerShell'¶
- POWER_SHELL_WORKFLOW = 'PowerShellWorkflow'¶
- PYTHON2 = 'Python2'¶
- PYTHON3 = 'Python3'¶
- SCRIPT = 'Script'¶
- class azure.mgmt.automation.models.RunbookUpdateParameters(*, name: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, description: str | None = None, log_verbose: bool | None = None, log_progress: bool | None = None, log_activity_trace: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update runbook operation.
- Variables:
name (str) – Gets or sets the name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
description (str) – Gets or sets the description of the runbook.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
log_activity_trace (int) – Gets or sets the activity-level tracing options of the runbook.
- Keyword Arguments:
name (str) – Gets or sets the name of the resource.
location (str) – Gets or sets the location of the resource.
tags (dict[str, str]) – Gets or sets the tags attached to the resource.
description (str) – Gets or sets the description of the runbook.
log_verbose (bool) – Gets or sets verbose log option.
log_progress (bool) – Gets or sets progress log option.
log_activity_trace (int) – Gets or sets the activity-level tracing options of the runbook.
- class azure.mgmt.automation.models.SUCScheduleProperties(*, start_time: datetime | None = None, expiry_time: datetime | None = None, expiry_time_offset_minutes: float | None = None, is_enabled: bool = False, next_run: datetime | None = None, next_run_offset_minutes: float | None = None, interval: int | None = None, frequency: str | _models.ScheduleFrequency | None = None, time_zone: str | None = None, advanced_schedule: _models.AdvancedSchedule | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of schedule parameters.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
start_time (datetime) – Gets or sets the start time of the schedule.
start_time_offset_minutes (float) – Gets the start time’s offset in minutes.
expiry_time (datetime) – Gets or sets the end time of the schedule.
expiry_time_offset_minutes (float) – Gets or sets the expiry time’s offset in minutes.
is_enabled (bool) – Gets or sets a value indicating whether this schedule is enabled.
next_run (datetime) – Gets or sets the next run time of the schedule.
next_run_offset_minutes (float) – Gets or sets the next run time’s offset in minutes.
interval (int) – Gets or sets the interval of the schedule.
frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
time_zone (str) – Gets or sets the time zone of the schedule.
advanced_schedule (AdvancedSchedule) – Gets or sets the advanced schedule.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
start_time (datetime) – Gets or sets the start time of the schedule.
expiry_time (datetime) – Gets or sets the end time of the schedule.
expiry_time_offset_minutes (float) – Gets or sets the expiry time’s offset in minutes.
is_enabled (bool) – Gets or sets a value indicating whether this schedule is enabled.
next_run (datetime) – Gets or sets the next run time of the schedule.
next_run_offset_minutes (float) – Gets or sets the next run time’s offset in minutes.
interval (int) – Gets or sets the interval of the schedule.
frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
time_zone (str) – Gets or sets the time zone of the schedule.
advanced_schedule (AdvancedSchedule) – Gets or sets the advanced schedule.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.Schedule(*, start_time: datetime | None = None, expiry_time: datetime | None = None, expiry_time_offset_minutes: float | None = None, is_enabled: bool = False, next_run: datetime | None = None, next_run_offset_minutes: float | None = None, interval: Any | None = None, frequency: str | _models.ScheduleFrequency | None = None, time_zone: str | None = None, advanced_schedule: _models.AdvancedSchedule | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the schedule.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
start_time (datetime) – Gets or sets the start time of the schedule.
start_time_offset_minutes (float) – Gets the start time’s offset in minutes.
expiry_time (datetime) – Gets or sets the end time of the schedule.
expiry_time_offset_minutes (float) – Gets or sets the expiry time’s offset in minutes.
is_enabled (bool) – Gets or sets a value indicating whether this schedule is enabled.
next_run (datetime) – Gets or sets the next run time of the schedule.
next_run_offset_minutes (float) – Gets or sets the next run time’s offset in minutes.
interval (any) – Gets or sets the interval of the schedule.
frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
time_zone (str) – Gets or sets the time zone of the schedule.
advanced_schedule (AdvancedSchedule) – Gets or sets the advanced schedule.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
start_time (datetime) – Gets or sets the start time of the schedule.
expiry_time (datetime) – Gets or sets the end time of the schedule.
expiry_time_offset_minutes (float) – Gets or sets the expiry time’s offset in minutes.
is_enabled (bool) – Gets or sets a value indicating whether this schedule is enabled.
next_run (datetime) – Gets or sets the next run time of the schedule.
next_run_offset_minutes (float) – Gets or sets the next run time’s offset in minutes.
interval (any) – Gets or sets the interval of the schedule.
frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
time_zone (str) – Gets or sets the time zone of the schedule.
advanced_schedule (AdvancedSchedule) – Gets or sets the advanced schedule.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.ScheduleAssociationProperty(*, name: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The schedule property associated with the entity.
- class azure.mgmt.automation.models.ScheduleCreateOrUpdateParameters(*, name: str, start_time: datetime, frequency: str | _models.ScheduleFrequency, description: str | None = None, expiry_time: datetime | None = None, interval: Any | None = None, time_zone: str | None = None, advanced_schedule: _models.AdvancedSchedule | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update schedule operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets the name of the Schedule. Required.
description (str) – Gets or sets the description of the schedule.
start_time (datetime) – Gets or sets the start time of the schedule. Required.
expiry_time (datetime) – Gets or sets the end time of the schedule.
interval (any) – Gets or sets the interval of the schedule.
frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Required. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
time_zone (str) – Gets or sets the time zone of the schedule.
advanced_schedule (AdvancedSchedule) – Gets or sets the AdvancedSchedule.
- Keyword Arguments:
name (str) – Gets or sets the name of the Schedule. Required.
description (str) – Gets or sets the description of the schedule.
start_time (datetime) – Gets or sets the start time of the schedule. Required.
expiry_time (datetime) – Gets or sets the end time of the schedule.
interval (any) – Gets or sets the interval of the schedule.
frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Required. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
time_zone (str) – Gets or sets the time zone of the schedule.
advanced_schedule (AdvancedSchedule) – Gets or sets the AdvancedSchedule.
- class azure.mgmt.automation.models.ScheduleDay(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- FRIDAY = 'Friday'¶
- MONDAY = 'Monday'¶
- SATURDAY = 'Saturday'¶
- SUNDAY = 'Sunday'¶
- THURSDAY = 'Thursday'¶
- TUESDAY = 'Tuesday'¶
- WEDNESDAY = 'Wednesday'¶
- class azure.mgmt.automation.models.ScheduleFrequency(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the frequency of the schedule.
- DAY = 'Day'¶
- HOUR = 'Hour'¶
- MINUTE = 'Minute'¶
The minimum allowed interval for Minute schedules is 15 minutes.
- MONTH = 'Month'¶
- ONE_TIME = 'OneTime'¶
- WEEK = 'Week'¶
- class azure.mgmt.automation.models.ScheduleListResult(*, value: List[_models.Schedule] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list schedule operation.
- class azure.mgmt.automation.models.ScheduleUpdateParameters(*, name: str | None = None, description: str | None = None, is_enabled: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update schedule operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.Sku(*, name: str | _models.SkuNameEnum, family: str | None = None, capacity: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
The account SKU.
All required parameters must be populated in order to send to server.
- Variables:
name (str or SkuNameEnum) – Gets or sets the SKU name of the account. Required. Known values are: “Free” and “Basic”.
family (str) – Gets or sets the SKU family.
capacity (int) – Gets or sets the SKU capacity.
- Keyword Arguments:
name (str or SkuNameEnum) – Gets or sets the SKU name of the account. Required. Known values are: “Free” and “Basic”.
family (str) – Gets or sets the SKU family.
capacity (int) – Gets or sets the SKU capacity.
- class azure.mgmt.automation.models.SkuNameEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Gets or sets the SKU name of the account.
- BASIC = 'Basic'¶
- FREE = 'Free'¶
- class azure.mgmt.automation.models.SoftwareUpdateConfiguration(*, update_configuration: _models.UpdateConfiguration, schedule_info: _models.SUCScheduleProperties, error: _models.ErrorResponse | None = None, tasks: _models.SoftwareUpdateConfigurationTasks | None = None, **kwargs: Any)[source]¶
Bases:
Model
Software update configuration properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Resource name.
id (str) – Resource Id.
type (str) – Resource type.
update_configuration (UpdateConfiguration) – update specific properties for the Software update configuration. Required.
schedule_info (SUCScheduleProperties) – Schedule information for the Software update configuration. Required.
provisioning_state (str) – Provisioning state for the software update configuration, which only appears in the response.
error (ErrorResponse) – Details of provisioning error.
creation_time (datetime) – Creation time of the resource, which only appears in the response.
created_by (str) – CreatedBy property, which only appears in the response.
last_modified_time (datetime) – Last time resource was modified, which only appears in the response.
last_modified_by (str) – LastModifiedBy property, which only appears in the response.
tasks (SoftwareUpdateConfigurationTasks) – Tasks information for the Software update configuration.
- Keyword Arguments:
update_configuration (UpdateConfiguration) – update specific properties for the Software update configuration. Required.
schedule_info (SUCScheduleProperties) – Schedule information for the Software update configuration. Required.
error (ErrorResponse) – Details of provisioning error.
tasks (SoftwareUpdateConfigurationTasks) – Tasks information for the Software update configuration.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationCollectionItem(*, update_configuration: _models.UpdateConfiguration | None = None, tasks: _models.SoftwareUpdateConfigurationTasks | None = None, frequency: str | _models.ScheduleFrequency | None = None, start_time: datetime | None = None, next_run: datetime | None = None, **kwargs: Any)[source]¶
Bases:
Model
Software update configuration collection item properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Name of the software update configuration.
id (str) – Resource Id of the software update configuration.
update_configuration (UpdateConfiguration) – Update specific properties of the software update configuration.
tasks (SoftwareUpdateConfigurationTasks) – Pre and Post Tasks defined.
frequency (str or ScheduleFrequency) – execution frequency of the schedule associated with the software update configuration. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
start_time (datetime) – the start time of the update.
creation_time (datetime) – Creation time of the software update configuration, which only appears in the response.
last_modified_time (datetime) – Last time software update configuration was modified, which only appears in the response.
provisioning_state (str) – Provisioning state for the software update configuration, which only appears in the response.
next_run (datetime) – ext run time of the update.
- Keyword Arguments:
update_configuration (UpdateConfiguration) – Update specific properties of the software update configuration.
tasks (SoftwareUpdateConfigurationTasks) – Pre and Post Tasks defined.
frequency (str or ScheduleFrequency) – execution frequency of the schedule associated with the software update configuration. Known values are: “OneTime”, “Day”, “Hour”, “Week”, “Month”, and “Minute”.
start_time (datetime) – the start time of the update.
next_run (datetime) – ext run time of the update.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationListResult(*, value: List[_models.SoftwareUpdateConfigurationCollectionItem] | None = None, **kwargs: Any)[source]¶
Bases:
Model
result of listing all software update configuration.
- Variables:
value (list[SoftwareUpdateConfigurationCollectionItem]) – outer object returned when listing all software update configurations.
- Keyword Arguments:
value (list[SoftwareUpdateConfigurationCollectionItem]) – outer object returned when listing all software update configurations.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationMachineRun(*, software_update_configuration: _models.UpdateConfigurationNavigation | None = None, job: _models.JobNavigation | None = None, error: _models.ErrorResponse | None = None, **kwargs: Any)[source]¶
Bases:
Model
Software update configuration machine run model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Name of the software update configuration machine run.
id (str) – Resource Id of the software update configuration machine run.
target_computer (str) – name of the updated computer.
target_computer_type (str) – type of the updated computer.
software_update_configuration (UpdateConfigurationNavigation) – software update configuration triggered this run.
status (str) – Status of the software update configuration machine run.
os_type (str) – Operating system target of the software update configuration triggered this run.
correlation_id (str) – correlation id of the software update configuration machine run.
source_computer_id (str) – source computer id of the software update configuration machine run.
start_time (datetime) – Start time of the software update configuration machine run.
end_time (datetime) – End time of the software update configuration machine run.
configured_duration (str) – configured duration for the software update configuration run.
job (JobNavigation) – Job associated with the software update configuration machine run.
creation_time (datetime) – Creation time of the resource, which only appears in the response.
created_by (str) – createdBy property, which only appears in the response.
last_modified_time (datetime) – Last time resource was modified, which only appears in the response.
last_modified_by (str) – lastModifiedBy property, which only appears in the response.
error (ErrorResponse) – Details of provisioning error.
- Keyword Arguments:
software_update_configuration (UpdateConfigurationNavigation) – software update configuration triggered this run.
job (JobNavigation) – Job associated with the software update configuration machine run.
error (ErrorResponse) – Details of provisioning error.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationMachineRunListResult(*, value: List[_models.SoftwareUpdateConfigurationMachineRun] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
result of listing all software update configuration machine runs.
- Variables:
value (list[SoftwareUpdateConfigurationMachineRun]) – outer object returned when listing all software update configuration machine runs.
next_link (str) – link to next page of results.
- Keyword Arguments:
value (list[SoftwareUpdateConfigurationMachineRun]) – outer object returned when listing all software update configuration machine runs.
next_link (str) – link to next page of results.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationRun(*, software_update_configuration: _models.UpdateConfigurationNavigation | None = None, tasks: _models.SoftwareUpdateConfigurationRunTasks | None = None, **kwargs: Any)[source]¶
Bases:
Model
Software update configuration Run properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Name of the software update configuration run.
id (str) – Resource Id of the software update configuration run.
software_update_configuration (UpdateConfigurationNavigation) – software update configuration triggered this run.
status (str) – Status of the software update configuration run.
configured_duration (str) – Configured duration for the software update configuration run.
os_type (str) – Operating system target of the software update configuration triggered this run.
start_time (datetime) – Start time of the software update configuration run.
end_time (datetime) – End time of the software update configuration run.
computer_count (int) – Number of computers in the software update configuration run.
failed_count (int) – Number of computers with failed status.
creation_time (datetime) – Creation time of the resource, which only appears in the response.
created_by (str) – CreatedBy property, which only appears in the response.
last_modified_time (datetime) – Last time resource was modified, which only appears in the response.
last_modified_by (str) – LastModifiedBy property, which only appears in the response.
tasks (SoftwareUpdateConfigurationRunTasks) – Software update configuration tasks triggered in this run.
- Keyword Arguments:
software_update_configuration (UpdateConfigurationNavigation) – software update configuration triggered this run.
tasks (SoftwareUpdateConfigurationRunTasks) – Software update configuration tasks triggered in this run.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationRunListResult(*, value: List[_models.SoftwareUpdateConfigurationRun] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
result of listing all software update configuration runs.
- Variables:
value (list[SoftwareUpdateConfigurationRun]) – outer object returned when listing all software update configuration runs.
next_link (str) – link to next page of results.
- Keyword Arguments:
value (list[SoftwareUpdateConfigurationRun]) – outer object returned when listing all software update configuration runs.
next_link (str) – link to next page of results.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationRunTaskProperties(*, status: str | None = None, source: str | None = None, job_id: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Task properties of the software update configuration.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationRunTasks(*, pre_task: _models.SoftwareUpdateConfigurationRunTaskProperties | None = None, post_task: _models.SoftwareUpdateConfigurationRunTaskProperties | None = None, **kwargs: Any)[source]¶
Bases:
Model
Software update configuration run tasks model.
- Variables:
pre_task (SoftwareUpdateConfigurationRunTaskProperties) – Pre task properties.
post_task (SoftwareUpdateConfigurationRunTaskProperties) – Post task properties.
- Keyword Arguments:
pre_task (SoftwareUpdateConfigurationRunTaskProperties) – Pre task properties.
post_task (SoftwareUpdateConfigurationRunTaskProperties) – Post task properties.
- class azure.mgmt.automation.models.SoftwareUpdateConfigurationTasks(*, pre_task: _models.TaskProperties | None = None, post_task: _models.TaskProperties | None = None, **kwargs: Any)[source]¶
Bases:
Model
Task properties of the software update configuration.
- Variables:
pre_task (TaskProperties) – Pre task properties.
post_task (TaskProperties) – Post task properties.
- Keyword Arguments:
pre_task (TaskProperties) – Pre task properties.
post_task (TaskProperties) – Post task properties.
- class azure.mgmt.automation.models.SourceControl(*, repo_url: str | None = None, branch: str | None = None, folder_path: str | None = None, auto_sync: bool | None = None, publish_runbook: bool | None = None, source_type: str | _models.SourceType | None = None, description: str | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the source control.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
repo_url (str) – The repo url of the source control.
branch (str) – The repo branch of the source control. Include branch as empty string for VsoTfvc.
folder_path (str) – The folder path of the source control.
auto_sync (bool) – The auto sync of the source control. Default is false.
publish_runbook (bool) – The auto publish of the source control. Default is true.
source_type (str or SourceType) – The source type. Must be one of VsoGit, VsoTfvc, GitHub. Known values are: “VsoGit”, “VsoTfvc”, and “GitHub”.
description (str) – The description.
creation_time (datetime) – The creation time.
last_modified_time (datetime) – The last modified time.
- Keyword Arguments:
repo_url (str) – The repo url of the source control.
branch (str) – The repo branch of the source control. Include branch as empty string for VsoTfvc.
folder_path (str) – The folder path of the source control.
auto_sync (bool) – The auto sync of the source control. Default is false.
publish_runbook (bool) – The auto publish of the source control. Default is true.
source_type (str or SourceType) – The source type. Must be one of VsoGit, VsoTfvc, GitHub. Known values are: “VsoGit”, “VsoTfvc”, and “GitHub”.
description (str) – The description.
creation_time (datetime) – The creation time.
last_modified_time (datetime) – The last modified time.
- class azure.mgmt.automation.models.SourceControlCreateOrUpdateParameters(*, repo_url: str | None = None, branch: str | None = None, folder_path: str | None = None, auto_sync: bool | None = None, publish_runbook: bool | None = None, source_type: str | _models.SourceType | None = None, security_token: _models.SourceControlSecurityTokenProperties | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update source control operation.
- Variables:
repo_url (str) – The repo url of the source control.
branch (str) – The repo branch of the source control. Include branch as empty string for VsoTfvc.
folder_path (str) – The folder path of the source control. Path must be relative.
auto_sync (bool) – The auto async of the source control. Default is false.
publish_runbook (bool) – The auto publish of the source control. Default is true.
source_type (str or SourceType) – The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Known values are: “VsoGit”, “VsoTfvc”, and “GitHub”.
security_token (SourceControlSecurityTokenProperties) – The authorization token for the repo of the source control.
description (str) – The user description of the source control.
- Keyword Arguments:
repo_url (str) – The repo url of the source control.
branch (str) – The repo branch of the source control. Include branch as empty string for VsoTfvc.
folder_path (str) – The folder path of the source control. Path must be relative.
auto_sync (bool) – The auto async of the source control. Default is false.
publish_runbook (bool) – The auto publish of the source control. Default is true.
source_type (str or SourceType) – The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Known values are: “VsoGit”, “VsoTfvc”, and “GitHub”.
security_token (SourceControlSecurityTokenProperties) – The authorization token for the repo of the source control.
description (str) – The user description of the source control.
- class azure.mgmt.automation.models.SourceControlListResult(*, value: List[_models.SourceControl] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list source controls operation.
- Variables:
value (list[SourceControl]) – The list of source controls.
next_link (str) – The next link.
- Keyword Arguments:
value (list[SourceControl]) – The list of source controls.
next_link (str) – The next link.
- class azure.mgmt.automation.models.SourceControlSecurityTokenProperties(*, access_token: str | None = None, refresh_token: str | None = None, token_type: str | _models.TokenType | None = None, **kwargs: Any)[source]¶
Bases:
Model
SourceControlSecurityTokenProperties.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.SourceControlSyncJob(*, source_control_sync_job_id: str | None = None, provisioning_state: str | _models.ProvisioningState | None = None, sync_type: str | _models.SyncType | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the source control sync job.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Resource name.
type (str) – Resource type.
id (str) – Resource id.
source_control_sync_job_id (str) – The source control sync job id.
creation_time (datetime) – The creation time of the job.
provisioning_state (str or ProvisioningState) – The provisioning state of the job. Known values are: “Completed”, “Failed”, and “Running”.
start_time (datetime) – The start time of the job.
end_time (datetime) – The end time of the job.
sync_type (str or SyncType) – The sync type. Known values are: “PartialSync” and “FullSync”.
- Keyword Arguments:
source_control_sync_job_id (str) – The source control sync job id.
provisioning_state (str or ProvisioningState) – The provisioning state of the job. Known values are: “Completed”, “Failed”, and “Running”.
sync_type (str or SyncType) – The sync type. Known values are: “PartialSync” and “FullSync”.
- class azure.mgmt.automation.models.SourceControlSyncJobById(*, id: str | None = None, source_control_sync_job_id: str | None = None, provisioning_state: str | _models.ProvisioningState | None = None, sync_type: str | _models.SyncType | None = None, exception: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the source control sync job.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – The id of the job.
source_control_sync_job_id (str) – The source control sync job id.
creation_time (datetime) – The creation time of the job.
provisioning_state (str or ProvisioningState) – The provisioning state of the job. Known values are: “Completed”, “Failed”, and “Running”.
start_time (datetime) – The start time of the job.
end_time (datetime) – The end time of the job.
sync_type (str or SyncType) – The sync type. Known values are: “PartialSync” and “FullSync”.
exception (str) – The exceptions that occurred while running the sync job.
- Keyword Arguments:
id (str) – The id of the job.
source_control_sync_job_id (str) – The source control sync job id.
provisioning_state (str or ProvisioningState) – The provisioning state of the job. Known values are: “Completed”, “Failed”, and “Running”.
sync_type (str or SyncType) – The sync type. Known values are: “PartialSync” and “FullSync”.
exception (str) – The exceptions that occurred while running the sync job.
- class azure.mgmt.automation.models.SourceControlSyncJobCreateParameters(*, commit_id: str, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create source control sync job operation.
All required parameters must be populated in order to send to server.
- class azure.mgmt.automation.models.SourceControlSyncJobListResult(*, value: List[_models.SourceControlSyncJob] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list source control sync jobs operation.
- Variables:
value (list[SourceControlSyncJob]) – The list of source control sync jobs.
next_link (str) – The next link.
- Keyword Arguments:
value (list[SourceControlSyncJob]) – The list of source control sync jobs.
next_link (str) – The next link.
- class azure.mgmt.automation.models.SourceControlSyncJobStream(*, source_control_sync_job_stream_id: str | None = None, summary: str | None = None, stream_type: str | _models.StreamType | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the source control sync job stream.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
- Keyword Arguments:
source_control_sync_job_stream_id (str) – The sync job stream id.
summary (str) – The summary of the sync job stream.
stream_type (str or StreamType) – The type of the sync job stream. Known values are: “Error” and “Output”.
- class azure.mgmt.automation.models.SourceControlSyncJobStreamById(*, source_control_sync_job_stream_id: str | None = None, summary: str | None = None, stream_type: str | _models.StreamType | None = None, stream_text: str | None = None, value: Dict[str, MutableMapping[str, Any]] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the source control sync job stream by id.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Resource id.
source_control_sync_job_stream_id (str) – The sync job stream id.
summary (str) – The summary of the sync job stream.
time (datetime) – The time of the sync job stream.
stream_type (str or StreamType) – The type of the sync job stream. Known values are: “Error” and “Output”.
stream_text (str) – The text of the sync job stream.
- Keyword Arguments:
source_control_sync_job_stream_id (str) – The sync job stream id.
summary (str) – The summary of the sync job stream.
stream_type (str or StreamType) – The type of the sync job stream. Known values are: “Error” and “Output”.
stream_text (str) – The text of the sync job stream.
- class azure.mgmt.automation.models.SourceControlSyncJobStreamsListBySyncJob(*, value: List[_models.SourceControlSyncJobStream] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list source control sync job streams operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[SourceControlSyncJobStream]) – The list of source control sync job streams.
next_link (str) – The next link.
- Keyword Arguments:
value (list[SourceControlSyncJobStream]) – The list of source control sync job streams.
- class azure.mgmt.automation.models.SourceControlUpdateParameters(*, branch: str | None = None, folder_path: str | None = None, auto_sync: bool | None = None, publish_runbook: bool | None = None, security_token: _models.SourceControlSecurityTokenProperties | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update source control operation.
- Variables:
branch (str) – The repo branch of the source control.
folder_path (str) – The folder path of the source control. Path must be relative.
auto_sync (bool) – The auto sync of the source control. Default is false.
publish_runbook (bool) – The auto publish of the source control. Default is true.
security_token (SourceControlSecurityTokenProperties) – The authorization token for the repo of the source control.
description (str) – The user description of the source control.
- Keyword Arguments:
branch (str) – The repo branch of the source control.
folder_path (str) – The folder path of the source control. Path must be relative.
auto_sync (bool) – The auto sync of the source control. Default is false.
publish_runbook (bool) – The auto publish of the source control. Default is true.
security_token (SourceControlSecurityTokenProperties) – The authorization token for the repo of the source control.
description (str) – The user description of the source control.
- class azure.mgmt.automation.models.SourceType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The source type. Must be one of VsoGit, VsoTfvc, GitHub.
- GIT_HUB = 'GitHub'¶
- VSO_GIT = 'VsoGit'¶
- VSO_TFVC = 'VsoTfvc'¶
- class azure.mgmt.automation.models.Statistics(**kwargs: Any)[source]¶
Bases:
Model
Definition of the statistic.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.automation.models.StatisticsListResult(*, value: List[_models.Statistics] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list statistics operation.
- Variables:
value (list[Statistics]) – Gets or sets a list of statistics.
- Keyword Arguments:
value (list[Statistics]) – Gets or sets a list of statistics.
- class azure.mgmt.automation.models.StreamType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The type of the sync job stream.
- ERROR = 'Error'¶
- OUTPUT = 'Output'¶
- class azure.mgmt.automation.models.SyncType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The sync type.
- FULL_SYNC = 'FullSync'¶
- PARTIAL_SYNC = 'PartialSync'¶
- class azure.mgmt.automation.models.SystemData(*, created_by: str | None = None, created_by_type: str | _models.CreatedByType | None = None, created_at: datetime | None = None, last_modified_by: str | None = None, last_modified_by_type: str | _models.CreatedByType | None = None, last_modified_at: datetime | None = None, **kwargs: Any)[source]¶
Bases:
Model
Metadata pertaining to creation and last modification of the resource.
- Variables:
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- Keyword Arguments:
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- class azure.mgmt.automation.models.TagOperators(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Filter VMs by Any or All specified tags.
- ALL = 'All'¶
- ANY = 'Any'¶
- class azure.mgmt.automation.models.TagSettingsProperties(*, tags: Dict[str, List[str]] | None = None, filter_operator: str | _models.TagOperators | None = None, **kwargs: Any)[source]¶
Bases:
Model
Tag filter information for the VM.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.TargetProperties(*, azure_queries: List[_models.AzureQueryProperties] | None = None, non_azure_queries: List[_models.NonAzureQueryProperties] | None = None, **kwargs: Any)[source]¶
Bases:
Model
Group specific to the update configuration.
- Variables:
azure_queries (list[AzureQueryProperties]) – List of Azure queries in the software update configuration.
non_azure_queries (list[NonAzureQueryProperties]) – List of non Azure queries in the software update configuration.
- Keyword Arguments:
azure_queries (list[AzureQueryProperties]) – List of Azure queries in the software update configuration.
non_azure_queries (list[NonAzureQueryProperties]) – List of non Azure queries in the software update configuration.
- class azure.mgmt.automation.models.TaskProperties(*, parameters: Dict[str, str] | None = None, source: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Task properties of the software update configuration.
- class azure.mgmt.automation.models.TestJob(*, creation_time: datetime | None = None, status: str | None = None, status_details: str | None = None, run_on: str | None = None, start_time: datetime | None = None, end_time: datetime | None = None, exception: str | None = None, last_modified_time: datetime | None = None, last_status_modified_time: datetime | None = None, parameters: Dict[str, str] | None = None, log_activity_trace: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of the test job.
- Variables:
creation_time (datetime) – Gets or sets the creation time of the test job.
status (str) – Gets or sets the status of the test job.
status_details (str) – Gets or sets the status details of the test job.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
start_time (datetime) – Gets or sets the start time of the test job.
end_time (datetime) – Gets or sets the end time of the test job.
exception (str) – Gets or sets the exception of the test job.
last_modified_time (datetime) – Gets or sets the last modified time of the test job.
last_status_modified_time (datetime) – Gets or sets the last status modified time of the test job.
parameters (dict[str, str]) – Gets or sets the parameters of the test job.
log_activity_trace (int) – The activity-level tracing options of the runbook.
- Keyword Arguments:
creation_time (datetime) – Gets or sets the creation time of the test job.
status (str) – Gets or sets the status of the test job.
status_details (str) – Gets or sets the status details of the test job.
run_on (str) – Gets or sets the runOn which specifies the group name where the job is to be executed.
start_time (datetime) – Gets or sets the start time of the test job.
end_time (datetime) – Gets or sets the end time of the test job.
exception (str) – Gets or sets the exception of the test job.
last_modified_time (datetime) – Gets or sets the last modified time of the test job.
last_status_modified_time (datetime) – Gets or sets the last status modified time of the test job.
parameters (dict[str, str]) – Gets or sets the parameters of the test job.
log_activity_trace (int) – The activity-level tracing options of the runbook.
- class azure.mgmt.automation.models.TestJobCreateParameters(*, parameters: Dict[str, str] | None = None, run_on: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create test job operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.TokenType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
The token type. Must be either PersonalAccessToken or Oauth.
- OAUTH = 'Oauth'¶
- PERSONAL_ACCESS_TOKEN = 'PersonalAccessToken'¶
- class azure.mgmt.automation.models.TrackedResource(*, tags: Dict[str, str] | None = None, location: str | None = None, **kwargs: Any)[source]¶
Bases:
Resource
The resource model definition for a ARM tracked top level resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.TypeField(*, name: str | None = None, type: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Information about a field of a type.
- class azure.mgmt.automation.models.TypeFieldListResult(*, value: List[_models.TypeField] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list fields operation.
- class azure.mgmt.automation.models.UpdateConfiguration(*, operating_system: str | _models.OperatingSystemType, windows: _models.WindowsProperties | None = None, linux: _models.LinuxProperties | None = None, duration: timedelta | None = None, azure_virtual_machines: List[str] | None = None, non_azure_computer_names: List[str] | None = None, targets: _models.TargetProperties | None = None, **kwargs: Any)[source]¶
Bases:
Model
Update specific properties of the software update configuration.
All required parameters must be populated in order to send to server.
- Variables:
operating_system (str or OperatingSystemType) – operating system of target machines. Required. Known values are: “Windows” and “Linux”.
windows (WindowsProperties) – Windows specific update configuration.
linux (LinuxProperties) – Linux specific update configuration.
duration (timedelta) – Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601.
azure_virtual_machines (list[str]) – List of azure resource Ids for azure virtual machines targeted by the software update configuration.
non_azure_computer_names (list[str]) – List of names of non-azure machines targeted by the software update configuration.
targets (TargetProperties) – Group targets for the software update configuration.
- Keyword Arguments:
operating_system (str or OperatingSystemType) – operating system of target machines. Required. Known values are: “Windows” and “Linux”.
windows (WindowsProperties) – Windows specific update configuration.
linux (LinuxProperties) – Linux specific update configuration.
duration (timedelta) – Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601.
azure_virtual_machines (list[str]) – List of azure resource Ids for azure virtual machines targeted by the software update configuration.
non_azure_computer_names (list[str]) – List of names of non-azure machines targeted by the software update configuration.
targets (TargetProperties) – Group targets for the software update configuration.
Bases:
Model
Software update configuration Run Navigation model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Name of the software update configuration triggered the software update configuration run.
- class azure.mgmt.automation.models.Usage(*, id: str | None = None, name: _models.UsageCounterName | None = None, unit: str | None = None, current_value: float | None = None, limit: int | None = None, throttle_status: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of Usage.
- Variables:
id (str) – Gets or sets the id of the resource.
name (UsageCounterName) – Gets or sets the usage counter name.
unit (str) – Gets or sets the usage unit name.
current_value (float) – Gets or sets the current usage value.
limit (int) – Gets or sets max limit. -1 for unlimited.
throttle_status (str) – Gets or sets the throttle status.
- Keyword Arguments:
id (str) – Gets or sets the id of the resource.
name (UsageCounterName) – Gets or sets the usage counter name.
unit (str) – Gets or sets the usage unit name.
current_value (float) – Gets or sets the current usage value.
limit (int) – Gets or sets max limit. -1 for unlimited.
throttle_status (str) – Gets or sets the throttle status.
- class azure.mgmt.automation.models.UsageCounterName(*, value: str | None = None, localized_value: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Definition of usage counter name.
- class azure.mgmt.automation.models.UsageListResult(*, value: List[_models.Usage] | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the get usage operation.
- class azure.mgmt.automation.models.UserAssignedIdentitiesProperties(**kwargs: Any)[source]¶
Bases:
Model
UserAssignedIdentitiesProperties.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.automation.models.Variable(*, value: str | None = None, is_encrypted: bool | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the variable.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
value (str) – Gets or sets the value of the variable.
is_encrypted (bool) – Gets or sets the encrypted flag of the variable.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- Keyword Arguments:
value (str) – Gets or sets the value of the variable.
is_encrypted (bool) – Gets or sets the encrypted flag of the variable.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.VariableCreateOrUpdateParameters(*, name: str, value: str | None = None, description: str | None = None, is_encrypted: bool | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update variable operation.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.VariableListResult(*, value: List[_models.Variable] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list variables operation.
- class azure.mgmt.automation.models.VariableUpdateParameters(*, name: str | None = None, value: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update variable operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.Watcher(*, etag: str | None = None, tags: Dict[str, str] | None = None, location: str | None = None, execution_frequency_in_seconds: int | None = None, script_name: str | None = None, script_parameters: Dict[str, str] | None = None, script_run_on: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Resource
Definition of the watcher type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
etag (str) – Gets or sets the etag of the resource.
location (str) – The geo-location where the resource lives.
execution_frequency_in_seconds (int) – Gets or sets the frequency at which the watcher is invoked.
script_name (str) – Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook.
script_parameters (dict[str, str]) – Gets or sets the parameters of the script.
script_run_on (str) – Gets or sets the name of the hybrid worker group the watcher will run on.
status (str) – Gets the current status of the watcher.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
last_modified_by (str) – Details of the user who last modified the watcher.
description (str) – Gets or sets the description.
- Keyword Arguments:
etag (str) – Gets or sets the etag of the resource.
location (str) – The geo-location where the resource lives.
execution_frequency_in_seconds (int) – Gets or sets the frequency at which the watcher is invoked.
script_name (str) – Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook.
script_parameters (dict[str, str]) – Gets or sets the parameters of the script.
script_run_on (str) – Gets or sets the name of the hybrid worker group the watcher will run on.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.WatcherListResult(*, value: List[_models.Watcher] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list watcher operation.
- class azure.mgmt.automation.models.WatcherUpdateParameters(*, name: str | None = None, execution_frequency_in_seconds: int | None = None, **kwargs: Any)[source]¶
Bases:
Model
WatcherUpdateParameters.
- Variables:
- Keyword Arguments:
- class azure.mgmt.automation.models.Webhook(*, is_enabled: bool = False, uri: str | None = None, expiry_time: datetime | None = None, last_invoked_time: datetime | None = None, parameters: Dict[str, str] | None = None, runbook: _models.RunbookAssociationProperty | None = None, run_on: str | None = None, creation_time: datetime | None = None, last_modified_time: datetime | None = None, last_modified_by: str | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
ProxyResource
Definition of the webhook type.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource Id for the resource.
name (str) – The name of the resource.
type (str) – The type of the resource.
is_enabled (bool) – Gets or sets the value of the enabled flag of the webhook.
uri (str) – Gets or sets the webhook uri.
expiry_time (datetime) – Gets or sets the expiry time.
last_invoked_time (datetime) – Gets or sets the last invoked time.
parameters (dict[str, str]) – Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
runbook (RunbookAssociationProperty) – Gets or sets the runbook the webhook is associated with.
run_on (str) – Gets or sets the name of the hybrid worker group the webhook job will run on.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
last_modified_by (str) – Details of the user who last modified the Webhook.
description (str) – Gets or sets the description.
- Keyword Arguments:
is_enabled (bool) – Gets or sets the value of the enabled flag of the webhook.
uri (str) – Gets or sets the webhook uri.
expiry_time (datetime) – Gets or sets the expiry time.
last_invoked_time (datetime) – Gets or sets the last invoked time.
parameters (dict[str, str]) – Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
runbook (RunbookAssociationProperty) – Gets or sets the runbook the webhook is associated with.
run_on (str) – Gets or sets the name of the hybrid worker group the webhook job will run on.
creation_time (datetime) – Gets or sets the creation time.
last_modified_time (datetime) – Gets or sets the last modified time.
last_modified_by (str) – Details of the user who last modified the Webhook.
description (str) – Gets or sets the description.
- class azure.mgmt.automation.models.WebhookCreateOrUpdateParameters(*, name: str, is_enabled: bool | None = None, uri: str | None = None, expiry_time: datetime | None = None, parameters: Dict[str, str] | None = None, runbook: _models.RunbookAssociationProperty | None = None, run_on: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the create or update webhook operation.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Gets or sets the name of the webhook. Required.
is_enabled (bool) – Gets or sets the value of the enabled flag of webhook.
uri (str) – Gets or sets the uri.
expiry_time (datetime) – Gets or sets the expiry time.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
run_on (str) – Gets or sets the name of the hybrid worker group the webhook job will run on.
- Keyword Arguments:
name (str) – Gets or sets the name of the webhook. Required.
is_enabled (bool) – Gets or sets the value of the enabled flag of webhook.
uri (str) – Gets or sets the uri.
expiry_time (datetime) – Gets or sets the expiry time.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
runbook (RunbookAssociationProperty) – Gets or sets the runbook.
run_on (str) – Gets or sets the name of the hybrid worker group the webhook job will run on.
- class azure.mgmt.automation.models.WebhookListResult(*, value: List[_models.Webhook] | None = None, next_link: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The response model for the list webhook operation.
- class azure.mgmt.automation.models.WebhookUpdateParameters(*, name: str | None = None, is_enabled: bool | None = None, run_on: str | None = None, parameters: Dict[str, str] | None = None, description: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
The parameters supplied to the update webhook operation.
- Variables:
name (str) – Gets or sets the name of the webhook.
is_enabled (bool) – Gets or sets the value of the enabled flag of webhook.
run_on (str) – Gets or sets the name of the hybrid worker group the webhook job will run on.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
description (str) – Gets or sets the description of the webhook.
- Keyword Arguments:
name (str) – Gets or sets the name of the webhook.
is_enabled (bool) – Gets or sets the value of the enabled flag of webhook.
run_on (str) – Gets or sets the name of the hybrid worker group the webhook job will run on.
parameters (dict[str, str]) – Gets or sets the parameters of the job.
description (str) – Gets or sets the description of the webhook.
- class azure.mgmt.automation.models.WindowsProperties(*, included_update_classifications: str | _models.WindowsUpdateClasses | None = None, excluded_kb_numbers: List[str] | None = None, included_kb_numbers: List[str] | None = None, reboot_setting: str | None = None, **kwargs: Any)[source]¶
Bases:
Model
Windows specific update configuration.
- Variables:
included_update_classifications (str or WindowsUpdateClasses) – Update classification included in the software update configuration. A comma separated string with required values. Known values are: “Unclassified”, “Critical”, “Security”, “UpdateRollup”, “FeaturePack”, “ServicePack”, “Definition”, “Tools”, and “Updates”.
excluded_kb_numbers (list[str]) – KB numbers excluded from the software update configuration.
included_kb_numbers (list[str]) – KB numbers included from the software update configuration.
reboot_setting (str) – Reboot setting for the software update configuration.
- Keyword Arguments:
included_update_classifications (str or WindowsUpdateClasses) – Update classification included in the software update configuration. A comma separated string with required values. Known values are: “Unclassified”, “Critical”, “Security”, “UpdateRollup”, “FeaturePack”, “ServicePack”, “Definition”, “Tools”, and “Updates”.
excluded_kb_numbers (list[str]) – KB numbers excluded from the software update configuration.
included_kb_numbers (list[str]) – KB numbers included from the software update configuration.
reboot_setting (str) – Reboot setting for the software update configuration.
- class azure.mgmt.automation.models.WindowsUpdateClasses(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
-
Update classification included in the software update configuration. A comma separated string with required values.
- CRITICAL = 'Critical'¶
- DEFINITION = 'Definition'¶
- FEATURE_PACK = 'FeaturePack'¶
- SECURITY = 'Security'¶
- SERVICE_PACK = 'ServicePack'¶
- TOOLS = 'Tools'¶
- UNCLASSIFIED = 'Unclassified'¶
- UPDATES = 'Updates'¶
- UPDATE_ROLLUP = 'UpdateRollup'¶