automation

package
v1.44.1-0...-2cd6497 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 59 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RebootSettingIfRequired = "IfRequired"
	RebootSettingNever      = "Never"
	RebootSettingAlways     = "Always"
	RebootSettingRebootOnly = "RebootOnly"

	FrequencyOneTime = "OneTime"
	FrequencyDay     = "Day"
	FrequencyHour    = "Hour"
	FrequencyWeek    = "Week"
	FrequencyMonth   = "Month"

	DaysOfWeekMonday    = "Monday"
	DaysOfWeekTuesday   = "Tuesday"
	DaysOfWeekWednesday = "Wednesday"
	DaysOfWeekThursday  = "Thursday"
	DaysOfWeekFriday    = "Friday"
	DaysOfWeekSaturday  = "Saturday"
	DaysOfWeekSunday    = "Sunday"
)

Variables

This section is empty.

Functions

func ParseAzureAutomationVariableValue

func ParseAzureAutomationVariableValue(resource string, input *string) (interface{}, error)

Types

type AutomationConnectionTypeModel

type AutomationConnectionTypeModel struct {
	ResourceGroup         string  `json:"resource_group" tfschema:"resource_group_name"`
	AutomationAccountName string  `json:"automation_account_name" tfschema:"automation_account_name"`
	Name                  string  `json:"name" tfschema:"name"`
	IsGlobal              bool    `json:"is_global" tfschema:"is_global"`
	Field                 []Field `json:"field" tfschema:"field"`
}

type AutomationConnectionTypeResource

type AutomationConnectionTypeResource struct{}

func (AutomationConnectionTypeResource) Arguments

func (AutomationConnectionTypeResource) Attributes

func (AutomationConnectionTypeResource) Create

func (AutomationConnectionTypeResource) Delete

func (AutomationConnectionTypeResource) IDValidationFunc

func (AutomationConnectionTypeResource) ModelObject

func (m AutomationConnectionTypeResource) ModelObject() interface{}

func (AutomationConnectionTypeResource) Read

func (AutomationConnectionTypeResource) ResourceType

func (m AutomationConnectionTypeResource) ResourceType() string

type AutomationPowerShell72ModuleModel

type AutomationPowerShell72ModuleModel struct {
	AutomationAccountID string                 `tfschema:"automation_account_id"`
	Name                string                 `tfschema:"name"`
	ModuleLink          []ModuleLinkModel      `tfschema:"module_link"`
	Tags                map[string]interface{} `tfschema:"tags"`
}

type AutomationRunbookDataSource

type AutomationRunbookDataSource struct{}

func (AutomationRunbookDataSource) Arguments

func (AutomationRunbookDataSource) Attributes

func (d AutomationRunbookDataSource) Attributes() map[string]*pluginsdk.Schema

func (AutomationRunbookDataSource) ModelObject

func (d AutomationRunbookDataSource) ModelObject() interface{}

func (AutomationRunbookDataSource) Read

func (AutomationRunbookDataSource) ResourceType

func (d AutomationRunbookDataSource) ResourceType() string

type AutomationRunbookDataSourceModel

type AutomationRunbookDataSourceModel struct {
	RunbookName           string            `tfschema:"name"`
	AutomationAccountName string            `tfschema:"automation_account_name"`
	ResourceGroupName     string            `tfschema:"resource_group_name"`
	Location              string            `tfschema:"location"`
	Description           string            `tfschema:"description"`
	LogProgress           bool              `tfschema:"log_progress"`
	LogVerbose            bool              `tfschema:"log_verbose"`
	RunbookType           string            `tfschema:"runbook_type"`
	LogActivityTrace      int64             `tfschema:"log_activity_trace_level"`
	Content               string            `tfschema:"content"`
	Tags                  map[string]string `tfschema:"tags "`
}

type AutomationVariablesDataSource

type AutomationVariablesDataSource struct{}

func (AutomationVariablesDataSource) Arguments

func (AutomationVariablesDataSource) Attributes

func (AutomationVariablesDataSource) IDValidationFunc

func (AutomationVariablesDataSource) ModelObject

func (v AutomationVariablesDataSource) ModelObject() interface{}

func (AutomationVariablesDataSource) Read

func (AutomationVariablesDataSource) ResourceType

func (v AutomationVariablesDataSource) ResourceType() string

type AutomationVariablesDataSourceModel

type AutomationVariablesDataSourceModel struct {
	AutomationAccountId string                     `tfschema:"automation_account_id"`
	BooleanVariables    []helper.BooleanVariable   `tfschema:"bool"`
	DateTimeVariables   []helper.DateTimeVariable  `tfschema:"datetime"`
	EncryptedVariables  []helper.EncryptedVariable `tfschema:"encrypted"`
	IntegerVariables    []helper.IntegerVariable   `tfschema:"int"`
	NullVariables       []helper.NullVariable      `tfschema:"null"`
	ObjectVariables     []helper.ObjectVariable    `tfschema:"object"`
	StringVariables     []helper.StringVariable    `tfschema:"string"`
}

type AzureQuery

type AzureQuery struct {
	Scope     []string `tfschema:"scope"`
	Locations []string `tfschema:"locations"`
	Tags      []Tag    `tfschema:"tags"`
	TagFilter string   `tfschema:"tag_filter"`
}

type Field

type Field struct {
	Name        string `tfschema:"name"`
	IsOptional  bool   `tfschema:"is_optional"`
	IsEncrypted bool   `tfschema:"is_encrypted"`
	Type        string `tfschema:"type"`
}

type HybridRunbookWorkerGroupModel

type HybridRunbookWorkerGroupModel struct {
	ResourceGroupName     string `tfschema:"resource_group_name"`
	AutomationAccountName string `tfschema:"automation_account_name"`
	Name                  string `tfschema:"name"`
	CredentialName        string `tfschema:"credential_name"`
}

type HybridRunbookWorkerGroupResource

type HybridRunbookWorkerGroupResource struct{}

func (HybridRunbookWorkerGroupResource) Arguments

func (HybridRunbookWorkerGroupResource) Attributes

func (HybridRunbookWorkerGroupResource) Create

func (HybridRunbookWorkerGroupResource) Delete

func (HybridRunbookWorkerGroupResource) IDValidationFunc

func (HybridRunbookWorkerGroupResource) ModelObject

func (m HybridRunbookWorkerGroupResource) ModelObject() interface{}

func (HybridRunbookWorkerGroupResource) Read

func (HybridRunbookWorkerGroupResource) ResourceType

func (m HybridRunbookWorkerGroupResource) ResourceType() string

func (HybridRunbookWorkerGroupResource) Update

type HybridRunbookWorkerModel

type HybridRunbookWorkerModel struct {
	ResourceGroupName     string `tfschema:"resource_group_name"`
	AutomationAccountName string `tfschema:"automation_account_name"`
	WorkerGroupName       string `tfschema:"worker_group_name"`
	WorkerName            string `tfschema:"worker_name"`
	WorkerId              string `tfschema:"worker_id"`
	VmResourceId          string `tfschema:"vm_resource_id"`
	Ip                    string `tfschema:"ip"`
	RegisteredDateTime    string `tfschema:"registration_date_time"`
	LastSeenDateTime      string `tfschema:"last_seen_date_time"`
	WorkerType            string `tfschema:"worker_type"`
}

type HybridRunbookWorkerResource

type HybridRunbookWorkerResource struct{}

func (HybridRunbookWorkerResource) Arguments

func (HybridRunbookWorkerResource) Attributes

func (m HybridRunbookWorkerResource) Attributes() map[string]*pluginsdk.Schema

func (HybridRunbookWorkerResource) Create

func (HybridRunbookWorkerResource) Delete

func (HybridRunbookWorkerResource) IDValidationFunc

func (HybridRunbookWorkerResource) ModelObject

func (m HybridRunbookWorkerResource) ModelObject() interface{}

func (HybridRunbookWorkerResource) Read

func (HybridRunbookWorkerResource) ResourceType

func (m HybridRunbookWorkerResource) ResourceType() string

type Linux

type Linux struct {
	Reboot           string   `tfschema:"reboot"`
	Classifications  []string `tfschema:"classifications_included"`
	ExcludedPackages []string `tfschema:"excluded_packages"`
	IncludedPackages []string `tfschema:"included_packages"`

	Classification string `tfschema:"classification_included,removedInNextMajorVersion"`
}

type ModuleHash

type ModuleHash struct {
	Algorithm string `tfschema:"algorithm"`
	Value     string `tfschema:"value"`
}

type ModuleLinkModel

type ModuleLinkModel struct {
	Uri  string       `tfschema:"uri"`
	Hash []ModuleHash `tfschema:"hash"`
}

type MonthlyOccurrence

type MonthlyOccurrence struct {
	Occurrence int64  `tfschema:"occurrence"`
	Day        string `tfschema:"day"`
}

type NonAzureQuery

type NonAzureQuery struct {
	FunctionAlias string `tfschema:"function_alias"`
	WorkspaceId   string `tfschema:"workspace_id"`
}

type PowerShell72ModuleResource

type PowerShell72ModuleResource struct{}

func (PowerShell72ModuleResource) Arguments

func (PowerShell72ModuleResource) Attributes

func (r PowerShell72ModuleResource) Attributes() map[string]*pluginsdk.Schema

func (PowerShell72ModuleResource) Create

func (PowerShell72ModuleResource) Delete

func (PowerShell72ModuleResource) IDValidationFunc

func (PowerShell72ModuleResource) ModelObject

func (r PowerShell72ModuleResource) ModelObject() interface{}

func (PowerShell72ModuleResource) Read

func (PowerShell72ModuleResource) ResourceType

func (r PowerShell72ModuleResource) ResourceType() string

func (PowerShell72ModuleResource) Update

type Python3PackageModel

type Python3PackageModel struct {
	Name                  string            `tfschema:"name"`
	ResourceGroupName     string            `tfschema:"resource_group_name"`
	AutomationAccountName string            `tfschema:"automation_account_name"`
	ContentUri            string            `tfschema:"content_uri"`
	ContentVersion        string            `tfschema:"content_version"`
	HashAlgorithm         string            `tfschema:"hash_algorithm"`
	HashValue             string            `tfschema:"hash_value"`
	Tags                  map[string]string `tfschema:"tags"`
}

type Python3PackageResource

type Python3PackageResource struct{}

func (Python3PackageResource) Arguments

func (m Python3PackageResource) Arguments() map[string]*pluginsdk.Schema

func (Python3PackageResource) Attributes

func (m Python3PackageResource) Attributes() map[string]*pluginsdk.Schema

func (Python3PackageResource) Create

func (Python3PackageResource) Delete

func (Python3PackageResource) IDValidationFunc

func (Python3PackageResource) ModelObject

func (m Python3PackageResource) ModelObject() interface{}

func (Python3PackageResource) Read

func (Python3PackageResource) ResourceType

func (m Python3PackageResource) ResourceType() string

func (Python3PackageResource) Update

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type Schedule

type Schedule struct {
	Description             string              `tfschema:"description"`
	StartTime               string              `tfschema:"start_time"`
	StartTimeOffsetMinutes  float64             `tfschema:"start_time_offset_minutes"`
	ExpiryTime              string              `tfschema:"expiry_time"`
	ExpiryTimeOffsetMinutes float64             `tfschema:"expiry_time_offset_minutes"`
	IsEnabled               bool                `tfschema:"is_enabled"`
	NextRun                 string              `tfschema:"next_run"`
	NextRunOffsetMinutes    float64             `tfschema:"next_run_offset_minutes"`
	Interval                int64               `tfschema:"interval"`
	Frequency               string              `tfschema:"frequency"`
	CreationTime            string              `tfschema:"creation_time"`
	LastModifiedTime        string              `tfschema:"last_modified_time"`
	TimeZone                string              `tfschema:"time_zone"`
	AdvancedWeekDays        []string            `tfschema:"advanced_week_days"`
	AdvancedMonthDays       []int64             `tfschema:"advanced_month_days"`
	MonthlyOccurrence       []MonthlyOccurrence `tfschema:"monthly_occurrence"`
}

type Security

type Security struct {
	Token        string `tfschema:"token"`
	RefreshToken string `tfschema:"refresh_token"`
	TokenType    string `tfschema:"token_type"`
}

type SoftwareUpdateConfigurationModel

type SoftwareUpdateConfigurationModel struct {
	AutomationAccountID   string       `tfschema:"automation_account_id"`
	Name                  string       `tfschema:"name"`
	ErrorCode             string       `tfschema:"error_code"`
	ErrorMeesage          string       `tfschema:"error_meesage,removedInNextMajorVersion"`
	ErrorMessage          string       `tfschema:"error_message"`
	OperatingSystem       string       `tfschema:"operating_system,removedInNextMajorVersion"`
	Linux                 []Linux      `tfschema:"linux"`
	Windows               []Windows    `tfschema:"windows"`
	Duration              string       `tfschema:"duration"`
	VirtualMachines       []string     `tfschema:"virtual_machine_ids"`
	NonAzureComputerNames []string     `tfschema:"non_azure_computer_names"`
	Targets               []Target     `tfschema:"target"`
	Schedule              []Schedule   `tfschema:"schedule"`
	PreTask               []UpdateTask `tfschema:"pre_task"`
	PostTask              []UpdateTask `tfschema:"post_task"`
}

type SoftwareUpdateConfigurationResource

type SoftwareUpdateConfigurationResource struct{}

func (SoftwareUpdateConfigurationResource) Arguments

func (SoftwareUpdateConfigurationResource) Attributes

func (SoftwareUpdateConfigurationResource) Create

func (SoftwareUpdateConfigurationResource) Delete

func (SoftwareUpdateConfigurationResource) IDValidationFunc

func (SoftwareUpdateConfigurationResource) ModelObject

func (m SoftwareUpdateConfigurationResource) ModelObject() interface{}

func (SoftwareUpdateConfigurationResource) Read

func (SoftwareUpdateConfigurationResource) ResourceType

func (SoftwareUpdateConfigurationResource) Update

type SourceControlModel

type SourceControlModel struct {
	AutomationAccountID string     `tfschema:"automation_account_id"`
	Name                string     `tfschema:"name"`
	RepoURL             string     `tfschema:"repository_url"`
	Branch              string     `tfschema:"branch"`
	FolderPath          string     `tfschema:"folder_path"`
	AutoSync            bool       `tfschema:"automatic_sync"`
	PublishRunbook      bool       `tfschema:"publish_runbook_enabled"`
	SourceType          string     `tfschema:"source_control_type"`
	Description         string     `tfschema:"description"`
	SecurityToken       []Security `tfschema:"security"`
}

type SourceControlResource

type SourceControlResource struct{}

func (SourceControlResource) Arguments

func (m SourceControlResource) Arguments() map[string]*pluginsdk.Schema

func (SourceControlResource) Attributes

func (m SourceControlResource) Attributes() map[string]*pluginsdk.Schema

func (SourceControlResource) Create

func (SourceControlResource) Delete

func (SourceControlResource) IDValidationFunc

func (m SourceControlResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (SourceControlResource) ModelObject

func (m SourceControlResource) ModelObject() interface{}

func (SourceControlResource) Read

func (SourceControlResource) ResourceType

func (m SourceControlResource) ResourceType() string

func (SourceControlResource) StateUpgraders

func (r SourceControlResource) StateUpgraders() sdk.StateUpgradeData

func (SourceControlResource) Update

type Tag

type Tag struct {
	Tag    string   `tfschema:"tag"`
	Values []string `tfschema:"values"`
}

type Target

type Target struct {
	AzureQueries    []AzureQuery    `tfschema:"azure_query"`
	NonAzureQueries []NonAzureQuery `tfschema:"non_azure_query"`
}

type UpdateTask

type UpdateTask struct {
	Source     string            `tfschema:"source"`
	Parameters map[string]string `tfschema:"parameters"`
}

type WatcherModel

type WatcherModel struct {
	AutomationAccountID         string                 `tfschema:"automation_account_id"`
	Name                        string                 `tfschema:"name"`
	Location                    string                 `tfschema:"location"`
	Tags                        map[string]interface{} `tfschema:"tags"`
	Etag                        string                 `tfschema:"etag"`
	ExecutionFrequencyInSeconds int64                  `tfschema:"execution_frequency_in_seconds"`
	ScriptName                  string                 `tfschema:"script_name"`
	ScriptParameters            map[string]interface{} `tfschema:"script_parameters"`
	ScriptRunOn                 string                 `tfschema:"script_run_on"`
	Description                 string                 `tfschema:"description"`
	Status                      string                 `tfschema:"status"`
}

type WatcherResource

type WatcherResource struct{}

func (WatcherResource) Arguments

func (m WatcherResource) Arguments() map[string]*pluginsdk.Schema

func (WatcherResource) Attributes

func (m WatcherResource) Attributes() map[string]*pluginsdk.Schema

func (WatcherResource) Create

func (m WatcherResource) Create() sdk.ResourceFunc

func (WatcherResource) Delete

func (m WatcherResource) Delete() sdk.ResourceFunc

func (WatcherResource) IDValidationFunc

func (m WatcherResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (WatcherResource) ModelObject

func (m WatcherResource) ModelObject() interface{}

func (WatcherResource) Read

func (m WatcherResource) Read() sdk.ResourceFunc

func (WatcherResource) ResourceType

func (m WatcherResource) ResourceType() string

func (WatcherResource) Update

func (m WatcherResource) Update() sdk.ResourceFunc

type Windows

type Windows struct {
	Classifications []string `tfschema:"classifications_included"`
	ExcludedKbs     []string `tfschema:"excluded_knowledge_base_numbers"`
	IncludedKbs     []string `tfschema:"included_knowledge_base_numbers"`
	RebootSetting   string   `tfschema:"reboot"`

	Classification string `tfschema:"classification_included,removedInNextMajorVersion"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL