azure.mgmt.automation.models module

class azure.mgmt.automation.models.Activity(*, id: Optional[str] = None, definition: Optional[str] = None, parameter_sets: Optional[List[ActivityParameterSet]] = None, output_types: Optional[List[ActivityOutputType]] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the activity.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • 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.

Variables

name (str) – Gets the name of the activity.

class azure.mgmt.automation.models.ActivityListResult(*, value: Optional[List[Activity]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list activity operation.

Parameters
  • value (list[Activity]) – Gets or sets a list of activities.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.ActivityOutputType(*, name: Optional[str] = None, type: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the activity output type.

Parameters
  • name (str) – Gets or sets the name of the activity output type.

  • type (str) – Gets or sets the type of the activity output type.

class azure.mgmt.automation.models.ActivityParameter(*, name: Optional[str] = None, type: Optional[str] = None, is_mandatory: Optional[bool] = None, is_dynamic: Optional[bool] = None, position: Optional[int] = None, value_from_pipeline: Optional[bool] = None, value_from_pipeline_by_property_name: Optional[bool] = None, value_from_remaining_arguments: Optional[bool] = None, description: Optional[str] = None, validation_set: Optional[List[ActivityParameterValidationSet]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the activity parameter.

Parameters
  • 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 (long) – 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: Optional[str] = None, parameters: Optional[List[ActivityParameter]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the activity parameter set.

Parameters
  • 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: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the activity parameter validation set.

Parameters

member_value (str) – Gets or sets the name of the activity parameter validation set member.

class azure.mgmt.automation.models.AdvancedSchedule(*, week_days: Optional[List[str]] = None, month_days: Optional[List[int]] = None, monthly_occurrences: Optional[List[AdvancedScheduleMonthlyOccurrence]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The properties of the create Advanced Schedule.

Parameters
  • week_days (list[str]) – Days of the week that the job should execute on.

  • month_days (list[int]) – Days of the month that the job should execute on. Must be between 1 and 31.

  • monthly_occurrences (list[AdvancedScheduleMonthlyOccurrence]) – Occurrences of days within a month.

class azure.mgmt.automation.models.AdvancedScheduleMonthlyOccurrence(*, occurrence: Optional[int] = None, day: Union[str, ScheduleDay, None] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The properties of the create advanced schedule monthly occurrence.

Parameters
  • 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. Possible values include: “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”.

class azure.mgmt.automation.models.AgentRegistration(*, dsc_meta_configuration: Optional[str] = None, endpoint: Optional[str] = None, keys: Optional[AgentRegistrationKeys] = None, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the agent registration information type.

Parameters
  • 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.AgentRegistrationKeys(*, primary: Optional[str] = None, secondary: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the agent registration keys.

Parameters
  • primary (str) – Gets or sets the primary key.

  • secondary (str) – Gets or sets the secondary key.

class azure.mgmt.automation.models.AgentRegistrationRegenerateKeyParameter(*, key_name: Union[str, AgentRegistrationKeyName], **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the regenerate keys operation.

All required parameters must be populated in order to send to Azure.

Parameters

key_name (str or AgentRegistrationKeyName) – Required. Gets or sets the agent registration key name - primary or secondary. Possible values include: “primary”, “secondary”.

class azure.mgmt.automation.models.AutomationAccount(*, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, etag: Optional[str] = None, sku: Optional[Sku] = None, last_modified_by: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.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.

  • state (str or AutomationAccountState) – Gets status of account. Possible values include: “Ok”, “Unavailable”, “Suspended”.

  • creation_time (datetime) – Gets the creation time.

  • last_modified_time (datetime) – Gets the last modified time.

Parameters
  • tags (dict[str, str]) – A set of tags. Resource tags.

  • location (str) – The Azure Region where the resource lives.

  • etag (str) – Gets or sets the etag of 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.

class azure.mgmt.automation.models.AutomationAccountCreateOrUpdateParameters(*, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[Sku] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update automation account operation.

Parameters
  • name (str) – Gets or sets name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

  • sku (Sku) – Gets or sets account SKU.

class azure.mgmt.automation.models.AutomationAccountListResult(*, value: Optional[List[AutomationAccount]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list account operation.

Parameters
class azure.mgmt.automation.models.AutomationAccountUpdateParameters(*, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[Sku] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update automation account operation.

Parameters
  • name (str) – Gets or sets the name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

  • sku (Sku) – Gets or sets account SKU.

class azure.mgmt.automation.models.AzureQueryProperties(*, scope: Optional[List[str]] = None, locations: Optional[List[str]] = None, tag_settings: Optional[TagSettingsProperties] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Azure query for the update configuration.

Parameters
  • 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: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters

description (str) – Gets or sets the description.

class azure.mgmt.automation.models.CertificateCreateOrUpdateParameters(*, name: str, base64_value: str, description: Optional[str] = None, thumbprint: Optional[str] = None, is_exportable: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update or replace certificate operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the certificate.

  • base64_value (str) – Required. Gets or sets the base64 encoded value of the certificate.

  • 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: Optional[List[Certificate]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list certificate operation.

Parameters
  • 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: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update certificate operation.

Parameters
  • name (str) – Gets or sets the name of the certificate.

  • description (str) – Gets or sets the description of the certificate.

class azure.mgmt.automation.models.Connection(*, connection_type: Optional[ConnectionTypeAssociationProperty] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

  • 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.

Parameters
class azure.mgmt.automation.models.ConnectionCreateOrUpdateParameters(*, name: str, connection_type: azure.mgmt.automation.models._models_py3.ConnectionTypeAssociationProperty, description: Optional[str] = None, field_definition_values: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update connection operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the connection.

  • description (str) – Gets or sets the description of the connection.

  • connection_type (ConnectionTypeAssociationProperty) – Required. Gets or sets the connectionType of the connection.

  • field_definition_values (dict[str, str]) – Gets or sets the field definition properties of the connection.

class azure.mgmt.automation.models.ConnectionListResult(*, value: Optional[List[Connection]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list connection operation.

Parameters
  • 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: Optional[bool] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.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.

  • field_definitions (dict[str, FieldDefinition]) – Gets the field definitions of the connection type.

  • creation_time (datetime) – Gets the creation time.

Parameters
  • is_global (bool) – Gets or sets a Boolean value to indicate if the connection type is global.

  • last_modified_time (datetime) – Gets or sets the last modified time.

  • description (str) – Gets or sets the description.

class azure.mgmt.automation.models.ConnectionTypeAssociationProperty(*, name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The connection type property associated with the entity.

Parameters

name (str) – Gets or sets the name of the connection type.

class azure.mgmt.automation.models.ConnectionTypeCreateOrUpdateParameters(*, name: str, field_definitions: Dict[str, FieldDefinition], is_global: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update connection type operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the connection type.

  • is_global (bool) – Gets or sets a Boolean value to indicate if the connection type is global.

  • field_definitions (dict[str, FieldDefinition]) – Required. Gets or sets the field definitions of the connection type.

class azure.mgmt.automation.models.ConnectionTypeListResult(*, value: Optional[List[ConnectionType]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list connection type operation.

Parameters
  • 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: Optional[str] = None, description: Optional[str] = None, field_definition_values: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update connection operation.

Parameters
  • name (str) – Gets or sets the name of the connection.

  • description (str) – Gets or sets the description of the connection.

  • field_definition_values (dict[str, str]) – Gets or sets the field definition values of the connection.

class azure.mgmt.automation.models.ContentHash(*, algorithm: str, value: str, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the runbook property type.

All required parameters must be populated in order to send to Azure.

Parameters
  • algorithm (str) – Required. Gets or sets the content hash algorithm used to hash the content.

  • value (str) – Required. Gets or sets expected hash value of the content.

Bases: msrest.serialization.Model

Definition of the content link.

Parameters
  • 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: Optional[ContentHash] = None, type: Union[str, ContentSourceType, None] = None, value: Optional[str] = None, version: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the content source.

Parameters
  • hash (ContentHash) – Gets or sets the hash.

  • type (str or ContentSourceType) – Gets or sets the content source type. Possible values include: “embeddedContent”, “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.Credential(*, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters

description (str) – Gets or sets the description.

class azure.mgmt.automation.models.CredentialCreateOrUpdateParameters(*, name: str, user_name: str, password: str, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update credential operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the credential.

  • user_name (str) – Required. Gets or sets the user name of the credential.

  • password (str) – Required. Gets or sets the password of the credential.

  • description (str) – Gets or sets the description of the credential.

class azure.mgmt.automation.models.CredentialListResult(*, value: Optional[List[Credential]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list credential operation.

Parameters
  • 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: Optional[str] = None, user_name: Optional[str] = None, password: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the Update credential operation.

Parameters
  • name (str) – Gets or sets the name of the credential.

  • user_name (str) – Gets or sets the user name of the credential.

  • password (str) – Gets or sets the password of the credential.

  • description (str) – Gets or sets the description of the credential.

class azure.mgmt.automation.models.DscCompilationJob(*, configuration: Optional[DscConfigurationAssociationProperty] = None, provisioning_state: Union[str, JobProvisioningState, None] = None, run_on: Optional[str] = None, status: Union[str, JobStatus, None] = None, status_details: Optional[str] = None, parameters: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

  • 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.

  • 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
  • configuration (DscConfigurationAssociationProperty) – Gets or sets the configuration.

  • provisioning_state (str or JobProvisioningState) – The current provisioning state of the job. Possible values include: “Failed”, “Succeeded”, “Suspended”, “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. Possible values include: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, “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: azure.mgmt.automation.models._models_py3.DscConfigurationAssociationProperty, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, parameters: Optional[Dict[str, str]] = None, increment_node_configuration_build: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create compilation job operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Gets or sets name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

  • configuration (DscConfigurationAssociationProperty) – Required. Gets or sets the configuration.

  • 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: Optional[List[DscCompilationJob]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list job operation.

Parameters
  • 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: Optional[Dict[str, str]] = None, location: Optional[str] = None, etag: Optional[str] = None, job_count: Optional[int] = None, parameters: Optional[Dict[str, DscConfigurationParameter]] = None, source: Optional[ContentSource] = None, state: Union[str, DscConfigurationState, None] = None, log_verbose: Optional[bool] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, node_configuration_count: Optional[int] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.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.

  • provisioning_state (str) – Gets or sets the provisioning state of the configuration. Default value: “Succeeded”.

Parameters
  • tags (dict[str, str]) – A set of tags. Resource tags.

  • location (str) – The Azure Region where the resource lives.

  • etag (str) – Gets or sets the etag of the resource.

  • 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. Possible values include: “New”, “Edit”, “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.

provisioning_state = 'Succeeded'
class azure.mgmt.automation.models.DscConfigurationAssociationProperty(*, name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The Dsc configuration property associated with the entity.

Parameters

name (str) – Gets or sets the name of the Dsc configuration.

class azure.mgmt.automation.models.DscConfigurationCreateOrUpdateParameters(*, source: azure.mgmt.automation.models._models_py3.ContentSource, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, log_verbose: Optional[bool] = None, log_progress: Optional[bool] = None, parameters: Optional[Dict[str, DscConfigurationParameter]] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update configuration operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Gets or sets name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. 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) – Required. 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.DscConfigurationListResult(*, value: Optional[List[DscConfiguration]] = None, next_link: Optional[str] = None, total_count: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list configuration operation.

Parameters
  • 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: Optional[str] = None, is_mandatory: Optional[bool] = None, position: Optional[int] = None, default_value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the configuration parameter type.

Parameters
  • type (str) – Gets or sets the type of the parameter.

  • is_mandatory (bool) – Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.

  • position (int) – Get or sets the position of the parameter.

  • default_value (str) – Gets or sets the default value of parameter.

class azure.mgmt.automation.models.DscConfigurationUpdateParameters(*, name: Optional[str] = None, tags: Optional[Dict[str, str]] = None, log_verbose: Optional[bool] = None, log_progress: Optional[bool] = None, source: Optional[ContentSource] = None, parameters: Optional[Dict[str, DscConfigurationParameter]] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update configuration operation.

Parameters
  • name (str) – Gets or sets name of the resource.

  • tags (dict[str, str]) – A set of tags. 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: Optional[int] = None, reboot_node_if_needed: Optional[bool] = None, configuration_mode: Optional[str] = None, action_after_reboot: Optional[str] = None, certificate_id: Optional[str] = None, refresh_frequency_mins: Optional[int] = None, allow_module_overwrite: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the DSC Meta Configuration.

Parameters
  • 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: Optional[datetime.datetime] = None, registration_time: Optional[datetime.datetime] = None, ip: Optional[str] = None, account_id: Optional[str] = None, status: Optional[str] = None, node_id: Optional[str] = None, etag: Optional[str] = None, total_count: Optional[int] = None, extension_handler: Optional[List[DscNodeExtensionHandlerAssociationProperty]] = None, name_properties_node_configuration_name: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters
  • 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: Optional[datetime.datetime] = None, creation_time: Optional[datetime.datetime] = None, configuration: Optional[DscConfigurationAssociationProperty] = None, source: Optional[str] = None, node_count: Optional[int] = None, increment_node_configuration_build: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters
  • 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 (long) – 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: Optional[str] = None, tags: Optional[Dict[str, str]] = None, source: Optional[ContentSource] = None, configuration: Optional[DscConfigurationAssociationProperty] = None, increment_node_configuration_build: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update node configuration operation.

Parameters
  • name (str) – Name of the node configuration.

  • tags (dict[str, str]) – A set of tags. 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: Optional[List[DscNodeConfiguration]] = None, next_link: Optional[str] = None, total_count: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list job operation.

Parameters
  • 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: Optional[str] = None, version: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The dsc extensionHandler property associated with the node.

Parameters
  • name (str) – Gets or sets the name of the extension handler.

  • version (str) – Gets or sets the version of the extension handler.

class azure.mgmt.automation.models.DscNodeListResult(*, value: Optional[List[DscNode]] = None, next_link: Optional[str] = None, total_count: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list dsc nodes operation.

Parameters
  • value (list[DscNode]) – Gets or sets a list of dsc nodes.

  • next_link (str) – Gets or sets the next link.

  • total_count (int) – Gets the total number of nodes matching filter criteria.

class azure.mgmt.automation.models.DscNodeReport(*, end_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, start_time: Optional[datetime.datetime] = None, type: Optional[str] = None, report_id: Optional[str] = None, status: Optional[str] = None, refresh_mode: Optional[str] = None, reboot_requested: Optional[str] = None, report_format_version: Optional[str] = None, configuration_version: Optional[str] = None, id: Optional[str] = None, errors: Optional[List[DscReportError]] = None, resources: Optional[List[DscReportResource]] = None, meta_configuration: Optional[DscMetaConfiguration] = None, host_name: Optional[str] = None, i_pv4_addresses: Optional[List[str]] = None, i_pv6_addresses: Optional[List[str]] = None, number_of_resources: Optional[int] = None, raw_errors: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the dsc node report type.

Parameters
  • 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: Optional[List[DscNodeReport]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list dsc nodes operation.

Parameters
  • 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: Optional[str] = None, properties: Optional[DscNodeUpdateParametersProperties] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update dsc node operation.

Parameters
class azure.mgmt.automation.models.DscNodeUpdateParametersProperties(*, name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

DscNodeUpdateParametersProperties.

Parameters

name (str) – Gets or sets the name of the dsc node configuration.

class azure.mgmt.automation.models.DscReportError(*, error_source: Optional[str] = None, resource_id: Optional[str] = None, error_code: Optional[str] = None, error_message: Optional[str] = None, locale: Optional[str] = None, error_details: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the dsc node report error type.

Parameters
  • 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: Optional[str] = None, source_info: Optional[str] = None, depends_on: Optional[List[DscReportResourceNavigation]] = None, module_name: Optional[str] = None, module_version: Optional[str] = None, resource_name: Optional[str] = None, error: Optional[str] = None, status: Optional[str] = None, duration_in_seconds: Optional[float] = None, start_date: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the DSC Report Resource.

Parameters
  • 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.

class azure.mgmt.automation.models.DscReportResourceNavigation(*, resource_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Navigation for DSC Report Resource.

Parameters

resource_id (str) – Gets or sets the ID of the resource to navigate to.

class azure.mgmt.automation.models.ErrorResponse(*, code: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Error response of an operation failure.

Parameters
  • code (str) – Error code.

  • message (str) – Error message indicating why the operation failed.

class azure.mgmt.automation.models.FieldDefinition(*, type: str, is_encrypted: Optional[bool] = None, is_optional: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the connection fields.

All required parameters must be populated in order to send to Azure.

Parameters
  • is_encrypted (bool) – Gets or sets the isEncrypted flag of the connection field definition.

  • is_optional (bool) – Gets or sets the isOptional flag of the connection field definition.

  • type (str) – Required. Gets or sets the type of the connection field definition.

class azure.mgmt.automation.models.HybridRunbookWorker(*, name: Optional[str] = None, ip: Optional[str] = None, registration_time: Optional[datetime.datetime] = None, last_seen_date_time: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of hybrid runbook worker.

Parameters
  • name (str) – Gets or sets the worker machine name.

  • ip (str) – Gets or sets the assigned machine IP address.

  • registration_time (datetime) – Gets or sets the registration time of the worker machine.

  • last_seen_date_time (datetime) – Last Heartbeat from the Worker.

class azure.mgmt.automation.models.HybridRunbookWorkerGroup(*, id: Optional[str] = None, name: Optional[str] = None, hybrid_runbook_workers: Optional[List[HybridRunbookWorker]] = None, credential: Optional[RunAsCredentialAssociationProperty] = None, group_type: Union[str, GroupTypeEnum, None] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of hybrid runbook worker group.

Parameters
  • id (str) – Gets or sets the id of the resource.

  • name (str) – Gets or sets the name of the group.

  • hybrid_runbook_workers (list[HybridRunbookWorker]) – Gets or sets the list of hybrid runbook workers.

  • credential (RunAsCredentialAssociationProperty) – Sets the credential of a worker group.

  • group_type (str or GroupTypeEnum) – Type of the HybridWorkerGroup. Possible values include: “User”, “System”.

class azure.mgmt.automation.models.HybridRunbookWorkerGroupUpdateParameters(*, credential: Optional[RunAsCredentialAssociationProperty] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters supplied to the update operation.

Parameters

credential (RunAsCredentialAssociationProperty) – Sets the credential of a worker group.

class azure.mgmt.automation.models.HybridRunbookWorkerGroupsListResult(*, value: Optional[List[HybridRunbookWorkerGroup]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list hybrid runbook worker groups.

Parameters
class azure.mgmt.automation.models.Job(*, runbook: Optional[RunbookAssociationProperty] = None, started_by: Optional[str] = None, run_on: Optional[str] = None, job_id: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, status: Union[str, JobStatus, None] = None, status_details: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, exception: Optional[str] = None, last_modified_time: Optional[datetime.datetime] = None, last_status_modified_time: Optional[datetime.datetime] = None, parameters: Optional[Dict[str, str]] = None, provisioning_state: Union[str, JobProvisioningState, None] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters
  • 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. Possible values include: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, “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. Possible values include: “Failed”, “Succeeded”, “Suspended”, “Processing”.

class azure.mgmt.automation.models.JobCollectionItem(*, run_on: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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. Possible values include: “New”, “Activating”, “Running”, “Completed”, “Failed”, “Stopped”, “Blocked”, “Suspended”, “Disconnected”, “Suspending”, “Stopping”, “Resuming”, “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.

Parameters

run_on (str) – Specifies the runOn group name where the job was executed.

class azure.mgmt.automation.models.JobCreateParameters(*, runbook: Optional[RunbookAssociationProperty] = None, parameters: Optional[Dict[str, str]] = None, run_on: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create job operation.

Parameters
  • 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: Optional[List[JobCollectionItem]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list job operation.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[JobCollectionItem]) – List of jobs.

Variables

next_link (str) – The link to the next page.

class azure.mgmt.automation.models.JobNavigation(**kwargs)[source]

Bases: msrest.serialization.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.JobSchedule(*, job_schedule_id: Optional[str] = None, schedule: Optional[ScheduleAssociationProperty] = None, runbook: Optional[RunbookAssociationProperty] = None, run_on: Optional[str] = None, parameters: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.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.

Parameters
  • 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: azure.mgmt.automation.models._models_py3.ScheduleAssociationProperty, runbook: azure.mgmt.automation.models._models_py3.RunbookAssociationProperty, run_on: Optional[str] = None, parameters: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create job schedule operation.

All required parameters must be populated in order to send to Azure.

Parameters
class azure.mgmt.automation.models.JobScheduleListResult(*, value: Optional[List[JobSchedule]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list job schedule operation.

Parameters
  • 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.JobStream(*, id: Optional[str] = None, job_stream_id: Optional[str] = None, time: Optional[datetime.datetime] = None, stream_type: Union[str, JobStreamType, None] = None, stream_text: Optional[str] = None, summary: Optional[str] = None, value: Optional[Dict[str, object]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the job stream.

Parameters
  • 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. Possible values include: “Progress”, “Output”, “Warning”, “Error”, “Debug”, “Verbose”, “Any”.

  • stream_text (str) – Gets or sets the stream text.

  • summary (str) – Gets or sets the summary.

  • value (dict[str, object]) – Gets or sets the values of the job stream.

class azure.mgmt.automation.models.JobStreamListResult(*, value: Optional[List[JobStream]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list job stream operation.

Parameters
  • value (list[JobStream]) – A list of job streams.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.Key(**kwargs)[source]

Bases: msrest.serialization.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. Possible values include: “Primary”, “Secondary”.

  • permissions (str or AutomationKeyPermissions) – Automation key permissions. Possible values include: “Read”, “Full”.

  • value (str) – Value of the Automation Key used for registration.

class azure.mgmt.automation.models.KeyListResult(*, keys: Optional[List[Key]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

KeyListResult.

Parameters

keys (list[Key]) – Lists the automation keys.

class azure.mgmt.automation.models.LinkedWorkspace(**kwargs)[source]

Bases: msrest.serialization.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: Union[str, LinuxUpdateClasses, None] = None, excluded_package_name_masks: Optional[List[str]] = None, included_package_name_masks: Optional[List[str]] = None, reboot_setting: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Linux specific update configuration.

Parameters
  • included_package_classifications (str or LinuxUpdateClasses) – Update classifications included in the software update configuration. Possible values include: “Unclassified”, “Critical”, “Security”, “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.Module(*, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, etag: Optional[str] = None, is_global: Optional[bool] = None, version: Optional[str] = None, size_in_bytes: Optional[int] = None, activity_count: Optional[int] = None, provisioning_state: Union[str, ModuleProvisioningState, None] = None, content_link: Optional[ContentLink] = None, error: Optional[ModuleErrorInfo] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, is_composite: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.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.

Parameters
  • tags (dict[str, str]) – A set of tags. Resource tags.

  • 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 (long) – 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. Possible values include: “Created”, “Creating”, “StartingImportModuleRunbook”, “RunningImportModuleRunbook”, “ContentRetrieved”, “ContentDownloaded”, “ContentValidated”, “ConnectionTypeImported”, “ContentStored”, “ModuleDataStored”, “ActivitiesStored”, “ModuleImportRunbookComplete”, “Succeeded”, “Failed”, “Cancelled”, “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: azure.mgmt.automation.models._models_py3.ContentLink, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update module operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Gets or sets name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

  • content_link (ContentLink) – Required. Gets or sets the module content link.

class azure.mgmt.automation.models.ModuleErrorInfo(*, code: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the module error info type.

Parameters
  • code (str) – Gets or sets the error code.

  • message (str) – Gets or sets the error message.

class azure.mgmt.automation.models.ModuleListResult(*, value: Optional[List[Module]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list module operation.

Parameters
  • value (list[Module]) – Gets or sets a list of modules.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.ModuleUpdateParameters(*, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, content_link: Optional[ContentLink] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update module operation.

Parameters
  • name (str) – Gets or sets name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

  • content_link (ContentLink) – Gets or sets the module content link.

class azure.mgmt.automation.models.NodeCount(*, name: Optional[str] = None, properties: Optional[NodeCountProperties] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Number of nodes based on the Filter.

Parameters
class azure.mgmt.automation.models.NodeCountProperties(*, count: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

NodeCountProperties.

Parameters

count (int) – Gets the count for the name.

class azure.mgmt.automation.models.NodeCounts(*, value: Optional[List[NodeCount]] = None, total_count: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Gets the count of nodes by count type.

Parameters
  • value (list[NodeCount]) – Gets an array of counts.

  • total_count (int) – Gets the total number of records matching countType criteria.

class azure.mgmt.automation.models.NonAzureQueryProperties(*, function_alias: Optional[str] = None, workspace_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Non Azure query for the update configuration.

Parameters
  • function_alias (str) – Log Analytics Saved Search name.

  • workspace_id (str) – Workspace Id for Log Analytics in which the saved Search is resided.

class azure.mgmt.automation.models.Operation(*, name: Optional[str] = None, display: Optional[OperationDisplay] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Automation REST API operation.

Parameters
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – Provider, Resource and Operation values.

class azure.mgmt.automation.models.OperationDisplay(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Provider, Resource and Operation values.

Parameters
  • provider (str) – Service provider: Microsoft.Automation.

  • resource (str) – Resource on which the operation is performed: Runbooks, Jobs etc.

  • operation (str) – Operation type: Read, write, delete, etc.

class azure.mgmt.automation.models.OperationListResult(*, value: Optional[List[Operation]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list of Automation operations.

Parameters

value (list[Operation]) – List of Automation operations supported by the Automation resource provider.

class azure.mgmt.automation.models.ProxyResource(**kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

ARM proxy resource.

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.

class azure.mgmt.automation.models.PythonPackageCreateParameters(*, content_link: azure.mgmt.automation.models._models_py3.ContentLink, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update module operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

  • content_link (ContentLink) – Required. Gets or sets the module content link.

class azure.mgmt.automation.models.PythonPackageUpdateParameters(*, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update module operation.

Parameters

tags (dict[str, str]) – A set of tags. Gets or sets the tags attached to the resource.

class azure.mgmt.automation.models.Resource(**kwargs)[source]

Bases: msrest.serialization.Model

The core properties of ARM resources.

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.

class azure.mgmt.automation.models.RunAsCredentialAssociationProperty(*, name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of RunAs credential to use for hybrid worker.

Parameters

name (str) – Gets or sets the name of the credential.

class azure.mgmt.automation.models.Runbook(*, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, etag: Optional[str] = None, runbook_type: Union[str, RunbookTypeEnum, None] = None, publish_content_link: Optional[ContentLink] = None, state: Union[str, RunbookState, None] = None, log_verbose: Optional[bool] = None, log_progress: Optional[bool] = None, log_activity_trace: Optional[int] = None, job_count: Optional[int] = None, parameters: Optional[Dict[str, RunbookParameter]] = None, output_types: Optional[List[str]] = None, draft: Optional[RunbookDraft] = None, last_modified_by: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.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.

  • provisioning_state (str) – Gets or sets the provisioning state of the runbook. Default value: “Succeeded”.

Parameters
  • tags (dict[str, str]) – A set of tags. Resource tags.

  • 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. Possible values include: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”.

  • publish_content_link (ContentLink) – Gets or sets the published runbook content link.

  • state (str or RunbookState) – Gets or sets the state of the runbook. Possible values include: “New”, “Edit”, “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.

  • 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.

provisioning_state = 'Succeeded'
class azure.mgmt.automation.models.RunbookAssociationProperty(*, name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The runbook property associated with the entity.

Parameters

name (str) – Gets or sets the name of the runbook.

class azure.mgmt.automation.models.RunbookCreateOrUpdateDraftParameters(*, runbook_content: str, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update runbook operation.

All required parameters must be populated in order to send to Azure.

Parameters

runbook_content (str) – Required. Content of the Runbook.

class azure.mgmt.automation.models.RunbookCreateOrUpdateDraftProperties(*, runbook_type: Union[str, RunbookTypeEnum], draft: azure.mgmt.automation.models._models_py3.RunbookDraft, log_verbose: Optional[bool] = None, log_progress: Optional[bool] = None, description: Optional[str] = None, log_activity_trace: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update draft runbook properties.

All required parameters must be populated in order to send to Azure.

Parameters
  • log_verbose (bool) – Gets or sets verbose log option.

  • log_progress (bool) – Gets or sets progress log option.

  • runbook_type (str or RunbookTypeEnum) – Required. Gets or sets the type of the runbook. Possible values include: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”.

  • draft (RunbookDraft) – Required. Gets or sets the draft runbook properties.

  • 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: Union[str, RunbookTypeEnum], name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, log_verbose: Optional[bool] = None, log_progress: Optional[bool] = None, draft: Optional[RunbookDraft] = None, publish_content_link: Optional[ContentLink] = None, description: Optional[str] = None, log_activity_trace: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update runbook operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Gets or sets the name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. 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) – Required. Gets or sets the type of the runbook. Possible values include: “Script”, “Graph”, “PowerShellWorkflow”, “PowerShell”, “GraphPowerShellWorkflow”, “GraphPowerShell”.

  • 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: Optional[bool] = None, draft_content_link: Optional[ContentLink] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, parameters: Optional[Dict[str, RunbookParameter]] = None, output_types: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

RunbookDraft.

Parameters
  • 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: Union[str, HttpStatusCode, None] = None, request_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the undo edit runbook operation.

Parameters
  • status_code (str or HttpStatusCode) – Possible values include: “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”.

  • request_id (str) –

class azure.mgmt.automation.models.RunbookListResult(*, value: Optional[List[Runbook]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list runbook operation.

Parameters
  • value (list[Runbook]) – Gets or sets a list of runbooks.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.RunbookParameter(*, type: Optional[str] = None, is_mandatory: Optional[bool] = None, position: Optional[int] = None, default_value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the runbook parameter type.

Parameters
  • type (str) – Gets or sets the type of the parameter.

  • is_mandatory (bool) – Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.

  • position (int) – Get or sets the position of the parameter.

  • default_value (str) – Gets or sets the default value of parameter.

class azure.mgmt.automation.models.RunbookUpdateParameters(*, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, description: Optional[str] = None, log_verbose: Optional[bool] = None, log_progress: Optional[bool] = None, log_activity_trace: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update runbook operation.

Parameters
  • name (str) – Gets or sets the name of the resource.

  • location (str) – Gets or sets the location of the resource.

  • tags (dict[str, str]) – A set of tags. 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: Optional[datetime.datetime] = None, expiry_time: Optional[datetime.datetime] = None, expiry_time_offset_minutes: Optional[float] = None, is_enabled: Optional[bool] = False, next_run: Optional[datetime.datetime] = None, next_run_offset_minutes: Optional[float] = None, interval: Optional[int] = None, frequency: Union[str, ScheduleFrequency, None] = None, time_zone: Optional[str] = None, advanced_schedule: Optional[AdvancedSchedule] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of schedule parameters.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • 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 (long) – Gets or sets the interval of the schedule.

  • frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Possible values include: “OneTime”, “Day”, “Hour”, “Week”, “Month”, “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.

Variables

start_time_offset_minutes (float) – Gets the start time’s offset in minutes.

class azure.mgmt.automation.models.Schedule(*, start_time: Optional[datetime.datetime] = None, expiry_time: Optional[datetime.datetime] = None, expiry_time_offset_minutes: Optional[float] = None, is_enabled: Optional[bool] = False, next_run: Optional[datetime.datetime] = None, next_run_offset_minutes: Optional[float] = None, interval: object = None, frequency: Union[str, ScheduleFrequency, None] = None, time_zone: Optional[str] = None, advanced_schedule: Optional[AdvancedSchedule] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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_offset_minutes (float) – Gets the start time’s offset in minutes.

Parameters
  • 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 (object) – Gets or sets the interval of the schedule.

  • frequency (str or ScheduleFrequency) – Gets or sets the frequency of the schedule. Possible values include: “OneTime”, “Day”, “Hour”, “Week”, “Month”, “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: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The schedule property associated with the entity.

Parameters

name (str) – Gets or sets the name of the Schedule.

class azure.mgmt.automation.models.ScheduleCreateOrUpdateParameters(*, name: str, start_time: datetime.datetime, frequency: Union[str, ScheduleFrequency], description: Optional[str] = None, expiry_time: Optional[datetime.datetime] = None, interval: object = None, time_zone: Optional[str] = None, advanced_schedule: Optional[AdvancedSchedule] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update schedule operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the Schedule.

  • description (str) – Gets or sets the description of the schedule.

  • start_time (datetime) – Required. Gets or sets the start time of the schedule.

  • expiry_time (datetime) – Gets or sets the end time of the schedule.

  • interval (object) – Gets or sets the interval of the schedule.

  • frequency (str or ScheduleFrequency) – Required. Gets or sets the frequency of the schedule. Possible values include: “OneTime”, “Day”, “Hour”, “Week”, “Month”, “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.ScheduleListResult(*, value: Optional[List[Schedule]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list schedule operation.

Parameters
  • value (list[Schedule]) – Gets or sets a list of schedules.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.ScheduleUpdateParameters(*, name: Optional[str] = None, description: Optional[str] = None, is_enabled: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update schedule operation.

Parameters
  • name (str) – Gets or sets the name of the Schedule.

  • description (str) – Gets or sets the description of the schedule.

  • is_enabled (bool) – Gets or sets a value indicating whether this schedule is enabled.

class azure.mgmt.automation.models.Sku(*, name: Union[str, SkuNameEnum], family: Optional[str] = None, capacity: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The account SKU.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str or SkuNameEnum) – Required. Gets or sets the SKU name of the account. Possible values include: “Free”, “Basic”.

  • family (str) – Gets or sets the SKU family.

  • capacity (int) – Gets or sets the SKU capacity.

class azure.mgmt.automation.models.SoftwareUpdateConfiguration(*, update_configuration: azure.mgmt.automation.models._models_py3.UpdateConfiguration, schedule_info: azure.mgmt.automation.models._models_py3.SUCScheduleProperties, error: Optional[ErrorResponse] = None, tasks: Optional[SoftwareUpdateConfigurationTasks] = None, **kwargs)[source]

Bases: msrest.serialization.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 Azure.

Variables
  • name (str) – Resource name.

  • id (str) – Resource Id.

  • type (str) – Resource type.

  • provisioning_state (str) – Provisioning state for the software update configuration, which only appears in the response.

  • 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.

Parameters
class azure.mgmt.automation.models.SoftwareUpdateConfigurationCollectionItem(*, update_configuration: Optional[UpdateConfiguration] = None, tasks: Optional[SoftwareUpdateConfigurationTasks] = None, frequency: Union[str, ScheduleFrequency, None] = None, start_time: Optional[datetime.datetime] = None, next_run: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: msrest.serialization.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.

  • 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.

Parameters
  • 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. Possible values include: “OneTime”, “Day”, “Hour”, “Week”, “Month”, “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: Optional[List[SoftwareUpdateConfigurationCollectionItem]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

result of listing all software update configuration.

Parameters

value (list[SoftwareUpdateConfigurationCollectionItem]) – outer object returned when listing all software update configurations.

class azure.mgmt.automation.models.SoftwareUpdateConfigurationMachineRun(*, software_update_configuration: Optional[UpdateConfigurationNavigation] = None, job: Optional[JobNavigation] = None, error: Optional[ErrorResponse] = None, **kwargs)[source]

Bases: msrest.serialization.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.

  • 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.

  • 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.

Parameters
class azure.mgmt.automation.models.SoftwareUpdateConfigurationMachineRunListResult(*, value: Optional[List[SoftwareUpdateConfigurationMachineRun]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

result of listing all software update configuration machine runs.

Parameters
class azure.mgmt.automation.models.SoftwareUpdateConfigurationRun(*, software_update_configuration: Optional[UpdateConfigurationNavigation] = None, tasks: Optional[SoftwareUpdateConfigurationRunTasks] = None, **kwargs)[source]

Bases: msrest.serialization.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.

  • 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.

Parameters
class azure.mgmt.automation.models.SoftwareUpdateConfigurationRunListResult(*, value: Optional[List[SoftwareUpdateConfigurationRun]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

result of listing all software update configuration runs.

Parameters
class azure.mgmt.automation.models.SoftwareUpdateConfigurationRunTaskProperties(*, status: Optional[str] = None, source: Optional[str] = None, job_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Task properties of the software update configuration.

Parameters
  • status (str) – The status of the task.

  • source (str) – The name of the source of the task.

  • job_id (str) – The job id of the task.

class azure.mgmt.automation.models.SoftwareUpdateConfigurationRunTasks(*, pre_task: Optional[SoftwareUpdateConfigurationRunTaskProperties] = None, post_task: Optional[SoftwareUpdateConfigurationRunTaskProperties] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Software update configuration run tasks model.

Parameters
class azure.mgmt.automation.models.SoftwareUpdateConfigurationTasks(*, pre_task: Optional[TaskProperties] = None, post_task: Optional[TaskProperties] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Task properties of the software update configuration.

Parameters
class azure.mgmt.automation.models.SourceControl(*, repo_url: Optional[str] = None, branch: Optional[str] = None, folder_path: Optional[str] = None, auto_sync: Optional[bool] = None, publish_runbook: Optional[bool] = None, source_type: Union[str, SourceType, None] = None, description: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters
  • 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. Possible values include: “VsoGit”, “VsoTfvc”, “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: Optional[str] = None, branch: Optional[str] = None, folder_path: Optional[str] = None, auto_sync: Optional[bool] = None, publish_runbook: Optional[bool] = None, source_type: Union[str, SourceType, None] = None, security_token: Optional[SourceControlSecurityTokenProperties] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update source control operation.

Parameters
  • 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. Possible values include: “VsoGit”, “VsoTfvc”, “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: Optional[List[SourceControl]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list source controls operation.

Parameters
class azure.mgmt.automation.models.SourceControlSecurityTokenProperties(*, access_token: Optional[str] = None, refresh_token: Optional[str] = None, token_type: Union[str, TokenType, None] = None, **kwargs)[source]

Bases: msrest.serialization.Model

SourceControlSecurityTokenProperties.

Parameters
  • access_token (str) – The access token.

  • refresh_token (str) – The refresh token.

  • token_type (str or TokenType) – The token type. Must be either PersonalAccessToken or Oauth. Possible values include: “PersonalAccessToken”, “Oauth”.

class azure.mgmt.automation.models.SourceControlSyncJob(*, source_control_sync_job_id: Optional[str] = None, provisioning_state: Union[str, ProvisioningState, None] = None, sync_type: Union[str, SyncType, None] = None, **kwargs)[source]

Bases: msrest.serialization.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.

  • creation_time (datetime) – The creation time of the job.

  • start_time (datetime) – The start time of the job.

  • end_time (datetime) – The end time of the job.

Parameters
  • source_control_sync_job_id (str) – The source control sync job id.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the job. Possible values include: “Completed”, “Failed”, “Running”.

  • sync_type (str or SyncType) – The sync type. Possible values include: “PartialSync”, “FullSync”.

class azure.mgmt.automation.models.SourceControlSyncJobById(*, id: Optional[str] = None, source_control_sync_job_id: Optional[str] = None, provisioning_state: Union[str, ProvisioningState, None] = None, sync_type: Union[str, SyncType, None] = None, exception: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the source control sync job.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • 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. Possible values include: “Completed”, “Failed”, “Running”.

  • sync_type (str or SyncType) – The sync type. Possible values include: “PartialSync”, “FullSync”.

  • exception (str) – The exceptions that occurred while running the sync job.

Variables
  • creation_time (datetime) – The creation time of the job.

  • start_time (datetime) – The start time of the job.

  • end_time (datetime) – The end time of the job.

class azure.mgmt.automation.models.SourceControlSyncJobCreateParameters(*, commit_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create source control sync job operation.

All required parameters must be populated in order to send to Azure.

Parameters

commit_id (str) – Required. The commit id of the source control sync job. If not syncing to a commitId, enter an empty string.

class azure.mgmt.automation.models.SourceControlSyncJobListResult(*, value: Optional[List[SourceControlSyncJob]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list source control sync jobs operation.

Parameters
class azure.mgmt.automation.models.SourceControlSyncJobStream(*, source_control_sync_job_stream_id: Optional[str] = None, summary: Optional[str] = None, stream_type: Union[str, StreamType, None] = None, **kwargs)[source]

Bases: msrest.serialization.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
Parameters
  • 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. Possible values include: “Error”, “Output”.

class azure.mgmt.automation.models.SourceControlSyncJobStreamById(*, source_control_sync_job_stream_id: Optional[str] = None, summary: Optional[str] = None, stream_type: Union[str, StreamType, None] = None, stream_text: Optional[str] = None, value: Optional[Dict[str, object]] = None, **kwargs)[source]

Bases: msrest.serialization.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
Parameters
  • 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. Possible values include: “Error”, “Output”.

  • stream_text (str) – The text of the sync job stream.

  • value (dict[str, object]) – The values of the job stream.

class azure.mgmt.automation.models.SourceControlSyncJobStreamsListBySyncJob(*, value: Optional[List[SourceControlSyncJobStream]] = None, **kwargs)[source]

Bases: msrest.serialization.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.

Parameters

value (list[SourceControlSyncJobStream]) – The list of source control sync job streams.

Variables

next_link (str) – The next link.

class azure.mgmt.automation.models.SourceControlUpdateParameters(*, branch: Optional[str] = None, folder_path: Optional[str] = None, auto_sync: Optional[bool] = None, publish_runbook: Optional[bool] = None, security_token: Optional[SourceControlSecurityTokenProperties] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update source control operation.

Parameters
  • 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.Statistics(**kwargs)[source]

Bases: msrest.serialization.Model

Definition of the statistic.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • counter_property (str) – Gets the property value of the statistic.

  • counter_value (long) – Gets the value of the statistic.

  • start_time (datetime) – Gets the startTime of the statistic.

  • end_time (datetime) – Gets the endTime of the statistic.

  • id (str) – Gets the id.

class azure.mgmt.automation.models.StatisticsListResult(*, value: Optional[List[Statistics]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list statistics operation.

Parameters

value (list[Statistics]) – Gets or sets a list of statistics.

class azure.mgmt.automation.models.TagSettingsProperties(*, tags: Optional[Dict[str, List[str]]] = None, filter_operator: Union[str, TagOperators, None] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Tag filter information for the VM.

Parameters
  • tags (dict[str, list[str]]) – A set of tags. Dictionary of tags with its list of values.

  • filter_operator (str or TagOperators) – Filter VMs by Any or All specified tags. Possible values include: “All”, “Any”.

class azure.mgmt.automation.models.TargetProperties(*, azure_queries: Optional[List[AzureQueryProperties]] = None, non_azure_queries: Optional[List[NonAzureQueryProperties]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Group specific to the update configuration.

Parameters
class azure.mgmt.automation.models.TaskProperties(*, parameters: Optional[Dict[str, str]] = None, source: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Task properties of the software update configuration.

Parameters
  • parameters (dict[str, str]) – Gets or sets the parameters of the task.

  • source (str) – Gets or sets the name of the runbook.

class azure.mgmt.automation.models.TestJob(*, creation_time: Optional[datetime.datetime] = None, status: Optional[str] = None, status_details: Optional[str] = None, run_on: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, exception: Optional[str] = None, last_modified_time: Optional[datetime.datetime] = None, last_status_modified_time: Optional[datetime.datetime] = None, parameters: Optional[Dict[str, str]] = None, log_activity_trace: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of the test job.

Parameters
  • 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: Optional[Dict[str, str]] = None, run_on: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create test job operation.

Parameters
  • parameters (dict[str, str]) – Gets or sets the parameters of the test 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.TrackedResource(*, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.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
  • id (str) – Fully qualified resource Id for the resource.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

Parameters
  • tags (dict[str, str]) – A set of tags. Resource tags.

  • location (str) – The Azure Region where the resource lives.

class azure.mgmt.automation.models.TypeField(*, name: Optional[str] = None, type: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information about a field of a type.

Parameters
  • name (str) – Gets or sets the name of the field.

  • type (str) – Gets or sets the type of the field.

class azure.mgmt.automation.models.TypeFieldListResult(*, value: Optional[List[TypeField]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list fields operation.

Parameters

value (list[TypeField]) – Gets or sets a list of fields.

class azure.mgmt.automation.models.UpdateConfiguration(*, operating_system: Union[str, OperatingSystemType], windows: Optional[WindowsProperties] = None, linux: Optional[LinuxProperties] = None, duration: Optional[datetime.timedelta] = None, azure_virtual_machines: Optional[List[str]] = None, non_azure_computer_names: Optional[List[str]] = None, targets: Optional[TargetProperties] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Update specific properties of the software update configuration.

All required parameters must be populated in order to send to Azure.

Parameters
  • operating_system (str or OperatingSystemType) – Required. operating system of target machines. Possible values include: “Windows”, “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.

class azure.mgmt.automation.models.UpdateConfigurationNavigation(**kwargs)[source]

Bases: msrest.serialization.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: Optional[str] = None, name: Optional[UsageCounterName] = None, unit: Optional[str] = None, current_value: Optional[float] = None, limit: Optional[int] = None, throttle_status: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of Usage.

Parameters
  • 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 (long) – Gets or sets max limit. -1 for unlimited.

  • throttle_status (str) – Gets or sets the throttle status.

class azure.mgmt.automation.models.UsageCounterName(*, value: Optional[str] = None, localized_value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of usage counter name.

Parameters
  • value (str) – Gets or sets the usage counter name.

  • localized_value (str) – Gets or sets the localized usage counter name.

class azure.mgmt.automation.models.UsageListResult(*, value: Optional[List[Usage]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the get usage operation.

Parameters

value (list[Usage]) – Gets or sets usage.

class azure.mgmt.automation.models.Variable(*, value: Optional[str] = None, is_encrypted: Optional[bool] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters
  • 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: Optional[str] = None, description: Optional[str] = None, is_encrypted: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update variable operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the variable.

  • value (str) – Gets or sets the value of the variable.

  • description (str) – Gets or sets the description of the variable.

  • is_encrypted (bool) – Gets or sets the encrypted flag of the variable.

class azure.mgmt.automation.models.VariableListResult(*, value: Optional[List[Variable]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list variables operation.

Parameters
  • value (list[Variable]) – Gets or sets a list of variables.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.VariableUpdateParameters(*, name: Optional[str] = None, value: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update variable operation.

Parameters
  • name (str) – Gets or sets the name of the variable.

  • value (str) – Gets or sets the value of the variable.

  • description (str) – Gets or sets the description of the variable.

class azure.mgmt.automation.models.Watcher(*, etag: Optional[str] = None, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, execution_frequency_in_seconds: Optional[int] = None, script_name: Optional[str] = None, script_parameters: Optional[Dict[str, str]] = None, script_run_on: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.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.

  • 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.

Parameters
  • etag (str) – Gets or sets the etag of the resource.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • location (str) – The geo-location where the resource lives.

  • execution_frequency_in_seconds (long) – 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: Optional[List[Watcher]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list watcher operation.

Parameters
  • value (list[Watcher]) – Gets or sets a list of watchers.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.WatcherUpdateParameters(*, name: Optional[str] = None, execution_frequency_in_seconds: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

WatcherUpdateParameters.

Parameters
  • name (str) – Gets or sets the name of the resource.

  • execution_frequency_in_seconds (long) – Gets or sets the frequency at which the watcher is invoked.

class azure.mgmt.automation.models.Webhook(*, is_enabled: Optional[bool] = False, uri: Optional[str] = None, expiry_time: Optional[datetime.datetime] = None, last_invoked_time: Optional[datetime.datetime] = None, parameters: Optional[Dict[str, str]] = None, runbook: Optional[RunbookAssociationProperty] = None, run_on: Optional[str] = None, creation_time: Optional[datetime.datetime] = None, last_modified_time: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.automation.models._models_py3.Resource

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.

Parameters
  • 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: Optional[bool] = None, uri: Optional[str] = None, expiry_time: Optional[datetime.datetime] = None, parameters: Optional[Dict[str, str]] = None, runbook: Optional[RunbookAssociationProperty] = None, run_on: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the create or update webhook operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Required. Gets or sets the name of the webhook.

  • 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: Optional[List[Webhook]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The response model for the list webhook operation.

Parameters
  • value (list[Webhook]) – Gets or sets a list of webhooks.

  • next_link (str) – Gets or sets the next link.

class azure.mgmt.automation.models.WebhookUpdateParameters(*, name: Optional[str] = None, is_enabled: Optional[bool] = None, run_on: Optional[str] = None, parameters: Optional[Dict[str, str]] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters supplied to the update webhook operation.

Parameters
  • 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: Union[str, WindowsUpdateClasses, None] = None, excluded_kb_numbers: Optional[List[str]] = None, included_kb_numbers: Optional[List[str]] = None, reboot_setting: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Windows specific update configuration.

Parameters
  • included_update_classifications (str or WindowsUpdateClasses) – Update classification included in the software update configuration. A comma separated string with required values. Possible values include: “Unclassified”, “Critical”, “Security”, “UpdateRollup”, “FeaturePack”, “ServicePack”, “Definition”, “Tools”, “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.AgentRegistrationKeyName[source]

Bases: str, enum.Enum

Gets or sets the agent registration key name - primary or secondary.

PRIMARY = 'primary'
SECONDARY = 'secondary'
class azure.mgmt.automation.models.AutomationAccountState[source]

Bases: str, enum.Enum

Gets status of account.

OK = 'Ok'
SUSPENDED = 'Suspended'
UNAVAILABLE = 'Unavailable'
class azure.mgmt.automation.models.AutomationKeyName[source]

Bases: str, enum.Enum

Automation key name.

PRIMARY = 'Primary'
SECONDARY = 'Secondary'
class azure.mgmt.automation.models.AutomationKeyPermissions[source]

Bases: str, enum.Enum

Automation key permissions.

FULL = 'Full'
READ = 'Read'
class azure.mgmt.automation.models.ContentSourceType[source]

Bases: str, enum.Enum

Gets or sets the content source type.

EMBEDDED_CONTENT = 'embeddedContent'
URI = 'uri'
class azure.mgmt.automation.models.CountType[source]

Bases: str, enum.Enum

An enumeration.

NODECONFIGURATION = 'nodeconfiguration'
STATUS = 'status'
class azure.mgmt.automation.models.DscConfigurationState[source]

Bases: str, enum.Enum

Gets or sets the state of the configuration.

EDIT = 'Edit'
NEW = 'New'
PUBLISHED = 'Published'
class azure.mgmt.automation.models.GroupTypeEnum[source]

Bases: str, enum.Enum

Type of the HybridWorkerGroup.

SYSTEM = 'System'
USER = 'User'
class azure.mgmt.automation.models.HttpStatusCode[source]

Bases: str, enum.Enum

An enumeration.

ACCEPTED = 'Accepted'
AMBIGUOUS = 'Ambiguous'
BAD_GATEWAY = 'BadGateway'
BAD_REQUEST = 'BadRequest'
CONFLICT = 'Conflict'
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.JobProvisioningState[source]

Bases: str, enum.Enum

The provisioning state of the resource.

FAILED = 'Failed'
PROCESSING = 'Processing'
SUCCEEDED = 'Succeeded'
SUSPENDED = 'Suspended'
class azure.mgmt.automation.models.JobStatus[source]

Bases: str, enum.Enum

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.JobStreamType[source]

Bases: str, enum.Enum

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.LinuxUpdateClasses[source]

Bases: str, enum.Enum

Update classifications included in the software update configuration.

CRITICAL = 'Critical'
OTHER = 'Other'
SECURITY = 'Security'
UNCLASSIFIED = 'Unclassified'
class azure.mgmt.automation.models.ModuleProvisioningState[source]

Bases: str, enum.Enum

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.OperatingSystemType[source]

Bases: str, enum.Enum

Target operating system for the software update configuration.

LINUX = 'Linux'
WINDOWS = 'Windows'
class azure.mgmt.automation.models.ProvisioningState[source]

Bases: str, enum.Enum

The provisioning state of the job.

COMPLETED = 'Completed'
FAILED = 'Failed'
RUNNING = 'Running'
class azure.mgmt.automation.models.RunbookState[source]

Bases: str, enum.Enum

Gets or sets the state of the runbook.

EDIT = 'Edit'
NEW = 'New'
PUBLISHED = 'Published'
class azure.mgmt.automation.models.RunbookTypeEnum[source]

Bases: str, enum.Enum

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'
SCRIPT = 'Script'
class azure.mgmt.automation.models.ScheduleDay[source]

Bases: str, enum.Enum

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[source]

Bases: str, enum.Enum

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.SkuNameEnum[source]

Bases: str, enum.Enum

Gets or sets the SKU name of the account.

BASIC = 'Basic'
FREE = 'Free'
class azure.mgmt.automation.models.SourceType[source]

Bases: str, enum.Enum

The source type. Must be one of VsoGit, VsoTfvc, GitHub.

GIT_HUB = 'GitHub'
VSO_GIT = 'VsoGit'
VSO_TFVC = 'VsoTfvc'
class azure.mgmt.automation.models.StreamType[source]

Bases: str, enum.Enum

The type of the sync job stream.

ERROR = 'Error'
OUTPUT = 'Output'
class azure.mgmt.automation.models.SyncType[source]

Bases: str, enum.Enum

The sync type.

FULL_SYNC = 'FullSync'
PARTIAL_SYNC = 'PartialSync'
class azure.mgmt.automation.models.TagOperators[source]

Bases: str, enum.Enum

Filter VMs by Any or All specified tags.

ALL = 'All'
ANY = 'Any'
class azure.mgmt.automation.models.TokenType[source]

Bases: str, enum.Enum

The token type. Must be either PersonalAccessToken or Oauth.

OAUTH = 'Oauth'
PERSONAL_ACCESS_TOKEN = 'PersonalAccessToken'
class azure.mgmt.automation.models.WindowsUpdateClasses[source]

Bases: str, enum.Enum

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'