automation

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// The Primary Access Key for the DSC Endpoint associated with this Automation Account.
	DscPrimaryAccessKey pulumi.StringOutput `pulumi:"dscPrimaryAccessKey"`
	// The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
	DscSecondaryAccessKey pulumi.StringOutput `pulumi:"dscSecondaryAccessKey"`
	// The DSC Server Endpoint associated with this Automation Account.
	DscServerEndpoint pulumi.StringOutput `pulumi:"dscServerEndpoint"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// ) A `sku` block as described below.
	Sku AccountSkuOutput `pulumi:"sku"`
	// The SKU name of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_account.html.markdown.

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

type AccountArgs

type AccountArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// ) A `sku` block as described below.
	Sku AccountSkuPtrInput
	// The SKU name of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType added in v1.12.0

func (AccountArgs) ElementType() reflect.Type

type AccountSku added in v1.12.0

type AccountSku struct {
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name *string `pulumi:"name"`
}

type AccountSkuArgs added in v1.12.0

type AccountSkuArgs struct {
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (AccountSkuArgs) ElementType added in v1.12.0

func (AccountSkuArgs) ElementType() reflect.Type

func (AccountSkuArgs) ToAccountSkuOutput added in v1.12.0

func (i AccountSkuArgs) ToAccountSkuOutput() AccountSkuOutput

func (AccountSkuArgs) ToAccountSkuOutputWithContext added in v1.12.0

func (i AccountSkuArgs) ToAccountSkuOutputWithContext(ctx context.Context) AccountSkuOutput

func (AccountSkuArgs) ToAccountSkuPtrOutput added in v1.12.0

func (i AccountSkuArgs) ToAccountSkuPtrOutput() AccountSkuPtrOutput

func (AccountSkuArgs) ToAccountSkuPtrOutputWithContext added in v1.12.0

func (i AccountSkuArgs) ToAccountSkuPtrOutputWithContext(ctx context.Context) AccountSkuPtrOutput

type AccountSkuInput added in v1.12.0

type AccountSkuInput interface {
	pulumi.Input

	ToAccountSkuOutput() AccountSkuOutput
	ToAccountSkuOutputWithContext(context.Context) AccountSkuOutput
}

type AccountSkuOutput added in v1.12.0

type AccountSkuOutput struct{ *pulumi.OutputState }

func (AccountSkuOutput) ElementType added in v1.12.0

func (AccountSkuOutput) ElementType() reflect.Type

func (AccountSkuOutput) Name added in v1.12.0

Specifies the name of the Automation Account. Changing this forces a new resource to be created.

func (AccountSkuOutput) ToAccountSkuOutput added in v1.12.0

func (o AccountSkuOutput) ToAccountSkuOutput() AccountSkuOutput

func (AccountSkuOutput) ToAccountSkuOutputWithContext added in v1.12.0

func (o AccountSkuOutput) ToAccountSkuOutputWithContext(ctx context.Context) AccountSkuOutput

func (AccountSkuOutput) ToAccountSkuPtrOutput added in v1.12.0

func (o AccountSkuOutput) ToAccountSkuPtrOutput() AccountSkuPtrOutput

func (AccountSkuOutput) ToAccountSkuPtrOutputWithContext added in v1.12.0

func (o AccountSkuOutput) ToAccountSkuPtrOutputWithContext(ctx context.Context) AccountSkuPtrOutput

type AccountSkuPtrInput added in v1.12.0

type AccountSkuPtrInput interface {
	pulumi.Input

	ToAccountSkuPtrOutput() AccountSkuPtrOutput
	ToAccountSkuPtrOutputWithContext(context.Context) AccountSkuPtrOutput
}

func AccountSkuPtr added in v1.12.0

func AccountSkuPtr(v *AccountSkuArgs) AccountSkuPtrInput

type AccountSkuPtrOutput added in v1.12.0

type AccountSkuPtrOutput struct{ *pulumi.OutputState }

func (AccountSkuPtrOutput) Elem added in v1.12.0

func (AccountSkuPtrOutput) ElementType added in v1.12.0

func (AccountSkuPtrOutput) ElementType() reflect.Type

func (AccountSkuPtrOutput) Name added in v1.12.0

Specifies the name of the Automation Account. Changing this forces a new resource to be created.

func (AccountSkuPtrOutput) ToAccountSkuPtrOutput added in v1.12.0

func (o AccountSkuPtrOutput) ToAccountSkuPtrOutput() AccountSkuPtrOutput

func (AccountSkuPtrOutput) ToAccountSkuPtrOutputWithContext added in v1.12.0

func (o AccountSkuPtrOutput) ToAccountSkuPtrOutputWithContext(ctx context.Context) AccountSkuPtrOutput

type AccountState

type AccountState struct {
	// The Primary Access Key for the DSC Endpoint associated with this Automation Account.
	DscPrimaryAccessKey pulumi.StringPtrInput
	// The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
	DscSecondaryAccessKey pulumi.StringPtrInput
	// The DSC Server Endpoint associated with this Automation Account.
	DscServerEndpoint pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// ) A `sku` block as described below.
	Sku AccountSkuPtrInput
	// The SKU name of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType added in v1.12.0

func (AccountState) ElementType() reflect.Type

type BoolVariable added in v0.18.3

type BoolVariable struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"`
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The value of the Automation Variable as a `boolean`.
	Value pulumi.BoolPtrOutput `pulumi:"value"`
}

Manages a boolean variable in Azure Automation

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_variable_bool.html.markdown.

func GetBoolVariable added in v0.18.3

func GetBoolVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoolVariableState, opts ...pulumi.ResourceOption) (*BoolVariable, error)

GetBoolVariable gets an existing BoolVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBoolVariable added in v0.18.3

func NewBoolVariable(ctx *pulumi.Context,
	name string, args *BoolVariableArgs, opts ...pulumi.ResourceOption) (*BoolVariable, error)

NewBoolVariable registers a new resource with the given unique name, arguments, and options.

type BoolVariableArgs added in v0.18.3

type BoolVariableArgs struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The value of the Automation Variable as a `boolean`.
	Value pulumi.BoolPtrInput
}

The set of arguments for constructing a BoolVariable resource.

func (BoolVariableArgs) ElementType added in v1.12.0

func (BoolVariableArgs) ElementType() reflect.Type

type BoolVariableState added in v0.18.3

type BoolVariableState struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The value of the Automation Variable as a `boolean`.
	Value pulumi.BoolPtrInput
}

func (BoolVariableState) ElementType added in v1.12.0

func (BoolVariableState) ElementType() reflect.Type

type Certificate added in v1.10.0

type Certificate struct {
	pulumi.CustomResourceState

	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// Base64 encoded value of the certificate.
	Base64 pulumi.StringOutput `pulumi:"base64"`
	// The description of this Automation Certificate.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	Exportable  pulumi.BoolOutput      `pulumi:"exportable"`
	// Specifies the name of the Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The thumbprint for the certificate.
	Thumbprint pulumi.StringOutput `pulumi:"thumbprint"`
}

Manages an Automation Certificate.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_certificate.html.markdown.

func GetCertificate added in v1.10.0

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificate added in v1.10.0

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

NewCertificate registers a new resource with the given unique name, arguments, and options.

type CertificateArgs added in v1.10.0

type CertificateArgs struct {
	AutomationAccountName pulumi.StringInput
	// Base64 encoded value of the certificate.
	Base64 pulumi.StringInput
	// The description of this Automation Certificate.
	Description pulumi.StringPtrInput
	// Specifies the name of the Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType added in v1.12.0

func (CertificateArgs) ElementType() reflect.Type

type CertificateState added in v1.10.0

type CertificateState struct {
	AutomationAccountName pulumi.StringPtrInput
	// Base64 encoded value of the certificate.
	Base64 pulumi.StringPtrInput
	// The description of this Automation Certificate.
	Description pulumi.StringPtrInput
	Exportable  pulumi.BoolPtrInput
	// Specifies the name of the Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The thumbprint for the certificate.
	Thumbprint pulumi.StringPtrInput
}

func (CertificateState) ElementType added in v1.12.0

func (CertificateState) ElementType() reflect.Type

type Credential

type Credential struct {
	pulumi.CustomResourceState

	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The description associated with this Automation Credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the name of the Credential. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password associated with this Automation Credential.
	Password pulumi.StringOutput `pulumi:"password"`
	// The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The username associated with this Automation Credential.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a Automation Credential.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_credential.html.markdown.

func GetCredential

func GetCredential(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CredentialState, opts ...pulumi.ResourceOption) (*Credential, error)

GetCredential gets an existing Credential resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCredential

func NewCredential(ctx *pulumi.Context,
	name string, args *CredentialArgs, opts ...pulumi.ResourceOption) (*Credential, error)

NewCredential registers a new resource with the given unique name, arguments, and options.

type CredentialArgs

type CredentialArgs struct {
	AccountName pulumi.StringPtrInput
	// The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The description associated with this Automation Credential.
	Description pulumi.StringPtrInput
	// Specifies the name of the Credential. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password associated with this Automation Credential.
	Password pulumi.StringInput
	// The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The username associated with this Automation Credential.
	Username pulumi.StringInput
}

The set of arguments for constructing a Credential resource.

func (CredentialArgs) ElementType added in v1.12.0

func (CredentialArgs) ElementType() reflect.Type

type CredentialState

type CredentialState struct {
	AccountName pulumi.StringPtrInput
	// The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The description associated with this Automation Credential.
	Description pulumi.StringPtrInput
	// Specifies the name of the Credential. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password associated with this Automation Credential.
	Password pulumi.StringPtrInput
	// The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The username associated with this Automation Credential.
	Username pulumi.StringPtrInput
}

func (CredentialState) ElementType added in v1.12.0

func (CredentialState) ElementType() reflect.Type

type DateTimeVariable added in v0.18.3

type DateTimeVariable struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"`
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The value of the Automation Variable in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6).
	Value pulumi.StringPtrOutput `pulumi:"value"`
}

Manages a DateTime variable in Azure Automation

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_variable_datetime.html.markdown.

func GetDateTimeVariable added in v0.18.3

func GetDateTimeVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DateTimeVariableState, opts ...pulumi.ResourceOption) (*DateTimeVariable, error)

GetDateTimeVariable gets an existing DateTimeVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDateTimeVariable added in v0.18.3

func NewDateTimeVariable(ctx *pulumi.Context,
	name string, args *DateTimeVariableArgs, opts ...pulumi.ResourceOption) (*DateTimeVariable, error)

NewDateTimeVariable registers a new resource with the given unique name, arguments, and options.

type DateTimeVariableArgs added in v0.18.3

type DateTimeVariableArgs struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The value of the Automation Variable in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6).
	Value pulumi.StringPtrInput
}

The set of arguments for constructing a DateTimeVariable resource.

func (DateTimeVariableArgs) ElementType added in v1.12.0

func (DateTimeVariableArgs) ElementType() reflect.Type

type DateTimeVariableState added in v0.18.3

type DateTimeVariableState struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The value of the Automation Variable in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6).
	Value pulumi.StringPtrInput
}

func (DateTimeVariableState) ElementType added in v1.12.0

func (DateTimeVariableState) ElementType() reflect.Type

type DscConfiguration added in v0.16.2

type DscConfiguration struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The PowerShell DSC Configuration script.
	ContentEmbedded pulumi.StringOutput `pulumi:"contentEmbedded"`
	// Description to go with DSC Configuration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Must be the same location as the Automation Account.
	Location pulumi.StringOutput `pulumi:"location"`
	// Verbose log option.
	LogVerbose pulumi.BoolPtrOutput `pulumi:"logVerbose"`
	// Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	State             pulumi.StringOutput `pulumi:"state"`
}

Manages a Automation DSC Configuration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_dsc_configuration.html.markdown.

func GetDscConfiguration added in v0.16.2

func GetDscConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DscConfigurationState, opts ...pulumi.ResourceOption) (*DscConfiguration, error)

GetDscConfiguration gets an existing DscConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDscConfiguration added in v0.16.2

func NewDscConfiguration(ctx *pulumi.Context,
	name string, args *DscConfigurationArgs, opts ...pulumi.ResourceOption) (*DscConfiguration, error)

NewDscConfiguration registers a new resource with the given unique name, arguments, and options.

type DscConfigurationArgs added in v0.16.2

type DscConfigurationArgs struct {
	// The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The PowerShell DSC Configuration script.
	ContentEmbedded pulumi.StringInput
	// Description to go with DSC Configuration.
	Description pulumi.StringPtrInput
	// Must be the same location as the Automation Account.
	Location pulumi.StringPtrInput
	// Verbose log option.
	LogVerbose pulumi.BoolPtrInput
	// Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a DscConfiguration resource.

func (DscConfigurationArgs) ElementType added in v1.12.0

func (DscConfigurationArgs) ElementType() reflect.Type

type DscConfigurationState added in v0.16.2

type DscConfigurationState struct {
	// The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The PowerShell DSC Configuration script.
	ContentEmbedded pulumi.StringPtrInput
	// Description to go with DSC Configuration.
	Description pulumi.StringPtrInput
	// Must be the same location as the Automation Account.
	Location pulumi.StringPtrInput
	// Verbose log option.
	LogVerbose pulumi.BoolPtrInput
	// Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	State             pulumi.StringPtrInput
}

func (DscConfigurationState) ElementType added in v1.12.0

func (DscConfigurationState) ElementType() reflect.Type

type DscNodeConfiguration added in v0.16.2

type DscNodeConfiguration struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	ConfigurationName     pulumi.StringOutput `pulumi:"configurationName"`
	// The PowerShell DSC Node Configuration (mof content).
	ContentEmbedded pulumi.StringOutput `pulumi:"contentEmbedded"`
	// Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Automation DSC Node Configuration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_dsc_nodeconfiguration.html.markdown.

func GetDscNodeConfiguration added in v0.16.2

func GetDscNodeConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DscNodeConfigurationState, opts ...pulumi.ResourceOption) (*DscNodeConfiguration, error)

GetDscNodeConfiguration gets an existing DscNodeConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDscNodeConfiguration added in v0.16.2

func NewDscNodeConfiguration(ctx *pulumi.Context,
	name string, args *DscNodeConfigurationArgs, opts ...pulumi.ResourceOption) (*DscNodeConfiguration, error)

NewDscNodeConfiguration registers a new resource with the given unique name, arguments, and options.

type DscNodeConfigurationArgs added in v0.16.2

type DscNodeConfigurationArgs struct {
	// The name of the automation account in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The PowerShell DSC Node Configuration (mof content).
	ContentEmbedded pulumi.StringInput
	// Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a DscNodeConfiguration resource.

func (DscNodeConfigurationArgs) ElementType added in v1.12.0

func (DscNodeConfigurationArgs) ElementType() reflect.Type

type DscNodeConfigurationState added in v0.16.2

type DscNodeConfigurationState struct {
	// The name of the automation account in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	ConfigurationName     pulumi.StringPtrInput
	// The PowerShell DSC Node Configuration (mof content).
	ContentEmbedded pulumi.StringPtrInput
	// Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (DscNodeConfigurationState) ElementType added in v1.12.0

func (DscNodeConfigurationState) ElementType() reflect.Type

type IntVariable added in v0.18.3

type IntVariable struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"`
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The value of the Automation Variable as a `integer`.
	Value pulumi.IntPtrOutput `pulumi:"value"`
}

Manages a integer variable in Azure Automation

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_variable_int.html.markdown.

func GetIntVariable added in v0.18.3

func GetIntVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntVariableState, opts ...pulumi.ResourceOption) (*IntVariable, error)

GetIntVariable gets an existing IntVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIntVariable added in v0.18.3

func NewIntVariable(ctx *pulumi.Context,
	name string, args *IntVariableArgs, opts ...pulumi.ResourceOption) (*IntVariable, error)

NewIntVariable registers a new resource with the given unique name, arguments, and options.

type IntVariableArgs added in v0.18.3

type IntVariableArgs struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The value of the Automation Variable as a `integer`.
	Value pulumi.IntPtrInput
}

The set of arguments for constructing a IntVariable resource.

func (IntVariableArgs) ElementType added in v1.12.0

func (IntVariableArgs) ElementType() reflect.Type

type IntVariableState added in v0.18.3

type IntVariableState struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The value of the Automation Variable as a `integer`.
	Value pulumi.IntPtrInput
}

func (IntVariableState) ElementType added in v1.12.0

func (IntVariableState) ElementType() reflect.Type

type JobSchedule added in v1.3.1

type JobSchedule struct {
	pulumi.CustomResourceState

	// The name of the Automation Account in which the Job Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The UUID identifying the Automation Job Schedule.
	JobScheduleId pulumi.StringOutput `pulumi:"jobScheduleId"`
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook. Changing this forces a new resource to be created.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.
	RunOn pulumi.StringPtrOutput `pulumi:"runOn"`
	// The name of a Runbook to link to a Schedule. It needs to be in the same Automation Account as the Schedule and Job Schedule. Changing this forces a new resource to be created.
	RunbookName  pulumi.StringOutput `pulumi:"runbookName"`
	ScheduleName pulumi.StringOutput `pulumi:"scheduleName"`
}

Links an Automation Runbook and Schedule.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_job_schedule.html.markdown.

func GetJobSchedule added in v1.3.1

func GetJobSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobScheduleState, opts ...pulumi.ResourceOption) (*JobSchedule, error)

GetJobSchedule gets an existing JobSchedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobSchedule added in v1.3.1

func NewJobSchedule(ctx *pulumi.Context,
	name string, args *JobScheduleArgs, opts ...pulumi.ResourceOption) (*JobSchedule, error)

NewJobSchedule registers a new resource with the given unique name, arguments, and options.

type JobScheduleArgs added in v1.3.1

type JobScheduleArgs struct {
	// The name of the Automation Account in which the Job Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The UUID identifying the Automation Job Schedule.
	JobScheduleId pulumi.StringPtrInput
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook. Changing this forces a new resource to be created.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.
	RunOn pulumi.StringPtrInput
	// The name of a Runbook to link to a Schedule. It needs to be in the same Automation Account as the Schedule and Job Schedule. Changing this forces a new resource to be created.
	RunbookName  pulumi.StringInput
	ScheduleName pulumi.StringInput
}

The set of arguments for constructing a JobSchedule resource.

func (JobScheduleArgs) ElementType added in v1.12.0

func (JobScheduleArgs) ElementType() reflect.Type

type JobScheduleState added in v1.3.1

type JobScheduleState struct {
	// The name of the Automation Account in which the Job Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The UUID identifying the Automation Job Schedule.
	JobScheduleId pulumi.StringPtrInput
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook. Changing this forces a new resource to be created.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.
	RunOn pulumi.StringPtrInput
	// The name of a Runbook to link to a Schedule. It needs to be in the same Automation Account as the Schedule and Job Schedule. Changing this forces a new resource to be created.
	RunbookName  pulumi.StringPtrInput
	ScheduleName pulumi.StringPtrInput
}

func (JobScheduleState) ElementType added in v1.12.0

func (JobScheduleState) ElementType() reflect.Type

type LookupAccountArgs added in v1.12.0

type LookupAccountArgs struct {
	// The name of the Automation Account.
	Name string `pulumi:"name"`
	// Specifies the name of the Resource Group where the Automation Account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

type LookupAccountResult added in v1.12.0

type LookupAccountResult struct {
	// The Endpoint for this Auomation Account.
	Endpoint string `pulumi:"endpoint"`
	// id is the provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The Primary Access Key for the Automation Account.
	PrimaryKey        string `pulumi:"primaryKey"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The Secondary Access Key for the Automation Account.
	SecondaryKey string `pulumi:"secondaryKey"`
}

A collection of values returned by getAccount.

func LookupAccount added in v1.5.0

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

Use this data source to access information about an existing Automation Account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/automation_account.html.markdown.

type LookupBoolVariableArgs added in v1.12.0

type LookupBoolVariableArgs struct {
	// The name of the automation account in which the Automation Variable exists.
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the automation account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getBoolVariable.

type LookupBoolVariableResult added in v1.12.0

type LookupBoolVariableResult struct {
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted bool `pulumi:"encrypted"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The value of the Automation Variable as a `boolean`.
	Value bool `pulumi:"value"`
}

A collection of values returned by getBoolVariable.

func LookupBoolVariable added in v0.18.3

func LookupBoolVariable(ctx *pulumi.Context, args *LookupBoolVariableArgs, opts ...pulumi.InvokeOption) (*LookupBoolVariableResult, error)

Use this data source to access information about an existing Automation Bool Variable.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/automation_variable_bool.html.markdown.

type LookupDateTimeVariableArgs added in v1.12.0

type LookupDateTimeVariableArgs struct {
	// The name of the automation account in which the Automation Variable exists.
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the automation account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getDateTimeVariable.

type LookupDateTimeVariableResult added in v1.12.0

type LookupDateTimeVariableResult struct {
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted bool `pulumi:"encrypted"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The value of the Automation Variable in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6).
	Value string `pulumi:"value"`
}

A collection of values returned by getDateTimeVariable.

func LookupDateTimeVariable added in v0.18.3

func LookupDateTimeVariable(ctx *pulumi.Context, args *LookupDateTimeVariableArgs, opts ...pulumi.InvokeOption) (*LookupDateTimeVariableResult, error)

Use this data source to access information about an existing Automation Datetime Variable.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/automation_variable_datetime.html.markdown.

type LookupIntVariableArgs added in v1.12.0

type LookupIntVariableArgs struct {
	// The name of the automation account in which the Automation Variable exists.
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the automation account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getIntVariable.

type LookupIntVariableResult added in v1.12.0

type LookupIntVariableResult struct {
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted bool `pulumi:"encrypted"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The value of the Automation Variable as a `integer`.
	Value int `pulumi:"value"`
}

A collection of values returned by getIntVariable.

func LookupIntVariable added in v0.18.3

func LookupIntVariable(ctx *pulumi.Context, args *LookupIntVariableArgs, opts ...pulumi.InvokeOption) (*LookupIntVariableResult, error)

Use this data source to access information about an existing Automation Int Variable.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/automation_variable_int.html.markdown.

type LookupStringVariableArgs added in v1.12.0

type LookupStringVariableArgs struct {
	// The name of the automation account in which the Automation Variable exists.
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the automation account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getStringVariable.

type LookupStringVariableResult added in v1.12.0

type LookupStringVariableResult struct {
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted bool `pulumi:"encrypted"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The value of the Automation Variable as a `string`.
	Value string `pulumi:"value"`
}

A collection of values returned by getStringVariable.

func LookupStringVariable added in v0.18.3

func LookupStringVariable(ctx *pulumi.Context, args *LookupStringVariableArgs, opts ...pulumi.InvokeOption) (*LookupStringVariableResult, error)

Use this data source to access information about an existing Automation String Variable.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/automation_variable_string.html.markdown.

type Module added in v0.16.2

type Module struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The published Module link.
	ModuleLink ModuleModuleLinkOutput `pulumi:"moduleLink"`
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Automation Module.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_module.html.markdown.

func GetModule added in v0.16.2

func GetModule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ModuleState, opts ...pulumi.ResourceOption) (*Module, error)

GetModule gets an existing Module resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewModule added in v0.16.2

func NewModule(ctx *pulumi.Context,
	name string, args *ModuleArgs, opts ...pulumi.ResourceOption) (*Module, error)

NewModule registers a new resource with the given unique name, arguments, and options.

type ModuleArgs added in v0.16.2

type ModuleArgs struct {
	// The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The published Module link.
	ModuleLink ModuleModuleLinkInput
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Module resource.

func (ModuleArgs) ElementType added in v1.12.0

func (ModuleArgs) ElementType() reflect.Type
type ModuleModuleLink struct {
	Hash *ModuleModuleLinkHash `pulumi:"hash"`
	// The uri of the module content (zip or nupkg).
	Uri string `pulumi:"uri"`
}

type ModuleModuleLinkArgs added in v1.12.0

type ModuleModuleLinkArgs struct {
	Hash ModuleModuleLinkHashPtrInput `pulumi:"hash"`
	// The uri of the module content (zip or nupkg).
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (ModuleModuleLinkArgs) ElementType added in v1.12.0

func (ModuleModuleLinkArgs) ElementType() reflect.Type

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutput added in v1.12.0

func (i ModuleModuleLinkArgs) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutputWithContext added in v1.12.0

func (i ModuleModuleLinkArgs) ToModuleModuleLinkOutputWithContext(ctx context.Context) ModuleModuleLinkOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput added in v1.12.0

func (i ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutputWithContext added in v1.12.0

func (i ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutputWithContext(ctx context.Context) ModuleModuleLinkPtrOutput

type ModuleModuleLinkHash added in v1.12.0

type ModuleModuleLinkHash struct {
	Algorithm string `pulumi:"algorithm"`
	Value     string `pulumi:"value"`
}

type ModuleModuleLinkHashArgs added in v1.12.0

type ModuleModuleLinkHashArgs struct {
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	Value     pulumi.StringInput `pulumi:"value"`
}

func (ModuleModuleLinkHashArgs) ElementType added in v1.12.0

func (ModuleModuleLinkHashArgs) ElementType() reflect.Type

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput added in v1.12.0

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutputWithContext added in v1.12.0

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutputWithContext(ctx context.Context) ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput added in v1.12.0

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutputWithContext added in v1.12.0

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutputWithContext(ctx context.Context) ModuleModuleLinkHashPtrOutput

type ModuleModuleLinkHashInput added in v1.12.0

type ModuleModuleLinkHashInput interface {
	pulumi.Input

	ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput
	ToModuleModuleLinkHashOutputWithContext(context.Context) ModuleModuleLinkHashOutput
}

type ModuleModuleLinkHashOutput added in v1.12.0

type ModuleModuleLinkHashOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashOutput) Algorithm added in v1.12.0

func (ModuleModuleLinkHashOutput) ElementType added in v1.12.0

func (ModuleModuleLinkHashOutput) ElementType() reflect.Type

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput added in v1.12.0

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutputWithContext added in v1.12.0

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutputWithContext(ctx context.Context) ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput added in v1.12.0

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutputWithContext added in v1.12.0

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutputWithContext(ctx context.Context) ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashOutput) Value added in v1.12.0

type ModuleModuleLinkHashPtrInput added in v1.12.0

type ModuleModuleLinkHashPtrInput interface {
	pulumi.Input

	ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput
	ToModuleModuleLinkHashPtrOutputWithContext(context.Context) ModuleModuleLinkHashPtrOutput
}

func ModuleModuleLinkHashPtr added in v1.12.0

func ModuleModuleLinkHashPtr(v *ModuleModuleLinkHashArgs) ModuleModuleLinkHashPtrInput

type ModuleModuleLinkHashPtrOutput added in v1.12.0

type ModuleModuleLinkHashPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashPtrOutput) Algorithm added in v1.12.0

func (ModuleModuleLinkHashPtrOutput) Elem added in v1.12.0

func (ModuleModuleLinkHashPtrOutput) ElementType added in v1.12.0

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput added in v1.12.0

func (o ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutputWithContext added in v1.12.0

func (o ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutputWithContext(ctx context.Context) ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashPtrOutput) Value added in v1.12.0

type ModuleModuleLinkInput added in v1.12.0

type ModuleModuleLinkInput interface {
	pulumi.Input

	ToModuleModuleLinkOutput() ModuleModuleLinkOutput
	ToModuleModuleLinkOutputWithContext(context.Context) ModuleModuleLinkOutput
}

type ModuleModuleLinkOutput added in v1.12.0

type ModuleModuleLinkOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkOutput) ElementType added in v1.12.0

func (ModuleModuleLinkOutput) ElementType() reflect.Type

func (ModuleModuleLinkOutput) Hash added in v1.12.0

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutput added in v1.12.0

func (o ModuleModuleLinkOutput) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutputWithContext added in v1.12.0

func (o ModuleModuleLinkOutput) ToModuleModuleLinkOutputWithContext(ctx context.Context) ModuleModuleLinkOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput added in v1.12.0

func (o ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutputWithContext added in v1.12.0

func (o ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutputWithContext(ctx context.Context) ModuleModuleLinkPtrOutput

func (ModuleModuleLinkOutput) Uri added in v1.12.0

The uri of the module content (zip or nupkg).

type ModuleModuleLinkPtrInput added in v1.12.0

type ModuleModuleLinkPtrInput interface {
	pulumi.Input

	ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput
	ToModuleModuleLinkPtrOutputWithContext(context.Context) ModuleModuleLinkPtrOutput
}

func ModuleModuleLinkPtr added in v1.12.0

func ModuleModuleLinkPtr(v *ModuleModuleLinkArgs) ModuleModuleLinkPtrInput

type ModuleModuleLinkPtrOutput added in v1.12.0

type ModuleModuleLinkPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkPtrOutput) Elem added in v1.12.0

func (ModuleModuleLinkPtrOutput) ElementType added in v1.12.0

func (ModuleModuleLinkPtrOutput) ElementType() reflect.Type

func (ModuleModuleLinkPtrOutput) Hash added in v1.12.0

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput added in v1.12.0

func (o ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutputWithContext added in v1.12.0

func (o ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutputWithContext(ctx context.Context) ModuleModuleLinkPtrOutput

func (ModuleModuleLinkPtrOutput) Uri added in v1.12.0

The uri of the module content (zip or nupkg).

type ModuleState added in v0.16.2

type ModuleState struct {
	// The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The published Module link.
	ModuleLink ModuleModuleLinkPtrInput
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ModuleState) ElementType added in v1.12.0

func (ModuleState) ElementType() reflect.Type

type RunBook

type RunBook struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The desired content of the runbook.
	Content pulumi.StringOutput `pulumi:"content"`
	// A description for this credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Progress log option.
	LogProgress pulumi.BoolOutput `pulumi:"logProgress"`
	// Verbose log option.
	LogVerbose pulumi.BoolOutput `pulumi:"logVerbose"`
	// Specifies the name of the Runbook. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The published runbook content link.
	PublishContentLink RunBookPublishContentLinkOutput `pulumi:"publishContentLink"`
	// The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell` or `Script`.
	RunbookType pulumi.StringOutput `pulumi:"runbookType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Runbook.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_runbook.html.markdown.

func GetRunBook

func GetRunBook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RunBookState, opts ...pulumi.ResourceOption) (*RunBook, error)

GetRunBook gets an existing RunBook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRunBook

func NewRunBook(ctx *pulumi.Context,
	name string, args *RunBookArgs, opts ...pulumi.ResourceOption) (*RunBook, error)

NewRunBook registers a new resource with the given unique name, arguments, and options.

type RunBookArgs

type RunBookArgs struct {
	// The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The desired content of the runbook.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Progress log option.
	LogProgress pulumi.BoolInput
	// Verbose log option.
	LogVerbose pulumi.BoolInput
	// Specifies the name of the Runbook. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The published runbook content link.
	PublishContentLink RunBookPublishContentLinkInput
	// The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell` or `Script`.
	RunbookType pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a RunBook resource.

func (RunBookArgs) ElementType added in v1.12.0

func (RunBookArgs) ElementType() reflect.Type
type RunBookPublishContentLink struct {
	Hash *RunBookPublishContentLinkHash `pulumi:"hash"`
	// The uri of the runbook content.
	Uri     string  `pulumi:"uri"`
	Version *string `pulumi:"version"`
}

type RunBookPublishContentLinkArgs added in v1.12.0

type RunBookPublishContentLinkArgs struct {
	Hash RunBookPublishContentLinkHashPtrInput `pulumi:"hash"`
	// The uri of the runbook content.
	Uri     pulumi.StringInput    `pulumi:"uri"`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (RunBookPublishContentLinkArgs) ElementType added in v1.12.0

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput added in v1.12.0

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutputWithContext added in v1.12.0

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutputWithContext(ctx context.Context) RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput added in v1.12.0

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutputWithContext added in v1.12.0

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutputWithContext(ctx context.Context) RunBookPublishContentLinkPtrOutput

type RunBookPublishContentLinkHash added in v1.12.0

type RunBookPublishContentLinkHash struct {
	Algorithm string `pulumi:"algorithm"`
	Value     string `pulumi:"value"`
}

type RunBookPublishContentLinkHashArgs added in v1.12.0

type RunBookPublishContentLinkHashArgs struct {
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	Value     pulumi.StringInput `pulumi:"value"`
}

func (RunBookPublishContentLinkHashArgs) ElementType added in v1.12.0

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput added in v1.12.0

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutputWithContext added in v1.12.0

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutputWithContext(ctx context.Context) RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput added in v1.12.0

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutputWithContext added in v1.12.0

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutputWithContext(ctx context.Context) RunBookPublishContentLinkHashPtrOutput

type RunBookPublishContentLinkHashInput added in v1.12.0

type RunBookPublishContentLinkHashInput interface {
	pulumi.Input

	ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput
	ToRunBookPublishContentLinkHashOutputWithContext(context.Context) RunBookPublishContentLinkHashOutput
}

type RunBookPublishContentLinkHashOutput added in v1.12.0

type RunBookPublishContentLinkHashOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashOutput) Algorithm added in v1.12.0

func (RunBookPublishContentLinkHashOutput) ElementType added in v1.12.0

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput added in v1.12.0

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutputWithContext added in v1.12.0

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutputWithContext(ctx context.Context) RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput added in v1.12.0

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext added in v1.12.0

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext(ctx context.Context) RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashOutput) Value added in v1.12.0

type RunBookPublishContentLinkHashPtrInput added in v1.12.0

type RunBookPublishContentLinkHashPtrInput interface {
	pulumi.Input

	ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput
	ToRunBookPublishContentLinkHashPtrOutputWithContext(context.Context) RunBookPublishContentLinkHashPtrOutput
}

type RunBookPublishContentLinkHashPtrOutput added in v1.12.0

type RunBookPublishContentLinkHashPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashPtrOutput) Algorithm added in v1.12.0

func (RunBookPublishContentLinkHashPtrOutput) Elem added in v1.12.0

func (RunBookPublishContentLinkHashPtrOutput) ElementType added in v1.12.0

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput added in v1.12.0

func (o RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext added in v1.12.0

func (o RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext(ctx context.Context) RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashPtrOutput) Value added in v1.12.0

type RunBookPublishContentLinkInput added in v1.12.0

type RunBookPublishContentLinkInput interface {
	pulumi.Input

	ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput
	ToRunBookPublishContentLinkOutputWithContext(context.Context) RunBookPublishContentLinkOutput
}

type RunBookPublishContentLinkOutput added in v1.12.0

type RunBookPublishContentLinkOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkOutput) ElementType added in v1.12.0

func (RunBookPublishContentLinkOutput) Hash added in v1.12.0

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput added in v1.12.0

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutputWithContext added in v1.12.0

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutputWithContext(ctx context.Context) RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput added in v1.12.0

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutputWithContext added in v1.12.0

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutputWithContext(ctx context.Context) RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkOutput) Uri added in v1.12.0

The uri of the runbook content.

func (RunBookPublishContentLinkOutput) Version added in v1.12.0

type RunBookPublishContentLinkPtrInput added in v1.12.0

type RunBookPublishContentLinkPtrInput interface {
	pulumi.Input

	ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput
	ToRunBookPublishContentLinkPtrOutputWithContext(context.Context) RunBookPublishContentLinkPtrOutput
}

func RunBookPublishContentLinkPtr added in v1.12.0

type RunBookPublishContentLinkPtrOutput added in v1.12.0

type RunBookPublishContentLinkPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkPtrOutput) Elem added in v1.12.0

func (RunBookPublishContentLinkPtrOutput) ElementType added in v1.12.0

func (RunBookPublishContentLinkPtrOutput) Hash added in v1.12.0

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput added in v1.12.0

func (o RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutputWithContext added in v1.12.0

func (o RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutputWithContext(ctx context.Context) RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkPtrOutput) Uri added in v1.12.0

The uri of the runbook content.

func (RunBookPublishContentLinkPtrOutput) Version added in v1.12.0

type RunBookState

type RunBookState struct {
	// The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The desired content of the runbook.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Progress log option.
	LogProgress pulumi.BoolPtrInput
	// Verbose log option.
	LogVerbose pulumi.BoolPtrInput
	// Specifies the name of the Runbook. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The published runbook content link.
	PublishContentLink RunBookPublishContentLinkPtrInput
	// The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell` or `Script`.
	RunbookType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (RunBookState) ElementType added in v1.12.0

func (RunBookState) ElementType() reflect.Type

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// A description for this Schedule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The end time of the schedule.
	ExpiryTime pulumi.StringOutput `pulumi:"expiryTime"`
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringOutput `pulumi:"frequency"`
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
	Interval pulumi.IntOutput `pulumi:"interval"`
	// List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
	MonthDays pulumi.IntArrayOutput `pulumi:"monthDays"`
	// List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrences ScheduleMonthlyOccurrenceArrayOutput `pulumi:"monthlyOccurrences"`
	// Specifies the name of the Schedule. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
	StartTime pulumi.StringOutput `pulumi:"startTime"`
	// The timezone of the start time. Defaults to `UTC`. For possible values see: https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx
	Timezone pulumi.StringPtrOutput `pulumi:"timezone"`
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`.
	WeekDays pulumi.StringArrayOutput `pulumi:"weekDays"`
}

Manages a Automation Schedule.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_schedule.html.markdown.

func GetSchedule

func GetSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)

GetSchedule gets an existing Schedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSchedule

func NewSchedule(ctx *pulumi.Context,
	name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)

NewSchedule registers a new resource with the given unique name, arguments, and options.

type ScheduleArgs

type ScheduleArgs struct {
	AccountName pulumi.StringPtrInput
	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// A description for this Schedule.
	Description pulumi.StringPtrInput
	// The end time of the schedule.
	ExpiryTime pulumi.StringPtrInput
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringInput
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
	Interval pulumi.IntPtrInput
	// List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
	MonthDays pulumi.IntArrayInput
	// List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrences ScheduleMonthlyOccurrenceArrayInput
	// Specifies the name of the Schedule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
	StartTime pulumi.StringPtrInput
	// The timezone of the start time. Defaults to `UTC`. For possible values see: https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx
	Timezone pulumi.StringPtrInput
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`.
	WeekDays pulumi.StringArrayInput
}

The set of arguments for constructing a Schedule resource.

func (ScheduleArgs) ElementType added in v1.12.0

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleMonthlyOccurrence added in v1.12.0

type ScheduleMonthlyOccurrence struct {
	Day        string `pulumi:"day"`
	Occurrence int    `pulumi:"occurrence"`
}

type ScheduleMonthlyOccurrenceArgs added in v1.12.0

type ScheduleMonthlyOccurrenceArgs struct {
	Day        pulumi.StringInput `pulumi:"day"`
	Occurrence pulumi.IntInput    `pulumi:"occurrence"`
}

func (ScheduleMonthlyOccurrenceArgs) ElementType added in v1.12.0

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput added in v1.12.0

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutputWithContext added in v1.12.0

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrenceOutput

type ScheduleMonthlyOccurrenceArray added in v1.12.0

type ScheduleMonthlyOccurrenceArray []ScheduleMonthlyOccurrenceInput

func (ScheduleMonthlyOccurrenceArray) ElementType added in v1.12.0

func (ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutput added in v1.12.0

func (i ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput

func (ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutputWithContext added in v1.12.0

func (i ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrenceArrayOutput

type ScheduleMonthlyOccurrenceArrayInput added in v1.12.0

type ScheduleMonthlyOccurrenceArrayInput interface {
	pulumi.Input

	ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput
	ToScheduleMonthlyOccurrenceArrayOutputWithContext(context.Context) ScheduleMonthlyOccurrenceArrayOutput
}

type ScheduleMonthlyOccurrenceArrayOutput added in v1.12.0

type ScheduleMonthlyOccurrenceArrayOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrenceArrayOutput) ElementType added in v1.12.0

func (ScheduleMonthlyOccurrenceArrayOutput) Index added in v1.12.0

func (ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutput added in v1.12.0

func (o ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput

func (ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutputWithContext added in v1.12.0

func (o ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrenceArrayOutput

type ScheduleMonthlyOccurrenceInput added in v1.12.0

type ScheduleMonthlyOccurrenceInput interface {
	pulumi.Input

	ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput
	ToScheduleMonthlyOccurrenceOutputWithContext(context.Context) ScheduleMonthlyOccurrenceOutput
}

type ScheduleMonthlyOccurrenceOutput added in v1.12.0

type ScheduleMonthlyOccurrenceOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrenceOutput) Day added in v1.12.0

func (ScheduleMonthlyOccurrenceOutput) ElementType added in v1.12.0

func (ScheduleMonthlyOccurrenceOutput) Occurrence added in v1.12.0

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutput added in v1.12.0

func (o ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutputWithContext added in v1.12.0

func (o ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrenceOutput

type ScheduleState

type ScheduleState struct {
	AccountName pulumi.StringPtrInput
	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// A description for this Schedule.
	Description pulumi.StringPtrInput
	// The end time of the schedule.
	ExpiryTime pulumi.StringPtrInput
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringPtrInput
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
	Interval pulumi.IntPtrInput
	// List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
	MonthDays pulumi.IntArrayInput
	// List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrences ScheduleMonthlyOccurrenceArrayInput
	// Specifies the name of the Schedule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
	StartTime pulumi.StringPtrInput
	// The timezone of the start time. Defaults to `UTC`. For possible values see: https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx
	Timezone pulumi.StringPtrInput
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`.
	WeekDays pulumi.StringArrayInput
}

func (ScheduleState) ElementType added in v1.12.0

func (ScheduleState) ElementType() reflect.Type

type StringVariable added in v0.18.3

type StringVariable struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The description of the Automation Variable.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"`
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The value of the Automation Variable as a `string`.
	Value pulumi.StringPtrOutput `pulumi:"value"`
}

Manages a string variable in Azure Automation

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/automation_variable_string.html.markdown.

func GetStringVariable added in v0.18.3

func GetStringVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StringVariableState, opts ...pulumi.ResourceOption) (*StringVariable, error)

GetStringVariable gets an existing StringVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStringVariable added in v0.18.3

func NewStringVariable(ctx *pulumi.Context,
	name string, args *StringVariableArgs, opts ...pulumi.ResourceOption) (*StringVariable, error)

NewStringVariable registers a new resource with the given unique name, arguments, and options.

type StringVariableArgs added in v0.18.3

type StringVariableArgs struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The value of the Automation Variable as a `string`.
	Value pulumi.StringPtrInput
}

The set of arguments for constructing a StringVariable resource.

func (StringVariableArgs) ElementType added in v1.12.0

func (StringVariableArgs) ElementType() reflect.Type

type StringVariableState added in v0.18.3

type StringVariableState struct {
	// The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The description of the Automation Variable.
	Description pulumi.StringPtrInput
	// Specifies if the Automation Variable is encrypted. Defaults to `false`.
	Encrypted pulumi.BoolPtrInput
	// The name of the Automation Variable. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The value of the Automation Variable as a `string`.
	Value pulumi.StringPtrInput
}

func (StringVariableState) ElementType added in v1.12.0

func (StringVariableState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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