automation

package
v5.4.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 7 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"`
	// An `identity` block as defined below.
	Identity AccountIdentityPtrOutput `pulumi:"identity"`
	// 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"`
	// Whether public network access is allowed for the container registry. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// 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 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/v5/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

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

type AccountArgs

type AccountArgs struct {
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// 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
	// Whether public network access is allowed for the container registry. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// 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 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 AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountIdentity

type AccountIdentity struct {
	// The ID of the User Assigned Identity which should be assigned to this Automation Account.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// The type of identity used for this Automation Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

type AccountIdentityArgs struct {
	// The ID of the User Assigned Identity which should be assigned to this Automation Account.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The type of identity used for this Automation Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

	ToAccountIdentityOutput() AccountIdentityOutput
	ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput
}

AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) IdentityIds

The ID of the User Assigned Identity which should be assigned to this Automation Account.

func (AccountIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityOutput) Type

The type of identity used for this Automation Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

	ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
	ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput
}

AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) IdentityIds

The ID of the User Assigned Identity which should be assigned to this Automation Account.

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) Type

The type of identity used for this Automation Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.

type AccountInput

type AccountInput interface {
	pulumi.Input

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

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

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
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// 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
	// Whether public network access is allowed for the container registry. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// 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 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

func (*BoolVariable) ElementType() reflect.Type

func (*BoolVariable) ToBoolVariableOutput

func (i *BoolVariable) ToBoolVariableOutput() BoolVariableOutput

func (*BoolVariable) ToBoolVariableOutputWithContext

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 BoolVariableArray

type BoolVariableArray []BoolVariableInput

func (BoolVariableArray) ElementType

func (BoolVariableArray) ElementType() reflect.Type

func (BoolVariableArray) ToBoolVariableArrayOutput

func (i BoolVariableArray) ToBoolVariableArrayOutput() BoolVariableArrayOutput

func (BoolVariableArray) ToBoolVariableArrayOutputWithContext

func (i BoolVariableArray) ToBoolVariableArrayOutputWithContext(ctx context.Context) BoolVariableArrayOutput

type BoolVariableArrayInput

type BoolVariableArrayInput interface {
	pulumi.Input

	ToBoolVariableArrayOutput() BoolVariableArrayOutput
	ToBoolVariableArrayOutputWithContext(context.Context) BoolVariableArrayOutput
}

BoolVariableArrayInput is an input type that accepts BoolVariableArray and BoolVariableArrayOutput values. You can construct a concrete instance of `BoolVariableArrayInput` via:

BoolVariableArray{ BoolVariableArgs{...} }

type BoolVariableArrayOutput

type BoolVariableArrayOutput struct{ *pulumi.OutputState }

func (BoolVariableArrayOutput) ElementType

func (BoolVariableArrayOutput) ElementType() reflect.Type

func (BoolVariableArrayOutput) Index

func (BoolVariableArrayOutput) ToBoolVariableArrayOutput

func (o BoolVariableArrayOutput) ToBoolVariableArrayOutput() BoolVariableArrayOutput

func (BoolVariableArrayOutput) ToBoolVariableArrayOutputWithContext

func (o BoolVariableArrayOutput) ToBoolVariableArrayOutputWithContext(ctx context.Context) BoolVariableArrayOutput

type BoolVariableInput

type BoolVariableInput interface {
	pulumi.Input

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

type BoolVariableMap

type BoolVariableMap map[string]BoolVariableInput

func (BoolVariableMap) ElementType

func (BoolVariableMap) ElementType() reflect.Type

func (BoolVariableMap) ToBoolVariableMapOutput

func (i BoolVariableMap) ToBoolVariableMapOutput() BoolVariableMapOutput

func (BoolVariableMap) ToBoolVariableMapOutputWithContext

func (i BoolVariableMap) ToBoolVariableMapOutputWithContext(ctx context.Context) BoolVariableMapOutput

type BoolVariableMapInput

type BoolVariableMapInput interface {
	pulumi.Input

	ToBoolVariableMapOutput() BoolVariableMapOutput
	ToBoolVariableMapOutputWithContext(context.Context) BoolVariableMapOutput
}

BoolVariableMapInput is an input type that accepts BoolVariableMap and BoolVariableMapOutput values. You can construct a concrete instance of `BoolVariableMapInput` via:

BoolVariableMap{ "key": BoolVariableArgs{...} }

type BoolVariableMapOutput

type BoolVariableMapOutput struct{ *pulumi.OutputState }

func (BoolVariableMapOutput) ElementType

func (BoolVariableMapOutput) ElementType() reflect.Type

func (BoolVariableMapOutput) MapIndex

func (BoolVariableMapOutput) ToBoolVariableMapOutput

func (o BoolVariableMapOutput) ToBoolVariableMapOutput() BoolVariableMapOutput

func (BoolVariableMapOutput) ToBoolVariableMapOutputWithContext

func (o BoolVariableMapOutput) ToBoolVariableMapOutputWithContext(ctx context.Context) BoolVariableMapOutput

type BoolVariableOutput

type BoolVariableOutput struct{ *pulumi.OutputState }

func (BoolVariableOutput) ElementType

func (BoolVariableOutput) ElementType() reflect.Type

func (BoolVariableOutput) ToBoolVariableOutput

func (o BoolVariableOutput) ToBoolVariableOutput() BoolVariableOutput

func (BoolVariableOutput) ToBoolVariableOutputWithContext

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. Changing this forces a new resource to be created.
	Base64 pulumi.StringOutput `pulumi:"base64"`
	// The description of this Automation Certificate.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The is exportable flag of the certificate.
	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.

## Example Usage

```go package main

import (

"encoding/base64"
"io/ioutil"

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

)

func filebase64OrPanic(path string) pulumi.StringPtrInput {
	if fileData, err := ioutil.ReadFile(path); err == nil {
		return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
	} else {
		panic(err.Error())
	}
}
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.NewCertificate(ctx, "exampleCertificate", &automation.CertificateArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Description:           pulumi.String("This is an example certificate"),
			Base64:                filebase64OrPanic("certificate.pfx"),
			Exportable:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

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. Changing this forces a new resource to be created.
	Base64 pulumi.StringInput
	// The description of this Automation Certificate.
	Description pulumi.StringPtrInput
	// The is exportable flag of the certificate.
	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.StringInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

	ToCertificateArrayOutput() CertificateArrayOutput
	ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput
}

CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateInput

type CertificateInput interface {
	pulumi.Input

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

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

	ToCertificateMapOutput() CertificateMapOutput
	ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput
}

CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:

CertificateMap{ "key": CertificateArgs{...} }

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) ToCertificateOutput

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext

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. Changing this forces a new resource to be created.
	Base64 pulumi.StringPtrInput
	// The description of this Automation Certificate.
	Description pulumi.StringPtrInput
	// The is exportable flag of the certificate.
	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

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

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

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

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

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

type ConnectionArgs

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

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionCertificate

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

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

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

func (*ConnectionCertificate) ElementType() reflect.Type

func (*ConnectionCertificate) ToConnectionCertificateOutput

func (i *ConnectionCertificate) ToConnectionCertificateOutput() ConnectionCertificateOutput

func (*ConnectionCertificate) ToConnectionCertificateOutputWithContext

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

type ConnectionCertificateArgs

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

func (ConnectionCertificateArgs) ElementType() reflect.Type

type ConnectionCertificateArray

type ConnectionCertificateArray []ConnectionCertificateInput

func (ConnectionCertificateArray) ElementType

func (ConnectionCertificateArray) ElementType() reflect.Type

func (ConnectionCertificateArray) ToConnectionCertificateArrayOutput

func (i ConnectionCertificateArray) ToConnectionCertificateArrayOutput() ConnectionCertificateArrayOutput

func (ConnectionCertificateArray) ToConnectionCertificateArrayOutputWithContext

func (i ConnectionCertificateArray) ToConnectionCertificateArrayOutputWithContext(ctx context.Context) ConnectionCertificateArrayOutput

type ConnectionCertificateArrayInput

type ConnectionCertificateArrayInput interface {
	pulumi.Input

	ToConnectionCertificateArrayOutput() ConnectionCertificateArrayOutput
	ToConnectionCertificateArrayOutputWithContext(context.Context) ConnectionCertificateArrayOutput
}

ConnectionCertificateArrayInput is an input type that accepts ConnectionCertificateArray and ConnectionCertificateArrayOutput values. You can construct a concrete instance of `ConnectionCertificateArrayInput` via:

ConnectionCertificateArray{ ConnectionCertificateArgs{...} }

type ConnectionCertificateArrayOutput

type ConnectionCertificateArrayOutput struct{ *pulumi.OutputState }

func (ConnectionCertificateArrayOutput) ElementType

func (ConnectionCertificateArrayOutput) Index

func (ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutput

func (o ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutput() ConnectionCertificateArrayOutput

func (ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutputWithContext

func (o ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutputWithContext(ctx context.Context) ConnectionCertificateArrayOutput

type ConnectionCertificateInput

type ConnectionCertificateInput interface {
	pulumi.Input

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

type ConnectionCertificateMap

type ConnectionCertificateMap map[string]ConnectionCertificateInput

func (ConnectionCertificateMap) ElementType

func (ConnectionCertificateMap) ElementType() reflect.Type

func (ConnectionCertificateMap) ToConnectionCertificateMapOutput

func (i ConnectionCertificateMap) ToConnectionCertificateMapOutput() ConnectionCertificateMapOutput

func (ConnectionCertificateMap) ToConnectionCertificateMapOutputWithContext

func (i ConnectionCertificateMap) ToConnectionCertificateMapOutputWithContext(ctx context.Context) ConnectionCertificateMapOutput

type ConnectionCertificateMapInput

type ConnectionCertificateMapInput interface {
	pulumi.Input

	ToConnectionCertificateMapOutput() ConnectionCertificateMapOutput
	ToConnectionCertificateMapOutputWithContext(context.Context) ConnectionCertificateMapOutput
}

ConnectionCertificateMapInput is an input type that accepts ConnectionCertificateMap and ConnectionCertificateMapOutput values. You can construct a concrete instance of `ConnectionCertificateMapInput` via:

ConnectionCertificateMap{ "key": ConnectionCertificateArgs{...} }

type ConnectionCertificateMapOutput

type ConnectionCertificateMapOutput struct{ *pulumi.OutputState }

func (ConnectionCertificateMapOutput) ElementType

func (ConnectionCertificateMapOutput) MapIndex

func (ConnectionCertificateMapOutput) ToConnectionCertificateMapOutput

func (o ConnectionCertificateMapOutput) ToConnectionCertificateMapOutput() ConnectionCertificateMapOutput

func (ConnectionCertificateMapOutput) ToConnectionCertificateMapOutputWithContext

func (o ConnectionCertificateMapOutput) ToConnectionCertificateMapOutputWithContext(ctx context.Context) ConnectionCertificateMapOutput

type ConnectionCertificateOutput

type ConnectionCertificateOutput struct{ *pulumi.OutputState }

func (ConnectionCertificateOutput) ElementType

func (ConnectionCertificateOutput) ToConnectionCertificateOutput

func (o ConnectionCertificateOutput) ToConnectionCertificateOutput() ConnectionCertificateOutput

func (ConnectionCertificateOutput) ToConnectionCertificateOutputWithContext

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

type ConnectionCertificateState

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

func (ConnectionCertificateState) ElementType() reflect.Type

type ConnectionClassicCertificate

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

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

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

func (*ConnectionClassicCertificate) ElementType() reflect.Type

func (*ConnectionClassicCertificate) ToConnectionClassicCertificateOutput

func (i *ConnectionClassicCertificate) ToConnectionClassicCertificateOutput() ConnectionClassicCertificateOutput

func (*ConnectionClassicCertificate) ToConnectionClassicCertificateOutputWithContext

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

type ConnectionClassicCertificateArgs

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

type ConnectionClassicCertificateArray

type ConnectionClassicCertificateArray []ConnectionClassicCertificateInput

func (ConnectionClassicCertificateArray) ElementType

func (ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutput

func (i ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutput() ConnectionClassicCertificateArrayOutput

func (ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutputWithContext

func (i ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutputWithContext(ctx context.Context) ConnectionClassicCertificateArrayOutput

type ConnectionClassicCertificateArrayInput

type ConnectionClassicCertificateArrayInput interface {
	pulumi.Input

	ToConnectionClassicCertificateArrayOutput() ConnectionClassicCertificateArrayOutput
	ToConnectionClassicCertificateArrayOutputWithContext(context.Context) ConnectionClassicCertificateArrayOutput
}

ConnectionClassicCertificateArrayInput is an input type that accepts ConnectionClassicCertificateArray and ConnectionClassicCertificateArrayOutput values. You can construct a concrete instance of `ConnectionClassicCertificateArrayInput` via:

ConnectionClassicCertificateArray{ ConnectionClassicCertificateArgs{...} }

type ConnectionClassicCertificateArrayOutput

type ConnectionClassicCertificateArrayOutput struct{ *pulumi.OutputState }

func (ConnectionClassicCertificateArrayOutput) ElementType

func (ConnectionClassicCertificateArrayOutput) Index

func (ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutput

func (o ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutput() ConnectionClassicCertificateArrayOutput

func (ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutputWithContext

func (o ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutputWithContext(ctx context.Context) ConnectionClassicCertificateArrayOutput

type ConnectionClassicCertificateInput

type ConnectionClassicCertificateInput interface {
	pulumi.Input

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

type ConnectionClassicCertificateMap

type ConnectionClassicCertificateMap map[string]ConnectionClassicCertificateInput

func (ConnectionClassicCertificateMap) ElementType

func (ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutput

func (i ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutput() ConnectionClassicCertificateMapOutput

func (ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutputWithContext

func (i ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutputWithContext(ctx context.Context) ConnectionClassicCertificateMapOutput

type ConnectionClassicCertificateMapInput

type ConnectionClassicCertificateMapInput interface {
	pulumi.Input

	ToConnectionClassicCertificateMapOutput() ConnectionClassicCertificateMapOutput
	ToConnectionClassicCertificateMapOutputWithContext(context.Context) ConnectionClassicCertificateMapOutput
}

ConnectionClassicCertificateMapInput is an input type that accepts ConnectionClassicCertificateMap and ConnectionClassicCertificateMapOutput values. You can construct a concrete instance of `ConnectionClassicCertificateMapInput` via:

ConnectionClassicCertificateMap{ "key": ConnectionClassicCertificateArgs{...} }

type ConnectionClassicCertificateMapOutput

type ConnectionClassicCertificateMapOutput struct{ *pulumi.OutputState }

func (ConnectionClassicCertificateMapOutput) ElementType

func (ConnectionClassicCertificateMapOutput) MapIndex

func (ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutput

func (o ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutput() ConnectionClassicCertificateMapOutput

func (ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutputWithContext

func (o ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutputWithContext(ctx context.Context) ConnectionClassicCertificateMapOutput

type ConnectionClassicCertificateOutput

type ConnectionClassicCertificateOutput struct{ *pulumi.OutputState }

func (ConnectionClassicCertificateOutput) ElementType

func (ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutput

func (o ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutput() ConnectionClassicCertificateOutput

func (ConnectionClassicCertificateOutput) ToConnectionClassicCertificateOutputWithContext

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

type ConnectionClassicCertificateState

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

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

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

type ConnectionMap

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex

func (ConnectionMapOutput) ToConnectionMapOutput

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

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

type ConnectionServicePrincipal

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

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

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

func (*ConnectionServicePrincipal) ElementType() reflect.Type

func (*ConnectionServicePrincipal) ToConnectionServicePrincipalOutput

func (i *ConnectionServicePrincipal) ToConnectionServicePrincipalOutput() ConnectionServicePrincipalOutput

func (*ConnectionServicePrincipal) ToConnectionServicePrincipalOutputWithContext

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

type ConnectionServicePrincipalArgs

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

type ConnectionServicePrincipalArray

type ConnectionServicePrincipalArray []ConnectionServicePrincipalInput

func (ConnectionServicePrincipalArray) ElementType

func (ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutput

func (i ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutput() ConnectionServicePrincipalArrayOutput

func (ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutputWithContext

func (i ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutputWithContext(ctx context.Context) ConnectionServicePrincipalArrayOutput

type ConnectionServicePrincipalArrayInput

type ConnectionServicePrincipalArrayInput interface {
	pulumi.Input

	ToConnectionServicePrincipalArrayOutput() ConnectionServicePrincipalArrayOutput
	ToConnectionServicePrincipalArrayOutputWithContext(context.Context) ConnectionServicePrincipalArrayOutput
}

ConnectionServicePrincipalArrayInput is an input type that accepts ConnectionServicePrincipalArray and ConnectionServicePrincipalArrayOutput values. You can construct a concrete instance of `ConnectionServicePrincipalArrayInput` via:

ConnectionServicePrincipalArray{ ConnectionServicePrincipalArgs{...} }

type ConnectionServicePrincipalArrayOutput

type ConnectionServicePrincipalArrayOutput struct{ *pulumi.OutputState }

func (ConnectionServicePrincipalArrayOutput) ElementType

func (ConnectionServicePrincipalArrayOutput) Index

func (ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutput

func (o ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutput() ConnectionServicePrincipalArrayOutput

func (ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutputWithContext

func (o ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutputWithContext(ctx context.Context) ConnectionServicePrincipalArrayOutput

type ConnectionServicePrincipalInput

type ConnectionServicePrincipalInput interface {
	pulumi.Input

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

type ConnectionServicePrincipalMap

type ConnectionServicePrincipalMap map[string]ConnectionServicePrincipalInput

func (ConnectionServicePrincipalMap) ElementType

func (ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutput

func (i ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutput() ConnectionServicePrincipalMapOutput

func (ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutputWithContext

func (i ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutputWithContext(ctx context.Context) ConnectionServicePrincipalMapOutput

type ConnectionServicePrincipalMapInput

type ConnectionServicePrincipalMapInput interface {
	pulumi.Input

	ToConnectionServicePrincipalMapOutput() ConnectionServicePrincipalMapOutput
	ToConnectionServicePrincipalMapOutputWithContext(context.Context) ConnectionServicePrincipalMapOutput
}

ConnectionServicePrincipalMapInput is an input type that accepts ConnectionServicePrincipalMap and ConnectionServicePrincipalMapOutput values. You can construct a concrete instance of `ConnectionServicePrincipalMapInput` via:

ConnectionServicePrincipalMap{ "key": ConnectionServicePrincipalArgs{...} }

type ConnectionServicePrincipalMapOutput

type ConnectionServicePrincipalMapOutput struct{ *pulumi.OutputState }

func (ConnectionServicePrincipalMapOutput) ElementType

func (ConnectionServicePrincipalMapOutput) MapIndex

func (ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutput

func (o ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutput() ConnectionServicePrincipalMapOutput

func (ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutputWithContext

func (o ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutputWithContext(ctx context.Context) ConnectionServicePrincipalMapOutput

type ConnectionServicePrincipalOutput

type ConnectionServicePrincipalOutput struct{ *pulumi.OutputState }

func (ConnectionServicePrincipalOutput) ElementType

func (ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutput

func (o ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutput() ConnectionServicePrincipalOutput

func (ConnectionServicePrincipalOutput) ToConnectionServicePrincipalOutputWithContext

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

type ConnectionServicePrincipalState

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

type ConnectionState

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

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/v5/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Credential) ElementType() reflect.Type

func (*Credential) ToCredentialOutput

func (i *Credential) ToCredentialOutput() CredentialOutput

func (*Credential) ToCredentialOutputWithContext

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 CredentialArray

type CredentialArray []CredentialInput

func (CredentialArray) ElementType

func (CredentialArray) ElementType() reflect.Type

func (CredentialArray) ToCredentialArrayOutput

func (i CredentialArray) ToCredentialArrayOutput() CredentialArrayOutput

func (CredentialArray) ToCredentialArrayOutputWithContext

func (i CredentialArray) ToCredentialArrayOutputWithContext(ctx context.Context) CredentialArrayOutput

type CredentialArrayInput

type CredentialArrayInput interface {
	pulumi.Input

	ToCredentialArrayOutput() CredentialArrayOutput
	ToCredentialArrayOutputWithContext(context.Context) CredentialArrayOutput
}

CredentialArrayInput is an input type that accepts CredentialArray and CredentialArrayOutput values. You can construct a concrete instance of `CredentialArrayInput` via:

CredentialArray{ CredentialArgs{...} }

type CredentialArrayOutput

type CredentialArrayOutput struct{ *pulumi.OutputState }

func (CredentialArrayOutput) ElementType

func (CredentialArrayOutput) ElementType() reflect.Type

func (CredentialArrayOutput) Index

func (CredentialArrayOutput) ToCredentialArrayOutput

func (o CredentialArrayOutput) ToCredentialArrayOutput() CredentialArrayOutput

func (CredentialArrayOutput) ToCredentialArrayOutputWithContext

func (o CredentialArrayOutput) ToCredentialArrayOutputWithContext(ctx context.Context) CredentialArrayOutput

type CredentialInput

type CredentialInput interface {
	pulumi.Input

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

type CredentialMap

type CredentialMap map[string]CredentialInput

func (CredentialMap) ElementType

func (CredentialMap) ElementType() reflect.Type

func (CredentialMap) ToCredentialMapOutput

func (i CredentialMap) ToCredentialMapOutput() CredentialMapOutput

func (CredentialMap) ToCredentialMapOutputWithContext

func (i CredentialMap) ToCredentialMapOutputWithContext(ctx context.Context) CredentialMapOutput

type CredentialMapInput

type CredentialMapInput interface {
	pulumi.Input

	ToCredentialMapOutput() CredentialMapOutput
	ToCredentialMapOutputWithContext(context.Context) CredentialMapOutput
}

CredentialMapInput is an input type that accepts CredentialMap and CredentialMapOutput values. You can construct a concrete instance of `CredentialMapInput` via:

CredentialMap{ "key": CredentialArgs{...} }

type CredentialMapOutput

type CredentialMapOutput struct{ *pulumi.OutputState }

func (CredentialMapOutput) ElementType

func (CredentialMapOutput) ElementType() reflect.Type

func (CredentialMapOutput) MapIndex

func (CredentialMapOutput) ToCredentialMapOutput

func (o CredentialMapOutput) ToCredentialMapOutput() CredentialMapOutput

func (CredentialMapOutput) ToCredentialMapOutputWithContext

func (o CredentialMapOutput) ToCredentialMapOutputWithContext(ctx context.Context) CredentialMapOutput

type CredentialOutput

type CredentialOutput struct{ *pulumi.OutputState }

func (CredentialOutput) ElementType

func (CredentialOutput) ElementType() reflect.Type

func (CredentialOutput) ToCredentialOutput

func (o CredentialOutput) ToCredentialOutput() CredentialOutput

func (CredentialOutput) ToCredentialOutputWithContext

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

func (*DateTimeVariable) ElementType() reflect.Type

func (*DateTimeVariable) ToDateTimeVariableOutput

func (i *DateTimeVariable) ToDateTimeVariableOutput() DateTimeVariableOutput

func (*DateTimeVariable) ToDateTimeVariableOutputWithContext

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 DateTimeVariableArray

type DateTimeVariableArray []DateTimeVariableInput

func (DateTimeVariableArray) ElementType

func (DateTimeVariableArray) ElementType() reflect.Type

func (DateTimeVariableArray) ToDateTimeVariableArrayOutput

func (i DateTimeVariableArray) ToDateTimeVariableArrayOutput() DateTimeVariableArrayOutput

func (DateTimeVariableArray) ToDateTimeVariableArrayOutputWithContext

func (i DateTimeVariableArray) ToDateTimeVariableArrayOutputWithContext(ctx context.Context) DateTimeVariableArrayOutput

type DateTimeVariableArrayInput

type DateTimeVariableArrayInput interface {
	pulumi.Input

	ToDateTimeVariableArrayOutput() DateTimeVariableArrayOutput
	ToDateTimeVariableArrayOutputWithContext(context.Context) DateTimeVariableArrayOutput
}

DateTimeVariableArrayInput is an input type that accepts DateTimeVariableArray and DateTimeVariableArrayOutput values. You can construct a concrete instance of `DateTimeVariableArrayInput` via:

DateTimeVariableArray{ DateTimeVariableArgs{...} }

type DateTimeVariableArrayOutput

type DateTimeVariableArrayOutput struct{ *pulumi.OutputState }

func (DateTimeVariableArrayOutput) ElementType

func (DateTimeVariableArrayOutput) Index

func (DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutput

func (o DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutput() DateTimeVariableArrayOutput

func (DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutputWithContext

func (o DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutputWithContext(ctx context.Context) DateTimeVariableArrayOutput

type DateTimeVariableInput

type DateTimeVariableInput interface {
	pulumi.Input

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

type DateTimeVariableMap

type DateTimeVariableMap map[string]DateTimeVariableInput

func (DateTimeVariableMap) ElementType

func (DateTimeVariableMap) ElementType() reflect.Type

func (DateTimeVariableMap) ToDateTimeVariableMapOutput

func (i DateTimeVariableMap) ToDateTimeVariableMapOutput() DateTimeVariableMapOutput

func (DateTimeVariableMap) ToDateTimeVariableMapOutputWithContext

func (i DateTimeVariableMap) ToDateTimeVariableMapOutputWithContext(ctx context.Context) DateTimeVariableMapOutput

type DateTimeVariableMapInput

type DateTimeVariableMapInput interface {
	pulumi.Input

	ToDateTimeVariableMapOutput() DateTimeVariableMapOutput
	ToDateTimeVariableMapOutputWithContext(context.Context) DateTimeVariableMapOutput
}

DateTimeVariableMapInput is an input type that accepts DateTimeVariableMap and DateTimeVariableMapOutput values. You can construct a concrete instance of `DateTimeVariableMapInput` via:

DateTimeVariableMap{ "key": DateTimeVariableArgs{...} }

type DateTimeVariableMapOutput

type DateTimeVariableMapOutput struct{ *pulumi.OutputState }

func (DateTimeVariableMapOutput) ElementType

func (DateTimeVariableMapOutput) ElementType() reflect.Type

func (DateTimeVariableMapOutput) MapIndex

func (DateTimeVariableMapOutput) ToDateTimeVariableMapOutput

func (o DateTimeVariableMapOutput) ToDateTimeVariableMapOutput() DateTimeVariableMapOutput

func (DateTimeVariableMapOutput) ToDateTimeVariableMapOutputWithContext

func (o DateTimeVariableMapOutput) ToDateTimeVariableMapOutputWithContext(ctx context.Context) DateTimeVariableMapOutput

type DateTimeVariableOutput

type DateTimeVariableOutput struct{ *pulumi.OutputState }

func (DateTimeVariableOutput) ElementType

func (DateTimeVariableOutput) ElementType() reflect.Type

func (DateTimeVariableOutput) ToDateTimeVariableOutput

func (o DateTimeVariableOutput) ToDateTimeVariableOutput() DateTimeVariableOutput

func (DateTimeVariableOutput) ToDateTimeVariableOutputWithContext

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

func (*DscConfiguration) ElementType() reflect.Type

func (*DscConfiguration) ToDscConfigurationOutput

func (i *DscConfiguration) ToDscConfigurationOutput() DscConfigurationOutput

func (*DscConfiguration) ToDscConfigurationOutputWithContext

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 DscConfigurationArray

type DscConfigurationArray []DscConfigurationInput

func (DscConfigurationArray) ElementType

func (DscConfigurationArray) ElementType() reflect.Type

func (DscConfigurationArray) ToDscConfigurationArrayOutput

func (i DscConfigurationArray) ToDscConfigurationArrayOutput() DscConfigurationArrayOutput

func (DscConfigurationArray) ToDscConfigurationArrayOutputWithContext

func (i DscConfigurationArray) ToDscConfigurationArrayOutputWithContext(ctx context.Context) DscConfigurationArrayOutput

type DscConfigurationArrayInput

type DscConfigurationArrayInput interface {
	pulumi.Input

	ToDscConfigurationArrayOutput() DscConfigurationArrayOutput
	ToDscConfigurationArrayOutputWithContext(context.Context) DscConfigurationArrayOutput
}

DscConfigurationArrayInput is an input type that accepts DscConfigurationArray and DscConfigurationArrayOutput values. You can construct a concrete instance of `DscConfigurationArrayInput` via:

DscConfigurationArray{ DscConfigurationArgs{...} }

type DscConfigurationArrayOutput

type DscConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DscConfigurationArrayOutput) ElementType

func (DscConfigurationArrayOutput) Index

func (DscConfigurationArrayOutput) ToDscConfigurationArrayOutput

func (o DscConfigurationArrayOutput) ToDscConfigurationArrayOutput() DscConfigurationArrayOutput

func (DscConfigurationArrayOutput) ToDscConfigurationArrayOutputWithContext

func (o DscConfigurationArrayOutput) ToDscConfigurationArrayOutputWithContext(ctx context.Context) DscConfigurationArrayOutput

type DscConfigurationInput

type DscConfigurationInput interface {
	pulumi.Input

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

type DscConfigurationMap

type DscConfigurationMap map[string]DscConfigurationInput

func (DscConfigurationMap) ElementType

func (DscConfigurationMap) ElementType() reflect.Type

func (DscConfigurationMap) ToDscConfigurationMapOutput

func (i DscConfigurationMap) ToDscConfigurationMapOutput() DscConfigurationMapOutput

func (DscConfigurationMap) ToDscConfigurationMapOutputWithContext

func (i DscConfigurationMap) ToDscConfigurationMapOutputWithContext(ctx context.Context) DscConfigurationMapOutput

type DscConfigurationMapInput

type DscConfigurationMapInput interface {
	pulumi.Input

	ToDscConfigurationMapOutput() DscConfigurationMapOutput
	ToDscConfigurationMapOutputWithContext(context.Context) DscConfigurationMapOutput
}

DscConfigurationMapInput is an input type that accepts DscConfigurationMap and DscConfigurationMapOutput values. You can construct a concrete instance of `DscConfigurationMapInput` via:

DscConfigurationMap{ "key": DscConfigurationArgs{...} }

type DscConfigurationMapOutput

type DscConfigurationMapOutput struct{ *pulumi.OutputState }

func (DscConfigurationMapOutput) ElementType

func (DscConfigurationMapOutput) ElementType() reflect.Type

func (DscConfigurationMapOutput) MapIndex

func (DscConfigurationMapOutput) ToDscConfigurationMapOutput

func (o DscConfigurationMapOutput) ToDscConfigurationMapOutput() DscConfigurationMapOutput

func (DscConfigurationMapOutput) ToDscConfigurationMapOutputWithContext

func (o DscConfigurationMapOutput) ToDscConfigurationMapOutputWithContext(ctx context.Context) DscConfigurationMapOutput

type DscConfigurationOutput

type DscConfigurationOutput struct{ *pulumi.OutputState }

func (DscConfigurationOutput) ElementType

func (DscConfigurationOutput) ElementType() reflect.Type

func (DscConfigurationOutput) ToDscConfigurationOutput

func (o DscConfigurationOutput) ToDscConfigurationOutput() DscConfigurationOutput

func (DscConfigurationOutput) ToDscConfigurationOutputWithContext

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

func (*DscNodeConfiguration) ElementType() reflect.Type

func (*DscNodeConfiguration) ToDscNodeConfigurationOutput

func (i *DscNodeConfiguration) ToDscNodeConfigurationOutput() DscNodeConfigurationOutput

func (*DscNodeConfiguration) ToDscNodeConfigurationOutputWithContext

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 DscNodeConfigurationArray

type DscNodeConfigurationArray []DscNodeConfigurationInput

func (DscNodeConfigurationArray) ElementType

func (DscNodeConfigurationArray) ElementType() reflect.Type

func (DscNodeConfigurationArray) ToDscNodeConfigurationArrayOutput

func (i DscNodeConfigurationArray) ToDscNodeConfigurationArrayOutput() DscNodeConfigurationArrayOutput

func (DscNodeConfigurationArray) ToDscNodeConfigurationArrayOutputWithContext

func (i DscNodeConfigurationArray) ToDscNodeConfigurationArrayOutputWithContext(ctx context.Context) DscNodeConfigurationArrayOutput

type DscNodeConfigurationArrayInput

type DscNodeConfigurationArrayInput interface {
	pulumi.Input

	ToDscNodeConfigurationArrayOutput() DscNodeConfigurationArrayOutput
	ToDscNodeConfigurationArrayOutputWithContext(context.Context) DscNodeConfigurationArrayOutput
}

DscNodeConfigurationArrayInput is an input type that accepts DscNodeConfigurationArray and DscNodeConfigurationArrayOutput values. You can construct a concrete instance of `DscNodeConfigurationArrayInput` via:

DscNodeConfigurationArray{ DscNodeConfigurationArgs{...} }

type DscNodeConfigurationArrayOutput

type DscNodeConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DscNodeConfigurationArrayOutput) ElementType

func (DscNodeConfigurationArrayOutput) Index

func (DscNodeConfigurationArrayOutput) ToDscNodeConfigurationArrayOutput

func (o DscNodeConfigurationArrayOutput) ToDscNodeConfigurationArrayOutput() DscNodeConfigurationArrayOutput

func (DscNodeConfigurationArrayOutput) ToDscNodeConfigurationArrayOutputWithContext

func (o DscNodeConfigurationArrayOutput) ToDscNodeConfigurationArrayOutputWithContext(ctx context.Context) DscNodeConfigurationArrayOutput

type DscNodeConfigurationInput

type DscNodeConfigurationInput interface {
	pulumi.Input

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

type DscNodeConfigurationMap

type DscNodeConfigurationMap map[string]DscNodeConfigurationInput

func (DscNodeConfigurationMap) ElementType

func (DscNodeConfigurationMap) ElementType() reflect.Type

func (DscNodeConfigurationMap) ToDscNodeConfigurationMapOutput

func (i DscNodeConfigurationMap) ToDscNodeConfigurationMapOutput() DscNodeConfigurationMapOutput

func (DscNodeConfigurationMap) ToDscNodeConfigurationMapOutputWithContext

func (i DscNodeConfigurationMap) ToDscNodeConfigurationMapOutputWithContext(ctx context.Context) DscNodeConfigurationMapOutput

type DscNodeConfigurationMapInput

type DscNodeConfigurationMapInput interface {
	pulumi.Input

	ToDscNodeConfigurationMapOutput() DscNodeConfigurationMapOutput
	ToDscNodeConfigurationMapOutputWithContext(context.Context) DscNodeConfigurationMapOutput
}

DscNodeConfigurationMapInput is an input type that accepts DscNodeConfigurationMap and DscNodeConfigurationMapOutput values. You can construct a concrete instance of `DscNodeConfigurationMapInput` via:

DscNodeConfigurationMap{ "key": DscNodeConfigurationArgs{...} }

type DscNodeConfigurationMapOutput

type DscNodeConfigurationMapOutput struct{ *pulumi.OutputState }

func (DscNodeConfigurationMapOutput) ElementType

func (DscNodeConfigurationMapOutput) MapIndex

func (DscNodeConfigurationMapOutput) ToDscNodeConfigurationMapOutput

func (o DscNodeConfigurationMapOutput) ToDscNodeConfigurationMapOutput() DscNodeConfigurationMapOutput

func (DscNodeConfigurationMapOutput) ToDscNodeConfigurationMapOutputWithContext

func (o DscNodeConfigurationMapOutput) ToDscNodeConfigurationMapOutputWithContext(ctx context.Context) DscNodeConfigurationMapOutput

type DscNodeConfigurationOutput

type DscNodeConfigurationOutput struct{ *pulumi.OutputState }

func (DscNodeConfigurationOutput) ElementType

func (DscNodeConfigurationOutput) ElementType() reflect.Type

func (DscNodeConfigurationOutput) ToDscNodeConfigurationOutput

func (o DscNodeConfigurationOutput) ToDscNodeConfigurationOutput() DscNodeConfigurationOutput

func (DscNodeConfigurationOutput) ToDscNodeConfigurationOutputWithContext

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

func (*IntVariable) ElementType() reflect.Type

func (*IntVariable) ToIntVariableOutput

func (i *IntVariable) ToIntVariableOutput() IntVariableOutput

func (*IntVariable) ToIntVariableOutputWithContext

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 IntVariableArray

type IntVariableArray []IntVariableInput

func (IntVariableArray) ElementType

func (IntVariableArray) ElementType() reflect.Type

func (IntVariableArray) ToIntVariableArrayOutput

func (i IntVariableArray) ToIntVariableArrayOutput() IntVariableArrayOutput

func (IntVariableArray) ToIntVariableArrayOutputWithContext

func (i IntVariableArray) ToIntVariableArrayOutputWithContext(ctx context.Context) IntVariableArrayOutput

type IntVariableArrayInput

type IntVariableArrayInput interface {
	pulumi.Input

	ToIntVariableArrayOutput() IntVariableArrayOutput
	ToIntVariableArrayOutputWithContext(context.Context) IntVariableArrayOutput
}

IntVariableArrayInput is an input type that accepts IntVariableArray and IntVariableArrayOutput values. You can construct a concrete instance of `IntVariableArrayInput` via:

IntVariableArray{ IntVariableArgs{...} }

type IntVariableArrayOutput

type IntVariableArrayOutput struct{ *pulumi.OutputState }

func (IntVariableArrayOutput) ElementType

func (IntVariableArrayOutput) ElementType() reflect.Type

func (IntVariableArrayOutput) Index

func (IntVariableArrayOutput) ToIntVariableArrayOutput

func (o IntVariableArrayOutput) ToIntVariableArrayOutput() IntVariableArrayOutput

func (IntVariableArrayOutput) ToIntVariableArrayOutputWithContext

func (o IntVariableArrayOutput) ToIntVariableArrayOutputWithContext(ctx context.Context) IntVariableArrayOutput

type IntVariableInput

type IntVariableInput interface {
	pulumi.Input

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

type IntVariableMap

type IntVariableMap map[string]IntVariableInput

func (IntVariableMap) ElementType

func (IntVariableMap) ElementType() reflect.Type

func (IntVariableMap) ToIntVariableMapOutput

func (i IntVariableMap) ToIntVariableMapOutput() IntVariableMapOutput

func (IntVariableMap) ToIntVariableMapOutputWithContext

func (i IntVariableMap) ToIntVariableMapOutputWithContext(ctx context.Context) IntVariableMapOutput

type IntVariableMapInput

type IntVariableMapInput interface {
	pulumi.Input

	ToIntVariableMapOutput() IntVariableMapOutput
	ToIntVariableMapOutputWithContext(context.Context) IntVariableMapOutput
}

IntVariableMapInput is an input type that accepts IntVariableMap and IntVariableMapOutput values. You can construct a concrete instance of `IntVariableMapInput` via:

IntVariableMap{ "key": IntVariableArgs{...} }

type IntVariableMapOutput

type IntVariableMapOutput struct{ *pulumi.OutputState }

func (IntVariableMapOutput) ElementType

func (IntVariableMapOutput) ElementType() reflect.Type

func (IntVariableMapOutput) MapIndex

func (IntVariableMapOutput) ToIntVariableMapOutput

func (o IntVariableMapOutput) ToIntVariableMapOutput() IntVariableMapOutput

func (IntVariableMapOutput) ToIntVariableMapOutputWithContext

func (o IntVariableMapOutput) ToIntVariableMapOutputWithContext(ctx context.Context) IntVariableMapOutput

type IntVariableOutput

type IntVariableOutput struct{ *pulumi.OutputState }

func (IntVariableOutput) ElementType

func (IntVariableOutput) ElementType() reflect.Type

func (IntVariableOutput) ToIntVariableOutput

func (o IntVariableOutput) ToIntVariableOutput() IntVariableOutput

func (IntVariableOutput) ToIntVariableOutputWithContext

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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/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

func (*JobSchedule) ElementType() reflect.Type

func (*JobSchedule) ToJobScheduleOutput

func (i *JobSchedule) ToJobScheduleOutput() JobScheduleOutput

func (*JobSchedule) ToJobScheduleOutputWithContext

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 JobScheduleArray

type JobScheduleArray []JobScheduleInput

func (JobScheduleArray) ElementType

func (JobScheduleArray) ElementType() reflect.Type

func (JobScheduleArray) ToJobScheduleArrayOutput

func (i JobScheduleArray) ToJobScheduleArrayOutput() JobScheduleArrayOutput

func (JobScheduleArray) ToJobScheduleArrayOutputWithContext

func (i JobScheduleArray) ToJobScheduleArrayOutputWithContext(ctx context.Context) JobScheduleArrayOutput

type JobScheduleArrayInput

type JobScheduleArrayInput interface {
	pulumi.Input

	ToJobScheduleArrayOutput() JobScheduleArrayOutput
	ToJobScheduleArrayOutputWithContext(context.Context) JobScheduleArrayOutput
}

JobScheduleArrayInput is an input type that accepts JobScheduleArray and JobScheduleArrayOutput values. You can construct a concrete instance of `JobScheduleArrayInput` via:

JobScheduleArray{ JobScheduleArgs{...} }

type JobScheduleArrayOutput

type JobScheduleArrayOutput struct{ *pulumi.OutputState }

func (JobScheduleArrayOutput) ElementType

func (JobScheduleArrayOutput) ElementType() reflect.Type

func (JobScheduleArrayOutput) Index

func (JobScheduleArrayOutput) ToJobScheduleArrayOutput

func (o JobScheduleArrayOutput) ToJobScheduleArrayOutput() JobScheduleArrayOutput

func (JobScheduleArrayOutput) ToJobScheduleArrayOutputWithContext

func (o JobScheduleArrayOutput) ToJobScheduleArrayOutputWithContext(ctx context.Context) JobScheduleArrayOutput

type JobScheduleInput

type JobScheduleInput interface {
	pulumi.Input

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

type JobScheduleMap

type JobScheduleMap map[string]JobScheduleInput

func (JobScheduleMap) ElementType

func (JobScheduleMap) ElementType() reflect.Type

func (JobScheduleMap) ToJobScheduleMapOutput

func (i JobScheduleMap) ToJobScheduleMapOutput() JobScheduleMapOutput

func (JobScheduleMap) ToJobScheduleMapOutputWithContext

func (i JobScheduleMap) ToJobScheduleMapOutputWithContext(ctx context.Context) JobScheduleMapOutput

type JobScheduleMapInput

type JobScheduleMapInput interface {
	pulumi.Input

	ToJobScheduleMapOutput() JobScheduleMapOutput
	ToJobScheduleMapOutputWithContext(context.Context) JobScheduleMapOutput
}

JobScheduleMapInput is an input type that accepts JobScheduleMap and JobScheduleMapOutput values. You can construct a concrete instance of `JobScheduleMapInput` via:

JobScheduleMap{ "key": JobScheduleArgs{...} }

type JobScheduleMapOutput

type JobScheduleMapOutput struct{ *pulumi.OutputState }

func (JobScheduleMapOutput) ElementType

func (JobScheduleMapOutput) ElementType() reflect.Type

func (JobScheduleMapOutput) MapIndex

func (JobScheduleMapOutput) ToJobScheduleMapOutput

func (o JobScheduleMapOutput) ToJobScheduleMapOutput() JobScheduleMapOutput

func (JobScheduleMapOutput) ToJobScheduleMapOutputWithContext

func (o JobScheduleMapOutput) ToJobScheduleMapOutputWithContext(ctx context.Context) JobScheduleMapOutput

type JobScheduleOutput

type JobScheduleOutput struct{ *pulumi.OutputState }

func (JobScheduleOutput) ElementType

func (JobScheduleOutput) ElementType() reflect.Type

func (JobScheduleOutput) ToJobScheduleOutput

func (o JobScheduleOutput) ToJobScheduleOutput() JobScheduleOutput

func (JobScheduleOutput) ToJobScheduleOutputWithContext

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 LookupAccountOutputArgs

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

A collection of arguments for invoking getAccount.

func (LookupAccountOutputArgs) ElementType

func (LookupAccountOutputArgs) ElementType() reflect.Type

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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/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 LookupAccountResultOutput

type LookupAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func (LookupAccountResultOutput) ElementType

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) Endpoint

The Endpoint for this Automation Account.

func (LookupAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAccountResultOutput) Name

func (LookupAccountResultOutput) PrimaryKey

The Primary Access Key for the Automation Account.

func (LookupAccountResultOutput) ResourceGroupName

func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAccountResultOutput) SecondaryKey

The Secondary Access Key for the Automation Account.

func (LookupAccountResultOutput) ToLookupAccountResultOutput

func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput

func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext

func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput

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 LookupBoolVariableOutputArgs

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

A collection of arguments for invoking getBoolVariable.

func (LookupBoolVariableOutputArgs) ElementType

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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/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 LookupBoolVariableResultOutput

type LookupBoolVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBoolVariable.

func (LookupBoolVariableResultOutput) AutomationAccountName

func (o LookupBoolVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupBoolVariableResultOutput) Description

The description of the Automation Variable.

func (LookupBoolVariableResultOutput) ElementType

func (LookupBoolVariableResultOutput) Encrypted

Specifies if the Automation Variable is encrypted. Defaults to `false`.

func (LookupBoolVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupBoolVariableResultOutput) Name

func (LookupBoolVariableResultOutput) ResourceGroupName

func (o LookupBoolVariableResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutput

func (o LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutput() LookupBoolVariableResultOutput

func (LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutputWithContext

func (o LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutputWithContext(ctx context.Context) LookupBoolVariableResultOutput

func (LookupBoolVariableResultOutput) Value

The value of the Automation Variable as a `boolean`.

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 LookupDateTimeVariableOutputArgs

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

A collection of arguments for invoking getDateTimeVariable.

func (LookupDateTimeVariableOutputArgs) ElementType

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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/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 LookupDateTimeVariableResultOutput

type LookupDateTimeVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDateTimeVariable.

func (LookupDateTimeVariableResultOutput) AutomationAccountName

func (o LookupDateTimeVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupDateTimeVariableResultOutput) Description

The description of the Automation Variable.

func (LookupDateTimeVariableResultOutput) ElementType

func (LookupDateTimeVariableResultOutput) Encrypted

Specifies if the Automation Variable is encrypted. Defaults to `false`.

func (LookupDateTimeVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDateTimeVariableResultOutput) Name

func (LookupDateTimeVariableResultOutput) ResourceGroupName

func (LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutput

func (o LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutput() LookupDateTimeVariableResultOutput

func (LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutputWithContext

func (o LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutputWithContext(ctx context.Context) LookupDateTimeVariableResultOutput

func (LookupDateTimeVariableResultOutput) Value

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

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 LookupIntVariableOutputArgs

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

A collection of arguments for invoking getIntVariable.

func (LookupIntVariableOutputArgs) ElementType

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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/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 LookupIntVariableResultOutput

type LookupIntVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIntVariable.

func (LookupIntVariableResultOutput) AutomationAccountName

func (o LookupIntVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupIntVariableResultOutput) Description

The description of the Automation Variable.

func (LookupIntVariableResultOutput) ElementType

func (LookupIntVariableResultOutput) Encrypted

Specifies if the Automation Variable is encrypted. Defaults to `false`.

func (LookupIntVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIntVariableResultOutput) Name

func (LookupIntVariableResultOutput) ResourceGroupName

func (o LookupIntVariableResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupIntVariableResultOutput) ToLookupIntVariableResultOutput

func (o LookupIntVariableResultOutput) ToLookupIntVariableResultOutput() LookupIntVariableResultOutput

func (LookupIntVariableResultOutput) ToLookupIntVariableResultOutputWithContext

func (o LookupIntVariableResultOutput) ToLookupIntVariableResultOutputWithContext(ctx context.Context) LookupIntVariableResultOutput

func (LookupIntVariableResultOutput) Value

The value of the Automation Variable as a `integer`.

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 LookupStringVariableOutputArgs

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

A collection of arguments for invoking getStringVariable.

func (LookupStringVariableOutputArgs) ElementType

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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/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 LookupStringVariableResultOutput

type LookupStringVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStringVariable.

func (LookupStringVariableResultOutput) AutomationAccountName

func (o LookupStringVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupStringVariableResultOutput) Description

The description of the Automation Variable.

func (LookupStringVariableResultOutput) ElementType

func (LookupStringVariableResultOutput) Encrypted

Specifies if the Automation Variable is encrypted. Defaults to `false`.

func (LookupStringVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupStringVariableResultOutput) Name

func (LookupStringVariableResultOutput) ResourceGroupName

func (LookupStringVariableResultOutput) ToLookupStringVariableResultOutput

func (o LookupStringVariableResultOutput) ToLookupStringVariableResultOutput() LookupStringVariableResultOutput

func (LookupStringVariableResultOutput) ToLookupStringVariableResultOutputWithContext

func (o LookupStringVariableResultOutput) ToLookupStringVariableResultOutputWithContext(ctx context.Context) LookupStringVariableResultOutput

func (LookupStringVariableResultOutput) Value

The value of the Automation Variable as a `string`.

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

func (*Module) ElementType() reflect.Type

func (*Module) ToModuleOutput

func (i *Module) ToModuleOutput() ModuleOutput

func (*Module) ToModuleOutputWithContext

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 ModuleArray

type ModuleArray []ModuleInput

func (ModuleArray) ElementType

func (ModuleArray) ElementType() reflect.Type

func (ModuleArray) ToModuleArrayOutput

func (i ModuleArray) ToModuleArrayOutput() ModuleArrayOutput

func (ModuleArray) ToModuleArrayOutputWithContext

func (i ModuleArray) ToModuleArrayOutputWithContext(ctx context.Context) ModuleArrayOutput

type ModuleArrayInput

type ModuleArrayInput interface {
	pulumi.Input

	ToModuleArrayOutput() ModuleArrayOutput
	ToModuleArrayOutputWithContext(context.Context) ModuleArrayOutput
}

ModuleArrayInput is an input type that accepts ModuleArray and ModuleArrayOutput values. You can construct a concrete instance of `ModuleArrayInput` via:

ModuleArray{ ModuleArgs{...} }

type ModuleArrayOutput

type ModuleArrayOutput struct{ *pulumi.OutputState }

func (ModuleArrayOutput) ElementType

func (ModuleArrayOutput) ElementType() reflect.Type

func (ModuleArrayOutput) Index

func (ModuleArrayOutput) ToModuleArrayOutput

func (o ModuleArrayOutput) ToModuleArrayOutput() ModuleArrayOutput

func (ModuleArrayOutput) ToModuleArrayOutputWithContext

func (o ModuleArrayOutput) ToModuleArrayOutputWithContext(ctx context.Context) ModuleArrayOutput

type ModuleInput

type ModuleInput interface {
	pulumi.Input

	ToModuleOutput() ModuleOutput
	ToModuleOutputWithContext(ctx context.Context) ModuleOutput
}

type ModuleMap

type ModuleMap map[string]ModuleInput

func (ModuleMap) ElementType

func (ModuleMap) ElementType() reflect.Type

func (ModuleMap) ToModuleMapOutput

func (i ModuleMap) ToModuleMapOutput() ModuleMapOutput

func (ModuleMap) ToModuleMapOutputWithContext

func (i ModuleMap) ToModuleMapOutputWithContext(ctx context.Context) ModuleMapOutput

type ModuleMapInput

type ModuleMapInput interface {
	pulumi.Input

	ToModuleMapOutput() ModuleMapOutput
	ToModuleMapOutputWithContext(context.Context) ModuleMapOutput
}

ModuleMapInput is an input type that accepts ModuleMap and ModuleMapOutput values. You can construct a concrete instance of `ModuleMapInput` via:

ModuleMap{ "key": ModuleArgs{...} }

type ModuleMapOutput

type ModuleMapOutput struct{ *pulumi.OutputState }

func (ModuleMapOutput) ElementType

func (ModuleMapOutput) ElementType() reflect.Type

func (ModuleMapOutput) MapIndex

func (ModuleMapOutput) ToModuleMapOutput

func (o ModuleMapOutput) ToModuleMapOutput() ModuleMapOutput

func (ModuleMapOutput) ToModuleMapOutputWithContext

func (o ModuleMapOutput) ToModuleMapOutputWithContext(ctx context.Context) ModuleMapOutput
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

type ModuleOutput struct{ *pulumi.OutputState }

func (ModuleOutput) ElementType

func (ModuleOutput) ElementType() reflect.Type

func (ModuleOutput) ToModuleOutput

func (o ModuleOutput) ToModuleOutput() ModuleOutput

func (ModuleOutput) ToModuleOutputWithContext

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/v5/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/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

func (*RunBook) ElementType() reflect.Type

func (*RunBook) ToRunBookOutput

func (i *RunBook) ToRunBookOutput() RunBookOutput

func (*RunBook) ToRunBookOutputWithContext

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 RunBookArray

type RunBookArray []RunBookInput

func (RunBookArray) ElementType

func (RunBookArray) ElementType() reflect.Type

func (RunBookArray) ToRunBookArrayOutput

func (i RunBookArray) ToRunBookArrayOutput() RunBookArrayOutput

func (RunBookArray) ToRunBookArrayOutputWithContext

func (i RunBookArray) ToRunBookArrayOutputWithContext(ctx context.Context) RunBookArrayOutput

type RunBookArrayInput

type RunBookArrayInput interface {
	pulumi.Input

	ToRunBookArrayOutput() RunBookArrayOutput
	ToRunBookArrayOutputWithContext(context.Context) RunBookArrayOutput
}

RunBookArrayInput is an input type that accepts RunBookArray and RunBookArrayOutput values. You can construct a concrete instance of `RunBookArrayInput` via:

RunBookArray{ RunBookArgs{...} }

type RunBookArrayOutput

type RunBookArrayOutput struct{ *pulumi.OutputState }

func (RunBookArrayOutput) ElementType

func (RunBookArrayOutput) ElementType() reflect.Type

func (RunBookArrayOutput) Index

func (RunBookArrayOutput) ToRunBookArrayOutput

func (o RunBookArrayOutput) ToRunBookArrayOutput() RunBookArrayOutput

func (RunBookArrayOutput) ToRunBookArrayOutputWithContext

func (o RunBookArrayOutput) ToRunBookArrayOutputWithContext(ctx context.Context) RunBookArrayOutput

type RunBookInput

type RunBookInput interface {
	pulumi.Input

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

type RunBookJobSchedule

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

type RunBookJobScheduleArgs

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

func (RunBookJobScheduleArgs) ElementType() reflect.Type

func (RunBookJobScheduleArgs) ToRunBookJobScheduleOutput

func (i RunBookJobScheduleArgs) ToRunBookJobScheduleOutput() RunBookJobScheduleOutput

func (RunBookJobScheduleArgs) ToRunBookJobScheduleOutputWithContext

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

type RunBookJobScheduleArray

type RunBookJobScheduleArray []RunBookJobScheduleInput

func (RunBookJobScheduleArray) ElementType

func (RunBookJobScheduleArray) ElementType() reflect.Type

func (RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutput

func (i RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput

func (RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutputWithContext

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

type RunBookJobScheduleArrayInput

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

type RunBookJobScheduleArrayOutput struct{ *pulumi.OutputState }

func (RunBookJobScheduleArrayOutput) ElementType

func (RunBookJobScheduleArrayOutput) Index

func (RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutput

func (o RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput

func (RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutputWithContext

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

type RunBookJobScheduleInput

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

type RunBookJobScheduleOutput struct{ *pulumi.OutputState }

func (RunBookJobScheduleOutput) ElementType

func (RunBookJobScheduleOutput) ElementType() reflect.Type

func (RunBookJobScheduleOutput) JobScheduleId

func (RunBookJobScheduleOutput) Parameters

func (RunBookJobScheduleOutput) RunOn

func (RunBookJobScheduleOutput) ScheduleName

func (o RunBookJobScheduleOutput) ScheduleName() pulumi.StringOutput

func (RunBookJobScheduleOutput) ToRunBookJobScheduleOutput

func (o RunBookJobScheduleOutput) ToRunBookJobScheduleOutput() RunBookJobScheduleOutput

func (RunBookJobScheduleOutput) ToRunBookJobScheduleOutputWithContext

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

type RunBookMap

type RunBookMap map[string]RunBookInput

func (RunBookMap) ElementType

func (RunBookMap) ElementType() reflect.Type

func (RunBookMap) ToRunBookMapOutput

func (i RunBookMap) ToRunBookMapOutput() RunBookMapOutput

func (RunBookMap) ToRunBookMapOutputWithContext

func (i RunBookMap) ToRunBookMapOutputWithContext(ctx context.Context) RunBookMapOutput

type RunBookMapInput

type RunBookMapInput interface {
	pulumi.Input

	ToRunBookMapOutput() RunBookMapOutput
	ToRunBookMapOutputWithContext(context.Context) RunBookMapOutput
}

RunBookMapInput is an input type that accepts RunBookMap and RunBookMapOutput values. You can construct a concrete instance of `RunBookMapInput` via:

RunBookMap{ "key": RunBookArgs{...} }

type RunBookMapOutput

type RunBookMapOutput struct{ *pulumi.OutputState }

func (RunBookMapOutput) ElementType

func (RunBookMapOutput) ElementType() reflect.Type

func (RunBookMapOutput) MapIndex

func (RunBookMapOutput) ToRunBookMapOutput

func (o RunBookMapOutput) ToRunBookMapOutput() RunBookMapOutput

func (RunBookMapOutput) ToRunBookMapOutputWithContext

func (o RunBookMapOutput) ToRunBookMapOutputWithContext(ctx context.Context) RunBookMapOutput

type RunBookOutput

type RunBookOutput struct{ *pulumi.OutputState }

func (RunBookOutput) ElementType

func (RunBookOutput) ElementType() reflect.Type

func (RunBookOutput) ToRunBookOutput

func (o RunBookOutput) ToRunBookOutput() RunBookOutput

func (RunBookOutput) ToRunBookOutputWithContext

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

func (*Schedule) ElementType() reflect.Type

func (*Schedule) ToScheduleOutput

func (i *Schedule) ToScheduleOutput() ScheduleOutput

func (*Schedule) ToScheduleOutputWithContext

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 ScheduleArray

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext

func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleArrayInput

type ScheduleArrayInput interface {
	pulumi.Input

	ToScheduleArrayOutput() ScheduleArrayOutput
	ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput
}

ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:

ScheduleArray{ ScheduleArgs{...} }

type ScheduleArrayOutput

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index

func (ScheduleArrayOutput) ToScheduleArrayOutput

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext

func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

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

type ScheduleMap

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext

func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

type ScheduleMapInput

type ScheduleMapInput interface {
	pulumi.Input

	ToScheduleMapOutput() ScheduleMapOutput
	ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput
}

ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:

ScheduleMap{ "key": ScheduleArgs{...} }

type ScheduleMapOutput

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex

func (ScheduleMapOutput) ToScheduleMapOutput

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext

func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput

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

type ScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

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

func (*StringVariable) ElementType() reflect.Type

func (*StringVariable) ToStringVariableOutput

func (i *StringVariable) ToStringVariableOutput() StringVariableOutput

func (*StringVariable) ToStringVariableOutputWithContext

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 StringVariableArray

type StringVariableArray []StringVariableInput

func (StringVariableArray) ElementType

func (StringVariableArray) ElementType() reflect.Type

func (StringVariableArray) ToStringVariableArrayOutput

func (i StringVariableArray) ToStringVariableArrayOutput() StringVariableArrayOutput

func (StringVariableArray) ToStringVariableArrayOutputWithContext

func (i StringVariableArray) ToStringVariableArrayOutputWithContext(ctx context.Context) StringVariableArrayOutput

type StringVariableArrayInput

type StringVariableArrayInput interface {
	pulumi.Input

	ToStringVariableArrayOutput() StringVariableArrayOutput
	ToStringVariableArrayOutputWithContext(context.Context) StringVariableArrayOutput
}

StringVariableArrayInput is an input type that accepts StringVariableArray and StringVariableArrayOutput values. You can construct a concrete instance of `StringVariableArrayInput` via:

StringVariableArray{ StringVariableArgs{...} }

type StringVariableArrayOutput

type StringVariableArrayOutput struct{ *pulumi.OutputState }

func (StringVariableArrayOutput) ElementType

func (StringVariableArrayOutput) ElementType() reflect.Type

func (StringVariableArrayOutput) Index

func (StringVariableArrayOutput) ToStringVariableArrayOutput

func (o StringVariableArrayOutput) ToStringVariableArrayOutput() StringVariableArrayOutput

func (StringVariableArrayOutput) ToStringVariableArrayOutputWithContext

func (o StringVariableArrayOutput) ToStringVariableArrayOutputWithContext(ctx context.Context) StringVariableArrayOutput

type StringVariableInput

type StringVariableInput interface {
	pulumi.Input

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

type StringVariableMap

type StringVariableMap map[string]StringVariableInput

func (StringVariableMap) ElementType

func (StringVariableMap) ElementType() reflect.Type

func (StringVariableMap) ToStringVariableMapOutput

func (i StringVariableMap) ToStringVariableMapOutput() StringVariableMapOutput

func (StringVariableMap) ToStringVariableMapOutputWithContext

func (i StringVariableMap) ToStringVariableMapOutputWithContext(ctx context.Context) StringVariableMapOutput

type StringVariableMapInput

type StringVariableMapInput interface {
	pulumi.Input

	ToStringVariableMapOutput() StringVariableMapOutput
	ToStringVariableMapOutputWithContext(context.Context) StringVariableMapOutput
}

StringVariableMapInput is an input type that accepts StringVariableMap and StringVariableMapOutput values. You can construct a concrete instance of `StringVariableMapInput` via:

StringVariableMap{ "key": StringVariableArgs{...} }

type StringVariableMapOutput

type StringVariableMapOutput struct{ *pulumi.OutputState }

func (StringVariableMapOutput) ElementType

func (StringVariableMapOutput) ElementType() reflect.Type

func (StringVariableMapOutput) MapIndex

func (StringVariableMapOutput) ToStringVariableMapOutput

func (o StringVariableMapOutput) ToStringVariableMapOutput() StringVariableMapOutput

func (StringVariableMapOutput) ToStringVariableMapOutputWithContext

func (o StringVariableMapOutput) ToStringVariableMapOutputWithContext(ctx context.Context) StringVariableMapOutput

type StringVariableOutput

type StringVariableOutput struct{ *pulumi.OutputState }

func (StringVariableOutput) ElementType

func (StringVariableOutput) ElementType() reflect.Type

func (StringVariableOutput) ToStringVariableOutput

func (o StringVariableOutput) ToStringVariableOutput() StringVariableOutput

func (StringVariableOutput) ToStringVariableOutputWithContext

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

type Webhook

type Webhook struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Webhook is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// Controls if Webhook is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Timestamp when the webhook expires. Changing this forces a new resource to be created.
	ExpiryTime pulumi.StringOutput `pulumi:"expiryTime"`
	// Specifies the name of the Webhook. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Map of input parameters passed to runbook.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The name of the resource group in which the Webhook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Name of the hybrid worker group the Webhook job will run on.
	RunOnWorkerGroup pulumi.StringPtrOutput `pulumi:"runOnWorkerGroup"`
	// Name of the Automation Runbook to execute by Webhook.
	RunbookName pulumi.StringOutput `pulumi:"runbookName"`
	// URI to initiate the webhook. Can be generated using [Generate URI API](https://docs.microsoft.com/en-us/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages an Automation Runbook's Webhook.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/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
		}
		exampleRunBook, 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
		}
		_, err = automation.NewWebhook(ctx, "exampleWebhook", &automation.WebhookArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			ExpiryTime:            pulumi.String("2021-12-31T00:00:00Z"),
			Enabled:               pulumi.Bool(true),
			RunbookName:           exampleRunBook.Name,
			Parameters: pulumi.StringMap{
				"input": pulumi.String("parameter"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:automation/webhook:Webhook TestRunbook_webhook /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/webhooks/TestRunbook_webhook

```

func GetWebhook

func GetWebhook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebhookState, opts ...pulumi.ResourceOption) (*Webhook, error)

GetWebhook gets an existing Webhook 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 NewWebhook

func NewWebhook(ctx *pulumi.Context,
	name string, args *WebhookArgs, opts ...pulumi.ResourceOption) (*Webhook, error)

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

func (*Webhook) ElementType

func (*Webhook) ElementType() reflect.Type

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

type WebhookArgs

type WebhookArgs struct {
	// The name of the automation account in which the Webhook is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// Controls if Webhook is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Timestamp when the webhook expires. Changing this forces a new resource to be created.
	ExpiryTime pulumi.StringInput
	// Specifies the name of the Webhook. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Map of input parameters passed to runbook.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Webhook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Name of the hybrid worker group the Webhook job will run on.
	RunOnWorkerGroup pulumi.StringPtrInput
	// Name of the Automation Runbook to execute by Webhook.
	RunbookName pulumi.StringInput
	// URI to initiate the webhook. Can be generated using [Generate URI API](https://docs.microsoft.com/en-us/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation.
	Uri pulumi.StringPtrInput
}

The set of arguments for constructing a Webhook resource.

func (WebhookArgs) ElementType

func (WebhookArgs) ElementType() reflect.Type

type WebhookArray

type WebhookArray []WebhookInput

func (WebhookArray) ElementType

func (WebhookArray) ElementType() reflect.Type

func (WebhookArray) ToWebhookArrayOutput

func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArray) ToWebhookArrayOutputWithContext

func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput

type WebhookArrayInput

type WebhookArrayInput interface {
	pulumi.Input

	ToWebhookArrayOutput() WebhookArrayOutput
	ToWebhookArrayOutputWithContext(context.Context) WebhookArrayOutput
}

WebhookArrayInput is an input type that accepts WebhookArray and WebhookArrayOutput values. You can construct a concrete instance of `WebhookArrayInput` via:

WebhookArray{ WebhookArgs{...} }

type WebhookArrayOutput

type WebhookArrayOutput struct{ *pulumi.OutputState }

func (WebhookArrayOutput) ElementType

func (WebhookArrayOutput) ElementType() reflect.Type

func (WebhookArrayOutput) Index

func (WebhookArrayOutput) ToWebhookArrayOutput

func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArrayOutput) ToWebhookArrayOutputWithContext

func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput

type WebhookInput

type WebhookInput interface {
	pulumi.Input

	ToWebhookOutput() WebhookOutput
	ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
}

type WebhookMap

type WebhookMap map[string]WebhookInput

func (WebhookMap) ElementType

func (WebhookMap) ElementType() reflect.Type

func (WebhookMap) ToWebhookMapOutput

func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMap) ToWebhookMapOutputWithContext

func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput

type WebhookMapInput

type WebhookMapInput interface {
	pulumi.Input

	ToWebhookMapOutput() WebhookMapOutput
	ToWebhookMapOutputWithContext(context.Context) WebhookMapOutput
}

WebhookMapInput is an input type that accepts WebhookMap and WebhookMapOutput values. You can construct a concrete instance of `WebhookMapInput` via:

WebhookMap{ "key": WebhookArgs{...} }

type WebhookMapOutput

type WebhookMapOutput struct{ *pulumi.OutputState }

func (WebhookMapOutput) ElementType

func (WebhookMapOutput) ElementType() reflect.Type

func (WebhookMapOutput) MapIndex

func (WebhookMapOutput) ToWebhookMapOutput

func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMapOutput) ToWebhookMapOutputWithContext

func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

type WebhookState

type WebhookState struct {
	// The name of the automation account in which the Webhook is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// Controls if Webhook is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Timestamp when the webhook expires. Changing this forces a new resource to be created.
	ExpiryTime pulumi.StringPtrInput
	// Specifies the name of the Webhook. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Map of input parameters passed to runbook.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Webhook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Name of the hybrid worker group the Webhook job will run on.
	RunOnWorkerGroup pulumi.StringPtrInput
	// Name of the Automation Runbook to execute by Webhook.
	RunbookName pulumi.StringPtrInput
	// URI to initiate the webhook. Can be generated using [Generate URI API](https://docs.microsoft.com/en-us/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation.
	Uri pulumi.StringPtrInput
}

func (WebhookState) ElementType

func (WebhookState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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