automation

package
v3.46.0 Latest Latest
Warning

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

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

Documentation

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"`
	// 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("development"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Automation Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/account:Account account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1

```

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.

func (Account) ElementType added in v3.31.1

func (Account) ElementType() reflect.Type

func (Account) ToAccountOutput added in v3.31.1

func (i Account) ToAccountOutput() AccountOutput

func (Account) ToAccountOutputWithContext added in v3.31.1

func (i Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

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
	// The SKU name of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountInput added in v3.31.1

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountOutput added in v3.31.1

type AccountOutput struct {
	*pulumi.OutputState
}

func (AccountOutput) ElementType added in v3.31.1

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput added in v3.31.1

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext added in v3.31.1

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

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
	// 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

func (AccountState) ElementType() reflect.Type

type BoolVariable

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

## Import

Automation Bool Variable can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/boolVariable:BoolVariable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tfex-example-rg/providers/Microsoft.Automation/automationAccounts/tfex-example-account/variables/tfex-example-var

```

func GetBoolVariable

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

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.

func (BoolVariable) ElementType added in v3.31.1

func (BoolVariable) ElementType() reflect.Type

func (BoolVariable) ToBoolVariableOutput added in v3.31.1

func (i BoolVariable) ToBoolVariableOutput() BoolVariableOutput

func (BoolVariable) ToBoolVariableOutputWithContext added in v3.31.1

func (i BoolVariable) ToBoolVariableOutputWithContext(ctx context.Context) BoolVariableOutput

type BoolVariableArgs

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

func (BoolVariableArgs) ElementType() reflect.Type

type BoolVariableInput added in v3.31.1

type BoolVariableInput interface {
	pulumi.Input

	ToBoolVariableOutput() BoolVariableOutput
	ToBoolVariableOutputWithContext(ctx context.Context) BoolVariableOutput
}

type BoolVariableOutput added in v3.31.1

type BoolVariableOutput struct {
	*pulumi.OutputState
}

func (BoolVariableOutput) ElementType added in v3.31.1

func (BoolVariableOutput) ElementType() reflect.Type

func (BoolVariableOutput) ToBoolVariableOutput added in v3.31.1

func (o BoolVariableOutput) ToBoolVariableOutput() BoolVariableOutput

func (BoolVariableOutput) ToBoolVariableOutputWithContext added in v3.31.1

func (o BoolVariableOutput) ToBoolVariableOutputWithContext(ctx context.Context) BoolVariableOutput

type BoolVariableState

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

func (BoolVariableState) ElementType() reflect.Type

type Certificate

type Certificate struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
	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.

## Import

Automation Certificates can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/certificate:Certificate certificate1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/certificates/certificate1

```

func GetCertificate

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

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.

func (Certificate) ElementType added in v3.31.1

func (Certificate) ElementType() reflect.Type

func (Certificate) ToCertificateOutput added in v3.31.1

func (i Certificate) ToCertificateOutput() CertificateOutput

func (Certificate) ToCertificateOutputWithContext added in v3.31.1

func (i Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateArgs

type CertificateArgs struct {
	// The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
	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

func (CertificateArgs) ElementType() reflect.Type

type CertificateInput added in v3.31.1

type CertificateInput interface {
	pulumi.Input

	ToCertificateOutput() CertificateOutput
	ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
}

type CertificateOutput added in v3.31.1

type CertificateOutput struct {
	*pulumi.OutputState
}

func (CertificateOutput) ElementType added in v3.31.1

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) ToCertificateOutput added in v3.31.1

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext added in v3.31.1

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateState

type CertificateState struct {
	// The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
	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

func (CertificateState) ElementType() reflect.Type

type Connection added in v3.12.0

type Connection struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// A description for this Connection.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The type of the Connection - can be either builtin type such as `Azure`, `AzureClassicCertificate`, and `AzureServicePrincipal`, or a user defined types. Changing this forces a new resource to be created.
	Type pulumi.StringOutput `pulumi:"type"`
	// A mapping of key value pairs passed to the connection. Different `type` needs different parameters in the `values`. Builtin types have required field values as below:
	Values pulumi.StringMapOutput `pulumi:"values"`
}

Manages an Automation Connection.

## Import

Automation Connection can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/connection:Connection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connections/conn1

```

func GetConnection added in v3.12.0

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection 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 NewConnection added in v3.12.0

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

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

func (Connection) ElementType added in v3.31.1

func (Connection) ElementType() reflect.Type

func (Connection) ToConnectionOutput added in v3.31.1

func (i Connection) ToConnectionOutput() ConnectionOutput

func (Connection) ToConnectionOutputWithContext added in v3.31.1

func (i Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionArgs added in v3.12.0

type ConnectionArgs struct {
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The type of the Connection - can be either builtin type such as `Azure`, `AzureClassicCertificate`, and `AzureServicePrincipal`, or a user defined types. Changing this forces a new resource to be created.
	Type pulumi.StringInput
	// A mapping of key value pairs passed to the connection. Different `type` needs different parameters in the `values`. Builtin types have required field values as below:
	Values pulumi.StringMapInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType added in v3.12.0

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionCertificate added in v3.12.0

type ConnectionCertificate struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The name of the automation certificate.
	AutomationCertificateName pulumi.StringOutput `pulumi:"automationCertificateName"`
	// A description for this Connection.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The id of subscription where the automation certificate exists.
	SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"`
}

Manages an Automation Connection with type `Azure`.

## Import

Automation Connection can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/connectionCertificate:ConnectionCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connections/conn1

```

func GetConnectionCertificate added in v3.12.0

func GetConnectionCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionCertificateState, opts ...pulumi.ResourceOption) (*ConnectionCertificate, error)

GetConnectionCertificate gets an existing ConnectionCertificate 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 NewConnectionCertificate added in v3.12.0

func NewConnectionCertificate(ctx *pulumi.Context,
	name string, args *ConnectionCertificateArgs, opts ...pulumi.ResourceOption) (*ConnectionCertificate, error)

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

func (ConnectionCertificate) ElementType added in v3.31.1

func (ConnectionCertificate) ElementType() reflect.Type

func (ConnectionCertificate) ToConnectionCertificateOutput added in v3.31.1

func (i ConnectionCertificate) ToConnectionCertificateOutput() ConnectionCertificateOutput

func (ConnectionCertificate) ToConnectionCertificateOutputWithContext added in v3.31.1

func (i ConnectionCertificate) ToConnectionCertificateOutputWithContext(ctx context.Context) ConnectionCertificateOutput

type ConnectionCertificateArgs added in v3.12.0

type ConnectionCertificateArgs struct {
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The name of the automation certificate.
	AutomationCertificateName pulumi.StringInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The id of subscription where the automation certificate exists.
	SubscriptionId pulumi.StringInput
}

The set of arguments for constructing a ConnectionCertificate resource.

func (ConnectionCertificateArgs) ElementType added in v3.12.0

func (ConnectionCertificateArgs) ElementType() reflect.Type

type ConnectionCertificateInput added in v3.31.1

type ConnectionCertificateInput interface {
	pulumi.Input

	ToConnectionCertificateOutput() ConnectionCertificateOutput
	ToConnectionCertificateOutputWithContext(ctx context.Context) ConnectionCertificateOutput
}

type ConnectionCertificateOutput added in v3.31.1

type ConnectionCertificateOutput struct {
	*pulumi.OutputState
}

func (ConnectionCertificateOutput) ElementType added in v3.31.1

func (ConnectionCertificateOutput) ToConnectionCertificateOutput added in v3.31.1

func (o ConnectionCertificateOutput) ToConnectionCertificateOutput() ConnectionCertificateOutput

func (ConnectionCertificateOutput) ToConnectionCertificateOutputWithContext added in v3.31.1

func (o ConnectionCertificateOutput) ToConnectionCertificateOutputWithContext(ctx context.Context) ConnectionCertificateOutput

type ConnectionCertificateState added in v3.12.0

type ConnectionCertificateState struct {
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The name of the automation certificate.
	AutomationCertificateName pulumi.StringPtrInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The id of subscription where the automation certificate exists.
	SubscriptionId pulumi.StringPtrInput
}

func (ConnectionCertificateState) ElementType added in v3.12.0

func (ConnectionCertificateState) ElementType() reflect.Type

type ConnectionClassicCertificate added in v3.12.0

type ConnectionClassicCertificate struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The name of the certificate asset.
	CertificateAssetName pulumi.StringOutput `pulumi:"certificateAssetName"`
	// A description for this Connection.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The id of subscription.
	SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"`
	// The name of subscription.
	SubscriptionName pulumi.StringOutput `pulumi:"subscriptionName"`
}

Manages an Automation Connection with type `AzureClassicCertificate`.

## Import

Automation Connection can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/connectionClassicCertificate:ConnectionClassicCertificate conn1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connections/conn1

```

func GetConnectionClassicCertificate added in v3.12.0

func GetConnectionClassicCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionClassicCertificateState, opts ...pulumi.ResourceOption) (*ConnectionClassicCertificate, error)

GetConnectionClassicCertificate gets an existing ConnectionClassicCertificate 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 NewConnectionClassicCertificate added in v3.12.0

func NewConnectionClassicCertificate(ctx *pulumi.Context,
	name string, args *ConnectionClassicCertificateArgs, opts ...pulumi.ResourceOption) (*ConnectionClassicCertificate, error)

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

func (ConnectionClassicCertificate) ElementType added in v3.31.1

func (ConnectionClassicCertificate) ToConnectionClassicCertificateOutput added in v3.31.1

func (i ConnectionClassicCertificate) ToConnectionClassicCertificateOutput() ConnectionClassicCertificateOutput

func (ConnectionClassicCertificate) ToConnectionClassicCertificateOutputWithContext added in v3.31.1

func (i ConnectionClassicCertificate) ToConnectionClassicCertificateOutputWithContext(ctx context.Context) ConnectionClassicCertificateOutput

type ConnectionClassicCertificateArgs added in v3.12.0

type ConnectionClassicCertificateArgs struct {
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The name of the certificate asset.
	CertificateAssetName pulumi.StringInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The id of subscription.
	SubscriptionId pulumi.StringInput
	// The name of subscription.
	SubscriptionName pulumi.StringInput
}

The set of arguments for constructing a ConnectionClassicCertificate resource.

func (ConnectionClassicCertificateArgs) ElementType added in v3.12.0

type ConnectionClassicCertificateInput added in v3.31.1

type ConnectionClassicCertificateInput interface {
	pulumi.Input

	ToConnectionClassicCertificateOutput() ConnectionClassicCertificateOutput
	ToConnectionClassicCertificateOutputWithContext(ctx context.Context) ConnectionClassicCertificateOutput
}

type ConnectionClassicCertificateOutput added in v3.31.1

type ConnectionClassicCertificateOutput struct {
	*pulumi.OutputState
}

func (ConnectionClassicCertificateOutput) ElementType added in v3.31.1

func (ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutput added in v3.31.1

func (o ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutput() ConnectionClassicCertificateOutput

func (ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutputWithContext added in v3.31.1

func (o ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutputWithContext(ctx context.Context) ConnectionClassicCertificateOutput

type ConnectionClassicCertificateState added in v3.12.0

type ConnectionClassicCertificateState struct {
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The name of the certificate asset.
	CertificateAssetName pulumi.StringPtrInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The id of subscription.
	SubscriptionId pulumi.StringPtrInput
	// The name of subscription.
	SubscriptionName pulumi.StringPtrInput
}

func (ConnectionClassicCertificateState) ElementType added in v3.12.0

type ConnectionInput added in v3.31.1

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionOutput added in v3.31.1

type ConnectionOutput struct {
	*pulumi.OutputState
}

func (ConnectionOutput) ElementType added in v3.31.1

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) ToConnectionOutput added in v3.31.1

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext added in v3.31.1

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionServicePrincipal added in v3.12.0

type ConnectionServicePrincipal struct {
	pulumi.CustomResourceState

	// The (Client) ID of the Service Principal.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The thumbprint of the Service Principal Certificate.
	CertificateThumbprint pulumi.StringOutput `pulumi:"certificateThumbprint"`
	// A description for this Connection.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The subscription GUID.
	SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"`
	// The ID of the Tenant the Service Principal is assigned in.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
}

Manages an Automation Connection with type `AzureServicePrincipal`.

## Import

Automation Connection can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/connectionServicePrincipal:ConnectionServicePrincipal conn1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connections/conn1

```

func GetConnectionServicePrincipal added in v3.12.0

func GetConnectionServicePrincipal(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionServicePrincipalState, opts ...pulumi.ResourceOption) (*ConnectionServicePrincipal, error)

GetConnectionServicePrincipal gets an existing ConnectionServicePrincipal 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 NewConnectionServicePrincipal added in v3.12.0

func NewConnectionServicePrincipal(ctx *pulumi.Context,
	name string, args *ConnectionServicePrincipalArgs, opts ...pulumi.ResourceOption) (*ConnectionServicePrincipal, error)

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

func (ConnectionServicePrincipal) ElementType added in v3.31.1

func (ConnectionServicePrincipal) ElementType() reflect.Type

func (ConnectionServicePrincipal) ToConnectionServicePrincipalOutput added in v3.31.1

func (i ConnectionServicePrincipal) ToConnectionServicePrincipalOutput() ConnectionServicePrincipalOutput

func (ConnectionServicePrincipal) ToConnectionServicePrincipalOutputWithContext added in v3.31.1

func (i ConnectionServicePrincipal) ToConnectionServicePrincipalOutputWithContext(ctx context.Context) ConnectionServicePrincipalOutput

type ConnectionServicePrincipalArgs added in v3.12.0

type ConnectionServicePrincipalArgs struct {
	// The (Client) ID of the Service Principal.
	ApplicationId pulumi.StringInput
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The thumbprint of the Service Principal Certificate.
	CertificateThumbprint pulumi.StringInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The subscription GUID.
	SubscriptionId pulumi.StringInput
	// The ID of the Tenant the Service Principal is assigned in.
	TenantId pulumi.StringInput
}

The set of arguments for constructing a ConnectionServicePrincipal resource.

func (ConnectionServicePrincipalArgs) ElementType added in v3.12.0

type ConnectionServicePrincipalInput added in v3.31.1

type ConnectionServicePrincipalInput interface {
	pulumi.Input

	ToConnectionServicePrincipalOutput() ConnectionServicePrincipalOutput
	ToConnectionServicePrincipalOutputWithContext(ctx context.Context) ConnectionServicePrincipalOutput
}

type ConnectionServicePrincipalOutput added in v3.31.1

type ConnectionServicePrincipalOutput struct {
	*pulumi.OutputState
}

func (ConnectionServicePrincipalOutput) ElementType added in v3.31.1

func (ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutput added in v3.31.1

func (o ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutput() ConnectionServicePrincipalOutput

func (ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutputWithContext added in v3.31.1

func (o ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutputWithContext(ctx context.Context) ConnectionServicePrincipalOutput

type ConnectionServicePrincipalState added in v3.12.0

type ConnectionServicePrincipalState struct {
	// The (Client) ID of the Service Principal.
	ApplicationId pulumi.StringPtrInput
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The thumbprint of the Service Principal Certificate.
	CertificateThumbprint pulumi.StringPtrInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The subscription GUID.
	SubscriptionId pulumi.StringPtrInput
	// The ID of the Tenant the Service Principal is assigned in.
	TenantId pulumi.StringPtrInput
}

func (ConnectionServicePrincipalState) ElementType added in v3.12.0

type ConnectionState added in v3.12.0

type ConnectionState struct {
	// The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// A description for this Connection.
	Description pulumi.StringPtrInput
	// Specifies the name of the Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The type of the Connection - can be either builtin type such as `Azure`, `AzureClassicCertificate`, and `AzureServicePrincipal`, or a user defined types. Changing this forces a new resource to be created.
	Type pulumi.StringPtrInput
	// A mapping of key value pairs passed to the connection. Different `type` needs different parameters in the `values`. Builtin types have required field values as below:
	Values pulumi.StringMapInput
}

func (ConnectionState) ElementType added in v3.12.0

func (ConnectionState) ElementType() reflect.Type

type Credential

type Credential struct {
	pulumi.CustomResourceState

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewCredential(ctx, "exampleCredential", &automation.CredentialArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Username:              pulumi.String("example_user"),
			Password:              pulumi.String("example_pwd"),
			Description:           pulumi.String("This is an example credential"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Automation Credentials can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/credential:Credential credential1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/credentials/credential1

```

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.

func (Credential) ElementType added in v3.31.1

func (Credential) ElementType() reflect.Type

func (Credential) ToCredentialOutput added in v3.31.1

func (i Credential) ToCredentialOutput() CredentialOutput

func (Credential) ToCredentialOutputWithContext added in v3.31.1

func (i Credential) ToCredentialOutputWithContext(ctx context.Context) CredentialOutput

type CredentialArgs

type CredentialArgs struct {
	// The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// 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

func (CredentialArgs) ElementType() reflect.Type

type CredentialInput added in v3.31.1

type CredentialInput interface {
	pulumi.Input

	ToCredentialOutput() CredentialOutput
	ToCredentialOutputWithContext(ctx context.Context) CredentialOutput
}

type CredentialOutput added in v3.31.1

type CredentialOutput struct {
	*pulumi.OutputState
}

func (CredentialOutput) ElementType added in v3.31.1

func (CredentialOutput) ElementType() reflect.Type

func (CredentialOutput) ToCredentialOutput added in v3.31.1

func (o CredentialOutput) ToCredentialOutput() CredentialOutput

func (CredentialOutput) ToCredentialOutputWithContext added in v3.31.1

func (o CredentialOutput) ToCredentialOutputWithContext(ctx context.Context) CredentialOutput

type CredentialState

type CredentialState struct {
	// 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

func (CredentialState) ElementType() reflect.Type

type DateTimeVariable

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

## Import

Automation DateTime Variable can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/dateTimeVariable:DateTimeVariable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tfex-example-rg/providers/Microsoft.Automation/automationAccounts/tfex-example-account/variables/tfex-example-var

```

func GetDateTimeVariable

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

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.

func (DateTimeVariable) ElementType added in v3.31.1

func (DateTimeVariable) ElementType() reflect.Type

func (DateTimeVariable) ToDateTimeVariableOutput added in v3.31.1

func (i DateTimeVariable) ToDateTimeVariableOutput() DateTimeVariableOutput

func (DateTimeVariable) ToDateTimeVariableOutputWithContext added in v3.31.1

func (i DateTimeVariable) ToDateTimeVariableOutputWithContext(ctx context.Context) DateTimeVariableOutput

type DateTimeVariableArgs

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

func (DateTimeVariableArgs) ElementType() reflect.Type

type DateTimeVariableInput added in v3.31.1

type DateTimeVariableInput interface {
	pulumi.Input

	ToDateTimeVariableOutput() DateTimeVariableOutput
	ToDateTimeVariableOutputWithContext(ctx context.Context) DateTimeVariableOutput
}

type DateTimeVariableOutput added in v3.31.1

type DateTimeVariableOutput struct {
	*pulumi.OutputState
}

func (DateTimeVariableOutput) ElementType added in v3.31.1

func (DateTimeVariableOutput) ElementType() reflect.Type

func (DateTimeVariableOutput) ToDateTimeVariableOutput added in v3.31.1

func (o DateTimeVariableOutput) ToDateTimeVariableOutput() DateTimeVariableOutput

func (DateTimeVariableOutput) ToDateTimeVariableOutputWithContext added in v3.31.1

func (o DateTimeVariableOutput) ToDateTimeVariableOutputWithContext(ctx context.Context) DateTimeVariableOutput

type DateTimeVariableState

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

func (DateTimeVariableState) ElementType() reflect.Type

type DscConfiguration

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"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation DSC Configuration.

## Import

Automation DSC Configuration's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/dscConfiguration:DscConfiguration configuration1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/configurations/configuration1

```

func GetDscConfiguration

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

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.

func (DscConfiguration) ElementType added in v3.31.1

func (DscConfiguration) ElementType() reflect.Type

func (DscConfiguration) ToDscConfigurationOutput added in v3.31.1

func (i DscConfiguration) ToDscConfigurationOutput() DscConfigurationOutput

func (DscConfiguration) ToDscConfigurationOutputWithContext added in v3.31.1

func (i DscConfiguration) ToDscConfigurationOutputWithContext(ctx context.Context) DscConfigurationOutput

type DscConfigurationArgs

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
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a DscConfiguration resource.

func (DscConfigurationArgs) ElementType

func (DscConfigurationArgs) ElementType() reflect.Type

type DscConfigurationInput added in v3.31.1

type DscConfigurationInput interface {
	pulumi.Input

	ToDscConfigurationOutput() DscConfigurationOutput
	ToDscConfigurationOutputWithContext(ctx context.Context) DscConfigurationOutput
}

type DscConfigurationOutput added in v3.31.1

type DscConfigurationOutput struct {
	*pulumi.OutputState
}

func (DscConfigurationOutput) ElementType added in v3.31.1

func (DscConfigurationOutput) ElementType() reflect.Type

func (DscConfigurationOutput) ToDscConfigurationOutput added in v3.31.1

func (o DscConfigurationOutput) ToDscConfigurationOutput() DscConfigurationOutput

func (DscConfigurationOutput) ToDscConfigurationOutputWithContext added in v3.31.1

func (o DscConfigurationOutput) ToDscConfigurationOutputWithContext(ctx context.Context) DscConfigurationOutput

type DscConfigurationState

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
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (DscConfigurationState) ElementType

func (DscConfigurationState) ElementType() reflect.Type

type DscNodeConfiguration

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.

## Import

Automation DSC Node Configuration's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/dscNodeConfiguration:DscNodeConfiguration configuration1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/nodeConfigurations/configuration1

```

func GetDscNodeConfiguration

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

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.

func (DscNodeConfiguration) ElementType added in v3.31.1

func (DscNodeConfiguration) ElementType() reflect.Type

func (DscNodeConfiguration) ToDscNodeConfigurationOutput added in v3.31.1

func (i DscNodeConfiguration) ToDscNodeConfigurationOutput() DscNodeConfigurationOutput

func (DscNodeConfiguration) ToDscNodeConfigurationOutputWithContext added in v3.31.1

func (i DscNodeConfiguration) ToDscNodeConfigurationOutputWithContext(ctx context.Context) DscNodeConfigurationOutput

type DscNodeConfigurationArgs

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

func (DscNodeConfigurationArgs) ElementType() reflect.Type

type DscNodeConfigurationInput added in v3.31.1

type DscNodeConfigurationInput interface {
	pulumi.Input

	ToDscNodeConfigurationOutput() DscNodeConfigurationOutput
	ToDscNodeConfigurationOutputWithContext(ctx context.Context) DscNodeConfigurationOutput
}

type DscNodeConfigurationOutput added in v3.31.1

type DscNodeConfigurationOutput struct {
	*pulumi.OutputState
}

func (DscNodeConfigurationOutput) ElementType added in v3.31.1

func (DscNodeConfigurationOutput) ElementType() reflect.Type

func (DscNodeConfigurationOutput) ToDscNodeConfigurationOutput added in v3.31.1

func (o DscNodeConfigurationOutput) ToDscNodeConfigurationOutput() DscNodeConfigurationOutput

func (DscNodeConfigurationOutput) ToDscNodeConfigurationOutputWithContext added in v3.31.1

func (o DscNodeConfigurationOutput) ToDscNodeConfigurationOutputWithContext(ctx context.Context) DscNodeConfigurationOutput

type DscNodeConfigurationState

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

func (DscNodeConfigurationState) ElementType() reflect.Type

type IntVariable

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

## Import

Automation Int Variable can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/intVariable:IntVariable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tfex-example-rg/providers/Microsoft.Automation/automationAccounts/tfex-example-account/variables/tfex-example-var

```

func GetIntVariable

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

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.

func (IntVariable) ElementType added in v3.31.1

func (IntVariable) ElementType() reflect.Type

func (IntVariable) ToIntVariableOutput added in v3.31.1

func (i IntVariable) ToIntVariableOutput() IntVariableOutput

func (IntVariable) ToIntVariableOutputWithContext added in v3.31.1

func (i IntVariable) ToIntVariableOutputWithContext(ctx context.Context) IntVariableOutput

type IntVariableArgs

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

func (IntVariableArgs) ElementType() reflect.Type

type IntVariableInput added in v3.31.1

type IntVariableInput interface {
	pulumi.Input

	ToIntVariableOutput() IntVariableOutput
	ToIntVariableOutputWithContext(ctx context.Context) IntVariableOutput
}

type IntVariableOutput added in v3.31.1

type IntVariableOutput struct {
	*pulumi.OutputState
}

func (IntVariableOutput) ElementType added in v3.31.1

func (IntVariableOutput) ElementType() reflect.Type

func (IntVariableOutput) ToIntVariableOutput added in v3.31.1

func (o IntVariableOutput) ToIntVariableOutput() IntVariableOutput

func (IntVariableOutput) ToIntVariableOutputWithContext added in v3.31.1

func (o IntVariableOutput) ToIntVariableOutputWithContext(ctx context.Context) IntVariableOutput

type IntVariableState

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

func (IntVariableState) ElementType() reflect.Type

type JobSchedule

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.

## Example Usage

This is an example of just the Job Schedule.

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewJobSchedule(ctx, "example", &automation.JobScheduleArgs{
			AutomationAccountName: pulumi.String("tf-automation-account"),
			Parameters: pulumi.StringMap{
				"resourcegroup": pulumi.String("tf-rgr-vm"),
				"vmname":        pulumi.String("TF-VM-01"),
			},
			ResourceGroupName: pulumi.String("tf-rgr-automation"),
			RunbookName:       pulumi.String("Get-VirtualMachine"),
			ScheduleName:      pulumi.String("hour"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Automation Job Schedules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/jobSchedule:JobSchedule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/jobSchedules/10000000-1001-1001-1001-000000000001

```

func GetJobSchedule

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

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.

func (JobSchedule) ElementType added in v3.31.1

func (JobSchedule) ElementType() reflect.Type

func (JobSchedule) ToJobScheduleOutput added in v3.31.1

func (i JobSchedule) ToJobScheduleOutput() JobScheduleOutput

func (JobSchedule) ToJobScheduleOutputWithContext added in v3.31.1

func (i JobSchedule) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput

type JobScheduleArgs

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

func (JobScheduleArgs) ElementType() reflect.Type

type JobScheduleInput added in v3.31.1

type JobScheduleInput interface {
	pulumi.Input

	ToJobScheduleOutput() JobScheduleOutput
	ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput
}

type JobScheduleOutput added in v3.31.1

type JobScheduleOutput struct {
	*pulumi.OutputState
}

func (JobScheduleOutput) ElementType added in v3.31.1

func (JobScheduleOutput) ElementType() reflect.Type

func (JobScheduleOutput) ToJobScheduleOutput added in v3.31.1

func (o JobScheduleOutput) ToJobScheduleOutput() JobScheduleOutput

func (JobScheduleOutput) ToJobScheduleOutputWithContext added in v3.31.1

func (o JobScheduleOutput) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput

type JobScheduleState

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

func (JobScheduleState) ElementType() reflect.Type

type LookupAccountArgs

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

type LookupAccountResult struct {
	// The Endpoint for this Automation Account.
	Endpoint string `pulumi:"endpoint"`
	// 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

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

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := automation.LookupAccount(ctx, &automation.LookupAccountArgs{
			Name:              "example-account",
			ResourceGroupName: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("automationAccountId", example.Id)
		return nil
	})
}

```

type LookupBoolVariableArgs

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

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"`
	// 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

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := automation.LookupBoolVariable(ctx, &automation.LookupBoolVariableArgs{
			Name:                  "tfex-example-var",
			ResourceGroupName:     "tfex-example-rg",
			AutomationAccountName: "tfex-example-account",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("variableId", example.Id)
		return nil
	})
}

```

type LookupDateTimeVariableArgs

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

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"`
	// 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

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := automation.LookupDateTimeVariable(ctx, &automation.LookupDateTimeVariableArgs{
			Name:                  "tfex-example-var",
			ResourceGroupName:     "tfex-example-rg",
			AutomationAccountName: "tfex-example-account",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("variableId", example.Id)
		return nil
	})
}

```

type LookupIntVariableArgs

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

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"`
	// 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

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := automation.LookupIntVariable(ctx, &automation.LookupIntVariableArgs{
			Name:                  "tfex-example-var",
			ResourceGroupName:     "tfex-example-rg",
			AutomationAccountName: "tfex-example-account",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("variableId", example.Id)
		return nil
	})
}

```

type LookupStringVariableArgs

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

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"`
	// 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

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := automation.LookupStringVariable(ctx, &automation.LookupStringVariableArgs{
			Name:                  "tfex-example-var",
			ResourceGroupName:     "tfex-example-rg",
			AutomationAccountName: "tfex-example-account",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("variableId", example.Id)
		return nil
	})
}

```

type Module

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.

## Import

Automation Modules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/module:Module module1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/modules/module1

```

func GetModule

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

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.

func (Module) ElementType added in v3.31.1

func (Module) ElementType() reflect.Type

func (Module) ToModuleOutput added in v3.31.1

func (i Module) ToModuleOutput() ModuleOutput

func (Module) ToModuleOutputWithContext added in v3.31.1

func (i Module) ToModuleOutputWithContext(ctx context.Context) ModuleOutput

type ModuleArgs

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

func (ModuleArgs) ElementType() reflect.Type

type ModuleInput added in v3.31.1

type ModuleInput interface {
	pulumi.Input

	ToModuleOutput() ModuleOutput
	ToModuleOutputWithContext(ctx context.Context) ModuleOutput
}
type ModuleModuleLink struct {
	Hash *ModuleModuleLinkHash `pulumi:"hash"`
	// The uri of the module content (zip or nupkg).
	Uri string `pulumi:"uri"`
}

type ModuleModuleLinkArgs

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

func (ModuleModuleLinkArgs) ElementType

func (ModuleModuleLinkArgs) ElementType() reflect.Type

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutput

func (i ModuleModuleLinkArgs) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutputWithContext

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

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput

func (i ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutputWithContext

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

type ModuleModuleLinkHash

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

type ModuleModuleLinkHashArgs

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

func (ModuleModuleLinkHashArgs) ElementType

func (ModuleModuleLinkHashArgs) ElementType() reflect.Type

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutputWithContext

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

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutputWithContext

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

type ModuleModuleLinkHashInput

type ModuleModuleLinkHashInput interface {
	pulumi.Input

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

ModuleModuleLinkHashInput is an input type that accepts ModuleModuleLinkHashArgs and ModuleModuleLinkHashOutput values. You can construct a concrete instance of `ModuleModuleLinkHashInput` via:

ModuleModuleLinkHashArgs{...}

type ModuleModuleLinkHashOutput

type ModuleModuleLinkHashOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashOutput) Algorithm

func (ModuleModuleLinkHashOutput) ElementType

func (ModuleModuleLinkHashOutput) ElementType() reflect.Type

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutputWithContext

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

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutputWithContext

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

func (ModuleModuleLinkHashOutput) Value

type ModuleModuleLinkHashPtrInput

type ModuleModuleLinkHashPtrInput interface {
	pulumi.Input

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

ModuleModuleLinkHashPtrInput is an input type that accepts ModuleModuleLinkHashArgs, ModuleModuleLinkHashPtr and ModuleModuleLinkHashPtrOutput values. You can construct a concrete instance of `ModuleModuleLinkHashPtrInput` via:

        ModuleModuleLinkHashArgs{...}

or:

        nil

type ModuleModuleLinkHashPtrOutput

type ModuleModuleLinkHashPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashPtrOutput) Algorithm

func (ModuleModuleLinkHashPtrOutput) Elem

func (ModuleModuleLinkHashPtrOutput) ElementType

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput

func (o ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutputWithContext

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

func (ModuleModuleLinkHashPtrOutput) Value

type ModuleModuleLinkInput

type ModuleModuleLinkInput interface {
	pulumi.Input

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

ModuleModuleLinkInput is an input type that accepts ModuleModuleLinkArgs and ModuleModuleLinkOutput values. You can construct a concrete instance of `ModuleModuleLinkInput` via:

ModuleModuleLinkArgs{...}

type ModuleModuleLinkOutput

type ModuleModuleLinkOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkOutput) ElementType

func (ModuleModuleLinkOutput) ElementType() reflect.Type

func (ModuleModuleLinkOutput) Hash

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutput

func (o ModuleModuleLinkOutput) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutputWithContext

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

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput

func (o ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutputWithContext

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

func (ModuleModuleLinkOutput) Uri

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

type ModuleModuleLinkPtrInput

type ModuleModuleLinkPtrInput interface {
	pulumi.Input

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

ModuleModuleLinkPtrInput is an input type that accepts ModuleModuleLinkArgs, ModuleModuleLinkPtr and ModuleModuleLinkPtrOutput values. You can construct a concrete instance of `ModuleModuleLinkPtrInput` via:

        ModuleModuleLinkArgs{...}

or:

        nil

type ModuleModuleLinkPtrOutput

type ModuleModuleLinkPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkPtrOutput) Elem

func (ModuleModuleLinkPtrOutput) ElementType

func (ModuleModuleLinkPtrOutput) ElementType() reflect.Type

func (ModuleModuleLinkPtrOutput) Hash

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput

func (o ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutputWithContext

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

func (ModuleModuleLinkPtrOutput) Uri

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

type ModuleOutput added in v3.31.1

type ModuleOutput struct {
	*pulumi.OutputState
}

func (ModuleOutput) ElementType added in v3.31.1

func (ModuleOutput) ElementType() reflect.Type

func (ModuleOutput) ToModuleOutput added in v3.31.1

func (o ModuleOutput) ToModuleOutput() ModuleOutput

func (ModuleOutput) ToModuleOutputWithContext added in v3.31.1

func (o ModuleOutput) ToModuleOutputWithContext(ctx context.Context) ModuleOutput

type ModuleState

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

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.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The desired content of the runbook.
	Content pulumi.StringOutput `pulumi:"content"`
	// A description for this credential.
	Description  pulumi.StringPtrOutput        `pulumi:"description"`
	JobSchedules RunBookJobScheduleArrayOutput `pulumi:"jobSchedules"`
	// 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 RunBookPublishContentLinkPtrOutput `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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewRunBook(ctx, "exampleRunBook", &automation.RunBookArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			LogVerbose:            pulumi.Bool(true),
			LogProgress:           pulumi.Bool(true),
			Description:           pulumi.String("This is an example runbook"),
			RunbookType:           pulumi.String("PowerShellWorkflow"),
			PublishContentLink: &automation.RunBookPublishContentLinkArgs{
				Uri: pulumi.String("https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Automation Runbooks can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/runBook:RunBook Get-AzureVMTutorial /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/runbooks/Get-AzureVMTutorial

```

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.

func (RunBook) ElementType added in v3.31.1

func (RunBook) ElementType() reflect.Type

func (RunBook) ToRunBookOutput added in v3.31.1

func (i RunBook) ToRunBookOutput() RunBookOutput

func (RunBook) ToRunBookOutputWithContext added in v3.31.1

func (i RunBook) ToRunBookOutputWithContext(ctx context.Context) RunBookOutput

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.
	AutomationAccountName pulumi.StringInput
	// The desired content of the runbook.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description  pulumi.StringPtrInput
	JobSchedules RunBookJobScheduleArrayInput
	// 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 RunBookPublishContentLinkPtrInput
	// 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

func (RunBookArgs) ElementType() reflect.Type

type RunBookInput added in v3.31.1

type RunBookInput interface {
	pulumi.Input

	ToRunBookOutput() RunBookOutput
	ToRunBookOutputWithContext(ctx context.Context) RunBookOutput
}

type RunBookJobSchedule added in v3.14.0

type RunBookJobSchedule struct {
	JobScheduleId *string           `pulumi:"jobScheduleId"`
	Parameters    map[string]string `pulumi:"parameters"`
	RunOn         *string           `pulumi:"runOn"`
	ScheduleName  string            `pulumi:"scheduleName"`
}

type RunBookJobScheduleArgs added in v3.14.0

type RunBookJobScheduleArgs struct {
	JobScheduleId pulumi.StringPtrInput `pulumi:"jobScheduleId"`
	Parameters    pulumi.StringMapInput `pulumi:"parameters"`
	RunOn         pulumi.StringPtrInput `pulumi:"runOn"`
	ScheduleName  pulumi.StringInput    `pulumi:"scheduleName"`
}

func (RunBookJobScheduleArgs) ElementType added in v3.14.0

func (RunBookJobScheduleArgs) ElementType() reflect.Type

func (RunBookJobScheduleArgs) ToRunBookJobScheduleOutput added in v3.14.0

func (i RunBookJobScheduleArgs) ToRunBookJobScheduleOutput() RunBookJobScheduleOutput

func (RunBookJobScheduleArgs) ToRunBookJobScheduleOutputWithContext added in v3.14.0

func (i RunBookJobScheduleArgs) ToRunBookJobScheduleOutputWithContext(ctx context.Context) RunBookJobScheduleOutput

type RunBookJobScheduleArray added in v3.14.0

type RunBookJobScheduleArray []RunBookJobScheduleInput

func (RunBookJobScheduleArray) ElementType added in v3.14.0

func (RunBookJobScheduleArray) ElementType() reflect.Type

func (RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutput added in v3.14.0

func (i RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput

func (RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutputWithContext added in v3.14.0

func (i RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutputWithContext(ctx context.Context) RunBookJobScheduleArrayOutput

type RunBookJobScheduleArrayInput added in v3.14.0

type RunBookJobScheduleArrayInput interface {
	pulumi.Input

	ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput
	ToRunBookJobScheduleArrayOutputWithContext(context.Context) RunBookJobScheduleArrayOutput
}

RunBookJobScheduleArrayInput is an input type that accepts RunBookJobScheduleArray and RunBookJobScheduleArrayOutput values. You can construct a concrete instance of `RunBookJobScheduleArrayInput` via:

RunBookJobScheduleArray{ RunBookJobScheduleArgs{...} }

type RunBookJobScheduleArrayOutput added in v3.14.0

type RunBookJobScheduleArrayOutput struct{ *pulumi.OutputState }

func (RunBookJobScheduleArrayOutput) ElementType added in v3.14.0

func (RunBookJobScheduleArrayOutput) Index added in v3.14.0

func (RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutput added in v3.14.0

func (o RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput

func (RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutputWithContext added in v3.14.0

func (o RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutputWithContext(ctx context.Context) RunBookJobScheduleArrayOutput

type RunBookJobScheduleInput added in v3.14.0

type RunBookJobScheduleInput interface {
	pulumi.Input

	ToRunBookJobScheduleOutput() RunBookJobScheduleOutput
	ToRunBookJobScheduleOutputWithContext(context.Context) RunBookJobScheduleOutput
}

RunBookJobScheduleInput is an input type that accepts RunBookJobScheduleArgs and RunBookJobScheduleOutput values. You can construct a concrete instance of `RunBookJobScheduleInput` via:

RunBookJobScheduleArgs{...}

type RunBookJobScheduleOutput added in v3.14.0

type RunBookJobScheduleOutput struct{ *pulumi.OutputState }

func (RunBookJobScheduleOutput) ElementType added in v3.14.0

func (RunBookJobScheduleOutput) ElementType() reflect.Type

func (RunBookJobScheduleOutput) JobScheduleId added in v3.14.0

func (RunBookJobScheduleOutput) Parameters added in v3.14.0

func (RunBookJobScheduleOutput) RunOn added in v3.14.0

func (RunBookJobScheduleOutput) ScheduleName added in v3.14.0

func (o RunBookJobScheduleOutput) ScheduleName() pulumi.StringOutput

func (RunBookJobScheduleOutput) ToRunBookJobScheduleOutput added in v3.14.0

func (o RunBookJobScheduleOutput) ToRunBookJobScheduleOutput() RunBookJobScheduleOutput

func (RunBookJobScheduleOutput) ToRunBookJobScheduleOutputWithContext added in v3.14.0

func (o RunBookJobScheduleOutput) ToRunBookJobScheduleOutputWithContext(ctx context.Context) RunBookJobScheduleOutput

type RunBookOutput added in v3.31.1

type RunBookOutput struct {
	*pulumi.OutputState
}

func (RunBookOutput) ElementType added in v3.31.1

func (RunBookOutput) ElementType() reflect.Type

func (RunBookOutput) ToRunBookOutput added in v3.31.1

func (o RunBookOutput) ToRunBookOutput() RunBookOutput

func (RunBookOutput) ToRunBookOutputWithContext added in v3.31.1

func (o RunBookOutput) ToRunBookOutputWithContext(ctx context.Context) RunBookOutput
type RunBookPublishContentLink struct {
	Hash *RunBookPublishContentLinkHash `pulumi:"hash"`
	// The uri of the runbook content.
	Uri     string  `pulumi:"uri"`
	Version *string `pulumi:"version"`
}

type RunBookPublishContentLinkArgs

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

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutputWithContext

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

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutputWithContext

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

type RunBookPublishContentLinkHash

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

type RunBookPublishContentLinkHashArgs

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

func (RunBookPublishContentLinkHashArgs) ElementType

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutputWithContext

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

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

type RunBookPublishContentLinkHashInput

type RunBookPublishContentLinkHashInput interface {
	pulumi.Input

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

RunBookPublishContentLinkHashInput is an input type that accepts RunBookPublishContentLinkHashArgs and RunBookPublishContentLinkHashOutput values. You can construct a concrete instance of `RunBookPublishContentLinkHashInput` via:

RunBookPublishContentLinkHashArgs{...}

type RunBookPublishContentLinkHashOutput

type RunBookPublishContentLinkHashOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashOutput) Algorithm

func (RunBookPublishContentLinkHashOutput) ElementType

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutputWithContext

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

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

func (RunBookPublishContentLinkHashOutput) Value

type RunBookPublishContentLinkHashPtrInput

type RunBookPublishContentLinkHashPtrInput interface {
	pulumi.Input

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

RunBookPublishContentLinkHashPtrInput is an input type that accepts RunBookPublishContentLinkHashArgs, RunBookPublishContentLinkHashPtr and RunBookPublishContentLinkHashPtrOutput values. You can construct a concrete instance of `RunBookPublishContentLinkHashPtrInput` via:

        RunBookPublishContentLinkHashArgs{...}

or:

        nil

type RunBookPublishContentLinkHashPtrOutput

type RunBookPublishContentLinkHashPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashPtrOutput) Algorithm

func (RunBookPublishContentLinkHashPtrOutput) Elem

func (RunBookPublishContentLinkHashPtrOutput) ElementType

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput

func (o RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

func (RunBookPublishContentLinkHashPtrOutput) Value

type RunBookPublishContentLinkInput

type RunBookPublishContentLinkInput interface {
	pulumi.Input

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

RunBookPublishContentLinkInput is an input type that accepts RunBookPublishContentLinkArgs and RunBookPublishContentLinkOutput values. You can construct a concrete instance of `RunBookPublishContentLinkInput` via:

RunBookPublishContentLinkArgs{...}

type RunBookPublishContentLinkOutput

type RunBookPublishContentLinkOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkOutput) ElementType

func (RunBookPublishContentLinkOutput) Hash

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutputWithContext

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

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutputWithContext

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

func (RunBookPublishContentLinkOutput) Uri

The uri of the runbook content.

func (RunBookPublishContentLinkOutput) Version

type RunBookPublishContentLinkPtrInput

type RunBookPublishContentLinkPtrInput interface {
	pulumi.Input

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

RunBookPublishContentLinkPtrInput is an input type that accepts RunBookPublishContentLinkArgs, RunBookPublishContentLinkPtr and RunBookPublishContentLinkPtrOutput values. You can construct a concrete instance of `RunBookPublishContentLinkPtrInput` via:

        RunBookPublishContentLinkArgs{...}

or:

        nil

type RunBookPublishContentLinkPtrOutput

type RunBookPublishContentLinkPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkPtrOutput) Elem

func (RunBookPublishContentLinkPtrOutput) ElementType

func (RunBookPublishContentLinkPtrOutput) Hash

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput

func (o RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutputWithContext

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

func (RunBookPublishContentLinkPtrOutput) Uri

The uri of the runbook content.

func (RunBookPublishContentLinkPtrOutput) Version

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.
	AutomationAccountName pulumi.StringPtrInput
	// The desired content of the runbook.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description  pulumi.StringPtrInput
	JobSchedules RunBookJobScheduleArrayInput
	// 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

func (RunBookState) ElementType() reflect.Type

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

	// 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://s2.automation.ext.azure.com/api/Orchestrator/TimeZones?_=1594792230258
	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.

## Import

Automation Schedule can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/schedule:Schedule schedule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/schedules/schedule1

```

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.

func (Schedule) ElementType added in v3.31.1

func (Schedule) ElementType() reflect.Type

func (Schedule) ToScheduleOutput added in v3.31.1

func (i Schedule) ToScheduleOutput() ScheduleOutput

func (Schedule) ToScheduleOutputWithContext added in v3.31.1

func (i Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleArgs

type ScheduleArgs struct {
	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// 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://s2.automation.ext.azure.com/api/Orchestrator/TimeZones?_=1594792230258
	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

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleInput added in v3.31.1

type ScheduleInput interface {
	pulumi.Input

	ToScheduleOutput() ScheduleOutput
	ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
}

type ScheduleMonthlyOccurrence

type ScheduleMonthlyOccurrence struct {
	// Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
	Day string `pulumi:"day"`
	// Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month.
	Occurrence int `pulumi:"occurrence"`
}

type ScheduleMonthlyOccurrenceArgs

type ScheduleMonthlyOccurrenceArgs struct {
	// Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
	Day pulumi.StringInput `pulumi:"day"`
	// Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month.
	Occurrence pulumi.IntInput `pulumi:"occurrence"`
}

func (ScheduleMonthlyOccurrenceArgs) ElementType

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutputWithContext

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

type ScheduleMonthlyOccurrenceArray

type ScheduleMonthlyOccurrenceArray []ScheduleMonthlyOccurrenceInput

func (ScheduleMonthlyOccurrenceArray) ElementType

func (ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutput

func (i ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput

func (ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutputWithContext

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

type ScheduleMonthlyOccurrenceArrayInput

type ScheduleMonthlyOccurrenceArrayInput interface {
	pulumi.Input

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

ScheduleMonthlyOccurrenceArrayInput is an input type that accepts ScheduleMonthlyOccurrenceArray and ScheduleMonthlyOccurrenceArrayOutput values. You can construct a concrete instance of `ScheduleMonthlyOccurrenceArrayInput` via:

ScheduleMonthlyOccurrenceArray{ ScheduleMonthlyOccurrenceArgs{...} }

type ScheduleMonthlyOccurrenceArrayOutput

type ScheduleMonthlyOccurrenceArrayOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrenceArrayOutput) ElementType

func (ScheduleMonthlyOccurrenceArrayOutput) Index

func (ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutput

func (o ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput

func (ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutputWithContext

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

type ScheduleMonthlyOccurrenceInput

type ScheduleMonthlyOccurrenceInput interface {
	pulumi.Input

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

ScheduleMonthlyOccurrenceInput is an input type that accepts ScheduleMonthlyOccurrenceArgs and ScheduleMonthlyOccurrenceOutput values. You can construct a concrete instance of `ScheduleMonthlyOccurrenceInput` via:

ScheduleMonthlyOccurrenceArgs{...}

type ScheduleMonthlyOccurrenceOutput

type ScheduleMonthlyOccurrenceOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrenceOutput) Day

Day of the occurrence. Must be one of `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.

func (ScheduleMonthlyOccurrenceOutput) ElementType

func (ScheduleMonthlyOccurrenceOutput) Occurrence

Occurrence of the week within the month. Must be between `1` and `5`. `-1` for last week within the month.

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutput

func (o ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutputWithContext

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

type ScheduleOutput added in v3.31.1

type ScheduleOutput struct {
	*pulumi.OutputState
}

func (ScheduleOutput) ElementType added in v3.31.1

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) ToScheduleOutput added in v3.31.1

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext added in v3.31.1

func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

type ScheduleState

type ScheduleState struct {
	// 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://s2.automation.ext.azure.com/api/Orchestrator/TimeZones?_=1594792230258
	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

func (ScheduleState) ElementType() reflect.Type

type StringVariable

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

## Import

Automation String Variable can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:automation/stringVariable:StringVariable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tfex-example-rg/providers/Microsoft.Automation/automationAccounts/tfex-example-account/variables/tfex-example-var

```

func GetStringVariable

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

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.

func (StringVariable) ElementType added in v3.31.1

func (StringVariable) ElementType() reflect.Type

func (StringVariable) ToStringVariableOutput added in v3.31.1

func (i StringVariable) ToStringVariableOutput() StringVariableOutput

func (StringVariable) ToStringVariableOutputWithContext added in v3.31.1

func (i StringVariable) ToStringVariableOutputWithContext(ctx context.Context) StringVariableOutput

type StringVariableArgs

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

func (StringVariableArgs) ElementType() reflect.Type

type StringVariableInput added in v3.31.1

type StringVariableInput interface {
	pulumi.Input

	ToStringVariableOutput() StringVariableOutput
	ToStringVariableOutputWithContext(ctx context.Context) StringVariableOutput
}

type StringVariableOutput added in v3.31.1

type StringVariableOutput struct {
	*pulumi.OutputState
}

func (StringVariableOutput) ElementType added in v3.31.1

func (StringVariableOutput) ElementType() reflect.Type

func (StringVariableOutput) ToStringVariableOutput added in v3.31.1

func (o StringVariableOutput) ToStringVariableOutput() StringVariableOutput

func (StringVariableOutput) ToStringVariableOutputWithContext added in v3.31.1

func (o StringVariableOutput) ToStringVariableOutputWithContext(ctx context.Context) StringVariableOutput

type StringVariableState

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

func (StringVariableState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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