automation

package
v6.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 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"`
	Encryptions       AccountEncryptionArrayOutput `pulumi:"encryptions"`
	// The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
	HybridServiceUrl pulumi.StringOutput `pulumi:"hybridServiceUrl"`
	// An `identity` block as defined below.
	Identity AccountIdentityPtrOutput `pulumi:"identity"`
	// Whether requests using non-AAD authentication are blocked. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationEnabled"`
	// 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"`
	PrivateEndpointConnections AccountPrivateEndpointConnectionArrayOutput `pulumi:"privateEndpointConnections"`
	// Whether public network access is allowed for the automation account. 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. Possible values are `Basic` and `Free`.
	SkuName pulumi.StringOutput    `pulumi:"skuName"`
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Account.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.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 {
	Encryptions AccountEncryptionArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Whether requests using non-AAD authentication are blocked. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// 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 automation account. 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. Possible values are `Basic` and `Free`.
	SkuName pulumi.StringInput
	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 AccountEncryption

type AccountEncryption struct {
	// Deprecated: This field is now ignored and will be removed in the next major version of the Azure Provider, the `encryption` block can be omitted to disable encryption
	KeySource *string `pulumi:"keySource"`
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Automation Account.
	KeyVaultKeyId string `pulumi:"keyVaultKeyId"`
	// The User Assigned Managed Identity ID to be used for accessing the Customer Managed Key for encryption.
	UserAssignedIdentityId *string `pulumi:"userAssignedIdentityId"`
}

type AccountEncryptionArgs

type AccountEncryptionArgs struct {
	// Deprecated: This field is now ignored and will be removed in the next major version of the Azure Provider, the `encryption` block can be omitted to disable encryption
	KeySource pulumi.StringPtrInput `pulumi:"keySource"`
	// The ID of the Key Vault Key which should be used to Encrypt the data in this Automation Account.
	KeyVaultKeyId pulumi.StringInput `pulumi:"keyVaultKeyId"`
	// The User Assigned Managed Identity ID to be used for accessing the Customer Managed Key for encryption.
	UserAssignedIdentityId pulumi.StringPtrInput `pulumi:"userAssignedIdentityId"`
}

func (AccountEncryptionArgs) ElementType

func (AccountEncryptionArgs) ElementType() reflect.Type

func (AccountEncryptionArgs) ToAccountEncryptionOutput

func (i AccountEncryptionArgs) ToAccountEncryptionOutput() AccountEncryptionOutput

func (AccountEncryptionArgs) ToAccountEncryptionOutputWithContext

func (i AccountEncryptionArgs) ToAccountEncryptionOutputWithContext(ctx context.Context) AccountEncryptionOutput

type AccountEncryptionArray

type AccountEncryptionArray []AccountEncryptionInput

func (AccountEncryptionArray) ElementType

func (AccountEncryptionArray) ElementType() reflect.Type

func (AccountEncryptionArray) ToAccountEncryptionArrayOutput

func (i AccountEncryptionArray) ToAccountEncryptionArrayOutput() AccountEncryptionArrayOutput

func (AccountEncryptionArray) ToAccountEncryptionArrayOutputWithContext

func (i AccountEncryptionArray) ToAccountEncryptionArrayOutputWithContext(ctx context.Context) AccountEncryptionArrayOutput

type AccountEncryptionArrayInput

type AccountEncryptionArrayInput interface {
	pulumi.Input

	ToAccountEncryptionArrayOutput() AccountEncryptionArrayOutput
	ToAccountEncryptionArrayOutputWithContext(context.Context) AccountEncryptionArrayOutput
}

AccountEncryptionArrayInput is an input type that accepts AccountEncryptionArray and AccountEncryptionArrayOutput values. You can construct a concrete instance of `AccountEncryptionArrayInput` via:

AccountEncryptionArray{ AccountEncryptionArgs{...} }

type AccountEncryptionArrayOutput

type AccountEncryptionArrayOutput struct{ *pulumi.OutputState }

func (AccountEncryptionArrayOutput) ElementType

func (AccountEncryptionArrayOutput) Index

func (AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutput

func (o AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutput() AccountEncryptionArrayOutput

func (AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutputWithContext

func (o AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutputWithContext(ctx context.Context) AccountEncryptionArrayOutput

type AccountEncryptionInput

type AccountEncryptionInput interface {
	pulumi.Input

	ToAccountEncryptionOutput() AccountEncryptionOutput
	ToAccountEncryptionOutputWithContext(context.Context) AccountEncryptionOutput
}

AccountEncryptionInput is an input type that accepts AccountEncryptionArgs and AccountEncryptionOutput values. You can construct a concrete instance of `AccountEncryptionInput` via:

AccountEncryptionArgs{...}

type AccountEncryptionOutput

type AccountEncryptionOutput struct{ *pulumi.OutputState }

func (AccountEncryptionOutput) ElementType

func (AccountEncryptionOutput) ElementType() reflect.Type

func (AccountEncryptionOutput) KeySource deprecated

Deprecated: This field is now ignored and will be removed in the next major version of the Azure Provider, the `encryption` block can be omitted to disable encryption

func (AccountEncryptionOutput) KeyVaultKeyId

func (o AccountEncryptionOutput) KeyVaultKeyId() pulumi.StringOutput

The ID of the Key Vault Key which should be used to Encrypt the data in this Automation Account.

func (AccountEncryptionOutput) ToAccountEncryptionOutput

func (o AccountEncryptionOutput) ToAccountEncryptionOutput() AccountEncryptionOutput

func (AccountEncryptionOutput) ToAccountEncryptionOutputWithContext

func (o AccountEncryptionOutput) ToAccountEncryptionOutputWithContext(ctx context.Context) AccountEncryptionOutput

func (AccountEncryptionOutput) UserAssignedIdentityId

func (o AccountEncryptionOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The User Assigned Managed Identity ID to be used for accessing the Customer Managed Key for encryption.

type AccountIdentity

type AccountIdentity struct {
	// The ID of the User Assigned Identity which should be assigned to this Automation Account.
	//
	// > **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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.
	//
	// > **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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.

> **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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.

> **Note:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

func (o AccountOutput) DscPrimaryAccessKey() pulumi.StringOutput

The Primary Access Key for the DSC Endpoint associated with this Automation Account.

func (AccountOutput) DscSecondaryAccessKey

func (o AccountOutput) DscSecondaryAccessKey() pulumi.StringOutput

The Secondary Access Key for the DSC Endpoint associated with this Automation Account.

func (AccountOutput) DscServerEndpoint

func (o AccountOutput) DscServerEndpoint() pulumi.StringOutput

The DSC Server Endpoint associated with this Automation Account.

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) Encryptions

func (AccountOutput) HybridServiceUrl

func (o AccountOutput) HybridServiceUrl() pulumi.StringOutput

The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.

func (AccountOutput) Identity

An `identity` block as defined below.

func (AccountOutput) LocalAuthenticationEnabled

func (o AccountOutput) LocalAuthenticationEnabled() pulumi.BoolPtrOutput

Whether requests using non-AAD authentication are blocked. Defaults to `true`.

func (AccountOutput) Location

func (o AccountOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AccountOutput) Name

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

func (AccountOutput) PrivateEndpointConnections

func (o AccountOutput) PrivateEndpointConnections() AccountPrivateEndpointConnectionArrayOutput

func (AccountOutput) PublicNetworkAccessEnabled

func (o AccountOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Whether public network access is allowed for the automation account. Defaults to `true`.

func (AccountOutput) ResourceGroupName

func (o AccountOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.

func (AccountOutput) SkuName

func (o AccountOutput) SkuName() pulumi.StringOutput

The SKU of the account. Possible values are `Basic` and `Free`.

func (AccountOutput) Tags

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

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

type AccountPrivateEndpointConnection

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

type AccountPrivateEndpointConnectionArgs

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

func (AccountPrivateEndpointConnectionArgs) ElementType

func (AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutput

func (i AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutput() AccountPrivateEndpointConnectionOutput

func (AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutputWithContext

func (i AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutputWithContext(ctx context.Context) AccountPrivateEndpointConnectionOutput

type AccountPrivateEndpointConnectionArray

type AccountPrivateEndpointConnectionArray []AccountPrivateEndpointConnectionInput

func (AccountPrivateEndpointConnectionArray) ElementType

func (AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutput

func (i AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutput() AccountPrivateEndpointConnectionArrayOutput

func (AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutputWithContext

func (i AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutputWithContext(ctx context.Context) AccountPrivateEndpointConnectionArrayOutput

type AccountPrivateEndpointConnectionArrayInput

type AccountPrivateEndpointConnectionArrayInput interface {
	pulumi.Input

	ToAccountPrivateEndpointConnectionArrayOutput() AccountPrivateEndpointConnectionArrayOutput
	ToAccountPrivateEndpointConnectionArrayOutputWithContext(context.Context) AccountPrivateEndpointConnectionArrayOutput
}

AccountPrivateEndpointConnectionArrayInput is an input type that accepts AccountPrivateEndpointConnectionArray and AccountPrivateEndpointConnectionArrayOutput values. You can construct a concrete instance of `AccountPrivateEndpointConnectionArrayInput` via:

AccountPrivateEndpointConnectionArray{ AccountPrivateEndpointConnectionArgs{...} }

type AccountPrivateEndpointConnectionArrayOutput

type AccountPrivateEndpointConnectionArrayOutput struct{ *pulumi.OutputState }

func (AccountPrivateEndpointConnectionArrayOutput) ElementType

func (AccountPrivateEndpointConnectionArrayOutput) Index

func (AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutput

func (o AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutput() AccountPrivateEndpointConnectionArrayOutput

func (AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutputWithContext

func (o AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutputWithContext(ctx context.Context) AccountPrivateEndpointConnectionArrayOutput

type AccountPrivateEndpointConnectionInput

type AccountPrivateEndpointConnectionInput interface {
	pulumi.Input

	ToAccountPrivateEndpointConnectionOutput() AccountPrivateEndpointConnectionOutput
	ToAccountPrivateEndpointConnectionOutputWithContext(context.Context) AccountPrivateEndpointConnectionOutput
}

AccountPrivateEndpointConnectionInput is an input type that accepts AccountPrivateEndpointConnectionArgs and AccountPrivateEndpointConnectionOutput values. You can construct a concrete instance of `AccountPrivateEndpointConnectionInput` via:

AccountPrivateEndpointConnectionArgs{...}

type AccountPrivateEndpointConnectionOutput

type AccountPrivateEndpointConnectionOutput struct{ *pulumi.OutputState }

func (AccountPrivateEndpointConnectionOutput) ElementType

func (AccountPrivateEndpointConnectionOutput) Id

The ID of the Automation Account.

func (AccountPrivateEndpointConnectionOutput) Name

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

func (AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutput

func (o AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutput() AccountPrivateEndpointConnectionOutput

func (AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutputWithContext

func (o AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutputWithContext(ctx context.Context) AccountPrivateEndpointConnectionOutput

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
	Encryptions       AccountEncryptionArrayInput
	// The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
	HybridServiceUrl pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Whether requests using non-AAD authentication are blocked. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// 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
	PrivateEndpointConnections AccountPrivateEndpointConnectionArrayInput
	// Whether public network access is allowed for the automation account. 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. Possible values are `Basic` and `Free`.
	SkuName pulumi.StringPtrInput
	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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewBoolVariable(ctx, "example", &automation.BoolVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o BoolVariableOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.

func (BoolVariableOutput) Description

func (o BoolVariableOutput) Description() pulumi.StringPtrOutput

The description of the Automation Variable.

func (BoolVariableOutput) ElementType

func (BoolVariableOutput) ElementType() reflect.Type

func (BoolVariableOutput) Encrypted

func (o BoolVariableOutput) Encrypted() pulumi.BoolPtrOutput

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

func (BoolVariableOutput) Name

The name of the Automation Variable. Changing this forces a new resource to be created.

func (BoolVariableOutput) ResourceGroupName

func (o BoolVariableOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.

func (BoolVariableOutput) ToBoolVariableOutput

func (o BoolVariableOutput) ToBoolVariableOutput() BoolVariableOutput

func (BoolVariableOutput) ToBoolVariableOutputWithContext

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

func (BoolVariableOutput) Value

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

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.BoolPtrOutput `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 (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{
			Input: "certificate.pfx",
		}, nil)
		if err != nil {
			return err
		}
		_, err = automation.NewCertificate(ctx, "example", &automation.CertificateArgs{
			Name:                  pulumi.String("certificate1"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Description:           pulumi.String("This is an example certificate"),
			Base64:                pulumi.String(invokeFilebase64.Result),
			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) AutomationAccountName

func (o CertificateOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.

func (CertificateOutput) Base64

Base64 encoded value of the certificate. Changing this forces a new resource to be created.

func (CertificateOutput) Description

func (o CertificateOutput) Description() pulumi.StringPtrOutput

The description of this Automation Certificate.

func (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) Exportable

func (o CertificateOutput) Exportable() pulumi.BoolPtrOutput

The is exportable flag of the certificate.

func (CertificateOutput) Name

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

func (CertificateOutput) ResourceGroupName

func (o CertificateOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.

func (CertificateOutput) Thumbprint

func (o CertificateOutput) Thumbprint() pulumi.StringOutput

The thumbprint for the certificate.

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:
	//
	// * `Azure`: parameters `AutomationCertificateName` and `SubscriptionID`.
	//
	// * `AzureClassicCertificate`: parameters `SubscriptionName`, `SubscriptionId` and `CertificateAssetName`.
	//
	// * `AzureServicePrincipal`: parameters `ApplicationId`, `CertificateThumbprint`, `SubscriptionId` and `TenantId`.
	Values pulumi.StringMapOutput `pulumi:"values"`
}

Manages an Automation Connection.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/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, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("resourceGroup-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account-example"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnection(ctx, "example", &automation.ConnectionArgs{
			Name:                  pulumi.String("connection-example"),
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Type:                  pulumi.String("AzureServicePrincipal"),
			Values: pulumi.StringMap{
				"ApplicationId":         pulumi.String("00000000-0000-0000-0000-000000000000"),
				"TenantId":              pulumi.String(example.TenantId),
				"SubscriptionId":        pulumi.String(example.SubscriptionId),
				"CertificateThumbprint": pulumi.String("sample-certificate-thumbprint"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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:
	//
	// * `Azure`: parameters `AutomationCertificateName` and `SubscriptionID`.
	//
	// * `AzureClassicCertificate`: parameters `SubscriptionName`, `SubscriptionId` and `CertificateAssetName`.
	//
	// * `AzureServicePrincipal`: parameters `ApplicationId`, `CertificateThumbprint`, `SubscriptionId` and `TenantId`.
	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`.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("resourceGroup-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account-example"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{
			Input: "certificate.pfx",
		}, nil)
		if err != nil {
			return err
		}
		exampleCertificate, err := automation.NewCertificate(ctx, "example", &automation.CertificateArgs{
			Name:                  pulumi.String("certificate-example"),
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Base64:                pulumi.String(invokeFilebase64.Result),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionCertificate(ctx, "example", &automation.ConnectionCertificateArgs{
			Name:                      pulumi.String("connection-example"),
			ResourceGroupName:         exampleResourceGroup.Name,
			AutomationAccountName:     exampleAccount.Name,
			AutomationCertificateName: exampleCertificate.Name,
			SubscriptionId:            pulumi.String(example.SubscriptionId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o ConnectionCertificateOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionCertificateOutput) AutomationCertificateName

func (o ConnectionCertificateOutput) AutomationCertificateName() pulumi.StringOutput

The name of the automation certificate.

func (ConnectionCertificateOutput) Description

A description for this Connection.

func (ConnectionCertificateOutput) ElementType

func (ConnectionCertificateOutput) Name

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

func (ConnectionCertificateOutput) ResourceGroupName

func (o ConnectionCertificateOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionCertificateOutput) SubscriptionId

func (o ConnectionCertificateOutput) SubscriptionId() pulumi.StringOutput

The id of subscription where the automation certificate exists.

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/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, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("resourceGroup-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account-example"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionClassicCertificate(ctx, "example", &automation.ConnectionClassicCertificateArgs{
			Name:                  pulumi.String("connection-example"),
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			CertificateAssetName:  pulumi.String("cert1"),
			SubscriptionName:      pulumi.String("subs1"),
			SubscriptionId:        pulumi.String(example.SubscriptionId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o ConnectionClassicCertificateOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionClassicCertificateOutput) CertificateAssetName

func (o ConnectionClassicCertificateOutput) CertificateAssetName() pulumi.StringOutput

The name of the certificate asset.

func (ConnectionClassicCertificateOutput) Description

A description for this Connection.

func (ConnectionClassicCertificateOutput) ElementType

func (ConnectionClassicCertificateOutput) Name

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

func (ConnectionClassicCertificateOutput) ResourceGroupName

The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionClassicCertificateOutput) SubscriptionId

The id of subscription.

func (ConnectionClassicCertificateOutput) SubscriptionName

The name of subscription.

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

func (o ConnectionOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionOutput) Description

func (o ConnectionOutput) Description() pulumi.StringPtrOutput

A description for this Connection.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) Name

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

func (ConnectionOutput) ResourceGroupName

func (o ConnectionOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

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

func (ConnectionOutput) Type

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.

func (ConnectionOutput) Values

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:

* `Azure`: parameters `AutomationCertificateName` and `SubscriptionID`.

* `AzureClassicCertificate`: parameters `SubscriptionName`, `SubscriptionId` and `CertificateAssetName`.

* `AzureServicePrincipal`: parameters `ApplicationId`, `CertificateThumbprint`, `SubscriptionId` and `TenantId`.

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("resourceGroup-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account-example"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "automation_certificate_test.thumb",
		}, nil)
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionServicePrincipal(ctx, "example", &automation.ConnectionServicePrincipalArgs{
			Name:                  pulumi.String("connection-example"),
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			ApplicationId:         pulumi.String("00000000-0000-0000-0000-000000000000"),
			TenantId:              pulumi.String(example.TenantId),
			SubscriptionId:        pulumi.String(example.SubscriptionId),
			CertificateThumbprint: pulumi.String(invokeFile.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

The (Client) ID of the Service Principal.

func (ConnectionServicePrincipalOutput) AutomationAccountName

func (o ConnectionServicePrincipalOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionServicePrincipalOutput) CertificateThumbprint

func (o ConnectionServicePrincipalOutput) CertificateThumbprint() pulumi.StringOutput

The thumbprint of the Service Principal Certificate.

func (ConnectionServicePrincipalOutput) Description

A description for this Connection.

func (ConnectionServicePrincipalOutput) ElementType

func (ConnectionServicePrincipalOutput) Name

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

func (ConnectionServicePrincipalOutput) ResourceGroupName

The name of the resource group in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionServicePrincipalOutput) SubscriptionId

The subscription GUID.

func (ConnectionServicePrincipalOutput) TenantId

The ID of the Tenant the Service Principal is assigned in.

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:
	//
	// * `Azure`: parameters `AutomationCertificateName` and `SubscriptionID`.
	//
	// * `AzureClassicCertificate`: parameters `SubscriptionName`, `SubscriptionId` and `CertificateAssetName`.
	//
	// * `AzureServicePrincipal`: parameters `ApplicationId`, `CertificateThumbprint`, `SubscriptionId` and `TenantId`.
	Values pulumi.StringMapInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type ConnectionType

type ConnectionType 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"`
	// One or more `field` blocks as defined below. Changing this forces a new Automation to be created.
	Fields ConnectionTypeFieldArrayOutput `pulumi:"fields"`
	// Whether the connection type is global. Changing this forces a new Automation to be created.
	IsGlobal pulumi.BoolPtrOutput `pulumi:"isGlobal"`
	// The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages anAutomation Connection Type.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/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, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("resourceGroup-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account-example"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionType(ctx, "example", &automation.ConnectionTypeArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Fields: automation.ConnectionTypeFieldArray{
				&automation.ConnectionTypeFieldArgs{
					Name: pulumi.String("example"),
					Type: pulumi.String("string"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/connectionType:ConnectionType example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/connectionTypes/type1 ```

func GetConnectionType

func GetConnectionType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionTypeState, opts ...pulumi.ResourceOption) (*ConnectionType, error)

GetConnectionType gets an existing ConnectionType 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 NewConnectionType

func NewConnectionType(ctx *pulumi.Context,
	name string, args *ConnectionTypeArgs, opts ...pulumi.ResourceOption) (*ConnectionType, error)

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

func (*ConnectionType) ElementType

func (*ConnectionType) ElementType() reflect.Type

func (*ConnectionType) ToConnectionTypeOutput

func (i *ConnectionType) ToConnectionTypeOutput() ConnectionTypeOutput

func (*ConnectionType) ToConnectionTypeOutputWithContext

func (i *ConnectionType) ToConnectionTypeOutputWithContext(ctx context.Context) ConnectionTypeOutput

type ConnectionTypeArgs

type ConnectionTypeArgs 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
	// One or more `field` blocks as defined below. Changing this forces a new Automation to be created.
	Fields ConnectionTypeFieldArrayInput
	// Whether the connection type is global. Changing this forces a new Automation to be created.
	IsGlobal pulumi.BoolPtrInput
	// The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ConnectionType resource.

func (ConnectionTypeArgs) ElementType

func (ConnectionTypeArgs) ElementType() reflect.Type

type ConnectionTypeArray

type ConnectionTypeArray []ConnectionTypeInput

func (ConnectionTypeArray) ElementType

func (ConnectionTypeArray) ElementType() reflect.Type

func (ConnectionTypeArray) ToConnectionTypeArrayOutput

func (i ConnectionTypeArray) ToConnectionTypeArrayOutput() ConnectionTypeArrayOutput

func (ConnectionTypeArray) ToConnectionTypeArrayOutputWithContext

func (i ConnectionTypeArray) ToConnectionTypeArrayOutputWithContext(ctx context.Context) ConnectionTypeArrayOutput

type ConnectionTypeArrayInput

type ConnectionTypeArrayInput interface {
	pulumi.Input

	ToConnectionTypeArrayOutput() ConnectionTypeArrayOutput
	ToConnectionTypeArrayOutputWithContext(context.Context) ConnectionTypeArrayOutput
}

ConnectionTypeArrayInput is an input type that accepts ConnectionTypeArray and ConnectionTypeArrayOutput values. You can construct a concrete instance of `ConnectionTypeArrayInput` via:

ConnectionTypeArray{ ConnectionTypeArgs{...} }

type ConnectionTypeArrayOutput

type ConnectionTypeArrayOutput struct{ *pulumi.OutputState }

func (ConnectionTypeArrayOutput) ElementType

func (ConnectionTypeArrayOutput) ElementType() reflect.Type

func (ConnectionTypeArrayOutput) Index

func (ConnectionTypeArrayOutput) ToConnectionTypeArrayOutput

func (o ConnectionTypeArrayOutput) ToConnectionTypeArrayOutput() ConnectionTypeArrayOutput

func (ConnectionTypeArrayOutput) ToConnectionTypeArrayOutputWithContext

func (o ConnectionTypeArrayOutput) ToConnectionTypeArrayOutputWithContext(ctx context.Context) ConnectionTypeArrayOutput

type ConnectionTypeField

type ConnectionTypeField struct {
	// Whether to set the isEncrypted flag of the connection field definition.
	IsEncrypted *bool `pulumi:"isEncrypted"`
	// Whether to set the isOptional flag of the connection field definition.
	IsOptional *bool `pulumi:"isOptional"`
	// The name which should be used for this connection field definition.
	Name string `pulumi:"name"`
	// The type of the connection field definition.
	Type string `pulumi:"type"`
}

type ConnectionTypeFieldArgs

type ConnectionTypeFieldArgs struct {
	// Whether to set the isEncrypted flag of the connection field definition.
	IsEncrypted pulumi.BoolPtrInput `pulumi:"isEncrypted"`
	// Whether to set the isOptional flag of the connection field definition.
	IsOptional pulumi.BoolPtrInput `pulumi:"isOptional"`
	// The name which should be used for this connection field definition.
	Name pulumi.StringInput `pulumi:"name"`
	// The type of the connection field definition.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ConnectionTypeFieldArgs) ElementType

func (ConnectionTypeFieldArgs) ElementType() reflect.Type

func (ConnectionTypeFieldArgs) ToConnectionTypeFieldOutput

func (i ConnectionTypeFieldArgs) ToConnectionTypeFieldOutput() ConnectionTypeFieldOutput

func (ConnectionTypeFieldArgs) ToConnectionTypeFieldOutputWithContext

func (i ConnectionTypeFieldArgs) ToConnectionTypeFieldOutputWithContext(ctx context.Context) ConnectionTypeFieldOutput

type ConnectionTypeFieldArray

type ConnectionTypeFieldArray []ConnectionTypeFieldInput

func (ConnectionTypeFieldArray) ElementType

func (ConnectionTypeFieldArray) ElementType() reflect.Type

func (ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutput

func (i ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutput() ConnectionTypeFieldArrayOutput

func (ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutputWithContext

func (i ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutputWithContext(ctx context.Context) ConnectionTypeFieldArrayOutput

type ConnectionTypeFieldArrayInput

type ConnectionTypeFieldArrayInput interface {
	pulumi.Input

	ToConnectionTypeFieldArrayOutput() ConnectionTypeFieldArrayOutput
	ToConnectionTypeFieldArrayOutputWithContext(context.Context) ConnectionTypeFieldArrayOutput
}

ConnectionTypeFieldArrayInput is an input type that accepts ConnectionTypeFieldArray and ConnectionTypeFieldArrayOutput values. You can construct a concrete instance of `ConnectionTypeFieldArrayInput` via:

ConnectionTypeFieldArray{ ConnectionTypeFieldArgs{...} }

type ConnectionTypeFieldArrayOutput

type ConnectionTypeFieldArrayOutput struct{ *pulumi.OutputState }

func (ConnectionTypeFieldArrayOutput) ElementType

func (ConnectionTypeFieldArrayOutput) Index

func (ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutput

func (o ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutput() ConnectionTypeFieldArrayOutput

func (ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutputWithContext

func (o ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutputWithContext(ctx context.Context) ConnectionTypeFieldArrayOutput

type ConnectionTypeFieldInput

type ConnectionTypeFieldInput interface {
	pulumi.Input

	ToConnectionTypeFieldOutput() ConnectionTypeFieldOutput
	ToConnectionTypeFieldOutputWithContext(context.Context) ConnectionTypeFieldOutput
}

ConnectionTypeFieldInput is an input type that accepts ConnectionTypeFieldArgs and ConnectionTypeFieldOutput values. You can construct a concrete instance of `ConnectionTypeFieldInput` via:

ConnectionTypeFieldArgs{...}

type ConnectionTypeFieldOutput

type ConnectionTypeFieldOutput struct{ *pulumi.OutputState }

func (ConnectionTypeFieldOutput) ElementType

func (ConnectionTypeFieldOutput) ElementType() reflect.Type

func (ConnectionTypeFieldOutput) IsEncrypted

Whether to set the isEncrypted flag of the connection field definition.

func (ConnectionTypeFieldOutput) IsOptional

Whether to set the isOptional flag of the connection field definition.

func (ConnectionTypeFieldOutput) Name

The name which should be used for this connection field definition.

func (ConnectionTypeFieldOutput) ToConnectionTypeFieldOutput

func (o ConnectionTypeFieldOutput) ToConnectionTypeFieldOutput() ConnectionTypeFieldOutput

func (ConnectionTypeFieldOutput) ToConnectionTypeFieldOutputWithContext

func (o ConnectionTypeFieldOutput) ToConnectionTypeFieldOutputWithContext(ctx context.Context) ConnectionTypeFieldOutput

func (ConnectionTypeFieldOutput) Type

The type of the connection field definition.

type ConnectionTypeInput

type ConnectionTypeInput interface {
	pulumi.Input

	ToConnectionTypeOutput() ConnectionTypeOutput
	ToConnectionTypeOutputWithContext(ctx context.Context) ConnectionTypeOutput
}

type ConnectionTypeMap

type ConnectionTypeMap map[string]ConnectionTypeInput

func (ConnectionTypeMap) ElementType

func (ConnectionTypeMap) ElementType() reflect.Type

func (ConnectionTypeMap) ToConnectionTypeMapOutput

func (i ConnectionTypeMap) ToConnectionTypeMapOutput() ConnectionTypeMapOutput

func (ConnectionTypeMap) ToConnectionTypeMapOutputWithContext

func (i ConnectionTypeMap) ToConnectionTypeMapOutputWithContext(ctx context.Context) ConnectionTypeMapOutput

type ConnectionTypeMapInput

type ConnectionTypeMapInput interface {
	pulumi.Input

	ToConnectionTypeMapOutput() ConnectionTypeMapOutput
	ToConnectionTypeMapOutputWithContext(context.Context) ConnectionTypeMapOutput
}

ConnectionTypeMapInput is an input type that accepts ConnectionTypeMap and ConnectionTypeMapOutput values. You can construct a concrete instance of `ConnectionTypeMapInput` via:

ConnectionTypeMap{ "key": ConnectionTypeArgs{...} }

type ConnectionTypeMapOutput

type ConnectionTypeMapOutput struct{ *pulumi.OutputState }

func (ConnectionTypeMapOutput) ElementType

func (ConnectionTypeMapOutput) ElementType() reflect.Type

func (ConnectionTypeMapOutput) MapIndex

func (ConnectionTypeMapOutput) ToConnectionTypeMapOutput

func (o ConnectionTypeMapOutput) ToConnectionTypeMapOutput() ConnectionTypeMapOutput

func (ConnectionTypeMapOutput) ToConnectionTypeMapOutputWithContext

func (o ConnectionTypeMapOutput) ToConnectionTypeMapOutputWithContext(ctx context.Context) ConnectionTypeMapOutput

type ConnectionTypeOutput

type ConnectionTypeOutput struct{ *pulumi.OutputState }

func (ConnectionTypeOutput) AutomationAccountName

func (o ConnectionTypeOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Connection is created. Changing this forces a new resource to be created.

func (ConnectionTypeOutput) ElementType

func (ConnectionTypeOutput) ElementType() reflect.Type

func (ConnectionTypeOutput) Fields

One or more `field` blocks as defined below. Changing this forces a new Automation to be created.

func (ConnectionTypeOutput) IsGlobal

Whether the connection type is global. Changing this forces a new Automation to be created.

func (ConnectionTypeOutput) Name

The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created.

func (ConnectionTypeOutput) ResourceGroupName

func (o ConnectionTypeOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.

func (ConnectionTypeOutput) ToConnectionTypeOutput

func (o ConnectionTypeOutput) ToConnectionTypeOutput() ConnectionTypeOutput

func (ConnectionTypeOutput) ToConnectionTypeOutputWithContext

func (o ConnectionTypeOutput) ToConnectionTypeOutputWithContext(ctx context.Context) ConnectionTypeOutput

type ConnectionTypeState

type ConnectionTypeState 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
	// One or more `field` blocks as defined below. Changing this forces a new Automation to be created.
	Fields ConnectionTypeFieldArrayInput
	// Whether the connection type is global. Changing this forces a new Automation to be created.
	IsGlobal pulumi.BoolPtrInput
	// The name which should be used for this Automation Connection Type. Changing this forces a new Automation to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ConnectionTypeState) ElementType

func (ConnectionTypeState) 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/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewCredential(ctx, "example", &automation.CredentialArgs{
			Name:                  pulumi.String("credential1"),
			ResourceGroupName:     example.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) AutomationAccountName

func (o CredentialOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

func (CredentialOutput) Description

func (o CredentialOutput) Description() pulumi.StringPtrOutput

The description associated with this Automation Credential.

func (CredentialOutput) ElementType

func (CredentialOutput) ElementType() reflect.Type

func (CredentialOutput) Name

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

func (CredentialOutput) Password

func (o CredentialOutput) Password() pulumi.StringOutput

The password associated with this Automation Credential.

func (CredentialOutput) ResourceGroupName

func (o CredentialOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

func (CredentialOutput) ToCredentialOutput

func (o CredentialOutput) ToCredentialOutput() CredentialOutput

func (CredentialOutput) ToCredentialOutputWithContext

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

func (CredentialOutput) Username

func (o CredentialOutput) Username() pulumi.StringOutput

The username associated with this Automation Credential.

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDateTimeVariable(ctx, "example", &automation.DateTimeVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.String("2019-04-24T21:40:54.074Z"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o DateTimeVariableOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.

func (DateTimeVariableOutput) Description

The description of the Automation Variable.

func (DateTimeVariableOutput) ElementType

func (DateTimeVariableOutput) ElementType() reflect.Type

func (DateTimeVariableOutput) Encrypted

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

func (DateTimeVariableOutput) Name

The name of the Automation Variable. Changing this forces a new resource to be created.

func (DateTimeVariableOutput) ResourceGroupName

func (o DateTimeVariableOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.

func (DateTimeVariableOutput) ToDateTimeVariableOutput

func (o DateTimeVariableOutput) ToDateTimeVariableOutput() DateTimeVariableOutput

func (DateTimeVariableOutput) ToDateTimeVariableOutputWithContext

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

func (DateTimeVariableOutput) 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 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. Changing this forces a new resource to be created.
	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.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscConfiguration(ctx, "example", &automation.DscConfigurationArgs{
			Name:                  pulumi.String("test"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Location:              example.Location,
			ContentEmbedded:       pulumi.String("configuration test {}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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. Changing this forces a new resource to be created.
	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) AutomationAccountName

func (o DscConfigurationOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the DSC Configuration is created. Changing this forces a new resource to be created.

func (DscConfigurationOutput) ContentEmbedded

func (o DscConfigurationOutput) ContentEmbedded() pulumi.StringOutput

The PowerShell DSC Configuration script.

func (DscConfigurationOutput) Description

Description to go with DSC Configuration.

func (DscConfigurationOutput) ElementType

func (DscConfigurationOutput) ElementType() reflect.Type

func (DscConfigurationOutput) Location

Must be the same location as the Automation Account. Changing this forces a new resource to be created.

func (DscConfigurationOutput) LogVerbose

Verbose log option.

func (DscConfigurationOutput) Name

Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.

func (DscConfigurationOutput) ResourceGroupName

func (o DscConfigurationOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.

func (DscConfigurationOutput) State

func (DscConfigurationOutput) Tags

A mapping of tags to assign to the resource.

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. Changing this forces a new resource to be created.
	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.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleDscConfiguration, err := automation.NewDscConfiguration(ctx, "example", &automation.DscConfigurationArgs{
			Name:                  pulumi.String("test"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Location:              example.Location,
			ContentEmbedded:       pulumi.String("configuration test {}"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscNodeConfiguration(ctx, "example", &automation.DscNodeConfigurationArgs{
			Name:                  pulumi.String("test.localhost"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			ContentEmbedded: pulumi.String(`instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref

{
  ResourceID = "[File]bla";
  Ensure = "Present";
  Contents = "bogus Content";
  DestinationPath = "c:\\bogus.txt";
  ModuleName = "PSDesiredStateConfiguration";
  SourceInfo = "::3::9::file";
  ModuleVersion = "1.0";
  ConfigurationName = "bla";
};

instance of OMI_ConfigurationDocument

{
  Version="2.0.0";
  MinimumCompatibleVersion = "1.0.0";
  CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"};
  Author="bogusAuthor";
  GenerationDate="06/15/2018 14:06:24";
  GenerationHost="bogusComputer";
  Name="test";
};

`),

		}, pulumi.DependsOn([]pulumi.Resource{
			exampleDscConfiguration,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o DscNodeConfigurationOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the DSC Node Configuration is created. Changing this forces a new resource to be created.

func (DscNodeConfigurationOutput) ConfigurationName

func (o DscNodeConfigurationOutput) ConfigurationName() pulumi.StringOutput

func (DscNodeConfigurationOutput) ContentEmbedded

func (o DscNodeConfigurationOutput) ContentEmbedded() pulumi.StringOutput

The PowerShell DSC Node Configuration (mof content).

func (DscNodeConfigurationOutput) ElementType

func (DscNodeConfigurationOutput) ElementType() reflect.Type

func (DscNodeConfigurationOutput) Name

Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.

func (DscNodeConfigurationOutput) ResourceGroupName

func (o DscNodeConfigurationOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the DSC Node Configuration is created. Changing this forces a new resource to be created.

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 GetAccountIdentity

type GetAccountIdentity struct {
	// The list of User Assigned Managed Identity IDs assigned to this Automation Account.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Service Identity that is configured on this Automation Account.
	PrincipalId string `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Service Identity that is configured on this Automation Account.
	TenantId string `pulumi:"tenantId"`
	// The type of Managed Service Identity that is configured on this Automation Account.
	Type string `pulumi:"type"`
}

type GetAccountIdentityArgs

type GetAccountIdentityArgs struct {
	// The list of User Assigned Managed Identity IDs assigned to this Automation Account.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Service Identity that is configured on this Automation Account.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Service Identity that is configured on this Automation Account.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The type of Managed Service Identity that is configured on this Automation Account.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetAccountIdentityArgs) ElementType

func (GetAccountIdentityArgs) ElementType() reflect.Type

func (GetAccountIdentityArgs) ToGetAccountIdentityOutput

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput

type GetAccountIdentityArray

type GetAccountIdentityArray []GetAccountIdentityInput

func (GetAccountIdentityArray) ElementType

func (GetAccountIdentityArray) ElementType() reflect.Type

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutput

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput

type GetAccountIdentityArrayInput

type GetAccountIdentityArrayInput interface {
	pulumi.Input

	ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput
	ToGetAccountIdentityArrayOutputWithContext(context.Context) GetAccountIdentityArrayOutput
}

GetAccountIdentityArrayInput is an input type that accepts GetAccountIdentityArray and GetAccountIdentityArrayOutput values. You can construct a concrete instance of `GetAccountIdentityArrayInput` via:

GetAccountIdentityArray{ GetAccountIdentityArgs{...} }

type GetAccountIdentityArrayOutput

type GetAccountIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityArrayOutput) ElementType

func (GetAccountIdentityArrayOutput) Index

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput

type GetAccountIdentityInput

type GetAccountIdentityInput interface {
	pulumi.Input

	ToGetAccountIdentityOutput() GetAccountIdentityOutput
	ToGetAccountIdentityOutputWithContext(context.Context) GetAccountIdentityOutput
}

GetAccountIdentityInput is an input type that accepts GetAccountIdentityArgs and GetAccountIdentityOutput values. You can construct a concrete instance of `GetAccountIdentityInput` via:

GetAccountIdentityArgs{...}

type GetAccountIdentityOutput

type GetAccountIdentityOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityOutput) ElementType

func (GetAccountIdentityOutput) ElementType() reflect.Type

func (GetAccountIdentityOutput) IdentityIds

The list of User Assigned Managed Identity IDs assigned to this Automation Account.

func (GetAccountIdentityOutput) PrincipalId

The Principal ID of the System Assigned Managed Service Identity that is configured on this Automation Account.

func (GetAccountIdentityOutput) TenantId

The Tenant ID of the System Assigned Managed Service Identity that is configured on this Automation Account.

func (GetAccountIdentityOutput) ToGetAccountIdentityOutput

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput

func (GetAccountIdentityOutput) Type

The type of Managed Service Identity that is configured on this Automation Account.

type GetAccountPrivateEndpointConnection

type GetAccountPrivateEndpointConnection struct {
	// The ID of the Automation Account
	Id string `pulumi:"id"`
	// The name of the Automation Account.
	Name string `pulumi:"name"`
}

type GetAccountPrivateEndpointConnectionArgs

type GetAccountPrivateEndpointConnectionArgs struct {
	// The ID of the Automation Account
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Account.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAccountPrivateEndpointConnectionArgs) ElementType

func (GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutput

func (i GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutput() GetAccountPrivateEndpointConnectionOutput

func (GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutputWithContext

func (i GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutputWithContext(ctx context.Context) GetAccountPrivateEndpointConnectionOutput

type GetAccountPrivateEndpointConnectionArray

type GetAccountPrivateEndpointConnectionArray []GetAccountPrivateEndpointConnectionInput

func (GetAccountPrivateEndpointConnectionArray) ElementType

func (GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutput

func (i GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutput() GetAccountPrivateEndpointConnectionArrayOutput

func (GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutputWithContext

func (i GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutputWithContext(ctx context.Context) GetAccountPrivateEndpointConnectionArrayOutput

type GetAccountPrivateEndpointConnectionArrayInput

type GetAccountPrivateEndpointConnectionArrayInput interface {
	pulumi.Input

	ToGetAccountPrivateEndpointConnectionArrayOutput() GetAccountPrivateEndpointConnectionArrayOutput
	ToGetAccountPrivateEndpointConnectionArrayOutputWithContext(context.Context) GetAccountPrivateEndpointConnectionArrayOutput
}

GetAccountPrivateEndpointConnectionArrayInput is an input type that accepts GetAccountPrivateEndpointConnectionArray and GetAccountPrivateEndpointConnectionArrayOutput values. You can construct a concrete instance of `GetAccountPrivateEndpointConnectionArrayInput` via:

GetAccountPrivateEndpointConnectionArray{ GetAccountPrivateEndpointConnectionArgs{...} }

type GetAccountPrivateEndpointConnectionArrayOutput

type GetAccountPrivateEndpointConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetAccountPrivateEndpointConnectionArrayOutput) ElementType

func (GetAccountPrivateEndpointConnectionArrayOutput) Index

func (GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutput

func (o GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutput() GetAccountPrivateEndpointConnectionArrayOutput

func (GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutputWithContext

func (o GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutputWithContext(ctx context.Context) GetAccountPrivateEndpointConnectionArrayOutput

type GetAccountPrivateEndpointConnectionInput

type GetAccountPrivateEndpointConnectionInput interface {
	pulumi.Input

	ToGetAccountPrivateEndpointConnectionOutput() GetAccountPrivateEndpointConnectionOutput
	ToGetAccountPrivateEndpointConnectionOutputWithContext(context.Context) GetAccountPrivateEndpointConnectionOutput
}

GetAccountPrivateEndpointConnectionInput is an input type that accepts GetAccountPrivateEndpointConnectionArgs and GetAccountPrivateEndpointConnectionOutput values. You can construct a concrete instance of `GetAccountPrivateEndpointConnectionInput` via:

GetAccountPrivateEndpointConnectionArgs{...}

type GetAccountPrivateEndpointConnectionOutput

type GetAccountPrivateEndpointConnectionOutput struct{ *pulumi.OutputState }

func (GetAccountPrivateEndpointConnectionOutput) ElementType

func (GetAccountPrivateEndpointConnectionOutput) Id

The ID of the Automation Account

func (GetAccountPrivateEndpointConnectionOutput) Name

The name of the Automation Account.

func (GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutput

func (o GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutput() GetAccountPrivateEndpointConnectionOutput

func (GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutputWithContext

func (o GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutputWithContext(ctx context.Context) GetAccountPrivateEndpointConnectionOutput

type GetRunbookArgs

type GetRunbookArgs struct {
	// The name of the Automation Account the runbook belongs to.
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The name of the Automation Runbook.
	Name string `pulumi:"name"`
	// The name of the Resource Group where the Automation exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getRunbook.

type GetRunbookOutputArgs

type GetRunbookOutputArgs struct {
	// The name of the Automation Account the runbook belongs to.
	AutomationAccountName pulumi.StringInput `pulumi:"automationAccountName"`
	// The name of the Automation Runbook.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group where the Automation exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getRunbook.

func (GetRunbookOutputArgs) ElementType

func (GetRunbookOutputArgs) ElementType() reflect.Type

type GetRunbookResult

type GetRunbookResult struct {
	AutomationAccountName string `pulumi:"automationAccountName"`
	// The content of the Runbook.
	Content string `pulumi:"content"`
	// The description of the Runbook.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the Runbook exists.
	Location string `pulumi:"location"`
	// The activity-level tracing of the Runbook.
	LogActivityTraceLevel int `pulumi:"logActivityTraceLevel"`
	// The Progress log option of the Runbook.
	LogProgress bool `pulumi:"logProgress"`
	// The Verbose log option of the Runbook.
	LogVerbose        bool   `pulumi:"logVerbose"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The type of Runbook.
	RunbookType string `pulumi:"runbookType"`
	// A mapping of tags assigned to the Runbook.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getRunbook.

func GetRunbook

func GetRunbook(ctx *pulumi.Context, args *GetRunbookArgs, opts ...pulumi.InvokeOption) (*GetRunbookResult, error)

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := automation.GetRunbook(ctx, &automation.GetRunbookArgs{
			Name:                  "existing-runbook",
			ResourceGroupName:     "existing",
			AutomationAccountName: "existing-automation",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type GetRunbookResultOutput

type GetRunbookResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRunbook.

func (GetRunbookResultOutput) AutomationAccountName

func (o GetRunbookResultOutput) AutomationAccountName() pulumi.StringOutput

func (GetRunbookResultOutput) Content

The content of the Runbook.

func (GetRunbookResultOutput) Description

func (o GetRunbookResultOutput) Description() pulumi.StringOutput

The description of the Runbook.

func (GetRunbookResultOutput) ElementType

func (GetRunbookResultOutput) ElementType() reflect.Type

func (GetRunbookResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRunbookResultOutput) Location

The Azure Region where the Runbook exists.

func (GetRunbookResultOutput) LogActivityTraceLevel

func (o GetRunbookResultOutput) LogActivityTraceLevel() pulumi.IntOutput

The activity-level tracing of the Runbook.

func (GetRunbookResultOutput) LogProgress

func (o GetRunbookResultOutput) LogProgress() pulumi.BoolOutput

The Progress log option of the Runbook.

func (GetRunbookResultOutput) LogVerbose

func (o GetRunbookResultOutput) LogVerbose() pulumi.BoolOutput

The Verbose log option of the Runbook.

func (GetRunbookResultOutput) Name

func (GetRunbookResultOutput) ResourceGroupName

func (o GetRunbookResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetRunbookResultOutput) RunbookType

func (o GetRunbookResultOutput) RunbookType() pulumi.StringOutput

The type of Runbook.

func (GetRunbookResultOutput) Tags

A mapping of tags assigned to the Runbook.

func (GetRunbookResultOutput) ToGetRunbookResultOutput

func (o GetRunbookResultOutput) ToGetRunbookResultOutput() GetRunbookResultOutput

func (GetRunbookResultOutput) ToGetRunbookResultOutputWithContext

func (o GetRunbookResultOutput) ToGetRunbookResultOutputWithContext(ctx context.Context) GetRunbookResultOutput

type GetVariablesArgs

type GetVariablesArgs struct {
	// The resource ID of the automation account.
	AutomationAccountId string `pulumi:"automationAccountId"`
}

A collection of arguments for invoking getVariables.

type GetVariablesBool

type GetVariablesBool struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value bool `pulumi:"value"`
}

type GetVariablesBoolArgs

type GetVariablesBoolArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.BoolInput `pulumi:"value"`
}

func (GetVariablesBoolArgs) ElementType

func (GetVariablesBoolArgs) ElementType() reflect.Type

func (GetVariablesBoolArgs) ToGetVariablesBoolOutput

func (i GetVariablesBoolArgs) ToGetVariablesBoolOutput() GetVariablesBoolOutput

func (GetVariablesBoolArgs) ToGetVariablesBoolOutputWithContext

func (i GetVariablesBoolArgs) ToGetVariablesBoolOutputWithContext(ctx context.Context) GetVariablesBoolOutput

type GetVariablesBoolArray

type GetVariablesBoolArray []GetVariablesBoolInput

func (GetVariablesBoolArray) ElementType

func (GetVariablesBoolArray) ElementType() reflect.Type

func (GetVariablesBoolArray) ToGetVariablesBoolArrayOutput

func (i GetVariablesBoolArray) ToGetVariablesBoolArrayOutput() GetVariablesBoolArrayOutput

func (GetVariablesBoolArray) ToGetVariablesBoolArrayOutputWithContext

func (i GetVariablesBoolArray) ToGetVariablesBoolArrayOutputWithContext(ctx context.Context) GetVariablesBoolArrayOutput

type GetVariablesBoolArrayInput

type GetVariablesBoolArrayInput interface {
	pulumi.Input

	ToGetVariablesBoolArrayOutput() GetVariablesBoolArrayOutput
	ToGetVariablesBoolArrayOutputWithContext(context.Context) GetVariablesBoolArrayOutput
}

GetVariablesBoolArrayInput is an input type that accepts GetVariablesBoolArray and GetVariablesBoolArrayOutput values. You can construct a concrete instance of `GetVariablesBoolArrayInput` via:

GetVariablesBoolArray{ GetVariablesBoolArgs{...} }

type GetVariablesBoolArrayOutput

type GetVariablesBoolArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesBoolArrayOutput) ElementType

func (GetVariablesBoolArrayOutput) Index

func (GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutput

func (o GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutput() GetVariablesBoolArrayOutput

func (GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutputWithContext

func (o GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutputWithContext(ctx context.Context) GetVariablesBoolArrayOutput

type GetVariablesBoolInput

type GetVariablesBoolInput interface {
	pulumi.Input

	ToGetVariablesBoolOutput() GetVariablesBoolOutput
	ToGetVariablesBoolOutputWithContext(context.Context) GetVariablesBoolOutput
}

GetVariablesBoolInput is an input type that accepts GetVariablesBoolArgs and GetVariablesBoolOutput values. You can construct a concrete instance of `GetVariablesBoolInput` via:

GetVariablesBoolArgs{...}

type GetVariablesBoolOutput

type GetVariablesBoolOutput struct{ *pulumi.OutputState }

func (GetVariablesBoolOutput) Description

func (o GetVariablesBoolOutput) Description() pulumi.StringOutput

The description of the Automation Variable.

func (GetVariablesBoolOutput) ElementType

func (GetVariablesBoolOutput) ElementType() reflect.Type

func (GetVariablesBoolOutput) Encrypted

Specifies if the Automation Variable is encrypted.

func (GetVariablesBoolOutput) Id

func (GetVariablesBoolOutput) Name

The name of the Automation Variable.

func (GetVariablesBoolOutput) ToGetVariablesBoolOutput

func (o GetVariablesBoolOutput) ToGetVariablesBoolOutput() GetVariablesBoolOutput

func (GetVariablesBoolOutput) ToGetVariablesBoolOutputWithContext

func (o GetVariablesBoolOutput) ToGetVariablesBoolOutputWithContext(ctx context.Context) GetVariablesBoolOutput

func (GetVariablesBoolOutput) Value

The value of the Automation Variable.

type GetVariablesDatetime

type GetVariablesDatetime struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value string `pulumi:"value"`
}

type GetVariablesDatetimeArgs

type GetVariablesDatetimeArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVariablesDatetimeArgs) ElementType

func (GetVariablesDatetimeArgs) ElementType() reflect.Type

func (GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutput

func (i GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutput() GetVariablesDatetimeOutput

func (GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutputWithContext

func (i GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutputWithContext(ctx context.Context) GetVariablesDatetimeOutput

type GetVariablesDatetimeArray

type GetVariablesDatetimeArray []GetVariablesDatetimeInput

func (GetVariablesDatetimeArray) ElementType

func (GetVariablesDatetimeArray) ElementType() reflect.Type

func (GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutput

func (i GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutput() GetVariablesDatetimeArrayOutput

func (GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutputWithContext

func (i GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutputWithContext(ctx context.Context) GetVariablesDatetimeArrayOutput

type GetVariablesDatetimeArrayInput

type GetVariablesDatetimeArrayInput interface {
	pulumi.Input

	ToGetVariablesDatetimeArrayOutput() GetVariablesDatetimeArrayOutput
	ToGetVariablesDatetimeArrayOutputWithContext(context.Context) GetVariablesDatetimeArrayOutput
}

GetVariablesDatetimeArrayInput is an input type that accepts GetVariablesDatetimeArray and GetVariablesDatetimeArrayOutput values. You can construct a concrete instance of `GetVariablesDatetimeArrayInput` via:

GetVariablesDatetimeArray{ GetVariablesDatetimeArgs{...} }

type GetVariablesDatetimeArrayOutput

type GetVariablesDatetimeArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesDatetimeArrayOutput) ElementType

func (GetVariablesDatetimeArrayOutput) Index

func (GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutput

func (o GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutput() GetVariablesDatetimeArrayOutput

func (GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutputWithContext

func (o GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutputWithContext(ctx context.Context) GetVariablesDatetimeArrayOutput

type GetVariablesDatetimeInput

type GetVariablesDatetimeInput interface {
	pulumi.Input

	ToGetVariablesDatetimeOutput() GetVariablesDatetimeOutput
	ToGetVariablesDatetimeOutputWithContext(context.Context) GetVariablesDatetimeOutput
}

GetVariablesDatetimeInput is an input type that accepts GetVariablesDatetimeArgs and GetVariablesDatetimeOutput values. You can construct a concrete instance of `GetVariablesDatetimeInput` via:

GetVariablesDatetimeArgs{...}

type GetVariablesDatetimeOutput

type GetVariablesDatetimeOutput struct{ *pulumi.OutputState }

func (GetVariablesDatetimeOutput) Description

The description of the Automation Variable.

func (GetVariablesDatetimeOutput) ElementType

func (GetVariablesDatetimeOutput) ElementType() reflect.Type

func (GetVariablesDatetimeOutput) Encrypted

Specifies if the Automation Variable is encrypted.

func (GetVariablesDatetimeOutput) Id

func (GetVariablesDatetimeOutput) Name

The name of the Automation Variable.

func (GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutput

func (o GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutput() GetVariablesDatetimeOutput

func (GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutputWithContext

func (o GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutputWithContext(ctx context.Context) GetVariablesDatetimeOutput

func (GetVariablesDatetimeOutput) Value

The value of the Automation Variable.

type GetVariablesEncrypted

type GetVariablesEncrypted struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value string `pulumi:"value"`
}

type GetVariablesEncryptedArgs

type GetVariablesEncryptedArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVariablesEncryptedArgs) ElementType

func (GetVariablesEncryptedArgs) ElementType() reflect.Type

func (GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutput

func (i GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutput() GetVariablesEncryptedOutput

func (GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutputWithContext

func (i GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutputWithContext(ctx context.Context) GetVariablesEncryptedOutput

type GetVariablesEncryptedArray

type GetVariablesEncryptedArray []GetVariablesEncryptedInput

func (GetVariablesEncryptedArray) ElementType

func (GetVariablesEncryptedArray) ElementType() reflect.Type

func (GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutput

func (i GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutput() GetVariablesEncryptedArrayOutput

func (GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutputWithContext

func (i GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutputWithContext(ctx context.Context) GetVariablesEncryptedArrayOutput

type GetVariablesEncryptedArrayInput

type GetVariablesEncryptedArrayInput interface {
	pulumi.Input

	ToGetVariablesEncryptedArrayOutput() GetVariablesEncryptedArrayOutput
	ToGetVariablesEncryptedArrayOutputWithContext(context.Context) GetVariablesEncryptedArrayOutput
}

GetVariablesEncryptedArrayInput is an input type that accepts GetVariablesEncryptedArray and GetVariablesEncryptedArrayOutput values. You can construct a concrete instance of `GetVariablesEncryptedArrayInput` via:

GetVariablesEncryptedArray{ GetVariablesEncryptedArgs{...} }

type GetVariablesEncryptedArrayOutput

type GetVariablesEncryptedArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesEncryptedArrayOutput) ElementType

func (GetVariablesEncryptedArrayOutput) Index

func (GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutput

func (o GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutput() GetVariablesEncryptedArrayOutput

func (GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutputWithContext

func (o GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutputWithContext(ctx context.Context) GetVariablesEncryptedArrayOutput

type GetVariablesEncryptedInput

type GetVariablesEncryptedInput interface {
	pulumi.Input

	ToGetVariablesEncryptedOutput() GetVariablesEncryptedOutput
	ToGetVariablesEncryptedOutputWithContext(context.Context) GetVariablesEncryptedOutput
}

GetVariablesEncryptedInput is an input type that accepts GetVariablesEncryptedArgs and GetVariablesEncryptedOutput values. You can construct a concrete instance of `GetVariablesEncryptedInput` via:

GetVariablesEncryptedArgs{...}

type GetVariablesEncryptedOutput

type GetVariablesEncryptedOutput struct{ *pulumi.OutputState }

func (GetVariablesEncryptedOutput) Description

The description of the Automation Variable.

func (GetVariablesEncryptedOutput) ElementType

func (GetVariablesEncryptedOutput) Encrypted

Specifies if the Automation Variable is encrypted.

func (GetVariablesEncryptedOutput) Id

func (GetVariablesEncryptedOutput) Name

The name of the Automation Variable.

func (GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutput

func (o GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutput() GetVariablesEncryptedOutput

func (GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutputWithContext

func (o GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutputWithContext(ctx context.Context) GetVariablesEncryptedOutput

func (GetVariablesEncryptedOutput) Value

The value of the Automation Variable.

type GetVariablesInt

type GetVariablesInt struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value int `pulumi:"value"`
}

type GetVariablesIntArgs

type GetVariablesIntArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.IntInput `pulumi:"value"`
}

func (GetVariablesIntArgs) ElementType

func (GetVariablesIntArgs) ElementType() reflect.Type

func (GetVariablesIntArgs) ToGetVariablesIntOutput

func (i GetVariablesIntArgs) ToGetVariablesIntOutput() GetVariablesIntOutput

func (GetVariablesIntArgs) ToGetVariablesIntOutputWithContext

func (i GetVariablesIntArgs) ToGetVariablesIntOutputWithContext(ctx context.Context) GetVariablesIntOutput

type GetVariablesIntArray

type GetVariablesIntArray []GetVariablesIntInput

func (GetVariablesIntArray) ElementType

func (GetVariablesIntArray) ElementType() reflect.Type

func (GetVariablesIntArray) ToGetVariablesIntArrayOutput

func (i GetVariablesIntArray) ToGetVariablesIntArrayOutput() GetVariablesIntArrayOutput

func (GetVariablesIntArray) ToGetVariablesIntArrayOutputWithContext

func (i GetVariablesIntArray) ToGetVariablesIntArrayOutputWithContext(ctx context.Context) GetVariablesIntArrayOutput

type GetVariablesIntArrayInput

type GetVariablesIntArrayInput interface {
	pulumi.Input

	ToGetVariablesIntArrayOutput() GetVariablesIntArrayOutput
	ToGetVariablesIntArrayOutputWithContext(context.Context) GetVariablesIntArrayOutput
}

GetVariablesIntArrayInput is an input type that accepts GetVariablesIntArray and GetVariablesIntArrayOutput values. You can construct a concrete instance of `GetVariablesIntArrayInput` via:

GetVariablesIntArray{ GetVariablesIntArgs{...} }

type GetVariablesIntArrayOutput

type GetVariablesIntArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesIntArrayOutput) ElementType

func (GetVariablesIntArrayOutput) ElementType() reflect.Type

func (GetVariablesIntArrayOutput) Index

func (GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutput

func (o GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutput() GetVariablesIntArrayOutput

func (GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutputWithContext

func (o GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutputWithContext(ctx context.Context) GetVariablesIntArrayOutput

type GetVariablesIntInput

type GetVariablesIntInput interface {
	pulumi.Input

	ToGetVariablesIntOutput() GetVariablesIntOutput
	ToGetVariablesIntOutputWithContext(context.Context) GetVariablesIntOutput
}

GetVariablesIntInput is an input type that accepts GetVariablesIntArgs and GetVariablesIntOutput values. You can construct a concrete instance of `GetVariablesIntInput` via:

GetVariablesIntArgs{...}

type GetVariablesIntOutput

type GetVariablesIntOutput struct{ *pulumi.OutputState }

func (GetVariablesIntOutput) Description

func (o GetVariablesIntOutput) Description() pulumi.StringOutput

The description of the Automation Variable.

func (GetVariablesIntOutput) ElementType

func (GetVariablesIntOutput) ElementType() reflect.Type

func (GetVariablesIntOutput) Encrypted

func (o GetVariablesIntOutput) Encrypted() pulumi.BoolOutput

Specifies if the Automation Variable is encrypted.

func (GetVariablesIntOutput) Id

func (GetVariablesIntOutput) Name

The name of the Automation Variable.

func (GetVariablesIntOutput) ToGetVariablesIntOutput

func (o GetVariablesIntOutput) ToGetVariablesIntOutput() GetVariablesIntOutput

func (GetVariablesIntOutput) ToGetVariablesIntOutputWithContext

func (o GetVariablesIntOutput) ToGetVariablesIntOutputWithContext(ctx context.Context) GetVariablesIntOutput

func (GetVariablesIntOutput) Value

The value of the Automation Variable.

type GetVariablesNull

type GetVariablesNull struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value string `pulumi:"value"`
}

type GetVariablesNullArgs

type GetVariablesNullArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVariablesNullArgs) ElementType

func (GetVariablesNullArgs) ElementType() reflect.Type

func (GetVariablesNullArgs) ToGetVariablesNullOutput

func (i GetVariablesNullArgs) ToGetVariablesNullOutput() GetVariablesNullOutput

func (GetVariablesNullArgs) ToGetVariablesNullOutputWithContext

func (i GetVariablesNullArgs) ToGetVariablesNullOutputWithContext(ctx context.Context) GetVariablesNullOutput

type GetVariablesNullArray

type GetVariablesNullArray []GetVariablesNullInput

func (GetVariablesNullArray) ElementType

func (GetVariablesNullArray) ElementType() reflect.Type

func (GetVariablesNullArray) ToGetVariablesNullArrayOutput

func (i GetVariablesNullArray) ToGetVariablesNullArrayOutput() GetVariablesNullArrayOutput

func (GetVariablesNullArray) ToGetVariablesNullArrayOutputWithContext

func (i GetVariablesNullArray) ToGetVariablesNullArrayOutputWithContext(ctx context.Context) GetVariablesNullArrayOutput

type GetVariablesNullArrayInput

type GetVariablesNullArrayInput interface {
	pulumi.Input

	ToGetVariablesNullArrayOutput() GetVariablesNullArrayOutput
	ToGetVariablesNullArrayOutputWithContext(context.Context) GetVariablesNullArrayOutput
}

GetVariablesNullArrayInput is an input type that accepts GetVariablesNullArray and GetVariablesNullArrayOutput values. You can construct a concrete instance of `GetVariablesNullArrayInput` via:

GetVariablesNullArray{ GetVariablesNullArgs{...} }

type GetVariablesNullArrayOutput

type GetVariablesNullArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesNullArrayOutput) ElementType

func (GetVariablesNullArrayOutput) Index

func (GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutput

func (o GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutput() GetVariablesNullArrayOutput

func (GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutputWithContext

func (o GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutputWithContext(ctx context.Context) GetVariablesNullArrayOutput

type GetVariablesNullInput

type GetVariablesNullInput interface {
	pulumi.Input

	ToGetVariablesNullOutput() GetVariablesNullOutput
	ToGetVariablesNullOutputWithContext(context.Context) GetVariablesNullOutput
}

GetVariablesNullInput is an input type that accepts GetVariablesNullArgs and GetVariablesNullOutput values. You can construct a concrete instance of `GetVariablesNullInput` via:

GetVariablesNullArgs{...}

type GetVariablesNullOutput

type GetVariablesNullOutput struct{ *pulumi.OutputState }

func (GetVariablesNullOutput) Description

func (o GetVariablesNullOutput) Description() pulumi.StringOutput

The description of the Automation Variable.

func (GetVariablesNullOutput) ElementType

func (GetVariablesNullOutput) ElementType() reflect.Type

func (GetVariablesNullOutput) Encrypted

Specifies if the Automation Variable is encrypted.

func (GetVariablesNullOutput) Id

func (GetVariablesNullOutput) Name

The name of the Automation Variable.

func (GetVariablesNullOutput) ToGetVariablesNullOutput

func (o GetVariablesNullOutput) ToGetVariablesNullOutput() GetVariablesNullOutput

func (GetVariablesNullOutput) ToGetVariablesNullOutputWithContext

func (o GetVariablesNullOutput) ToGetVariablesNullOutputWithContext(ctx context.Context) GetVariablesNullOutput

func (GetVariablesNullOutput) Value

The value of the Automation Variable.

type GetVariablesObject

type GetVariablesObject struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value string `pulumi:"value"`
}

type GetVariablesObjectArgs

type GetVariablesObjectArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVariablesObjectArgs) ElementType

func (GetVariablesObjectArgs) ElementType() reflect.Type

func (GetVariablesObjectArgs) ToGetVariablesObjectOutput

func (i GetVariablesObjectArgs) ToGetVariablesObjectOutput() GetVariablesObjectOutput

func (GetVariablesObjectArgs) ToGetVariablesObjectOutputWithContext

func (i GetVariablesObjectArgs) ToGetVariablesObjectOutputWithContext(ctx context.Context) GetVariablesObjectOutput

type GetVariablesObjectArray

type GetVariablesObjectArray []GetVariablesObjectInput

func (GetVariablesObjectArray) ElementType

func (GetVariablesObjectArray) ElementType() reflect.Type

func (GetVariablesObjectArray) ToGetVariablesObjectArrayOutput

func (i GetVariablesObjectArray) ToGetVariablesObjectArrayOutput() GetVariablesObjectArrayOutput

func (GetVariablesObjectArray) ToGetVariablesObjectArrayOutputWithContext

func (i GetVariablesObjectArray) ToGetVariablesObjectArrayOutputWithContext(ctx context.Context) GetVariablesObjectArrayOutput

type GetVariablesObjectArrayInput

type GetVariablesObjectArrayInput interface {
	pulumi.Input

	ToGetVariablesObjectArrayOutput() GetVariablesObjectArrayOutput
	ToGetVariablesObjectArrayOutputWithContext(context.Context) GetVariablesObjectArrayOutput
}

GetVariablesObjectArrayInput is an input type that accepts GetVariablesObjectArray and GetVariablesObjectArrayOutput values. You can construct a concrete instance of `GetVariablesObjectArrayInput` via:

GetVariablesObjectArray{ GetVariablesObjectArgs{...} }

type GetVariablesObjectArrayOutput

type GetVariablesObjectArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesObjectArrayOutput) ElementType

func (GetVariablesObjectArrayOutput) Index

func (GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutput

func (o GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutput() GetVariablesObjectArrayOutput

func (GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutputWithContext

func (o GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutputWithContext(ctx context.Context) GetVariablesObjectArrayOutput

type GetVariablesObjectInput

type GetVariablesObjectInput interface {
	pulumi.Input

	ToGetVariablesObjectOutput() GetVariablesObjectOutput
	ToGetVariablesObjectOutputWithContext(context.Context) GetVariablesObjectOutput
}

GetVariablesObjectInput is an input type that accepts GetVariablesObjectArgs and GetVariablesObjectOutput values. You can construct a concrete instance of `GetVariablesObjectInput` via:

GetVariablesObjectArgs{...}

type GetVariablesObjectOutput

type GetVariablesObjectOutput struct{ *pulumi.OutputState }

func (GetVariablesObjectOutput) Description

The description of the Automation Variable.

func (GetVariablesObjectOutput) ElementType

func (GetVariablesObjectOutput) ElementType() reflect.Type

func (GetVariablesObjectOutput) Encrypted

Specifies if the Automation Variable is encrypted.

func (GetVariablesObjectOutput) Id

func (GetVariablesObjectOutput) Name

The name of the Automation Variable.

func (GetVariablesObjectOutput) ToGetVariablesObjectOutput

func (o GetVariablesObjectOutput) ToGetVariablesObjectOutput() GetVariablesObjectOutput

func (GetVariablesObjectOutput) ToGetVariablesObjectOutputWithContext

func (o GetVariablesObjectOutput) ToGetVariablesObjectOutputWithContext(ctx context.Context) GetVariablesObjectOutput

func (GetVariablesObjectOutput) Value

The value of the Automation Variable.

type GetVariablesOutputArgs

type GetVariablesOutputArgs struct {
	// The resource ID of the automation account.
	AutomationAccountId pulumi.StringInput `pulumi:"automationAccountId"`
}

A collection of arguments for invoking getVariables.

func (GetVariablesOutputArgs) ElementType

func (GetVariablesOutputArgs) ElementType() reflect.Type

type GetVariablesResult

type GetVariablesResult struct {
	AutomationAccountId string `pulumi:"automationAccountId"`
	// One or more `variable` blocks as defined below for each boolean variable.
	Bools []GetVariablesBool `pulumi:"bools"`
	// One or more `variable` blocks as defined below for each datetime variable.
	Datetimes []GetVariablesDatetime `pulumi:"datetimes"`
	// Specifies if the Automation Variable is encrypted.
	Encrypteds []GetVariablesEncrypted `pulumi:"encrypteds"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// One or more `variable` blocks as defined below for each int variable.
	Ints []GetVariablesInt `pulumi:"ints"`
	// One or more `variable` blocks as defined below for each null variable.
	Nulls   []GetVariablesNull   `pulumi:"nulls"`
	Objects []GetVariablesObject `pulumi:"objects"`
	// One or more `variable` blocks as defined below for each string variable.
	Strings []GetVariablesString `pulumi:"strings"`
}

A collection of values returned by getVariables.

func GetVariables

func GetVariables(ctx *pulumi.Context, args *GetVariablesArgs, opts ...pulumi.InvokeOption) (*GetVariablesResult, error)

Use this data source to get all variables in an Automation Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/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
		}
		_, err = automation.GetVariables(ctx, &automation.GetVariablesArgs{
			AutomationAccountId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("stringVars", exampleAzurermAutomationVariableString.String)
		return nil
	})
}

```

type GetVariablesResultOutput

type GetVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVariables.

func (GetVariablesResultOutput) AutomationAccountId

func (o GetVariablesResultOutput) AutomationAccountId() pulumi.StringOutput

func (GetVariablesResultOutput) Bools

One or more `variable` blocks as defined below for each boolean variable.

func (GetVariablesResultOutput) Datetimes

One or more `variable` blocks as defined below for each datetime variable.

func (GetVariablesResultOutput) ElementType

func (GetVariablesResultOutput) ElementType() reflect.Type

func (GetVariablesResultOutput) Encrypteds

Specifies if the Automation Variable is encrypted.

func (GetVariablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetVariablesResultOutput) Ints

One or more `variable` blocks as defined below for each int variable.

func (GetVariablesResultOutput) Nulls

One or more `variable` blocks as defined below for each null variable.

func (GetVariablesResultOutput) Objects

func (GetVariablesResultOutput) Strings

One or more `variable` blocks as defined below for each string variable.

func (GetVariablesResultOutput) ToGetVariablesResultOutput

func (o GetVariablesResultOutput) ToGetVariablesResultOutput() GetVariablesResultOutput

func (GetVariablesResultOutput) ToGetVariablesResultOutputWithContext

func (o GetVariablesResultOutput) ToGetVariablesResultOutputWithContext(ctx context.Context) GetVariablesResultOutput

type GetVariablesString

type GetVariablesString struct {
	// The description of the Automation Variable.
	Description string `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted bool   `pulumi:"encrypted"`
	Id        string `pulumi:"id"`
	// The name of the Automation Variable.
	Name string `pulumi:"name"`
	// The value of the Automation Variable.
	Value string `pulumi:"value"`
}

type GetVariablesStringArgs

type GetVariablesStringArgs struct {
	// The description of the Automation Variable.
	Description pulumi.StringInput `pulumi:"description"`
	// Specifies if the Automation Variable is encrypted.
	Encrypted pulumi.BoolInput   `pulumi:"encrypted"`
	Id        pulumi.StringInput `pulumi:"id"`
	// The name of the Automation Variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Automation Variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVariablesStringArgs) ElementType

func (GetVariablesStringArgs) ElementType() reflect.Type

func (GetVariablesStringArgs) ToGetVariablesStringOutput

func (i GetVariablesStringArgs) ToGetVariablesStringOutput() GetVariablesStringOutput

func (GetVariablesStringArgs) ToGetVariablesStringOutputWithContext

func (i GetVariablesStringArgs) ToGetVariablesStringOutputWithContext(ctx context.Context) GetVariablesStringOutput

type GetVariablesStringArray

type GetVariablesStringArray []GetVariablesStringInput

func (GetVariablesStringArray) ElementType

func (GetVariablesStringArray) ElementType() reflect.Type

func (GetVariablesStringArray) ToGetVariablesStringArrayOutput

func (i GetVariablesStringArray) ToGetVariablesStringArrayOutput() GetVariablesStringArrayOutput

func (GetVariablesStringArray) ToGetVariablesStringArrayOutputWithContext

func (i GetVariablesStringArray) ToGetVariablesStringArrayOutputWithContext(ctx context.Context) GetVariablesStringArrayOutput

type GetVariablesStringArrayInput

type GetVariablesStringArrayInput interface {
	pulumi.Input

	ToGetVariablesStringArrayOutput() GetVariablesStringArrayOutput
	ToGetVariablesStringArrayOutputWithContext(context.Context) GetVariablesStringArrayOutput
}

GetVariablesStringArrayInput is an input type that accepts GetVariablesStringArray and GetVariablesStringArrayOutput values. You can construct a concrete instance of `GetVariablesStringArrayInput` via:

GetVariablesStringArray{ GetVariablesStringArgs{...} }

type GetVariablesStringArrayOutput

type GetVariablesStringArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesStringArrayOutput) ElementType

func (GetVariablesStringArrayOutput) Index

func (GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutput

func (o GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutput() GetVariablesStringArrayOutput

func (GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutputWithContext

func (o GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutputWithContext(ctx context.Context) GetVariablesStringArrayOutput

type GetVariablesStringInput

type GetVariablesStringInput interface {
	pulumi.Input

	ToGetVariablesStringOutput() GetVariablesStringOutput
	ToGetVariablesStringOutputWithContext(context.Context) GetVariablesStringOutput
}

GetVariablesStringInput is an input type that accepts GetVariablesStringArgs and GetVariablesStringOutput values. You can construct a concrete instance of `GetVariablesStringInput` via:

GetVariablesStringArgs{...}

type GetVariablesStringOutput

type GetVariablesStringOutput struct{ *pulumi.OutputState }

func (GetVariablesStringOutput) Description

The description of the Automation Variable.

func (GetVariablesStringOutput) ElementType

func (GetVariablesStringOutput) ElementType() reflect.Type

func (GetVariablesStringOutput) Encrypted

Specifies if the Automation Variable is encrypted.

func (GetVariablesStringOutput) Id

func (GetVariablesStringOutput) Name

The name of the Automation Variable.

func (GetVariablesStringOutput) ToGetVariablesStringOutput

func (o GetVariablesStringOutput) ToGetVariablesStringOutput() GetVariablesStringOutput

func (GetVariablesStringOutput) ToGetVariablesStringOutputWithContext

func (o GetVariablesStringOutput) ToGetVariablesStringOutputWithContext(ctx context.Context) GetVariablesStringOutput

func (GetVariablesStringOutput) Value

The value of the Automation Variable.

type HybridRunbookWorker

type HybridRunbookWorker struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Hybrid Worker is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The IP address of assigned machine.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// Last Heartbeat from the Worker.
	LastSeenDateTime pulumi.StringOutput `pulumi:"lastSeenDateTime"`
	// The registration time of the worker machine.
	RegistrationDateTime pulumi.StringOutput `pulumi:"registrationDateTime"`
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The ID of the virtual machine used for this HybridWorker. Changing this forces a new Automation to be created.
	VmResourceId pulumi.StringOutput `pulumi:"vmResourceId"`
	// The name of the HybridWorker Group. Changing this forces a new Automation to be created.
	WorkerGroupName pulumi.StringOutput `pulumi:"workerGroupName"`
	// Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringOutput `pulumi:"workerId"`
	// The name of HybridWorker.
	WorkerName pulumi.StringOutput `pulumi:"workerName"`
	// The type of the HybridWorker, the possible values are `HybridV1` and `HybridV2`.
	WorkerType pulumi.StringOutput `pulumi:"workerType"`
}

Manages a Automation Hybrid Runbook Worker.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleHybridRunbookWorkerGroup, err := automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			ResourceGroupName: example.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("192.168.1.0/24"),
			},
			Location: example.Location,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("192.168.1.0/24"),
			},
		})
		if err != nil {
			return err
		}
		exampleNetworkInterface, err := network.NewNetworkInterface(ctx, "example", &network.NetworkInterfaceArgs{
			Name:              pulumi.String("example-nic"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			IpConfigurations: network.NetworkInterfaceIpConfigurationArray{
				&network.NetworkInterfaceIpConfigurationArgs{
					Name:                       pulumi.String("vm-example"),
					SubnetId:                   exampleSubnet.ID(),
					PrivateIpAddressAllocation: pulumi.String("Dynamic"),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleLinuxVirtualMachine, err := compute.NewLinuxVirtualMachine(ctx, "example", &compute.LinuxVirtualMachineArgs{
			Name:                          pulumi.String("example-vm"),
			Location:                      example.Location,
			ResourceGroupName:             example.Name,
			Size:                          pulumi.String("Standard_B1s"),
			AdminUsername:                 pulumi.String("testadmin"),
			AdminPassword:                 pulumi.String("Password1234!"),
			DisablePasswordAuthentication: pulumi.Bool(false),
			SourceImageReference: &compute.LinuxVirtualMachineSourceImageReferenceArgs{
				Publisher: pulumi.String("Canonical"),
				Offer:     pulumi.String("0001-com-ubuntu-server-jammy"),
				Sku:       pulumi.String("22_04-lts"),
				Version:   pulumi.String("latest"),
			},
			OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{
				Caching:            pulumi.String("ReadWrite"),
				StorageAccountType: pulumi.String("Standard_LRS"),
			},
			NetworkInterfaceIds: pulumi.StringArray{
				exampleNetworkInterface.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = automation.NewHybridRunbookWorker(ctx, "example", &automation.HybridRunbookWorkerArgs{
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			WorkerGroupName:       exampleHybridRunbookWorkerGroup.Name,
			VmResourceId:          exampleLinuxVirtualMachine.ID(),
			WorkerId:              pulumi.String("00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/hybridRunbookWorker:HybridRunbookWorker example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/hybridRunbookWorkerGroups/group1/hybridRunbookWorkers/00000000-0000-0000-0000-000000000000 ```

func GetHybridRunbookWorker

func GetHybridRunbookWorker(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HybridRunbookWorkerState, opts ...pulumi.ResourceOption) (*HybridRunbookWorker, error)

GetHybridRunbookWorker gets an existing HybridRunbookWorker 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 NewHybridRunbookWorker

func NewHybridRunbookWorker(ctx *pulumi.Context,
	name string, args *HybridRunbookWorkerArgs, opts ...pulumi.ResourceOption) (*HybridRunbookWorker, error)

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

func (*HybridRunbookWorker) ElementType

func (*HybridRunbookWorker) ElementType() reflect.Type

func (*HybridRunbookWorker) ToHybridRunbookWorkerOutput

func (i *HybridRunbookWorker) ToHybridRunbookWorkerOutput() HybridRunbookWorkerOutput

func (*HybridRunbookWorker) ToHybridRunbookWorkerOutputWithContext

func (i *HybridRunbookWorker) ToHybridRunbookWorkerOutputWithContext(ctx context.Context) HybridRunbookWorkerOutput

type HybridRunbookWorkerArgs

type HybridRunbookWorkerArgs struct {
	// The name of the automation account in which the Hybrid Worker is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringInput
	// The ID of the virtual machine used for this HybridWorker. Changing this forces a new Automation to be created.
	VmResourceId pulumi.StringInput
	// The name of the HybridWorker Group. Changing this forces a new Automation to be created.
	WorkerGroupName pulumi.StringInput
	// Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringInput
}

The set of arguments for constructing a HybridRunbookWorker resource.

func (HybridRunbookWorkerArgs) ElementType

func (HybridRunbookWorkerArgs) ElementType() reflect.Type

type HybridRunbookWorkerArray

type HybridRunbookWorkerArray []HybridRunbookWorkerInput

func (HybridRunbookWorkerArray) ElementType

func (HybridRunbookWorkerArray) ElementType() reflect.Type

func (HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutput

func (i HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutput() HybridRunbookWorkerArrayOutput

func (HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutputWithContext

func (i HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutputWithContext(ctx context.Context) HybridRunbookWorkerArrayOutput

type HybridRunbookWorkerArrayInput

type HybridRunbookWorkerArrayInput interface {
	pulumi.Input

	ToHybridRunbookWorkerArrayOutput() HybridRunbookWorkerArrayOutput
	ToHybridRunbookWorkerArrayOutputWithContext(context.Context) HybridRunbookWorkerArrayOutput
}

HybridRunbookWorkerArrayInput is an input type that accepts HybridRunbookWorkerArray and HybridRunbookWorkerArrayOutput values. You can construct a concrete instance of `HybridRunbookWorkerArrayInput` via:

HybridRunbookWorkerArray{ HybridRunbookWorkerArgs{...} }

type HybridRunbookWorkerArrayOutput

type HybridRunbookWorkerArrayOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerArrayOutput) ElementType

func (HybridRunbookWorkerArrayOutput) Index

func (HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutput

func (o HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutput() HybridRunbookWorkerArrayOutput

func (HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutputWithContext

func (o HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutputWithContext(ctx context.Context) HybridRunbookWorkerArrayOutput

type HybridRunbookWorkerGroup

type HybridRunbookWorkerGroup struct {
	pulumi.CustomResourceState

	// The name of the Automation Account in which the Runbook Worker Group is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The name of resource type `automation.Credential` to use for hybrid worker.
	CredentialName pulumi.StringPtrOutput `pulumi:"credentialName"`
	// The name which should be used for this Automation Account Runbook Worker Group. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Automation Hybrid Runbook Worker Group.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/hybridRunbookWorkerGroup:HybridRunbookWorkerGroup example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/hybridRunbookWorkerGroups/grp1 ```

func GetHybridRunbookWorkerGroup

func GetHybridRunbookWorkerGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HybridRunbookWorkerGroupState, opts ...pulumi.ResourceOption) (*HybridRunbookWorkerGroup, error)

GetHybridRunbookWorkerGroup gets an existing HybridRunbookWorkerGroup 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 NewHybridRunbookWorkerGroup

func NewHybridRunbookWorkerGroup(ctx *pulumi.Context,
	name string, args *HybridRunbookWorkerGroupArgs, opts ...pulumi.ResourceOption) (*HybridRunbookWorkerGroup, error)

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

func (*HybridRunbookWorkerGroup) ElementType

func (*HybridRunbookWorkerGroup) ElementType() reflect.Type

func (*HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutput

func (i *HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutput() HybridRunbookWorkerGroupOutput

func (*HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutputWithContext

func (i *HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupOutput

type HybridRunbookWorkerGroupArgs

type HybridRunbookWorkerGroupArgs struct {
	// The name of the Automation Account in which the Runbook Worker Group is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The name of resource type `automation.Credential` to use for hybrid worker.
	CredentialName pulumi.StringPtrInput
	// The name which should be used for this Automation Account Runbook Worker Group. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a HybridRunbookWorkerGroup resource.

func (HybridRunbookWorkerGroupArgs) ElementType

type HybridRunbookWorkerGroupArray

type HybridRunbookWorkerGroupArray []HybridRunbookWorkerGroupInput

func (HybridRunbookWorkerGroupArray) ElementType

func (HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutput

func (i HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutput() HybridRunbookWorkerGroupArrayOutput

func (HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutputWithContext

func (i HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupArrayOutput

type HybridRunbookWorkerGroupArrayInput

type HybridRunbookWorkerGroupArrayInput interface {
	pulumi.Input

	ToHybridRunbookWorkerGroupArrayOutput() HybridRunbookWorkerGroupArrayOutput
	ToHybridRunbookWorkerGroupArrayOutputWithContext(context.Context) HybridRunbookWorkerGroupArrayOutput
}

HybridRunbookWorkerGroupArrayInput is an input type that accepts HybridRunbookWorkerGroupArray and HybridRunbookWorkerGroupArrayOutput values. You can construct a concrete instance of `HybridRunbookWorkerGroupArrayInput` via:

HybridRunbookWorkerGroupArray{ HybridRunbookWorkerGroupArgs{...} }

type HybridRunbookWorkerGroupArrayOutput

type HybridRunbookWorkerGroupArrayOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerGroupArrayOutput) ElementType

func (HybridRunbookWorkerGroupArrayOutput) Index

func (HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutput

func (o HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutput() HybridRunbookWorkerGroupArrayOutput

func (HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutputWithContext

func (o HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupArrayOutput

type HybridRunbookWorkerGroupInput

type HybridRunbookWorkerGroupInput interface {
	pulumi.Input

	ToHybridRunbookWorkerGroupOutput() HybridRunbookWorkerGroupOutput
	ToHybridRunbookWorkerGroupOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupOutput
}

type HybridRunbookWorkerGroupMap

type HybridRunbookWorkerGroupMap map[string]HybridRunbookWorkerGroupInput

func (HybridRunbookWorkerGroupMap) ElementType

func (HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutput

func (i HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutput() HybridRunbookWorkerGroupMapOutput

func (HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutputWithContext

func (i HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupMapOutput

type HybridRunbookWorkerGroupMapInput

type HybridRunbookWorkerGroupMapInput interface {
	pulumi.Input

	ToHybridRunbookWorkerGroupMapOutput() HybridRunbookWorkerGroupMapOutput
	ToHybridRunbookWorkerGroupMapOutputWithContext(context.Context) HybridRunbookWorkerGroupMapOutput
}

HybridRunbookWorkerGroupMapInput is an input type that accepts HybridRunbookWorkerGroupMap and HybridRunbookWorkerGroupMapOutput values. You can construct a concrete instance of `HybridRunbookWorkerGroupMapInput` via:

HybridRunbookWorkerGroupMap{ "key": HybridRunbookWorkerGroupArgs{...} }

type HybridRunbookWorkerGroupMapOutput

type HybridRunbookWorkerGroupMapOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerGroupMapOutput) ElementType

func (HybridRunbookWorkerGroupMapOutput) MapIndex

func (HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutput

func (o HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutput() HybridRunbookWorkerGroupMapOutput

func (HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutputWithContext

func (o HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupMapOutput

type HybridRunbookWorkerGroupOutput

type HybridRunbookWorkerGroupOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerGroupOutput) AutomationAccountName

func (o HybridRunbookWorkerGroupOutput) AutomationAccountName() pulumi.StringOutput

The name of the Automation Account in which the Runbook Worker Group is created. Changing this forces a new resource to be created.

func (HybridRunbookWorkerGroupOutput) CredentialName

The name of resource type `automation.Credential` to use for hybrid worker.

func (HybridRunbookWorkerGroupOutput) ElementType

func (HybridRunbookWorkerGroupOutput) Name

The name which should be used for this Automation Account Runbook Worker Group. Changing this forces a new resource to be created.

func (HybridRunbookWorkerGroupOutput) ResourceGroupName

func (o HybridRunbookWorkerGroupOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.

func (HybridRunbookWorkerGroupOutput) ToHybridRunbookWorkerGroupOutput

func (o HybridRunbookWorkerGroupOutput) ToHybridRunbookWorkerGroupOutput() HybridRunbookWorkerGroupOutput

func (HybridRunbookWorkerGroupOutput) ToHybridRunbookWorkerGroupOutputWithContext

func (o HybridRunbookWorkerGroupOutput) ToHybridRunbookWorkerGroupOutputWithContext(ctx context.Context) HybridRunbookWorkerGroupOutput

type HybridRunbookWorkerGroupState

type HybridRunbookWorkerGroupState struct {
	// The name of the Automation Account in which the Runbook Worker Group is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The name of resource type `automation.Credential` to use for hybrid worker.
	CredentialName pulumi.StringPtrInput
	// The name which should be used for this Automation Account Runbook Worker Group. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (HybridRunbookWorkerGroupState) ElementType

type HybridRunbookWorkerInput

type HybridRunbookWorkerInput interface {
	pulumi.Input

	ToHybridRunbookWorkerOutput() HybridRunbookWorkerOutput
	ToHybridRunbookWorkerOutputWithContext(ctx context.Context) HybridRunbookWorkerOutput
}

type HybridRunbookWorkerMap

type HybridRunbookWorkerMap map[string]HybridRunbookWorkerInput

func (HybridRunbookWorkerMap) ElementType

func (HybridRunbookWorkerMap) ElementType() reflect.Type

func (HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutput

func (i HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutput() HybridRunbookWorkerMapOutput

func (HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutputWithContext

func (i HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutputWithContext(ctx context.Context) HybridRunbookWorkerMapOutput

type HybridRunbookWorkerMapInput

type HybridRunbookWorkerMapInput interface {
	pulumi.Input

	ToHybridRunbookWorkerMapOutput() HybridRunbookWorkerMapOutput
	ToHybridRunbookWorkerMapOutputWithContext(context.Context) HybridRunbookWorkerMapOutput
}

HybridRunbookWorkerMapInput is an input type that accepts HybridRunbookWorkerMap and HybridRunbookWorkerMapOutput values. You can construct a concrete instance of `HybridRunbookWorkerMapInput` via:

HybridRunbookWorkerMap{ "key": HybridRunbookWorkerArgs{...} }

type HybridRunbookWorkerMapOutput

type HybridRunbookWorkerMapOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerMapOutput) ElementType

func (HybridRunbookWorkerMapOutput) MapIndex

func (HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutput

func (o HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutput() HybridRunbookWorkerMapOutput

func (HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutputWithContext

func (o HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutputWithContext(ctx context.Context) HybridRunbookWorkerMapOutput

type HybridRunbookWorkerOutput

type HybridRunbookWorkerOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerOutput) AutomationAccountName

func (o HybridRunbookWorkerOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Hybrid Worker is created. Changing this forces a new resource to be created.

func (HybridRunbookWorkerOutput) ElementType

func (HybridRunbookWorkerOutput) ElementType() reflect.Type

func (HybridRunbookWorkerOutput) Ip

The IP address of assigned machine.

func (HybridRunbookWorkerOutput) LastSeenDateTime

func (o HybridRunbookWorkerOutput) LastSeenDateTime() pulumi.StringOutput

Last Heartbeat from the Worker.

func (HybridRunbookWorkerOutput) RegistrationDateTime

func (o HybridRunbookWorkerOutput) RegistrationDateTime() pulumi.StringOutput

The registration time of the worker machine.

func (HybridRunbookWorkerOutput) ResourceGroupName

func (o HybridRunbookWorkerOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.

func (HybridRunbookWorkerOutput) ToHybridRunbookWorkerOutput

func (o HybridRunbookWorkerOutput) ToHybridRunbookWorkerOutput() HybridRunbookWorkerOutput

func (HybridRunbookWorkerOutput) ToHybridRunbookWorkerOutputWithContext

func (o HybridRunbookWorkerOutput) ToHybridRunbookWorkerOutputWithContext(ctx context.Context) HybridRunbookWorkerOutput

func (HybridRunbookWorkerOutput) VmResourceId

The ID of the virtual machine used for this HybridWorker. Changing this forces a new Automation to be created.

func (HybridRunbookWorkerOutput) WorkerGroupName

func (o HybridRunbookWorkerOutput) WorkerGroupName() pulumi.StringOutput

The name of the HybridWorker Group. Changing this forces a new Automation to be created.

func (HybridRunbookWorkerOutput) WorkerId

Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.

func (HybridRunbookWorkerOutput) WorkerName

The name of HybridWorker.

func (HybridRunbookWorkerOutput) WorkerType

The type of the HybridWorker, the possible values are `HybridV1` and `HybridV2`.

type HybridRunbookWorkerState

type HybridRunbookWorkerState struct {
	// The name of the automation account in which the Hybrid Worker is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The IP address of assigned machine.
	Ip pulumi.StringPtrInput
	// Last Heartbeat from the Worker.
	LastSeenDateTime pulumi.StringPtrInput
	// The registration time of the worker machine.
	RegistrationDateTime pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The ID of the virtual machine used for this HybridWorker. Changing this forces a new Automation to be created.
	VmResourceId pulumi.StringPtrInput
	// The name of the HybridWorker Group. Changing this forces a new Automation to be created.
	WorkerGroupName pulumi.StringPtrInput
	// Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringPtrInput
	// The name of HybridWorker.
	WorkerName pulumi.StringPtrInput
	// The type of the HybridWorker, the possible values are `HybridV1` and `HybridV2`.
	WorkerType pulumi.StringPtrInput
}

func (HybridRunbookWorkerState) ElementType

func (HybridRunbookWorkerState) 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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewIntVariable(ctx, "example", &automation.IntVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.Int(1234),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o IntVariableOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.

func (IntVariableOutput) Description

func (o IntVariableOutput) Description() pulumi.StringPtrOutput

The description of the Automation Variable.

func (IntVariableOutput) ElementType

func (IntVariableOutput) ElementType() reflect.Type

func (IntVariableOutput) Encrypted

func (o IntVariableOutput) Encrypted() pulumi.BoolPtrOutput

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

func (IntVariableOutput) Name

The name of the Automation Variable. Changing this forces a new resource to be created.

func (IntVariableOutput) ResourceGroupName

func (o IntVariableOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.

func (IntVariableOutput) ToIntVariableOutput

func (o IntVariableOutput) ToIntVariableOutput() IntVariableOutput

func (IntVariableOutput) ToIntVariableOutputWithContext

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

func (IntVariableOutput) Value

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

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.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	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"`
	// The Resource Manager ID of the Automation Job Schedule.
	ResourceManagerId pulumi.StringOutput `pulumi:"resourceManagerId"`
	// 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"`
	// The name of the Schedule. Changing this forces a new resource to be created.
	ScheduleName pulumi.StringOutput `pulumi:"scheduleName"`
}

Links an Automation Runbook and Schedule.

> **NOTE** AzureRM provides this stand-alone automation.JobSchedule and an inlined `jobSchdule` property in azurermRunbook to manage the job schedules. You can only make use of one of these methods to manage a job schedule.

## Example Usage

This is an example of just the Job Schedule.

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/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{
			ResourceGroupName:     pulumi.String("tf-rgr-automation"),
			AutomationAccountName: pulumi.String("tf-automation-account"),
			ScheduleName:          pulumi.String("hour"),
			RunbookName:           pulumi.String("Get-VirtualMachine"),
			Parameters: pulumi.StringMap{
				"resourcegroup": pulumi.String("tf-rgr-vm"),
				"vmname":        pulumi.String("TF-VM-01"),
			},
		})
		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/schedules/schedule1|/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/runbooks/runbook1" ```

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.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	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
	// The name of the Schedule. Changing this forces a new resource to be created.
	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) AutomationAccountName

func (o JobScheduleOutput) AutomationAccountName() pulumi.StringOutput

The name of the Automation Account in which the Job Schedule is created. Changing this forces a new resource to be created.

func (JobScheduleOutput) ElementType

func (JobScheduleOutput) ElementType() reflect.Type

func (JobScheduleOutput) JobScheduleId

func (o JobScheduleOutput) JobScheduleId() pulumi.StringOutput

The UUID identifying the Automation Job Schedule.

func (JobScheduleOutput) Parameters

func (o JobScheduleOutput) Parameters() pulumi.StringMapOutput

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.

> **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.

func (JobScheduleOutput) ResourceGroupName

func (o JobScheduleOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.

func (JobScheduleOutput) ResourceManagerId

func (o JobScheduleOutput) ResourceManagerId() pulumi.StringOutput

The Resource Manager ID of the Automation Job Schedule.

func (JobScheduleOutput) RunOn

Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.

func (JobScheduleOutput) RunbookName

func (o JobScheduleOutput) RunbookName() pulumi.StringOutput

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.

func (JobScheduleOutput) ScheduleName

func (o JobScheduleOutput) ScheduleName() pulumi.StringOutput

The name of the Schedule. Changing this forces a new resource to be created.

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.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	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
	// The Resource Manager ID of the Automation Job Schedule.
	ResourceManagerId 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
	// The name of the Schedule. Changing this forces a new resource to be created.
	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 URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
	HybridServiceUrl string `pulumi:"hybridServiceUrl"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Optional) An `identity` block as defined below.
	Identities []GetAccountIdentity `pulumi:"identities"`
	Name       string               `pulumi:"name"`
	// The Primary Access Key for the Automation Account.
	PrimaryKey                 string                                `pulumi:"primaryKey"`
	PrivateEndpointConnections []GetAccountPrivateEndpointConnection `pulumi:"privateEndpointConnections"`
	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/v6/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) HybridServiceUrl

func (o LookupAccountResultOutput) HybridServiceUrl() pulumi.StringOutput

The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.

func (LookupAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAccountResultOutput) Identities

(Optional) An `identity` block as defined below.

func (LookupAccountResultOutput) Name

func (LookupAccountResultOutput) PrimaryKey

The Primary Access Key for the Automation Account.

func (LookupAccountResultOutput) PrivateEndpointConnections

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

type LookupVariableObjectArgs 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 getVariableObject.

type LookupVariableObjectOutputArgs

type LookupVariableObjectOutputArgs 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 getVariableObject.

func (LookupVariableObjectOutputArgs) ElementType

type LookupVariableObjectResult

type LookupVariableObjectResult 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 json encoded `string`.
	Value string `pulumi:"value"`
}

A collection of values returned by getVariableObject.

func LookupVariableObject

func LookupVariableObject(ctx *pulumi.Context, args *LookupVariableObjectArgs, opts ...pulumi.InvokeOption) (*LookupVariableObjectResult, error)

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

type LookupVariableObjectResultOutput

type LookupVariableObjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVariableObject.

func (LookupVariableObjectResultOutput) AutomationAccountName

func (o LookupVariableObjectResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupVariableObjectResultOutput) Description

The description of the Automation Variable.

func (LookupVariableObjectResultOutput) ElementType

func (LookupVariableObjectResultOutput) Encrypted

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

func (LookupVariableObjectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupVariableObjectResultOutput) Name

func (LookupVariableObjectResultOutput) ResourceGroupName

func (LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutput

func (o LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutput() LookupVariableObjectResultOutput

func (LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutputWithContext

func (o LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutputWithContext(ctx context.Context) LookupVariableObjectResultOutput

func (LookupVariableObjectResultOutput) Value

The value of the Automation Variable as a json encoded `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"`
	// A `moduleLink` block as defined below.
	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.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewModule(ctx, "example", &automation.ModuleArgs{
			Name:                  pulumi.String("xActiveDirectory"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			ModuleLink: &automation.ModuleModuleLinkArgs{
				Uri: pulumi.String("https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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
	// A `moduleLink` block as defined below.
	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 {
	// A `hash` block as defined below.
	Hash *ModuleModuleLinkHash `pulumi:"hash"`
	// The URI of the module content (zip or nupkg).
	Uri string `pulumi:"uri"`
}

type ModuleModuleLinkArgs

type ModuleModuleLinkArgs struct {
	// A `hash` block as defined below.
	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 {
	// Specifies the algorithm used for the hash content.
	Algorithm string `pulumi:"algorithm"`
	// The hash value of the content.
	Value string `pulumi:"value"`
}

type ModuleModuleLinkHashArgs

type ModuleModuleLinkHashArgs struct {
	// Specifies the algorithm used for the hash content.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// The hash value of the content.
	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

Specifies the algorithm used for the hash content.

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

The hash value of the content.

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

Specifies the algorithm used for the hash content.

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

The hash value of the content.

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

A `hash` block as defined below.

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

A `hash` block as defined below.

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

func (o ModuleOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Module is created. Changing this forces a new resource to be created.

func (ModuleOutput) ElementType

func (ModuleOutput) ElementType() reflect.Type
func (o ModuleOutput) ModuleLink() ModuleModuleLinkOutput

A `moduleLink` block as defined below.

func (ModuleOutput) Name

func (o ModuleOutput) Name() pulumi.StringOutput

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

func (ModuleOutput) ResourceGroupName

func (o ModuleOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Module is created. Changing this forces a new resource to be created.

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
	// A `moduleLink` block as defined below.
	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 Powershell72Module

type Powershell72Module struct {
	pulumi.CustomResourceState

	// The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
	AutomationAccountId pulumi.StringOutput `pulumi:"automationAccountId"`
	// A `moduleLink` block as defined below.
	ModuleLink Powershell72ModuleModuleLinkOutput `pulumi:"moduleLink"`
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Powershell 7.2 Module.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewPowershell72Module(ctx, "example", &automation.Powershell72ModuleArgs{
			Name:                pulumi.String("xActiveDirectory"),
			AutomationAccountId: exampleAccount.ID(),
			ModuleLink: &automation.Powershell72ModuleModuleLinkArgs{
				Uri: pulumi.String("https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/powershell72Module:Powershell72Module module1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/powerShell72Modules/module1 ```

func GetPowershell72Module

func GetPowershell72Module(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *Powershell72ModuleState, opts ...pulumi.ResourceOption) (*Powershell72Module, error)

GetPowershell72Module gets an existing Powershell72Module 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 NewPowershell72Module

func NewPowershell72Module(ctx *pulumi.Context,
	name string, args *Powershell72ModuleArgs, opts ...pulumi.ResourceOption) (*Powershell72Module, error)

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

func (*Powershell72Module) ElementType

func (*Powershell72Module) ElementType() reflect.Type

func (*Powershell72Module) ToPowershell72ModuleOutput

func (i *Powershell72Module) ToPowershell72ModuleOutput() Powershell72ModuleOutput

func (*Powershell72Module) ToPowershell72ModuleOutputWithContext

func (i *Powershell72Module) ToPowershell72ModuleOutputWithContext(ctx context.Context) Powershell72ModuleOutput

type Powershell72ModuleArgs

type Powershell72ModuleArgs struct {
	// The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
	AutomationAccountId pulumi.StringInput
	// A `moduleLink` block as defined below.
	ModuleLink Powershell72ModuleModuleLinkInput
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Powershell72Module resource.

func (Powershell72ModuleArgs) ElementType

func (Powershell72ModuleArgs) ElementType() reflect.Type

type Powershell72ModuleArray

type Powershell72ModuleArray []Powershell72ModuleInput

func (Powershell72ModuleArray) ElementType

func (Powershell72ModuleArray) ElementType() reflect.Type

func (Powershell72ModuleArray) ToPowershell72ModuleArrayOutput

func (i Powershell72ModuleArray) ToPowershell72ModuleArrayOutput() Powershell72ModuleArrayOutput

func (Powershell72ModuleArray) ToPowershell72ModuleArrayOutputWithContext

func (i Powershell72ModuleArray) ToPowershell72ModuleArrayOutputWithContext(ctx context.Context) Powershell72ModuleArrayOutput

type Powershell72ModuleArrayInput

type Powershell72ModuleArrayInput interface {
	pulumi.Input

	ToPowershell72ModuleArrayOutput() Powershell72ModuleArrayOutput
	ToPowershell72ModuleArrayOutputWithContext(context.Context) Powershell72ModuleArrayOutput
}

Powershell72ModuleArrayInput is an input type that accepts Powershell72ModuleArray and Powershell72ModuleArrayOutput values. You can construct a concrete instance of `Powershell72ModuleArrayInput` via:

Powershell72ModuleArray{ Powershell72ModuleArgs{...} }

type Powershell72ModuleArrayOutput

type Powershell72ModuleArrayOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleArrayOutput) ElementType

func (Powershell72ModuleArrayOutput) Index

func (Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutput

func (o Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutput() Powershell72ModuleArrayOutput

func (Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutputWithContext

func (o Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutputWithContext(ctx context.Context) Powershell72ModuleArrayOutput

type Powershell72ModuleInput

type Powershell72ModuleInput interface {
	pulumi.Input

	ToPowershell72ModuleOutput() Powershell72ModuleOutput
	ToPowershell72ModuleOutputWithContext(ctx context.Context) Powershell72ModuleOutput
}

type Powershell72ModuleMap

type Powershell72ModuleMap map[string]Powershell72ModuleInput

func (Powershell72ModuleMap) ElementType

func (Powershell72ModuleMap) ElementType() reflect.Type

func (Powershell72ModuleMap) ToPowershell72ModuleMapOutput

func (i Powershell72ModuleMap) ToPowershell72ModuleMapOutput() Powershell72ModuleMapOutput

func (Powershell72ModuleMap) ToPowershell72ModuleMapOutputWithContext

func (i Powershell72ModuleMap) ToPowershell72ModuleMapOutputWithContext(ctx context.Context) Powershell72ModuleMapOutput

type Powershell72ModuleMapInput

type Powershell72ModuleMapInput interface {
	pulumi.Input

	ToPowershell72ModuleMapOutput() Powershell72ModuleMapOutput
	ToPowershell72ModuleMapOutputWithContext(context.Context) Powershell72ModuleMapOutput
}

Powershell72ModuleMapInput is an input type that accepts Powershell72ModuleMap and Powershell72ModuleMapOutput values. You can construct a concrete instance of `Powershell72ModuleMapInput` via:

Powershell72ModuleMap{ "key": Powershell72ModuleArgs{...} }

type Powershell72ModuleMapOutput

type Powershell72ModuleMapOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleMapOutput) ElementType

func (Powershell72ModuleMapOutput) MapIndex

func (Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutput

func (o Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutput() Powershell72ModuleMapOutput

func (Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutputWithContext

func (o Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutputWithContext(ctx context.Context) Powershell72ModuleMapOutput
type Powershell72ModuleModuleLink struct {
	// A `hash` block as defined below.
	Hash *Powershell72ModuleModuleLinkHash `pulumi:"hash"`
	// The URI of the module content (zip or nupkg).
	Uri string `pulumi:"uri"`
}

type Powershell72ModuleModuleLinkArgs

type Powershell72ModuleModuleLinkArgs struct {
	// A `hash` block as defined below.
	Hash Powershell72ModuleModuleLinkHashPtrInput `pulumi:"hash"`
	// The URI of the module content (zip or nupkg).
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (Powershell72ModuleModuleLinkArgs) ElementType

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutput

func (i Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutput() Powershell72ModuleModuleLinkOutput

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutputWithContext

func (i Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkOutput

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutput

func (i Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutputWithContext

func (i Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkPtrOutput

type Powershell72ModuleModuleLinkHash

type Powershell72ModuleModuleLinkHash struct {
	// Specifies the algorithm used for the hash content.
	Algorithm string `pulumi:"algorithm"`
	// The hash value of the content.
	Value string `pulumi:"value"`
}

type Powershell72ModuleModuleLinkHashArgs

type Powershell72ModuleModuleLinkHashArgs struct {
	// Specifies the algorithm used for the hash content.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// The hash value of the content.
	Value pulumi.StringInput `pulumi:"value"`
}

func (Powershell72ModuleModuleLinkHashArgs) ElementType

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutput

func (i Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutput() Powershell72ModuleModuleLinkHashOutput

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutputWithContext

func (i Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkHashOutput

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutput

func (i Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext

func (i Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkHashPtrOutput

type Powershell72ModuleModuleLinkHashInput

type Powershell72ModuleModuleLinkHashInput interface {
	pulumi.Input

	ToPowershell72ModuleModuleLinkHashOutput() Powershell72ModuleModuleLinkHashOutput
	ToPowershell72ModuleModuleLinkHashOutputWithContext(context.Context) Powershell72ModuleModuleLinkHashOutput
}

Powershell72ModuleModuleLinkHashInput is an input type that accepts Powershell72ModuleModuleLinkHashArgs and Powershell72ModuleModuleLinkHashOutput values. You can construct a concrete instance of `Powershell72ModuleModuleLinkHashInput` via:

Powershell72ModuleModuleLinkHashArgs{...}

type Powershell72ModuleModuleLinkHashOutput

type Powershell72ModuleModuleLinkHashOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkHashOutput) Algorithm

Specifies the algorithm used for the hash content.

func (Powershell72ModuleModuleLinkHashOutput) ElementType

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutput

func (o Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutput() Powershell72ModuleModuleLinkHashOutput

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutputWithContext

func (o Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkHashOutput

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutput

func (o Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext

func (o Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashOutput) Value

The hash value of the content.

type Powershell72ModuleModuleLinkHashPtrInput

type Powershell72ModuleModuleLinkHashPtrInput interface {
	pulumi.Input

	ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput
	ToPowershell72ModuleModuleLinkHashPtrOutputWithContext(context.Context) Powershell72ModuleModuleLinkHashPtrOutput
}

Powershell72ModuleModuleLinkHashPtrInput is an input type that accepts Powershell72ModuleModuleLinkHashArgs, Powershell72ModuleModuleLinkHashPtr and Powershell72ModuleModuleLinkHashPtrOutput values. You can construct a concrete instance of `Powershell72ModuleModuleLinkHashPtrInput` via:

        Powershell72ModuleModuleLinkHashArgs{...}

or:

        nil

type Powershell72ModuleModuleLinkHashPtrOutput

type Powershell72ModuleModuleLinkHashPtrOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkHashPtrOutput) Algorithm

Specifies the algorithm used for the hash content.

func (Powershell72ModuleModuleLinkHashPtrOutput) Elem

func (Powershell72ModuleModuleLinkHashPtrOutput) ElementType

func (Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutput

func (o Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext

func (o Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashPtrOutput) Value

The hash value of the content.

type Powershell72ModuleModuleLinkInput

type Powershell72ModuleModuleLinkInput interface {
	pulumi.Input

	ToPowershell72ModuleModuleLinkOutput() Powershell72ModuleModuleLinkOutput
	ToPowershell72ModuleModuleLinkOutputWithContext(context.Context) Powershell72ModuleModuleLinkOutput
}

Powershell72ModuleModuleLinkInput is an input type that accepts Powershell72ModuleModuleLinkArgs and Powershell72ModuleModuleLinkOutput values. You can construct a concrete instance of `Powershell72ModuleModuleLinkInput` via:

Powershell72ModuleModuleLinkArgs{...}

type Powershell72ModuleModuleLinkOutput

type Powershell72ModuleModuleLinkOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkOutput) ElementType

func (Powershell72ModuleModuleLinkOutput) Hash

A `hash` block as defined below.

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutput

func (o Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutput() Powershell72ModuleModuleLinkOutput

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutputWithContext

func (o Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkOutput

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutput

func (o Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutputWithContext

func (o Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkOutput) Uri

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

type Powershell72ModuleModuleLinkPtrInput

type Powershell72ModuleModuleLinkPtrInput interface {
	pulumi.Input

	ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput
	ToPowershell72ModuleModuleLinkPtrOutputWithContext(context.Context) Powershell72ModuleModuleLinkPtrOutput
}

Powershell72ModuleModuleLinkPtrInput is an input type that accepts Powershell72ModuleModuleLinkArgs, Powershell72ModuleModuleLinkPtr and Powershell72ModuleModuleLinkPtrOutput values. You can construct a concrete instance of `Powershell72ModuleModuleLinkPtrInput` via:

        Powershell72ModuleModuleLinkArgs{...}

or:

        nil

type Powershell72ModuleModuleLinkPtrOutput

type Powershell72ModuleModuleLinkPtrOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkPtrOutput) Elem

func (Powershell72ModuleModuleLinkPtrOutput) ElementType

func (Powershell72ModuleModuleLinkPtrOutput) Hash

A `hash` block as defined below.

func (Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutput

func (o Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutputWithContext

func (o Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutputWithContext(ctx context.Context) Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkPtrOutput) Uri

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

type Powershell72ModuleOutput

type Powershell72ModuleOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleOutput) AutomationAccountId

func (o Powershell72ModuleOutput) AutomationAccountId() pulumi.StringOutput

The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.

func (Powershell72ModuleOutput) ElementType

func (Powershell72ModuleOutput) ElementType() reflect.Type

A `moduleLink` block as defined below.

func (Powershell72ModuleOutput) Name

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

func (Powershell72ModuleOutput) Tags

A mapping of tags to assign to the resource.

func (Powershell72ModuleOutput) ToPowershell72ModuleOutput

func (o Powershell72ModuleOutput) ToPowershell72ModuleOutput() Powershell72ModuleOutput

func (Powershell72ModuleOutput) ToPowershell72ModuleOutputWithContext

func (o Powershell72ModuleOutput) ToPowershell72ModuleOutputWithContext(ctx context.Context) Powershell72ModuleOutput

type Powershell72ModuleState

type Powershell72ModuleState struct {
	// The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
	AutomationAccountId pulumi.StringPtrInput
	// A `moduleLink` block as defined below.
	ModuleLink Powershell72ModuleModuleLinkPtrInput
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (Powershell72ModuleState) ElementType

func (Powershell72ModuleState) ElementType() reflect.Type

type Python3Package

type Python3Package struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
	ContentUri pulumi.StringOutput `pulumi:"contentUri"`
	// Specify the version of the python3 package. The value should meet the system.version class format like `1.1.1`. Changing this forces a new Automation Python3 Package to be created.
	ContentVersion pulumi.StringPtrOutput `pulumi:"contentVersion"`
	// Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
	HashAlgorithm pulumi.StringPtrOutput `pulumi:"hashAlgorithm"`
	// Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
	HashValue pulumi.StringPtrOutput `pulumi:"hashValue"`
	// The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Automation Python3 Package.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Python3 Package.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("%[2]s"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("accexample"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewPython3Package(ctx, "example", &automation.Python3PackageArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			ContentUri:            pulumi.String("https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz"),
			ContentVersion:        pulumi.String("2.31.0"),
			HashAlgorithm:         pulumi.String("sha256"),
			HashValue:             pulumi.String("942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"),
			Tags: pulumi.StringMap{
				"key": pulumi.String("foo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/python3Package:Python3Package example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/python3Packages/pkg ```

func GetPython3Package

func GetPython3Package(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *Python3PackageState, opts ...pulumi.ResourceOption) (*Python3Package, error)

GetPython3Package gets an existing Python3Package 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 NewPython3Package

func NewPython3Package(ctx *pulumi.Context,
	name string, args *Python3PackageArgs, opts ...pulumi.ResourceOption) (*Python3Package, error)

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

func (*Python3Package) ElementType

func (*Python3Package) ElementType() reflect.Type

func (*Python3Package) ToPython3PackageOutput

func (i *Python3Package) ToPython3PackageOutput() Python3PackageOutput

func (*Python3Package) ToPython3PackageOutputWithContext

func (i *Python3Package) ToPython3PackageOutputWithContext(ctx context.Context) Python3PackageOutput

type Python3PackageArgs

type Python3PackageArgs struct {
	// The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
	ContentUri pulumi.StringInput
	// Specify the version of the python3 package. The value should meet the system.version class format like `1.1.1`. Changing this forces a new Automation Python3 Package to be created.
	ContentVersion pulumi.StringPtrInput
	// Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
	HashAlgorithm pulumi.StringPtrInput
	// Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
	HashValue pulumi.StringPtrInput
	// The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Automation Python3 Package.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Python3Package resource.

func (Python3PackageArgs) ElementType

func (Python3PackageArgs) ElementType() reflect.Type

type Python3PackageArray

type Python3PackageArray []Python3PackageInput

func (Python3PackageArray) ElementType

func (Python3PackageArray) ElementType() reflect.Type

func (Python3PackageArray) ToPython3PackageArrayOutput

func (i Python3PackageArray) ToPython3PackageArrayOutput() Python3PackageArrayOutput

func (Python3PackageArray) ToPython3PackageArrayOutputWithContext

func (i Python3PackageArray) ToPython3PackageArrayOutputWithContext(ctx context.Context) Python3PackageArrayOutput

type Python3PackageArrayInput

type Python3PackageArrayInput interface {
	pulumi.Input

	ToPython3PackageArrayOutput() Python3PackageArrayOutput
	ToPython3PackageArrayOutputWithContext(context.Context) Python3PackageArrayOutput
}

Python3PackageArrayInput is an input type that accepts Python3PackageArray and Python3PackageArrayOutput values. You can construct a concrete instance of `Python3PackageArrayInput` via:

Python3PackageArray{ Python3PackageArgs{...} }

type Python3PackageArrayOutput

type Python3PackageArrayOutput struct{ *pulumi.OutputState }

func (Python3PackageArrayOutput) ElementType

func (Python3PackageArrayOutput) ElementType() reflect.Type

func (Python3PackageArrayOutput) Index

func (Python3PackageArrayOutput) ToPython3PackageArrayOutput

func (o Python3PackageArrayOutput) ToPython3PackageArrayOutput() Python3PackageArrayOutput

func (Python3PackageArrayOutput) ToPython3PackageArrayOutputWithContext

func (o Python3PackageArrayOutput) ToPython3PackageArrayOutputWithContext(ctx context.Context) Python3PackageArrayOutput

type Python3PackageInput

type Python3PackageInput interface {
	pulumi.Input

	ToPython3PackageOutput() Python3PackageOutput
	ToPython3PackageOutputWithContext(ctx context.Context) Python3PackageOutput
}

type Python3PackageMap

type Python3PackageMap map[string]Python3PackageInput

func (Python3PackageMap) ElementType

func (Python3PackageMap) ElementType() reflect.Type

func (Python3PackageMap) ToPython3PackageMapOutput

func (i Python3PackageMap) ToPython3PackageMapOutput() Python3PackageMapOutput

func (Python3PackageMap) ToPython3PackageMapOutputWithContext

func (i Python3PackageMap) ToPython3PackageMapOutputWithContext(ctx context.Context) Python3PackageMapOutput

type Python3PackageMapInput

type Python3PackageMapInput interface {
	pulumi.Input

	ToPython3PackageMapOutput() Python3PackageMapOutput
	ToPython3PackageMapOutputWithContext(context.Context) Python3PackageMapOutput
}

Python3PackageMapInput is an input type that accepts Python3PackageMap and Python3PackageMapOutput values. You can construct a concrete instance of `Python3PackageMapInput` via:

Python3PackageMap{ "key": Python3PackageArgs{...} }

type Python3PackageMapOutput

type Python3PackageMapOutput struct{ *pulumi.OutputState }

func (Python3PackageMapOutput) ElementType

func (Python3PackageMapOutput) ElementType() reflect.Type

func (Python3PackageMapOutput) MapIndex

func (Python3PackageMapOutput) ToPython3PackageMapOutput

func (o Python3PackageMapOutput) ToPython3PackageMapOutput() Python3PackageMapOutput

func (Python3PackageMapOutput) ToPython3PackageMapOutputWithContext

func (o Python3PackageMapOutput) ToPython3PackageMapOutputWithContext(ctx context.Context) Python3PackageMapOutput

type Python3PackageOutput

type Python3PackageOutput struct{ *pulumi.OutputState }

func (Python3PackageOutput) AutomationAccountName

func (o Python3PackageOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.

func (Python3PackageOutput) ContentUri

func (o Python3PackageOutput) ContentUri() pulumi.StringOutput

The URL of the python package. Changing this forces a new Automation Python3 Package to be created.

func (Python3PackageOutput) ContentVersion

func (o Python3PackageOutput) ContentVersion() pulumi.StringPtrOutput

Specify the version of the python3 package. The value should meet the system.version class format like `1.1.1`. Changing this forces a new Automation Python3 Package to be created.

func (Python3PackageOutput) ElementType

func (Python3PackageOutput) ElementType() reflect.Type

func (Python3PackageOutput) HashAlgorithm

func (o Python3PackageOutput) HashAlgorithm() pulumi.StringPtrOutput

Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.

func (Python3PackageOutput) HashValue

Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.

func (Python3PackageOutput) Name

The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.

func (Python3PackageOutput) ResourceGroupName

func (o Python3PackageOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.

func (Python3PackageOutput) Tags

A mapping of tags which should be assigned to the Automation Python3 Package.

func (Python3PackageOutput) ToPython3PackageOutput

func (o Python3PackageOutput) ToPython3PackageOutput() Python3PackageOutput

func (Python3PackageOutput) ToPython3PackageOutputWithContext

func (o Python3PackageOutput) ToPython3PackageOutputWithContext(ctx context.Context) Python3PackageOutput

type Python3PackageState

type Python3PackageState struct {
	// The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
	ContentUri pulumi.StringPtrInput
	// Specify the version of the python3 package. The value should meet the system.version class format like `1.1.1`. Changing this forces a new Automation Python3 Package to be created.
	ContentVersion pulumi.StringPtrInput
	// Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
	HashAlgorithm pulumi.StringPtrInput
	// Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
	HashValue pulumi.StringPtrInput
	// The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Automation Python3 Package.
	Tags pulumi.StringMapInput
}

func (Python3PackageState) ElementType

func (Python3PackageState) 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.
	//
	// > **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.
	Content pulumi.StringOutput `pulumi:"content"`
	// A description for this credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A `draft` block as defined below.
	Draft RunBookDraftPtrOutput `pulumi:"draft"`
	// One or more `jobSchedule` block as defined below.
	//
	// > **NOTE** AzureRM provides a stand-alone automation.JobSchedule and this inlined `jobSchdule` property to manage the job schedules. At this time you should choose one of them to manage the job schedule resources.
	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"`
	// Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.
	LogActivityTraceLevel pulumi.IntPtrOutput `pulumi:"logActivityTraceLevel"`
	// 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"`
	// One `publishContentLink` block as defined below.
	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`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.
	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/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.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.
	//
	// > **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description pulumi.StringPtrInput
	// A `draft` block as defined below.
	Draft RunBookDraftPtrInput
	// One or more `jobSchedule` block as defined below.
	//
	// > **NOTE** AzureRM provides a stand-alone automation.JobSchedule and this inlined `jobSchdule` property to manage the job schedules. At this time you should choose one of them to manage the job schedule resources.
	JobSchedules RunBookJobScheduleArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.
	LogActivityTraceLevel pulumi.IntPtrInput
	// 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
	// One `publishContentLink` block as defined below.
	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`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.
	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 RunBookDraft

type RunBookDraft struct {
	// A `publishContentLink` block as defined above.
	ContentLink  *RunBookDraftContentLink `pulumi:"contentLink"`
	CreationTime *string                  `pulumi:"creationTime"`
	// Whether the draft in edit mode.
	EditModeEnabled  *bool   `pulumi:"editModeEnabled"`
	LastModifiedTime *string `pulumi:"lastModifiedTime"`
	// Specifies the output types of the runbook.
	OutputTypes []string `pulumi:"outputTypes"`
	// A list of `parameters` block as defined below.
	Parameters []RunBookDraftParameter `pulumi:"parameters"`
}

type RunBookDraftArgs

type RunBookDraftArgs struct {
	// A `publishContentLink` block as defined above.
	ContentLink  RunBookDraftContentLinkPtrInput `pulumi:"contentLink"`
	CreationTime pulumi.StringPtrInput           `pulumi:"creationTime"`
	// Whether the draft in edit mode.
	EditModeEnabled  pulumi.BoolPtrInput   `pulumi:"editModeEnabled"`
	LastModifiedTime pulumi.StringPtrInput `pulumi:"lastModifiedTime"`
	// Specifies the output types of the runbook.
	OutputTypes pulumi.StringArrayInput `pulumi:"outputTypes"`
	// A list of `parameters` block as defined below.
	Parameters RunBookDraftParameterArrayInput `pulumi:"parameters"`
}

func (RunBookDraftArgs) ElementType

func (RunBookDraftArgs) ElementType() reflect.Type

func (RunBookDraftArgs) ToRunBookDraftOutput

func (i RunBookDraftArgs) ToRunBookDraftOutput() RunBookDraftOutput

func (RunBookDraftArgs) ToRunBookDraftOutputWithContext

func (i RunBookDraftArgs) ToRunBookDraftOutputWithContext(ctx context.Context) RunBookDraftOutput

func (RunBookDraftArgs) ToRunBookDraftPtrOutput

func (i RunBookDraftArgs) ToRunBookDraftPtrOutput() RunBookDraftPtrOutput

func (RunBookDraftArgs) ToRunBookDraftPtrOutputWithContext

func (i RunBookDraftArgs) ToRunBookDraftPtrOutputWithContext(ctx context.Context) RunBookDraftPtrOutput
type RunBookDraftContentLink struct {
	// A `hash` block as defined below.
	Hash *RunBookDraftContentLinkHash `pulumi:"hash"`
	// The URI of the runbook content.
	Uri string `pulumi:"uri"`
	// Specifies the version of the content
	Version *string `pulumi:"version"`
}

type RunBookDraftContentLinkArgs

type RunBookDraftContentLinkArgs struct {
	// A `hash` block as defined below.
	Hash RunBookDraftContentLinkHashPtrInput `pulumi:"hash"`
	// The URI of the runbook content.
	Uri pulumi.StringInput `pulumi:"uri"`
	// Specifies the version of the content
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (RunBookDraftContentLinkArgs) ElementType

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutput

func (i RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutput() RunBookDraftContentLinkOutput

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutputWithContext

func (i RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutputWithContext(ctx context.Context) RunBookDraftContentLinkOutput

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutput

func (i RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutputWithContext

func (i RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutputWithContext(ctx context.Context) RunBookDraftContentLinkPtrOutput

type RunBookDraftContentLinkHash

type RunBookDraftContentLinkHash struct {
	// Specifies the hash algorithm used to hash the content.
	Algorithm string `pulumi:"algorithm"`
	// Specifies the expected hash value of the content.
	Value string `pulumi:"value"`
}

type RunBookDraftContentLinkHashArgs

type RunBookDraftContentLinkHashArgs struct {
	// Specifies the hash algorithm used to hash the content.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Specifies the expected hash value of the content.
	Value pulumi.StringInput `pulumi:"value"`
}

func (RunBookDraftContentLinkHashArgs) ElementType

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutput

func (i RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutput() RunBookDraftContentLinkHashOutput

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutputWithContext

func (i RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutputWithContext(ctx context.Context) RunBookDraftContentLinkHashOutput

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutput

func (i RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutputWithContext

func (i RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutputWithContext(ctx context.Context) RunBookDraftContentLinkHashPtrOutput

type RunBookDraftContentLinkHashInput

type RunBookDraftContentLinkHashInput interface {
	pulumi.Input

	ToRunBookDraftContentLinkHashOutput() RunBookDraftContentLinkHashOutput
	ToRunBookDraftContentLinkHashOutputWithContext(context.Context) RunBookDraftContentLinkHashOutput
}

RunBookDraftContentLinkHashInput is an input type that accepts RunBookDraftContentLinkHashArgs and RunBookDraftContentLinkHashOutput values. You can construct a concrete instance of `RunBookDraftContentLinkHashInput` via:

RunBookDraftContentLinkHashArgs{...}

type RunBookDraftContentLinkHashOutput

type RunBookDraftContentLinkHashOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkHashOutput) Algorithm

Specifies the hash algorithm used to hash the content.

func (RunBookDraftContentLinkHashOutput) ElementType

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutput

func (o RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutput() RunBookDraftContentLinkHashOutput

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutputWithContext

func (o RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutputWithContext(ctx context.Context) RunBookDraftContentLinkHashOutput

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutput

func (o RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutputWithContext

func (o RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutputWithContext(ctx context.Context) RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashOutput) Value

Specifies the expected hash value of the content.

type RunBookDraftContentLinkHashPtrInput

type RunBookDraftContentLinkHashPtrInput interface {
	pulumi.Input

	ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput
	ToRunBookDraftContentLinkHashPtrOutputWithContext(context.Context) RunBookDraftContentLinkHashPtrOutput
}

RunBookDraftContentLinkHashPtrInput is an input type that accepts RunBookDraftContentLinkHashArgs, RunBookDraftContentLinkHashPtr and RunBookDraftContentLinkHashPtrOutput values. You can construct a concrete instance of `RunBookDraftContentLinkHashPtrInput` via:

        RunBookDraftContentLinkHashArgs{...}

or:

        nil

type RunBookDraftContentLinkHashPtrOutput

type RunBookDraftContentLinkHashPtrOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkHashPtrOutput) Algorithm

Specifies the hash algorithm used to hash the content.

func (RunBookDraftContentLinkHashPtrOutput) Elem

func (RunBookDraftContentLinkHashPtrOutput) ElementType

func (RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutput

func (o RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutputWithContext

func (o RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutputWithContext(ctx context.Context) RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashPtrOutput) Value

Specifies the expected hash value of the content.

type RunBookDraftContentLinkInput

type RunBookDraftContentLinkInput interface {
	pulumi.Input

	ToRunBookDraftContentLinkOutput() RunBookDraftContentLinkOutput
	ToRunBookDraftContentLinkOutputWithContext(context.Context) RunBookDraftContentLinkOutput
}

RunBookDraftContentLinkInput is an input type that accepts RunBookDraftContentLinkArgs and RunBookDraftContentLinkOutput values. You can construct a concrete instance of `RunBookDraftContentLinkInput` via:

RunBookDraftContentLinkArgs{...}

type RunBookDraftContentLinkOutput

type RunBookDraftContentLinkOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkOutput) ElementType

func (RunBookDraftContentLinkOutput) Hash

A `hash` block as defined below.

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutput

func (o RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutput() RunBookDraftContentLinkOutput

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutputWithContext

func (o RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutputWithContext(ctx context.Context) RunBookDraftContentLinkOutput

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutput

func (o RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutputWithContext

func (o RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutputWithContext(ctx context.Context) RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkOutput) Uri

The URI of the runbook content.

func (RunBookDraftContentLinkOutput) Version

Specifies the version of the content

type RunBookDraftContentLinkPtrInput

type RunBookDraftContentLinkPtrInput interface {
	pulumi.Input

	ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput
	ToRunBookDraftContentLinkPtrOutputWithContext(context.Context) RunBookDraftContentLinkPtrOutput
}

RunBookDraftContentLinkPtrInput is an input type that accepts RunBookDraftContentLinkArgs, RunBookDraftContentLinkPtr and RunBookDraftContentLinkPtrOutput values. You can construct a concrete instance of `RunBookDraftContentLinkPtrInput` via:

        RunBookDraftContentLinkArgs{...}

or:

        nil

type RunBookDraftContentLinkPtrOutput

type RunBookDraftContentLinkPtrOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkPtrOutput) Elem

func (RunBookDraftContentLinkPtrOutput) ElementType

func (RunBookDraftContentLinkPtrOutput) Hash

A `hash` block as defined below.

func (RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutput

func (o RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutputWithContext

func (o RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutputWithContext(ctx context.Context) RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkPtrOutput) Uri

The URI of the runbook content.

func (RunBookDraftContentLinkPtrOutput) Version

Specifies the version of the content

type RunBookDraftInput

type RunBookDraftInput interface {
	pulumi.Input

	ToRunBookDraftOutput() RunBookDraftOutput
	ToRunBookDraftOutputWithContext(context.Context) RunBookDraftOutput
}

RunBookDraftInput is an input type that accepts RunBookDraftArgs and RunBookDraftOutput values. You can construct a concrete instance of `RunBookDraftInput` via:

RunBookDraftArgs{...}

type RunBookDraftOutput

type RunBookDraftOutput struct{ *pulumi.OutputState }

A `publishContentLink` block as defined above.

func (RunBookDraftOutput) CreationTime

func (o RunBookDraftOutput) CreationTime() pulumi.StringPtrOutput

func (RunBookDraftOutput) EditModeEnabled

func (o RunBookDraftOutput) EditModeEnabled() pulumi.BoolPtrOutput

Whether the draft in edit mode.

func (RunBookDraftOutput) ElementType

func (RunBookDraftOutput) ElementType() reflect.Type

func (RunBookDraftOutput) LastModifiedTime

func (o RunBookDraftOutput) LastModifiedTime() pulumi.StringPtrOutput

func (RunBookDraftOutput) OutputTypes

Specifies the output types of the runbook.

func (RunBookDraftOutput) Parameters

A list of `parameters` block as defined below.

func (RunBookDraftOutput) ToRunBookDraftOutput

func (o RunBookDraftOutput) ToRunBookDraftOutput() RunBookDraftOutput

func (RunBookDraftOutput) ToRunBookDraftOutputWithContext

func (o RunBookDraftOutput) ToRunBookDraftOutputWithContext(ctx context.Context) RunBookDraftOutput

func (RunBookDraftOutput) ToRunBookDraftPtrOutput

func (o RunBookDraftOutput) ToRunBookDraftPtrOutput() RunBookDraftPtrOutput

func (RunBookDraftOutput) ToRunBookDraftPtrOutputWithContext

func (o RunBookDraftOutput) ToRunBookDraftPtrOutputWithContext(ctx context.Context) RunBookDraftPtrOutput

type RunBookDraftParameter

type RunBookDraftParameter struct {
	// Specifies the default value of the parameter.
	DefaultValue *string `pulumi:"defaultValue"`
	// The name of the parameter.
	Key string `pulumi:"key"`
	// Whether this parameter is mandatory.
	Mandatory *bool `pulumi:"mandatory"`
	// Specifies the position of the parameter.
	Position *int `pulumi:"position"`
	// Specifies the type of this parameter.
	Type string `pulumi:"type"`
}

type RunBookDraftParameterArgs

type RunBookDraftParameterArgs struct {
	// Specifies the default value of the parameter.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// The name of the parameter.
	Key pulumi.StringInput `pulumi:"key"`
	// Whether this parameter is mandatory.
	Mandatory pulumi.BoolPtrInput `pulumi:"mandatory"`
	// Specifies the position of the parameter.
	Position pulumi.IntPtrInput `pulumi:"position"`
	// Specifies the type of this parameter.
	Type pulumi.StringInput `pulumi:"type"`
}

func (RunBookDraftParameterArgs) ElementType

func (RunBookDraftParameterArgs) ElementType() reflect.Type

func (RunBookDraftParameterArgs) ToRunBookDraftParameterOutput

func (i RunBookDraftParameterArgs) ToRunBookDraftParameterOutput() RunBookDraftParameterOutput

func (RunBookDraftParameterArgs) ToRunBookDraftParameterOutputWithContext

func (i RunBookDraftParameterArgs) ToRunBookDraftParameterOutputWithContext(ctx context.Context) RunBookDraftParameterOutput

type RunBookDraftParameterArray

type RunBookDraftParameterArray []RunBookDraftParameterInput

func (RunBookDraftParameterArray) ElementType

func (RunBookDraftParameterArray) ElementType() reflect.Type

func (RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutput

func (i RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutput() RunBookDraftParameterArrayOutput

func (RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutputWithContext

func (i RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutputWithContext(ctx context.Context) RunBookDraftParameterArrayOutput

type RunBookDraftParameterArrayInput

type RunBookDraftParameterArrayInput interface {
	pulumi.Input

	ToRunBookDraftParameterArrayOutput() RunBookDraftParameterArrayOutput
	ToRunBookDraftParameterArrayOutputWithContext(context.Context) RunBookDraftParameterArrayOutput
}

RunBookDraftParameterArrayInput is an input type that accepts RunBookDraftParameterArray and RunBookDraftParameterArrayOutput values. You can construct a concrete instance of `RunBookDraftParameterArrayInput` via:

RunBookDraftParameterArray{ RunBookDraftParameterArgs{...} }

type RunBookDraftParameterArrayOutput

type RunBookDraftParameterArrayOutput struct{ *pulumi.OutputState }

func (RunBookDraftParameterArrayOutput) ElementType

func (RunBookDraftParameterArrayOutput) Index

func (RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutput

func (o RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutput() RunBookDraftParameterArrayOutput

func (RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutputWithContext

func (o RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutputWithContext(ctx context.Context) RunBookDraftParameterArrayOutput

type RunBookDraftParameterInput

type RunBookDraftParameterInput interface {
	pulumi.Input

	ToRunBookDraftParameterOutput() RunBookDraftParameterOutput
	ToRunBookDraftParameterOutputWithContext(context.Context) RunBookDraftParameterOutput
}

RunBookDraftParameterInput is an input type that accepts RunBookDraftParameterArgs and RunBookDraftParameterOutput values. You can construct a concrete instance of `RunBookDraftParameterInput` via:

RunBookDraftParameterArgs{...}

type RunBookDraftParameterOutput

type RunBookDraftParameterOutput struct{ *pulumi.OutputState }

func (RunBookDraftParameterOutput) DefaultValue

Specifies the default value of the parameter.

func (RunBookDraftParameterOutput) ElementType

func (RunBookDraftParameterOutput) Key

The name of the parameter.

func (RunBookDraftParameterOutput) Mandatory

Whether this parameter is mandatory.

func (RunBookDraftParameterOutput) Position

Specifies the position of the parameter.

func (RunBookDraftParameterOutput) ToRunBookDraftParameterOutput

func (o RunBookDraftParameterOutput) ToRunBookDraftParameterOutput() RunBookDraftParameterOutput

func (RunBookDraftParameterOutput) ToRunBookDraftParameterOutputWithContext

func (o RunBookDraftParameterOutput) ToRunBookDraftParameterOutputWithContext(ctx context.Context) RunBookDraftParameterOutput

func (RunBookDraftParameterOutput) Type

Specifies the type of this parameter.

type RunBookDraftPtrInput

type RunBookDraftPtrInput interface {
	pulumi.Input

	ToRunBookDraftPtrOutput() RunBookDraftPtrOutput
	ToRunBookDraftPtrOutputWithContext(context.Context) RunBookDraftPtrOutput
}

RunBookDraftPtrInput is an input type that accepts RunBookDraftArgs, RunBookDraftPtr and RunBookDraftPtrOutput values. You can construct a concrete instance of `RunBookDraftPtrInput` via:

        RunBookDraftArgs{...}

or:

        nil

type RunBookDraftPtrOutput

type RunBookDraftPtrOutput struct{ *pulumi.OutputState }

A `publishContentLink` block as defined above.

func (RunBookDraftPtrOutput) CreationTime

func (o RunBookDraftPtrOutput) CreationTime() pulumi.StringPtrOutput

func (RunBookDraftPtrOutput) EditModeEnabled

func (o RunBookDraftPtrOutput) EditModeEnabled() pulumi.BoolPtrOutput

Whether the draft in edit mode.

func (RunBookDraftPtrOutput) Elem

func (RunBookDraftPtrOutput) ElementType

func (RunBookDraftPtrOutput) ElementType() reflect.Type

func (RunBookDraftPtrOutput) LastModifiedTime

func (o RunBookDraftPtrOutput) LastModifiedTime() pulumi.StringPtrOutput

func (RunBookDraftPtrOutput) OutputTypes

Specifies the output types of the runbook.

func (RunBookDraftPtrOutput) Parameters

A list of `parameters` block as defined below.

func (RunBookDraftPtrOutput) ToRunBookDraftPtrOutput

func (o RunBookDraftPtrOutput) ToRunBookDraftPtrOutput() RunBookDraftPtrOutput

func (RunBookDraftPtrOutput) ToRunBookDraftPtrOutputWithContext

func (o RunBookDraftPtrOutput) ToRunBookDraftPtrOutputWithContext(ctx context.Context) RunBookDraftPtrOutput

type RunBookInput

type RunBookInput interface {
	pulumi.Input

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

type RunBookJobSchedule

type RunBookJobSchedule struct {
	// The UUID of automation runbook job schedule ID.
	JobScheduleId *string `pulumi:"jobScheduleId"`
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	Parameters map[string]string `pulumi:"parameters"`
	// Name of a Hybrid Worker Group the Runbook will be executed on.
	RunOn *string `pulumi:"runOn"`
	// The name of the Schedule.
	ScheduleName string `pulumi:"scheduleName"`
}

type RunBookJobScheduleArgs

type RunBookJobScheduleArgs struct {
	// The UUID of automation runbook job schedule ID.
	JobScheduleId pulumi.StringPtrInput `pulumi:"jobScheduleId"`
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// Name of a Hybrid Worker Group the Runbook will be executed on.
	RunOn pulumi.StringPtrInput `pulumi:"runOn"`
	// The name of the Schedule.
	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

The UUID of automation runbook job schedule ID.

func (RunBookJobScheduleOutput) Parameters

A map of key/value pairs corresponding to the arguments that can be passed to the Runbook.

> **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.

func (RunBookJobScheduleOutput) RunOn

Name of a Hybrid Worker Group the Runbook will be executed on.

func (RunBookJobScheduleOutput) ScheduleName

func (o RunBookJobScheduleOutput) ScheduleName() pulumi.StringOutput

The name of the Schedule.

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

func (o RunBookOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.

func (RunBookOutput) Content

func (o RunBookOutput) Content() pulumi.StringOutput

The desired content of the runbook.

> **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.

func (RunBookOutput) Description

func (o RunBookOutput) Description() pulumi.StringPtrOutput

A description for this credential.

func (RunBookOutput) Draft

A `draft` block as defined below.

func (RunBookOutput) ElementType

func (RunBookOutput) ElementType() reflect.Type

func (RunBookOutput) JobSchedules

One or more `jobSchedule` block as defined below.

> **NOTE** AzureRM provides a stand-alone automation.JobSchedule and this inlined `jobSchdule` property to manage the job schedules. At this time you should choose one of them to manage the job schedule resources.

func (RunBookOutput) Location

func (o RunBookOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (RunBookOutput) LogActivityTraceLevel

func (o RunBookOutput) LogActivityTraceLevel() pulumi.IntPtrOutput

Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.

func (RunBookOutput) LogProgress

func (o RunBookOutput) LogProgress() pulumi.BoolOutput

Progress log option.

func (RunBookOutput) LogVerbose

func (o RunBookOutput) LogVerbose() pulumi.BoolOutput

Verbose log option.

func (RunBookOutput) Name

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

func (o RunBookOutput) PublishContentLink() RunBookPublishContentLinkPtrOutput

One `publishContentLink` block as defined below.

func (RunBookOutput) ResourceGroupName

func (o RunBookOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.

func (RunBookOutput) RunbookType

func (o RunBookOutput) RunbookType() pulumi.StringOutput

The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.

func (RunBookOutput) Tags

A mapping of tags to assign to the resource.

func (RunBookOutput) ToRunBookOutput

func (o RunBookOutput) ToRunBookOutput() RunBookOutput

func (RunBookOutput) ToRunBookOutputWithContext

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

type RunBookPublishContentLinkArgs

type RunBookPublishContentLinkArgs struct {
	// A `hash` block as defined below.
	Hash RunBookPublishContentLinkHashPtrInput `pulumi:"hash"`
	// The URI of the runbook content.
	Uri pulumi.StringInput `pulumi:"uri"`
	// Specifies the version of the content
	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 {
	// Specifies the hash algorithm used to hash the content.
	Algorithm string `pulumi:"algorithm"`
	// Specifies the expected hash value of the content.
	Value string `pulumi:"value"`
}

type RunBookPublishContentLinkHashArgs

type RunBookPublishContentLinkHashArgs struct {
	// Specifies the hash algorithm used to hash the content.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Specifies the expected hash value of the content.
	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

Specifies the hash algorithm used to hash the content.

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

Specifies the expected hash value of the content.

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

Specifies the hash algorithm used to hash the content.

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

Specifies the expected hash value of the content.

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

A `hash` block as defined below.

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

Specifies the version of the content

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

A `hash` block as defined below.

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

Specifies the version of the content

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.
	//
	// > **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description pulumi.StringPtrInput
	// A `draft` block as defined below.
	Draft RunBookDraftPtrInput
	// One or more `jobSchedule` block as defined below.
	//
	// > **NOTE** AzureRM provides a stand-alone automation.JobSchedule and this inlined `jobSchdule` property to manage the job schedules. At this time you should choose one of them to manage the job schedule resources.
	JobSchedules RunBookJobScheduleArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.
	LogActivityTraceLevel pulumi.IntPtrInput
	// 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
	// One `publishContentLink` block as defined below.
	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`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.
	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"`
	// One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrence ScheduleMonthlyOccurrencePtrOutput `pulumi:"monthlyOccurrence"`
	// 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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	Timezone pulumi.StringPtrOutput `pulumi:"timezone"`
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
	WeekDays pulumi.StringArrayOutput `pulumi:"weekDays"`
}

Manages a Automation Schedule.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-automation-account"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-automation-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSchedule(ctx, "example", &automation.ScheduleArgs{
			Name:                  pulumi.String("tfex-automation-schedule"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Frequency:             pulumi.String("Week"),
			Interval:              pulumi.Int(1),
			Timezone:              pulumi.String("Australia/Perth"),
			StartTime:             pulumi.String("2014-04-15T18:00:15+02:00"),
			Description:           pulumi.String("This is an example schedule"),
			WeekDays: pulumi.StringArray{
				pulumi.String("Friday"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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
	// One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrence ScheduleMonthlyOccurrencePtrInput
	// 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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	Timezone pulumi.StringPtrInput
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
	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

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrencePtrOutput

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrencePtrOutput() ScheduleMonthlyOccurrencePtrOutput

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrencePtrOutputWithContext

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrencePtrOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrencePtrOutput

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

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrencePtrOutput

func (o ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrencePtrOutput() ScheduleMonthlyOccurrencePtrOutput

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrencePtrOutputWithContext

func (o ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrencePtrOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrencePtrOutput

type ScheduleMonthlyOccurrencePtrInput

type ScheduleMonthlyOccurrencePtrInput interface {
	pulumi.Input

	ToScheduleMonthlyOccurrencePtrOutput() ScheduleMonthlyOccurrencePtrOutput
	ToScheduleMonthlyOccurrencePtrOutputWithContext(context.Context) ScheduleMonthlyOccurrencePtrOutput
}

ScheduleMonthlyOccurrencePtrInput is an input type that accepts ScheduleMonthlyOccurrenceArgs, ScheduleMonthlyOccurrencePtr and ScheduleMonthlyOccurrencePtrOutput values. You can construct a concrete instance of `ScheduleMonthlyOccurrencePtrInput` via:

        ScheduleMonthlyOccurrenceArgs{...}

or:

        nil

type ScheduleMonthlyOccurrencePtrOutput

type ScheduleMonthlyOccurrencePtrOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrencePtrOutput) Day

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

func (ScheduleMonthlyOccurrencePtrOutput) Elem

func (ScheduleMonthlyOccurrencePtrOutput) ElementType

func (ScheduleMonthlyOccurrencePtrOutput) Occurrence

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

func (ScheduleMonthlyOccurrencePtrOutput) ToScheduleMonthlyOccurrencePtrOutput

func (o ScheduleMonthlyOccurrencePtrOutput) ToScheduleMonthlyOccurrencePtrOutput() ScheduleMonthlyOccurrencePtrOutput

func (ScheduleMonthlyOccurrencePtrOutput) ToScheduleMonthlyOccurrencePtrOutputWithContext

func (o ScheduleMonthlyOccurrencePtrOutput) ToScheduleMonthlyOccurrencePtrOutputWithContext(ctx context.Context) ScheduleMonthlyOccurrencePtrOutput

type ScheduleOutput

type ScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleOutput) AutomationAccountName

func (o ScheduleOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.

func (ScheduleOutput) Description

func (o ScheduleOutput) Description() pulumi.StringPtrOutput

A description for this Schedule.

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) ExpiryTime

func (o ScheduleOutput) ExpiryTime() pulumi.StringOutput

The end time of the schedule.

func (ScheduleOutput) Frequency

func (o ScheduleOutput) Frequency() pulumi.StringOutput

The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.

func (ScheduleOutput) Interval

func (o ScheduleOutput) Interval() pulumi.IntOutput

The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.

func (ScheduleOutput) MonthDays

func (o ScheduleOutput) MonthDays() pulumi.IntArrayOutput

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

func (ScheduleOutput) MonthlyOccurrence

func (o ScheduleOutput) MonthlyOccurrence() ScheduleMonthlyOccurrencePtrOutput

One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.

func (ScheduleOutput) Name

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

func (ScheduleOutput) ResourceGroupName

func (o ScheduleOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.

func (ScheduleOutput) StartTime

func (o ScheduleOutput) StartTime() pulumi.StringOutput

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.

func (ScheduleOutput) Timezone

func (o ScheduleOutput) Timezone() pulumi.StringPtrOutput

The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

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

func (ScheduleOutput) WeekDays

List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.

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
	// One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrence ScheduleMonthlyOccurrencePtrInput
	// 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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	Timezone pulumi.StringPtrInput
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
	WeekDays pulumi.StringArrayInput
}

func (ScheduleState) ElementType

func (ScheduleState) ElementType() reflect.Type

type SoftwareUpdateConfiguration

type SoftwareUpdateConfiguration struct {
	pulumi.CustomResourceState

	// The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
	AutomationAccountId pulumi.StringOutput `pulumi:"automationAccountId"`
	// Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.
	Duration pulumi.StringPtrOutput `pulumi:"duration"`
	// The Error code when failed.
	ErrorCode pulumi.StringOutput `pulumi:"errorCode"`
	// The Error message indicating why the operation failed.
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// A `linux` block as defined below.
	Linux SoftwareUpdateConfigurationLinuxPtrOutput `pulumi:"linux"`
	// The name which should be used for this Automation. Changing this forces a new Automation to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies a list of names of non-Azure machines for the software update configuration.
	NonAzureComputerNames pulumi.StringArrayOutput `pulumi:"nonAzureComputerNames"`
	// A `postTask` blocks as defined below.
	PostTask SoftwareUpdateConfigurationPostTaskPtrOutput `pulumi:"postTask"`
	// A `preTask` blocks as defined below.
	PreTask SoftwareUpdateConfigurationPreTaskPtrOutput `pulumi:"preTask"`
	// A `schedule` blocks as defined below.
	Schedule SoftwareUpdateConfigurationScheduleOutput `pulumi:"schedule"`
	// A `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrOutput `pulumi:"target"`
	// Specifies a list of Azure Resource IDs of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayOutput `pulumi:"virtualMachineIds"`
	// A `windows` block as defined below.
	//
	// > **NOTE:** One of `linux` or `windows` must be specified.
	Windows SoftwareUpdateConfigurationWindowsPtrOutput `pulumi:"windows"`
}

Manages an Automation Software Update Configuraion.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("East US"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			LogVerbose:            pulumi.Bool(true),
			LogProgress:           pulumi.Bool(true),
			Description:           pulumi.String("This is a example runbook for terraform acceptance example"),
			RunbookType:           pulumi.String("Python3"),
			Content:               pulumi.String("# Some example content\n# for Terraform acceptance example\n"),
			Tags: pulumi.StringMap{
				"ENV": pulumi.String("runbook_test"),
			},
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSoftwareUpdateConfiguration(ctx, "example", &automation.SoftwareUpdateConfigurationArgs{
			Name:                pulumi.String("example"),
			AutomationAccountId: exampleAccount.ID(),
			Linux: &automation.SoftwareUpdateConfigurationLinuxArgs{
				ClassificationsIncludeds: pulumi.StringArray("Security"),
				ExcludedPackages: pulumi.StringArray{
					pulumi.String("apt"),
				},
				IncludedPackages: pulumi.StringArray{
					pulumi.String("vim"),
				},
				Reboot: pulumi.String("IfRequired"),
			},
			PreTask: &automation.SoftwareUpdateConfigurationPreTaskArgs{
				Source: exampleRunBook.Name,
				Parameters: pulumi.StringMap{
					"COMPUTER_NAME": pulumi.String("Foo"),
				},
			},
			Duration: pulumi.String("PT2H2M2S"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Automations Software Update Configuration can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:automation/softwareUpdateConfiguration:SoftwareUpdateConfiguration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/softwareUpdateConfigurations/suc1 ```

func GetSoftwareUpdateConfiguration

func GetSoftwareUpdateConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SoftwareUpdateConfigurationState, opts ...pulumi.ResourceOption) (*SoftwareUpdateConfiguration, error)

GetSoftwareUpdateConfiguration gets an existing SoftwareUpdateConfiguration 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 NewSoftwareUpdateConfiguration

func NewSoftwareUpdateConfiguration(ctx *pulumi.Context,
	name string, args *SoftwareUpdateConfigurationArgs, opts ...pulumi.ResourceOption) (*SoftwareUpdateConfiguration, error)

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

func (*SoftwareUpdateConfiguration) ElementType

func (*SoftwareUpdateConfiguration) ElementType() reflect.Type

func (*SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutput

func (i *SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutput() SoftwareUpdateConfigurationOutput

func (*SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutputWithContext

func (i *SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationOutput

type SoftwareUpdateConfigurationArgs

type SoftwareUpdateConfigurationArgs struct {
	// The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
	AutomationAccountId pulumi.StringInput
	// Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.
	Duration pulumi.StringPtrInput
	// A `linux` block as defined below.
	Linux SoftwareUpdateConfigurationLinuxPtrInput
	// The name which should be used for this Automation. Changing this forces a new Automation to be created.
	Name pulumi.StringPtrInput
	// Specifies a list of names of non-Azure machines for the software update configuration.
	NonAzureComputerNames pulumi.StringArrayInput
	// A `postTask` blocks as defined below.
	PostTask SoftwareUpdateConfigurationPostTaskPtrInput
	// A `preTask` blocks as defined below.
	PreTask SoftwareUpdateConfigurationPreTaskPtrInput
	// A `schedule` blocks as defined below.
	Schedule SoftwareUpdateConfigurationScheduleInput
	// A `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrInput
	// Specifies a list of Azure Resource IDs of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayInput
	// A `windows` block as defined below.
	//
	// > **NOTE:** One of `linux` or `windows` must be specified.
	Windows SoftwareUpdateConfigurationWindowsPtrInput
}

The set of arguments for constructing a SoftwareUpdateConfiguration resource.

func (SoftwareUpdateConfigurationArgs) ElementType

type SoftwareUpdateConfigurationArray

type SoftwareUpdateConfigurationArray []SoftwareUpdateConfigurationInput

func (SoftwareUpdateConfigurationArray) ElementType

func (SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutput

func (i SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutput() SoftwareUpdateConfigurationArrayOutput

func (SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutputWithContext

func (i SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationArrayOutput

type SoftwareUpdateConfigurationArrayInput

type SoftwareUpdateConfigurationArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationArrayOutput() SoftwareUpdateConfigurationArrayOutput
	ToSoftwareUpdateConfigurationArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationArrayOutput
}

SoftwareUpdateConfigurationArrayInput is an input type that accepts SoftwareUpdateConfigurationArray and SoftwareUpdateConfigurationArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationArrayInput` via:

SoftwareUpdateConfigurationArray{ SoftwareUpdateConfigurationArgs{...} }

type SoftwareUpdateConfigurationArrayOutput

type SoftwareUpdateConfigurationArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationArrayOutput) ElementType

func (SoftwareUpdateConfigurationArrayOutput) Index

func (SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutput

func (o SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutput() SoftwareUpdateConfigurationArrayOutput

func (SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutputWithContext

func (o SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationArrayOutput

type SoftwareUpdateConfigurationInput

type SoftwareUpdateConfigurationInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationOutput() SoftwareUpdateConfigurationOutput
	ToSoftwareUpdateConfigurationOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationOutput
}

type SoftwareUpdateConfigurationLinux

type SoftwareUpdateConfigurationLinux struct {
	// Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
	//
	// > **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.
	ClassificationsIncludeds []string `pulumi:"classificationsIncludeds"`
	// Specifies a list of packages to excluded from the Software Update Configuration.
	ExcludedPackages []string `pulumi:"excludedPackages"`
	// Specifies a list of packages to included from the Software Update Configuration.
	IncludedPackages []string `pulumi:"includedPackages"`
	// Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot *string `pulumi:"reboot"`
}

type SoftwareUpdateConfigurationLinuxArgs

type SoftwareUpdateConfigurationLinuxArgs struct {
	// Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
	//
	// > **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.
	ClassificationsIncludeds pulumi.StringArrayInput `pulumi:"classificationsIncludeds"`
	// Specifies a list of packages to excluded from the Software Update Configuration.
	ExcludedPackages pulumi.StringArrayInput `pulumi:"excludedPackages"`
	// Specifies a list of packages to included from the Software Update Configuration.
	IncludedPackages pulumi.StringArrayInput `pulumi:"includedPackages"`
	// Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot pulumi.StringPtrInput `pulumi:"reboot"`
}

func (SoftwareUpdateConfigurationLinuxArgs) ElementType

func (SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutput

func (i SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutput() SoftwareUpdateConfigurationLinuxOutput

func (SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutputWithContext

func (i SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxOutput

func (SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxPtrOutput

func (i SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxPtrOutput() SoftwareUpdateConfigurationLinuxPtrOutput

func (SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext

func (i SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxPtrOutput

type SoftwareUpdateConfigurationLinuxInput

type SoftwareUpdateConfigurationLinuxInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationLinuxOutput() SoftwareUpdateConfigurationLinuxOutput
	ToSoftwareUpdateConfigurationLinuxOutputWithContext(context.Context) SoftwareUpdateConfigurationLinuxOutput
}

SoftwareUpdateConfigurationLinuxInput is an input type that accepts SoftwareUpdateConfigurationLinuxArgs and SoftwareUpdateConfigurationLinuxOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationLinuxInput` via:

SoftwareUpdateConfigurationLinuxArgs{...}

type SoftwareUpdateConfigurationLinuxOutput

type SoftwareUpdateConfigurationLinuxOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationLinuxOutput) ClassificationsIncludeds

Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.

> **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.

func (SoftwareUpdateConfigurationLinuxOutput) ElementType

func (SoftwareUpdateConfigurationLinuxOutput) ExcludedPackages

Specifies a list of packages to excluded from the Software Update Configuration.

func (SoftwareUpdateConfigurationLinuxOutput) IncludedPackages

Specifies a list of packages to included from the Software Update Configuration.

func (SoftwareUpdateConfigurationLinuxOutput) Reboot

Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

func (SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutput

func (o SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutput() SoftwareUpdateConfigurationLinuxOutput

func (SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutputWithContext

func (o SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxOutput

func (SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxPtrOutput

func (o SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxPtrOutput() SoftwareUpdateConfigurationLinuxPtrOutput

func (SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext

func (o SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxPtrOutput

type SoftwareUpdateConfigurationLinuxPtrInput

type SoftwareUpdateConfigurationLinuxPtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationLinuxPtrOutput() SoftwareUpdateConfigurationLinuxPtrOutput
	ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext(context.Context) SoftwareUpdateConfigurationLinuxPtrOutput
}

SoftwareUpdateConfigurationLinuxPtrInput is an input type that accepts SoftwareUpdateConfigurationLinuxArgs, SoftwareUpdateConfigurationLinuxPtr and SoftwareUpdateConfigurationLinuxPtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationLinuxPtrInput` via:

        SoftwareUpdateConfigurationLinuxArgs{...}

or:

        nil

type SoftwareUpdateConfigurationLinuxPtrOutput

type SoftwareUpdateConfigurationLinuxPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationLinuxPtrOutput) ClassificationsIncludeds

Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.

> **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.

func (SoftwareUpdateConfigurationLinuxPtrOutput) Elem

func (SoftwareUpdateConfigurationLinuxPtrOutput) ElementType

func (SoftwareUpdateConfigurationLinuxPtrOutput) ExcludedPackages

Specifies a list of packages to excluded from the Software Update Configuration.

func (SoftwareUpdateConfigurationLinuxPtrOutput) IncludedPackages

Specifies a list of packages to included from the Software Update Configuration.

func (SoftwareUpdateConfigurationLinuxPtrOutput) Reboot

Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

func (SoftwareUpdateConfigurationLinuxPtrOutput) ToSoftwareUpdateConfigurationLinuxPtrOutput

func (o SoftwareUpdateConfigurationLinuxPtrOutput) ToSoftwareUpdateConfigurationLinuxPtrOutput() SoftwareUpdateConfigurationLinuxPtrOutput

func (SoftwareUpdateConfigurationLinuxPtrOutput) ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext

func (o SoftwareUpdateConfigurationLinuxPtrOutput) ToSoftwareUpdateConfigurationLinuxPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxPtrOutput

type SoftwareUpdateConfigurationMap

type SoftwareUpdateConfigurationMap map[string]SoftwareUpdateConfigurationInput

func (SoftwareUpdateConfigurationMap) ElementType

func (SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutput

func (i SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutput() SoftwareUpdateConfigurationMapOutput

func (SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutputWithContext

func (i SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationMapOutput

type SoftwareUpdateConfigurationMapInput

type SoftwareUpdateConfigurationMapInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationMapOutput() SoftwareUpdateConfigurationMapOutput
	ToSoftwareUpdateConfigurationMapOutputWithContext(context.Context) SoftwareUpdateConfigurationMapOutput
}

SoftwareUpdateConfigurationMapInput is an input type that accepts SoftwareUpdateConfigurationMap and SoftwareUpdateConfigurationMapOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationMapInput` via:

SoftwareUpdateConfigurationMap{ "key": SoftwareUpdateConfigurationArgs{...} }

type SoftwareUpdateConfigurationMapOutput

type SoftwareUpdateConfigurationMapOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationMapOutput) ElementType

func (SoftwareUpdateConfigurationMapOutput) MapIndex

func (SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutput

func (o SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutput() SoftwareUpdateConfigurationMapOutput

func (SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutputWithContext

func (o SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationMapOutput

type SoftwareUpdateConfigurationOutput

type SoftwareUpdateConfigurationOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationOutput) AutomationAccountId

func (o SoftwareUpdateConfigurationOutput) AutomationAccountId() pulumi.StringOutput

The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.

func (SoftwareUpdateConfigurationOutput) Duration

Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.

func (SoftwareUpdateConfigurationOutput) ElementType

func (SoftwareUpdateConfigurationOutput) ErrorCode

The Error code when failed.

func (SoftwareUpdateConfigurationOutput) ErrorMessage

The Error message indicating why the operation failed.

func (SoftwareUpdateConfigurationOutput) Linux

A `linux` block as defined below.

func (SoftwareUpdateConfigurationOutput) Name

The name which should be used for this Automation. Changing this forces a new Automation to be created.

func (SoftwareUpdateConfigurationOutput) NonAzureComputerNames

Specifies a list of names of non-Azure machines for the software update configuration.

func (SoftwareUpdateConfigurationOutput) PostTask

A `postTask` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) PreTask

A `preTask` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Schedule

A `schedule` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Target

A `target` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutput

func (o SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutput() SoftwareUpdateConfigurationOutput

func (SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutputWithContext

func (o SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationOutput

func (SoftwareUpdateConfigurationOutput) VirtualMachineIds

Specifies a list of Azure Resource IDs of azure virtual machines.

func (SoftwareUpdateConfigurationOutput) Windows

A `windows` block as defined below.

> **NOTE:** One of `linux` or `windows` must be specified.

type SoftwareUpdateConfigurationPostTask

type SoftwareUpdateConfigurationPostTask struct {
	// Specifies a map of parameters for the task.
	Parameters map[string]string `pulumi:"parameters"`
	// The name of the runbook for the post task.
	Source *string `pulumi:"source"`
}

type SoftwareUpdateConfigurationPostTaskArgs

type SoftwareUpdateConfigurationPostTaskArgs struct {
	// Specifies a map of parameters for the task.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// The name of the runbook for the post task.
	Source pulumi.StringPtrInput `pulumi:"source"`
}

func (SoftwareUpdateConfigurationPostTaskArgs) ElementType

func (SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutput

func (i SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutput() SoftwareUpdateConfigurationPostTaskOutput

func (SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutputWithContext

func (i SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskOutput

func (SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskPtrOutput

func (i SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskPtrOutput() SoftwareUpdateConfigurationPostTaskPtrOutput

func (SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext

func (i SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskPtrOutput

type SoftwareUpdateConfigurationPostTaskInput

type SoftwareUpdateConfigurationPostTaskInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationPostTaskOutput() SoftwareUpdateConfigurationPostTaskOutput
	ToSoftwareUpdateConfigurationPostTaskOutputWithContext(context.Context) SoftwareUpdateConfigurationPostTaskOutput
}

SoftwareUpdateConfigurationPostTaskInput is an input type that accepts SoftwareUpdateConfigurationPostTaskArgs and SoftwareUpdateConfigurationPostTaskOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationPostTaskInput` via:

SoftwareUpdateConfigurationPostTaskArgs{...}

type SoftwareUpdateConfigurationPostTaskOutput

type SoftwareUpdateConfigurationPostTaskOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPostTaskOutput) ElementType

func (SoftwareUpdateConfigurationPostTaskOutput) Parameters

Specifies a map of parameters for the task.

func (SoftwareUpdateConfigurationPostTaskOutput) Source

The name of the runbook for the post task.

func (SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutput

func (o SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutput() SoftwareUpdateConfigurationPostTaskOutput

func (SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutputWithContext

func (o SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskOutput

func (SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutput

func (o SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutput() SoftwareUpdateConfigurationPostTaskPtrOutput

func (SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext

func (o SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskPtrOutput

type SoftwareUpdateConfigurationPostTaskPtrInput

type SoftwareUpdateConfigurationPostTaskPtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationPostTaskPtrOutput() SoftwareUpdateConfigurationPostTaskPtrOutput
	ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext(context.Context) SoftwareUpdateConfigurationPostTaskPtrOutput
}

SoftwareUpdateConfigurationPostTaskPtrInput is an input type that accepts SoftwareUpdateConfigurationPostTaskArgs, SoftwareUpdateConfigurationPostTaskPtr and SoftwareUpdateConfigurationPostTaskPtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationPostTaskPtrInput` via:

        SoftwareUpdateConfigurationPostTaskArgs{...}

or:

        nil

type SoftwareUpdateConfigurationPostTaskPtrOutput

type SoftwareUpdateConfigurationPostTaskPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPostTaskPtrOutput) Elem

func (SoftwareUpdateConfigurationPostTaskPtrOutput) ElementType

func (SoftwareUpdateConfigurationPostTaskPtrOutput) Parameters

Specifies a map of parameters for the task.

func (SoftwareUpdateConfigurationPostTaskPtrOutput) Source

The name of the runbook for the post task.

func (SoftwareUpdateConfigurationPostTaskPtrOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutput

func (o SoftwareUpdateConfigurationPostTaskPtrOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutput() SoftwareUpdateConfigurationPostTaskPtrOutput

func (SoftwareUpdateConfigurationPostTaskPtrOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext

func (o SoftwareUpdateConfigurationPostTaskPtrOutput) ToSoftwareUpdateConfigurationPostTaskPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskPtrOutput

type SoftwareUpdateConfigurationPreTask

type SoftwareUpdateConfigurationPreTask struct {
	// Specifies a map of parameters for the task.
	Parameters map[string]string `pulumi:"parameters"`
	// The name of the runbook for the pre task.
	Source *string `pulumi:"source"`
}

type SoftwareUpdateConfigurationPreTaskArgs

type SoftwareUpdateConfigurationPreTaskArgs struct {
	// Specifies a map of parameters for the task.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// The name of the runbook for the pre task.
	Source pulumi.StringPtrInput `pulumi:"source"`
}

func (SoftwareUpdateConfigurationPreTaskArgs) ElementType

func (SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutput

func (i SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutput() SoftwareUpdateConfigurationPreTaskOutput

func (SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutputWithContext

func (i SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskOutput

func (SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskPtrOutput

func (i SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskPtrOutput() SoftwareUpdateConfigurationPreTaskPtrOutput

func (SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext

func (i SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskPtrOutput

type SoftwareUpdateConfigurationPreTaskInput

type SoftwareUpdateConfigurationPreTaskInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationPreTaskOutput() SoftwareUpdateConfigurationPreTaskOutput
	ToSoftwareUpdateConfigurationPreTaskOutputWithContext(context.Context) SoftwareUpdateConfigurationPreTaskOutput
}

SoftwareUpdateConfigurationPreTaskInput is an input type that accepts SoftwareUpdateConfigurationPreTaskArgs and SoftwareUpdateConfigurationPreTaskOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationPreTaskInput` via:

SoftwareUpdateConfigurationPreTaskArgs{...}

type SoftwareUpdateConfigurationPreTaskOutput

type SoftwareUpdateConfigurationPreTaskOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPreTaskOutput) ElementType

func (SoftwareUpdateConfigurationPreTaskOutput) Parameters

Specifies a map of parameters for the task.

func (SoftwareUpdateConfigurationPreTaskOutput) Source

The name of the runbook for the pre task.

func (SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutput

func (o SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutput() SoftwareUpdateConfigurationPreTaskOutput

func (SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutputWithContext

func (o SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskOutput

func (SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutput

func (o SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutput() SoftwareUpdateConfigurationPreTaskPtrOutput

func (SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext

func (o SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskPtrOutput

type SoftwareUpdateConfigurationPreTaskPtrInput

type SoftwareUpdateConfigurationPreTaskPtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationPreTaskPtrOutput() SoftwareUpdateConfigurationPreTaskPtrOutput
	ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext(context.Context) SoftwareUpdateConfigurationPreTaskPtrOutput
}

SoftwareUpdateConfigurationPreTaskPtrInput is an input type that accepts SoftwareUpdateConfigurationPreTaskArgs, SoftwareUpdateConfigurationPreTaskPtr and SoftwareUpdateConfigurationPreTaskPtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationPreTaskPtrInput` via:

        SoftwareUpdateConfigurationPreTaskArgs{...}

or:

        nil

type SoftwareUpdateConfigurationPreTaskPtrOutput

type SoftwareUpdateConfigurationPreTaskPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPreTaskPtrOutput) Elem

func (SoftwareUpdateConfigurationPreTaskPtrOutput) ElementType

func (SoftwareUpdateConfigurationPreTaskPtrOutput) Parameters

Specifies a map of parameters for the task.

func (SoftwareUpdateConfigurationPreTaskPtrOutput) Source

The name of the runbook for the pre task.

func (SoftwareUpdateConfigurationPreTaskPtrOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutput

func (o SoftwareUpdateConfigurationPreTaskPtrOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutput() SoftwareUpdateConfigurationPreTaskPtrOutput

func (SoftwareUpdateConfigurationPreTaskPtrOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext

func (o SoftwareUpdateConfigurationPreTaskPtrOutput) ToSoftwareUpdateConfigurationPreTaskPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskPtrOutput

type SoftwareUpdateConfigurationSchedule

type SoftwareUpdateConfigurationSchedule struct {
	// 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`.
	AdvancedMonthDays []int `pulumi:"advancedMonthDays"`
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
	AdvancedWeekDays []string `pulumi:"advancedWeekDays"`
	CreationTime     *string  `pulumi:"creationTime"`
	// A description for this Schedule.
	Description *string `pulumi:"description"`
	// The end time of the schedule.
	ExpiryTime              *string  `pulumi:"expiryTime"`
	ExpiryTimeOffsetMinutes *float64 `pulumi:"expiryTimeOffsetMinutes"`
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency string `pulumi:"frequency"`
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month`.
	Interval *int `pulumi:"interval"`
	// Whether the schedule is enabled. Defaults to `true`.
	IsEnabled        *bool   `pulumi:"isEnabled"`
	LastModifiedTime *string `pulumi:"lastModifiedTime"`
	// List of `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields as defined below.
	MonthlyOccurrence    *SoftwareUpdateConfigurationScheduleMonthlyOccurrence `pulumi:"monthlyOccurrence"`
	NextRun              *string                                               `pulumi:"nextRun"`
	NextRunOffsetMinutes *float64                                              `pulumi:"nextRunOffsetMinutes"`
	// 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              *string  `pulumi:"startTime"`
	StartTimeOffsetMinutes *float64 `pulumi:"startTimeOffsetMinutes"`
	// The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	TimeZone *string `pulumi:"timeZone"`
}

type SoftwareUpdateConfigurationScheduleArgs

type SoftwareUpdateConfigurationScheduleArgs struct {
	// 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`.
	AdvancedMonthDays pulumi.IntArrayInput `pulumi:"advancedMonthDays"`
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
	AdvancedWeekDays pulumi.StringArrayInput `pulumi:"advancedWeekDays"`
	CreationTime     pulumi.StringPtrInput   `pulumi:"creationTime"`
	// A description for this Schedule.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The end time of the schedule.
	ExpiryTime              pulumi.StringPtrInput  `pulumi:"expiryTime"`
	ExpiryTimeOffsetMinutes pulumi.Float64PtrInput `pulumi:"expiryTimeOffsetMinutes"`
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringInput `pulumi:"frequency"`
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month`.
	Interval pulumi.IntPtrInput `pulumi:"interval"`
	// Whether the schedule is enabled. Defaults to `true`.
	IsEnabled        pulumi.BoolPtrInput   `pulumi:"isEnabled"`
	LastModifiedTime pulumi.StringPtrInput `pulumi:"lastModifiedTime"`
	// List of `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields as defined below.
	MonthlyOccurrence    SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrInput `pulumi:"monthlyOccurrence"`
	NextRun              pulumi.StringPtrInput                                        `pulumi:"nextRun"`
	NextRunOffsetMinutes pulumi.Float64PtrInput                                       `pulumi:"nextRunOffsetMinutes"`
	// 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  `pulumi:"startTime"`
	StartTimeOffsetMinutes pulumi.Float64PtrInput `pulumi:"startTimeOffsetMinutes"`
	// The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
}

func (SoftwareUpdateConfigurationScheduleArgs) ElementType

func (SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutput

func (i SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutput() SoftwareUpdateConfigurationScheduleOutput

func (SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutputWithContext

func (i SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleOutput

func (SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationSchedulePtrOutput

func (i SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationSchedulePtrOutput() SoftwareUpdateConfigurationSchedulePtrOutput

func (SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext

func (i SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationSchedulePtrOutput

type SoftwareUpdateConfigurationScheduleInput

type SoftwareUpdateConfigurationScheduleInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationScheduleOutput() SoftwareUpdateConfigurationScheduleOutput
	ToSoftwareUpdateConfigurationScheduleOutputWithContext(context.Context) SoftwareUpdateConfigurationScheduleOutput
}

SoftwareUpdateConfigurationScheduleInput is an input type that accepts SoftwareUpdateConfigurationScheduleArgs and SoftwareUpdateConfigurationScheduleOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationScheduleInput` via:

SoftwareUpdateConfigurationScheduleArgs{...}

type SoftwareUpdateConfigurationScheduleMonthlyOccurrence

type SoftwareUpdateConfigurationScheduleMonthlyOccurrence 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 SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs 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 (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ElementType

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext

func (i SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

func (i SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput() SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext

func (i SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceInput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput() SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput
	ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext(context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput
}

SoftwareUpdateConfigurationScheduleMonthlyOccurrenceInput is an input type that accepts SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs and SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationScheduleMonthlyOccurrenceInput` via:

SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs{...}

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) Day

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

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ElementType

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) Occurrence

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

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext

func (o SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext

func (o SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrInput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput() SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput
	ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext(context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput
}

SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrInput is an input type that accepts SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs, SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtr and SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrInput` via:

        SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs{...}

or:

        nil

type SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) Day

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

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) Elem

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) ElementType

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) Occurrence

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

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext

func (o SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrencePtrOutput

type SoftwareUpdateConfigurationScheduleOutput

type SoftwareUpdateConfigurationScheduleOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleOutput) AdvancedMonthDays

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

func (SoftwareUpdateConfigurationScheduleOutput) AdvancedWeekDays

List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.

func (SoftwareUpdateConfigurationScheduleOutput) CreationTime

func (SoftwareUpdateConfigurationScheduleOutput) Description

A description for this Schedule.

func (SoftwareUpdateConfigurationScheduleOutput) ElementType

func (SoftwareUpdateConfigurationScheduleOutput) ExpiryTime

The end time of the schedule.

func (SoftwareUpdateConfigurationScheduleOutput) ExpiryTimeOffsetMinutes

func (SoftwareUpdateConfigurationScheduleOutput) Frequency

The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.

func (SoftwareUpdateConfigurationScheduleOutput) Interval

The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month`.

func (SoftwareUpdateConfigurationScheduleOutput) IsEnabled

Whether the schedule is enabled. Defaults to `true`.

func (SoftwareUpdateConfigurationScheduleOutput) LastModifiedTime

func (SoftwareUpdateConfigurationScheduleOutput) MonthlyOccurrence

List of `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields as defined below.

func (SoftwareUpdateConfigurationScheduleOutput) NextRun

func (SoftwareUpdateConfigurationScheduleOutput) NextRunOffsetMinutes

func (SoftwareUpdateConfigurationScheduleOutput) StartTime

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.

func (SoftwareUpdateConfigurationScheduleOutput) StartTimeOffsetMinutes

func (SoftwareUpdateConfigurationScheduleOutput) TimeZone

The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutput

func (o SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutput() SoftwareUpdateConfigurationScheduleOutput

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutputWithContext

func (o SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleOutput

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationSchedulePtrOutput

func (o SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationSchedulePtrOutput() SoftwareUpdateConfigurationSchedulePtrOutput

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext

func (o SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationSchedulePtrOutput

type SoftwareUpdateConfigurationSchedulePtrInput

type SoftwareUpdateConfigurationSchedulePtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationSchedulePtrOutput() SoftwareUpdateConfigurationSchedulePtrOutput
	ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext(context.Context) SoftwareUpdateConfigurationSchedulePtrOutput
}

SoftwareUpdateConfigurationSchedulePtrInput is an input type that accepts SoftwareUpdateConfigurationScheduleArgs, SoftwareUpdateConfigurationSchedulePtr and SoftwareUpdateConfigurationSchedulePtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationSchedulePtrInput` via:

        SoftwareUpdateConfigurationScheduleArgs{...}

or:

        nil

type SoftwareUpdateConfigurationSchedulePtrOutput

type SoftwareUpdateConfigurationSchedulePtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationSchedulePtrOutput) AdvancedMonthDays

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

func (SoftwareUpdateConfigurationSchedulePtrOutput) AdvancedWeekDays

List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.

func (SoftwareUpdateConfigurationSchedulePtrOutput) CreationTime

func (SoftwareUpdateConfigurationSchedulePtrOutput) Description

A description for this Schedule.

func (SoftwareUpdateConfigurationSchedulePtrOutput) Elem

func (SoftwareUpdateConfigurationSchedulePtrOutput) ElementType

func (SoftwareUpdateConfigurationSchedulePtrOutput) ExpiryTime

The end time of the schedule.

func (SoftwareUpdateConfigurationSchedulePtrOutput) ExpiryTimeOffsetMinutes

func (SoftwareUpdateConfigurationSchedulePtrOutput) Frequency

The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.

func (SoftwareUpdateConfigurationSchedulePtrOutput) Interval

The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month`.

func (SoftwareUpdateConfigurationSchedulePtrOutput) IsEnabled

Whether the schedule is enabled. Defaults to `true`.

func (SoftwareUpdateConfigurationSchedulePtrOutput) LastModifiedTime

func (SoftwareUpdateConfigurationSchedulePtrOutput) MonthlyOccurrence

List of `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields as defined below.

func (SoftwareUpdateConfigurationSchedulePtrOutput) NextRun

func (SoftwareUpdateConfigurationSchedulePtrOutput) NextRunOffsetMinutes

func (SoftwareUpdateConfigurationSchedulePtrOutput) StartTime

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.

func (SoftwareUpdateConfigurationSchedulePtrOutput) StartTimeOffsetMinutes

func (SoftwareUpdateConfigurationSchedulePtrOutput) TimeZone

The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>

func (SoftwareUpdateConfigurationSchedulePtrOutput) ToSoftwareUpdateConfigurationSchedulePtrOutput

func (o SoftwareUpdateConfigurationSchedulePtrOutput) ToSoftwareUpdateConfigurationSchedulePtrOutput() SoftwareUpdateConfigurationSchedulePtrOutput

func (SoftwareUpdateConfigurationSchedulePtrOutput) ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext

func (o SoftwareUpdateConfigurationSchedulePtrOutput) ToSoftwareUpdateConfigurationSchedulePtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationSchedulePtrOutput

type SoftwareUpdateConfigurationState

type SoftwareUpdateConfigurationState struct {
	// The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
	AutomationAccountId pulumi.StringPtrInput
	// Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.
	Duration pulumi.StringPtrInput
	// The Error code when failed.
	ErrorCode pulumi.StringPtrInput
	// The Error message indicating why the operation failed.
	ErrorMessage pulumi.StringPtrInput
	// A `linux` block as defined below.
	Linux SoftwareUpdateConfigurationLinuxPtrInput
	// The name which should be used for this Automation. Changing this forces a new Automation to be created.
	Name pulumi.StringPtrInput
	// Specifies a list of names of non-Azure machines for the software update configuration.
	NonAzureComputerNames pulumi.StringArrayInput
	// A `postTask` blocks as defined below.
	PostTask SoftwareUpdateConfigurationPostTaskPtrInput
	// A `preTask` blocks as defined below.
	PreTask SoftwareUpdateConfigurationPreTaskPtrInput
	// A `schedule` blocks as defined below.
	Schedule SoftwareUpdateConfigurationSchedulePtrInput
	// A `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrInput
	// Specifies a list of Azure Resource IDs of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayInput
	// A `windows` block as defined below.
	//
	// > **NOTE:** One of `linux` or `windows` must be specified.
	Windows SoftwareUpdateConfigurationWindowsPtrInput
}

func (SoftwareUpdateConfigurationState) ElementType

type SoftwareUpdateConfigurationTarget

type SoftwareUpdateConfigurationTarget struct {
	// One or more `azureQuery` blocks as defined above.
	AzureQueries []SoftwareUpdateConfigurationTargetAzureQuery `pulumi:"azureQueries"`
	// One or more `nonAzureQuery` blocks as defined above.
	NonAzureQueries []SoftwareUpdateConfigurationTargetNonAzureQuery `pulumi:"nonAzureQueries"`
}

type SoftwareUpdateConfigurationTargetArgs

type SoftwareUpdateConfigurationTargetArgs struct {
	// One or more `azureQuery` blocks as defined above.
	AzureQueries SoftwareUpdateConfigurationTargetAzureQueryArrayInput `pulumi:"azureQueries"`
	// One or more `nonAzureQuery` blocks as defined above.
	NonAzureQueries SoftwareUpdateConfigurationTargetNonAzureQueryArrayInput `pulumi:"nonAzureQueries"`
}

func (SoftwareUpdateConfigurationTargetArgs) ElementType

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutput

func (i SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutput() SoftwareUpdateConfigurationTargetOutput

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutputWithContext

func (i SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetOutput

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutput

func (i SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext

func (i SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetPtrOutput

type SoftwareUpdateConfigurationTargetAzureQuery

type SoftwareUpdateConfigurationTargetAzureQuery struct {
	// Specifies a list of locations to scope the query to.
	Locations []string `pulumi:"locations"`
	// Specifies a list of Subscription or Resource Group ARM Ids to query.
	Scopes []string `pulumi:"scopes"`
	// Specifies how the specified tags to filter VMs. Possible values are `Any` and `All`.
	TagFilter *string `pulumi:"tagFilter"`
	// A mapping of tags used for query filter. One or more `tags` block as defined below.
	Tags []SoftwareUpdateConfigurationTargetAzureQueryTag `pulumi:"tags"`
}

type SoftwareUpdateConfigurationTargetAzureQueryArgs

type SoftwareUpdateConfigurationTargetAzureQueryArgs struct {
	// Specifies a list of locations to scope the query to.
	Locations pulumi.StringArrayInput `pulumi:"locations"`
	// Specifies a list of Subscription or Resource Group ARM Ids to query.
	Scopes pulumi.StringArrayInput `pulumi:"scopes"`
	// Specifies how the specified tags to filter VMs. Possible values are `Any` and `All`.
	TagFilter pulumi.StringPtrInput `pulumi:"tagFilter"`
	// A mapping of tags used for query filter. One or more `tags` block as defined below.
	Tags SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput `pulumi:"tags"`
}

func (SoftwareUpdateConfigurationTargetAzureQueryArgs) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutput

func (i SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutput() SoftwareUpdateConfigurationTargetAzureQueryOutput

func (SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext

func (i SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryOutput

type SoftwareUpdateConfigurationTargetAzureQueryArray

type SoftwareUpdateConfigurationTargetAzureQueryArray []SoftwareUpdateConfigurationTargetAzureQueryInput

func (SoftwareUpdateConfigurationTargetAzureQueryArray) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput

func (i SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput() SoftwareUpdateConfigurationTargetAzureQueryArrayOutput

func (SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext

func (i SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryArrayOutput

type SoftwareUpdateConfigurationTargetAzureQueryArrayInput

type SoftwareUpdateConfigurationTargetAzureQueryArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput() SoftwareUpdateConfigurationTargetAzureQueryArrayOutput
	ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetAzureQueryArrayOutput
}

SoftwareUpdateConfigurationTargetAzureQueryArrayInput is an input type that accepts SoftwareUpdateConfigurationTargetAzureQueryArray and SoftwareUpdateConfigurationTargetAzureQueryArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetAzureQueryArrayInput` via:

SoftwareUpdateConfigurationTargetAzureQueryArray{ SoftwareUpdateConfigurationTargetAzureQueryArgs{...} }

type SoftwareUpdateConfigurationTargetAzureQueryArrayOutput

type SoftwareUpdateConfigurationTargetAzureQueryArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) Index

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext

func (o SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryArrayOutput

type SoftwareUpdateConfigurationTargetAzureQueryInput

type SoftwareUpdateConfigurationTargetAzureQueryInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetAzureQueryOutput() SoftwareUpdateConfigurationTargetAzureQueryOutput
	ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetAzureQueryOutput
}

SoftwareUpdateConfigurationTargetAzureQueryInput is an input type that accepts SoftwareUpdateConfigurationTargetAzureQueryArgs and SoftwareUpdateConfigurationTargetAzureQueryOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetAzureQueryInput` via:

SoftwareUpdateConfigurationTargetAzureQueryArgs{...}

type SoftwareUpdateConfigurationTargetAzureQueryOutput

type SoftwareUpdateConfigurationTargetAzureQueryOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) Locations

Specifies a list of locations to scope the query to.

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) Scopes

Specifies a list of Subscription or Resource Group ARM Ids to query.

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) TagFilter

Specifies how the specified tags to filter VMs. Possible values are `Any` and `All`.

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) Tags

A mapping of tags used for query filter. One or more `tags` block as defined below.

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutput

func (o SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutput() SoftwareUpdateConfigurationTargetAzureQueryOutput

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext

func (o SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryOutput

type SoftwareUpdateConfigurationTargetAzureQueryTag

type SoftwareUpdateConfigurationTargetAzureQueryTag struct {
	// Specifies the name of the tag to filter.
	Tag string `pulumi:"tag"`
	// Specifies a list of values for this tag key.
	Values []string `pulumi:"values"`
}

type SoftwareUpdateConfigurationTargetAzureQueryTagArgs

type SoftwareUpdateConfigurationTargetAzureQueryTagArgs struct {
	// Specifies the name of the tag to filter.
	Tag pulumi.StringInput `pulumi:"tag"`
	// Specifies a list of values for this tag key.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput

func (i SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput() SoftwareUpdateConfigurationTargetAzureQueryTagOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext

func (i SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryTagOutput

type SoftwareUpdateConfigurationTargetAzureQueryTagArray

type SoftwareUpdateConfigurationTargetAzureQueryTagArray []SoftwareUpdateConfigurationTargetAzureQueryTagInput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArray) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

func (i SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput() SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext

func (i SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

type SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput

type SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput() SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput
	ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput
}

SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput is an input type that accepts SoftwareUpdateConfigurationTargetAzureQueryTagArray and SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput` via:

SoftwareUpdateConfigurationTargetAzureQueryTagArray{ SoftwareUpdateConfigurationTargetAzureQueryTagArgs{...} }

type SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

type SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) Index

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext

func (o SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

type SoftwareUpdateConfigurationTargetAzureQueryTagInput

type SoftwareUpdateConfigurationTargetAzureQueryTagInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput() SoftwareUpdateConfigurationTargetAzureQueryTagOutput
	ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetAzureQueryTagOutput
}

SoftwareUpdateConfigurationTargetAzureQueryTagInput is an input type that accepts SoftwareUpdateConfigurationTargetAzureQueryTagArgs and SoftwareUpdateConfigurationTargetAzureQueryTagOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetAzureQueryTagInput` via:

SoftwareUpdateConfigurationTargetAzureQueryTagArgs{...}

type SoftwareUpdateConfigurationTargetAzureQueryTagOutput

type SoftwareUpdateConfigurationTargetAzureQueryTagOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ElementType

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) Tag

Specifies the name of the tag to filter.

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext

func (o SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetAzureQueryTagOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) Values

Specifies a list of values for this tag key.

type SoftwareUpdateConfigurationTargetInput

type SoftwareUpdateConfigurationTargetInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetOutput() SoftwareUpdateConfigurationTargetOutput
	ToSoftwareUpdateConfigurationTargetOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetOutput
}

SoftwareUpdateConfigurationTargetInput is an input type that accepts SoftwareUpdateConfigurationTargetArgs and SoftwareUpdateConfigurationTargetOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetInput` via:

SoftwareUpdateConfigurationTargetArgs{...}

type SoftwareUpdateConfigurationTargetNonAzureQuery

type SoftwareUpdateConfigurationTargetNonAzureQuery struct {
	// Specifies the Log Analytics save search name.
	FunctionAlias *string `pulumi:"functionAlias"`
	// The workspace id for Log Analytics in which the saved search in.
	WorkspaceId *string `pulumi:"workspaceId"`
}

type SoftwareUpdateConfigurationTargetNonAzureQueryArgs

type SoftwareUpdateConfigurationTargetNonAzureQueryArgs struct {
	// Specifies the Log Analytics save search name.
	FunctionAlias pulumi.StringPtrInput `pulumi:"functionAlias"`
	// The workspace id for Log Analytics in which the saved search in.
	WorkspaceId pulumi.StringPtrInput `pulumi:"workspaceId"`
}

func (SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ElementType

func (SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput

func (i SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput() SoftwareUpdateConfigurationTargetNonAzureQueryOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext

func (i SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetNonAzureQueryOutput

type SoftwareUpdateConfigurationTargetNonAzureQueryArray

type SoftwareUpdateConfigurationTargetNonAzureQueryArray []SoftwareUpdateConfigurationTargetNonAzureQueryInput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArray) ElementType

func (SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

func (i SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput() SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext

func (i SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

type SoftwareUpdateConfigurationTargetNonAzureQueryArrayInput

type SoftwareUpdateConfigurationTargetNonAzureQueryArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput() SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput
	ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput
}

SoftwareUpdateConfigurationTargetNonAzureQueryArrayInput is an input type that accepts SoftwareUpdateConfigurationTargetNonAzureQueryArray and SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetNonAzureQueryArrayInput` via:

SoftwareUpdateConfigurationTargetNonAzureQueryArray{ SoftwareUpdateConfigurationTargetNonAzureQueryArgs{...} }

type SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

type SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ElementType

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) Index

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext

func (o SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

type SoftwareUpdateConfigurationTargetNonAzureQueryInput

type SoftwareUpdateConfigurationTargetNonAzureQueryInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput() SoftwareUpdateConfigurationTargetNonAzureQueryOutput
	ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetNonAzureQueryOutput
}

SoftwareUpdateConfigurationTargetNonAzureQueryInput is an input type that accepts SoftwareUpdateConfigurationTargetNonAzureQueryArgs and SoftwareUpdateConfigurationTargetNonAzureQueryOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetNonAzureQueryInput` via:

SoftwareUpdateConfigurationTargetNonAzureQueryArgs{...}

type SoftwareUpdateConfigurationTargetNonAzureQueryOutput

type SoftwareUpdateConfigurationTargetNonAzureQueryOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ElementType

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) FunctionAlias

Specifies the Log Analytics save search name.

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext

func (o SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetNonAzureQueryOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) WorkspaceId

The workspace id for Log Analytics in which the saved search in.

type SoftwareUpdateConfigurationTargetOutput

type SoftwareUpdateConfigurationTargetOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetOutput) AzureQueries

One or more `azureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetOutput) ElementType

func (SoftwareUpdateConfigurationTargetOutput) NonAzureQueries

One or more `nonAzureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutput

func (o SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutput() SoftwareUpdateConfigurationTargetOutput

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutputWithContext

func (o SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetOutput

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutput

func (o SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext

func (o SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetPtrOutput

type SoftwareUpdateConfigurationTargetPtrInput

type SoftwareUpdateConfigurationTargetPtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput
	ToSoftwareUpdateConfigurationTargetPtrOutputWithContext(context.Context) SoftwareUpdateConfigurationTargetPtrOutput
}

SoftwareUpdateConfigurationTargetPtrInput is an input type that accepts SoftwareUpdateConfigurationTargetArgs, SoftwareUpdateConfigurationTargetPtr and SoftwareUpdateConfigurationTargetPtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationTargetPtrInput` via:

        SoftwareUpdateConfigurationTargetArgs{...}

or:

        nil

type SoftwareUpdateConfigurationTargetPtrOutput

type SoftwareUpdateConfigurationTargetPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetPtrOutput) AzureQueries

One or more `azureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetPtrOutput) Elem

func (SoftwareUpdateConfigurationTargetPtrOutput) ElementType

func (SoftwareUpdateConfigurationTargetPtrOutput) NonAzureQueries

One or more `nonAzureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutput

func (o SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput

func (SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext

func (o SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationTargetPtrOutput

type SoftwareUpdateConfigurationWindows

type SoftwareUpdateConfigurationWindows struct {
	// Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	//
	// > **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.
	ClassificationsIncludeds []string `pulumi:"classificationsIncludeds"`
	// Specifies a list of knowledge base numbers excluded.
	ExcludedKnowledgeBaseNumbers []string `pulumi:"excludedKnowledgeBaseNumbers"`
	// Specifies a list of knowledge base numbers included.
	IncludedKnowledgeBaseNumbers []string `pulumi:"includedKnowledgeBaseNumbers"`
	// Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot *string `pulumi:"reboot"`
}

type SoftwareUpdateConfigurationWindowsArgs

type SoftwareUpdateConfigurationWindowsArgs struct {
	// Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	//
	// > **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.
	ClassificationsIncludeds pulumi.StringArrayInput `pulumi:"classificationsIncludeds"`
	// Specifies a list of knowledge base numbers excluded.
	ExcludedKnowledgeBaseNumbers pulumi.StringArrayInput `pulumi:"excludedKnowledgeBaseNumbers"`
	// Specifies a list of knowledge base numbers included.
	IncludedKnowledgeBaseNumbers pulumi.StringArrayInput `pulumi:"includedKnowledgeBaseNumbers"`
	// Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot pulumi.StringPtrInput `pulumi:"reboot"`
}

func (SoftwareUpdateConfigurationWindowsArgs) ElementType

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutput

func (i SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutput() SoftwareUpdateConfigurationWindowsOutput

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutputWithContext

func (i SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationWindowsOutput

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutput

func (i SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext

func (i SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationWindowsPtrOutput

type SoftwareUpdateConfigurationWindowsInput

type SoftwareUpdateConfigurationWindowsInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationWindowsOutput() SoftwareUpdateConfigurationWindowsOutput
	ToSoftwareUpdateConfigurationWindowsOutputWithContext(context.Context) SoftwareUpdateConfigurationWindowsOutput
}

SoftwareUpdateConfigurationWindowsInput is an input type that accepts SoftwareUpdateConfigurationWindowsArgs and SoftwareUpdateConfigurationWindowsOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationWindowsInput` via:

SoftwareUpdateConfigurationWindowsArgs{...}

type SoftwareUpdateConfigurationWindowsOutput

type SoftwareUpdateConfigurationWindowsOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationWindowsOutput) ClassificationsIncludeds

Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.

> **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.

func (SoftwareUpdateConfigurationWindowsOutput) ElementType

func (SoftwareUpdateConfigurationWindowsOutput) ExcludedKnowledgeBaseNumbers

func (o SoftwareUpdateConfigurationWindowsOutput) ExcludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers excluded.

func (SoftwareUpdateConfigurationWindowsOutput) IncludedKnowledgeBaseNumbers

func (o SoftwareUpdateConfigurationWindowsOutput) IncludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers included.

func (SoftwareUpdateConfigurationWindowsOutput) Reboot

Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutput

func (o SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutput() SoftwareUpdateConfigurationWindowsOutput

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutputWithContext

func (o SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationWindowsOutput

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput

func (o SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext

func (o SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationWindowsPtrOutput

type SoftwareUpdateConfigurationWindowsPtrInput

type SoftwareUpdateConfigurationWindowsPtrInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput
	ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext(context.Context) SoftwareUpdateConfigurationWindowsPtrOutput
}

SoftwareUpdateConfigurationWindowsPtrInput is an input type that accepts SoftwareUpdateConfigurationWindowsArgs, SoftwareUpdateConfigurationWindowsPtr and SoftwareUpdateConfigurationWindowsPtrOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationWindowsPtrInput` via:

        SoftwareUpdateConfigurationWindowsArgs{...}

or:

        nil

type SoftwareUpdateConfigurationWindowsPtrOutput

type SoftwareUpdateConfigurationWindowsPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationWindowsPtrOutput) ClassificationsIncludeds

Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.

> **NOTE:** The `classificationsIncluded` property will become `Required` in version 4.0 of the Provider.

func (SoftwareUpdateConfigurationWindowsPtrOutput) Elem

func (SoftwareUpdateConfigurationWindowsPtrOutput) ElementType

func (SoftwareUpdateConfigurationWindowsPtrOutput) ExcludedKnowledgeBaseNumbers

func (o SoftwareUpdateConfigurationWindowsPtrOutput) ExcludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers excluded.

func (SoftwareUpdateConfigurationWindowsPtrOutput) IncludedKnowledgeBaseNumbers

func (o SoftwareUpdateConfigurationWindowsPtrOutput) IncludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers included.

func (SoftwareUpdateConfigurationWindowsPtrOutput) Reboot

Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

func (SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput

func (o SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput

func (SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext

func (o SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationWindowsPtrOutput

type SourceControl

type SourceControl struct {
	pulumi.CustomResourceState

	// Whether auto async the Source Control.
	AutomaticSync pulumi.BoolPtrOutput `pulumi:"automaticSync"`
	// The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
	AutomationAccountId pulumi.StringOutput `pulumi:"automationAccountId"`
	// Specify the repo branch of the Source Control. Empty value is valid only for `VsoTfvc`.
	Branch pulumi.StringPtrOutput `pulumi:"branch"`
	// A short description of the Source Control.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The folder path of the source control. This Path must be relative.
	FolderPath pulumi.StringOutput `pulumi:"folderPath"`
	// The name which should be used for this Automation Source Control. Changing this forces a new Automation Source Control to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether auto publish the Source Control. Defaults to `true`.
	PublishRunbookEnabled pulumi.BoolPtrOutput `pulumi:"publishRunbookEnabled"`
	// The Repository URL of the source control.
	RepositoryUrl pulumi.StringOutput `pulumi:"repositoryUrl"`
	// A `security` block as defined below.
	Security SourceControlSecurityOutput `pulumi:"security"`
	// The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.
	SourceControlType pulumi.StringOutput `pulumi:"sourceControlType"`
}

Manages an Automation Source Control.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSourceControl(ctx, "example", &automation.SourceControlArgs{
			Name:                pulumi.String("example"),
			AutomationAccountId: exampleAccount.ID(),
			FolderPath:          pulumi.String("runbook"),
			Security: &automation.SourceControlSecurityArgs{
				Token:     pulumi.String("ghp_xxx"),
				TokenType: pulumi.String("PersonalAccessToken"),
			},
			RepositoryUrl:     pulumi.String("https://github.com/foo/bat.git"),
			SourceControlType: pulumi.String("GitHub"),
			Branch:            pulumi.String("main"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/sourceControl:SourceControl example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/sourceControls/sc1 ```

func GetSourceControl

func GetSourceControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SourceControlState, opts ...pulumi.ResourceOption) (*SourceControl, error)

GetSourceControl gets an existing SourceControl 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 NewSourceControl

func NewSourceControl(ctx *pulumi.Context,
	name string, args *SourceControlArgs, opts ...pulumi.ResourceOption) (*SourceControl, error)

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

func (*SourceControl) ElementType

func (*SourceControl) ElementType() reflect.Type

func (*SourceControl) ToSourceControlOutput

func (i *SourceControl) ToSourceControlOutput() SourceControlOutput

func (*SourceControl) ToSourceControlOutputWithContext

func (i *SourceControl) ToSourceControlOutputWithContext(ctx context.Context) SourceControlOutput

type SourceControlArgs

type SourceControlArgs struct {
	// Whether auto async the Source Control.
	AutomaticSync pulumi.BoolPtrInput
	// The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
	AutomationAccountId pulumi.StringInput
	// Specify the repo branch of the Source Control. Empty value is valid only for `VsoTfvc`.
	Branch pulumi.StringPtrInput
	// A short description of the Source Control.
	Description pulumi.StringPtrInput
	// The folder path of the source control. This Path must be relative.
	FolderPath pulumi.StringInput
	// The name which should be used for this Automation Source Control. Changing this forces a new Automation Source Control to be created.
	Name pulumi.StringPtrInput
	// Whether auto publish the Source Control. Defaults to `true`.
	PublishRunbookEnabled pulumi.BoolPtrInput
	// The Repository URL of the source control.
	RepositoryUrl pulumi.StringInput
	// A `security` block as defined below.
	Security SourceControlSecurityInput
	// The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.
	SourceControlType pulumi.StringInput
}

The set of arguments for constructing a SourceControl resource.

func (SourceControlArgs) ElementType

func (SourceControlArgs) ElementType() reflect.Type

type SourceControlArray

type SourceControlArray []SourceControlInput

func (SourceControlArray) ElementType

func (SourceControlArray) ElementType() reflect.Type

func (SourceControlArray) ToSourceControlArrayOutput

func (i SourceControlArray) ToSourceControlArrayOutput() SourceControlArrayOutput

func (SourceControlArray) ToSourceControlArrayOutputWithContext

func (i SourceControlArray) ToSourceControlArrayOutputWithContext(ctx context.Context) SourceControlArrayOutput

type SourceControlArrayInput

type SourceControlArrayInput interface {
	pulumi.Input

	ToSourceControlArrayOutput() SourceControlArrayOutput
	ToSourceControlArrayOutputWithContext(context.Context) SourceControlArrayOutput
}

SourceControlArrayInput is an input type that accepts SourceControlArray and SourceControlArrayOutput values. You can construct a concrete instance of `SourceControlArrayInput` via:

SourceControlArray{ SourceControlArgs{...} }

type SourceControlArrayOutput

type SourceControlArrayOutput struct{ *pulumi.OutputState }

func (SourceControlArrayOutput) ElementType

func (SourceControlArrayOutput) ElementType() reflect.Type

func (SourceControlArrayOutput) Index

func (SourceControlArrayOutput) ToSourceControlArrayOutput

func (o SourceControlArrayOutput) ToSourceControlArrayOutput() SourceControlArrayOutput

func (SourceControlArrayOutput) ToSourceControlArrayOutputWithContext

func (o SourceControlArrayOutput) ToSourceControlArrayOutputWithContext(ctx context.Context) SourceControlArrayOutput

type SourceControlInput

type SourceControlInput interface {
	pulumi.Input

	ToSourceControlOutput() SourceControlOutput
	ToSourceControlOutputWithContext(ctx context.Context) SourceControlOutput
}

type SourceControlMap

type SourceControlMap map[string]SourceControlInput

func (SourceControlMap) ElementType

func (SourceControlMap) ElementType() reflect.Type

func (SourceControlMap) ToSourceControlMapOutput

func (i SourceControlMap) ToSourceControlMapOutput() SourceControlMapOutput

func (SourceControlMap) ToSourceControlMapOutputWithContext

func (i SourceControlMap) ToSourceControlMapOutputWithContext(ctx context.Context) SourceControlMapOutput

type SourceControlMapInput

type SourceControlMapInput interface {
	pulumi.Input

	ToSourceControlMapOutput() SourceControlMapOutput
	ToSourceControlMapOutputWithContext(context.Context) SourceControlMapOutput
}

SourceControlMapInput is an input type that accepts SourceControlMap and SourceControlMapOutput values. You can construct a concrete instance of `SourceControlMapInput` via:

SourceControlMap{ "key": SourceControlArgs{...} }

type SourceControlMapOutput

type SourceControlMapOutput struct{ *pulumi.OutputState }

func (SourceControlMapOutput) ElementType

func (SourceControlMapOutput) ElementType() reflect.Type

func (SourceControlMapOutput) MapIndex

func (SourceControlMapOutput) ToSourceControlMapOutput

func (o SourceControlMapOutput) ToSourceControlMapOutput() SourceControlMapOutput

func (SourceControlMapOutput) ToSourceControlMapOutputWithContext

func (o SourceControlMapOutput) ToSourceControlMapOutputWithContext(ctx context.Context) SourceControlMapOutput

type SourceControlOutput

type SourceControlOutput struct{ *pulumi.OutputState }

func (SourceControlOutput) AutomaticSync

func (o SourceControlOutput) AutomaticSync() pulumi.BoolPtrOutput

Whether auto async the Source Control.

func (SourceControlOutput) AutomationAccountId

func (o SourceControlOutput) AutomationAccountId() pulumi.StringOutput

The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.

func (SourceControlOutput) Branch

Specify the repo branch of the Source Control. Empty value is valid only for `VsoTfvc`.

func (SourceControlOutput) Description

func (o SourceControlOutput) Description() pulumi.StringPtrOutput

A short description of the Source Control.

func (SourceControlOutput) ElementType

func (SourceControlOutput) ElementType() reflect.Type

func (SourceControlOutput) FolderPath

func (o SourceControlOutput) FolderPath() pulumi.StringOutput

The folder path of the source control. This Path must be relative.

func (SourceControlOutput) Name

The name which should be used for this Automation Source Control. Changing this forces a new Automation Source Control to be created.

func (SourceControlOutput) PublishRunbookEnabled

func (o SourceControlOutput) PublishRunbookEnabled() pulumi.BoolPtrOutput

Whether auto publish the Source Control. Defaults to `true`.

func (SourceControlOutput) RepositoryUrl

func (o SourceControlOutput) RepositoryUrl() pulumi.StringOutput

The Repository URL of the source control.

func (SourceControlOutput) Security

A `security` block as defined below.

func (SourceControlOutput) SourceControlType

func (o SourceControlOutput) SourceControlType() pulumi.StringOutput

The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.

func (SourceControlOutput) ToSourceControlOutput

func (o SourceControlOutput) ToSourceControlOutput() SourceControlOutput

func (SourceControlOutput) ToSourceControlOutputWithContext

func (o SourceControlOutput) ToSourceControlOutputWithContext(ctx context.Context) SourceControlOutput

type SourceControlSecurity

type SourceControlSecurity struct {
	// The refresh token of specified rpeo.
	RefreshToken *string `pulumi:"refreshToken"`
	// The access token of specified repo.
	Token string `pulumi:"token"`
	// Specify the token type, possible values are `PersonalAccessToken` and `Oauth`.
	TokenType string `pulumi:"tokenType"`
}

type SourceControlSecurityArgs

type SourceControlSecurityArgs struct {
	// The refresh token of specified rpeo.
	RefreshToken pulumi.StringPtrInput `pulumi:"refreshToken"`
	// The access token of specified repo.
	Token pulumi.StringInput `pulumi:"token"`
	// Specify the token type, possible values are `PersonalAccessToken` and `Oauth`.
	TokenType pulumi.StringInput `pulumi:"tokenType"`
}

func (SourceControlSecurityArgs) ElementType

func (SourceControlSecurityArgs) ElementType() reflect.Type

func (SourceControlSecurityArgs) ToSourceControlSecurityOutput

func (i SourceControlSecurityArgs) ToSourceControlSecurityOutput() SourceControlSecurityOutput

func (SourceControlSecurityArgs) ToSourceControlSecurityOutputWithContext

func (i SourceControlSecurityArgs) ToSourceControlSecurityOutputWithContext(ctx context.Context) SourceControlSecurityOutput

func (SourceControlSecurityArgs) ToSourceControlSecurityPtrOutput

func (i SourceControlSecurityArgs) ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput

func (SourceControlSecurityArgs) ToSourceControlSecurityPtrOutputWithContext

func (i SourceControlSecurityArgs) ToSourceControlSecurityPtrOutputWithContext(ctx context.Context) SourceControlSecurityPtrOutput

type SourceControlSecurityInput

type SourceControlSecurityInput interface {
	pulumi.Input

	ToSourceControlSecurityOutput() SourceControlSecurityOutput
	ToSourceControlSecurityOutputWithContext(context.Context) SourceControlSecurityOutput
}

SourceControlSecurityInput is an input type that accepts SourceControlSecurityArgs and SourceControlSecurityOutput values. You can construct a concrete instance of `SourceControlSecurityInput` via:

SourceControlSecurityArgs{...}

type SourceControlSecurityOutput

type SourceControlSecurityOutput struct{ *pulumi.OutputState }

func (SourceControlSecurityOutput) ElementType

func (SourceControlSecurityOutput) RefreshToken

The refresh token of specified rpeo.

func (SourceControlSecurityOutput) ToSourceControlSecurityOutput

func (o SourceControlSecurityOutput) ToSourceControlSecurityOutput() SourceControlSecurityOutput

func (SourceControlSecurityOutput) ToSourceControlSecurityOutputWithContext

func (o SourceControlSecurityOutput) ToSourceControlSecurityOutputWithContext(ctx context.Context) SourceControlSecurityOutput

func (SourceControlSecurityOutput) ToSourceControlSecurityPtrOutput

func (o SourceControlSecurityOutput) ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput

func (SourceControlSecurityOutput) ToSourceControlSecurityPtrOutputWithContext

func (o SourceControlSecurityOutput) ToSourceControlSecurityPtrOutputWithContext(ctx context.Context) SourceControlSecurityPtrOutput

func (SourceControlSecurityOutput) Token

The access token of specified repo.

func (SourceControlSecurityOutput) TokenType

Specify the token type, possible values are `PersonalAccessToken` and `Oauth`.

type SourceControlSecurityPtrInput

type SourceControlSecurityPtrInput interface {
	pulumi.Input

	ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput
	ToSourceControlSecurityPtrOutputWithContext(context.Context) SourceControlSecurityPtrOutput
}

SourceControlSecurityPtrInput is an input type that accepts SourceControlSecurityArgs, SourceControlSecurityPtr and SourceControlSecurityPtrOutput values. You can construct a concrete instance of `SourceControlSecurityPtrInput` via:

        SourceControlSecurityArgs{...}

or:

        nil

type SourceControlSecurityPtrOutput

type SourceControlSecurityPtrOutput struct{ *pulumi.OutputState }

func (SourceControlSecurityPtrOutput) Elem

func (SourceControlSecurityPtrOutput) ElementType

func (SourceControlSecurityPtrOutput) RefreshToken

The refresh token of specified rpeo.

func (SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutput

func (o SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput

func (SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutputWithContext

func (o SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutputWithContext(ctx context.Context) SourceControlSecurityPtrOutput

func (SourceControlSecurityPtrOutput) Token

The access token of specified repo.

func (SourceControlSecurityPtrOutput) TokenType

Specify the token type, possible values are `PersonalAccessToken` and `Oauth`.

type SourceControlState

type SourceControlState struct {
	// Whether auto async the Source Control.
	AutomaticSync pulumi.BoolPtrInput
	// The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
	AutomationAccountId pulumi.StringPtrInput
	// Specify the repo branch of the Source Control. Empty value is valid only for `VsoTfvc`.
	Branch pulumi.StringPtrInput
	// A short description of the Source Control.
	Description pulumi.StringPtrInput
	// The folder path of the source control. This Path must be relative.
	FolderPath pulumi.StringPtrInput
	// The name which should be used for this Automation Source Control. Changing this forces a new Automation Source Control to be created.
	Name pulumi.StringPtrInput
	// Whether auto publish the Source Control. Defaults to `true`.
	PublishRunbookEnabled pulumi.BoolPtrInput
	// The Repository URL of the source control.
	RepositoryUrl pulumi.StringPtrInput
	// A `security` block as defined below.
	Security SourceControlSecurityPtrInput
	// The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.
	SourceControlType pulumi.StringPtrInput
}

func (SourceControlState) ElementType

func (SourceControlState) 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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewStringVariable(ctx, "example", &automation.StringVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.String("Hello, Basic Test."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (o StringVariableOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.

func (StringVariableOutput) Description

The description of the Automation Variable.

func (StringVariableOutput) ElementType

func (StringVariableOutput) ElementType() reflect.Type

func (StringVariableOutput) Encrypted

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

func (StringVariableOutput) Name

The name of the Automation Variable. Changing this forces a new resource to be created.

func (StringVariableOutput) ResourceGroupName

func (o StringVariableOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.

func (StringVariableOutput) ToStringVariableOutput

func (o StringVariableOutput) ToStringVariableOutput() StringVariableOutput

func (StringVariableOutput) ToStringVariableOutputWithContext

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

func (StringVariableOutput) Value

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

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 VariableObject

type VariableObject 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 `jsonencode()` string.
	Value pulumi.StringPtrOutput `pulumi:"value"`
}

Manages an object variable in Azure Automation

## Example Usage

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"greeting": "Hello, Terraform Basic Test.",
			"language": "en",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = automation.NewVariableObject(ctx, "example", &automation.VariableObjectArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetVariableObject

func GetVariableObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VariableObjectState, opts ...pulumi.ResourceOption) (*VariableObject, error)

GetVariableObject gets an existing VariableObject 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 NewVariableObject

func NewVariableObject(ctx *pulumi.Context,
	name string, args *VariableObjectArgs, opts ...pulumi.ResourceOption) (*VariableObject, error)

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

func (*VariableObject) ElementType

func (*VariableObject) ElementType() reflect.Type

func (*VariableObject) ToVariableObjectOutput

func (i *VariableObject) ToVariableObjectOutput() VariableObjectOutput

func (*VariableObject) ToVariableObjectOutputWithContext

func (i *VariableObject) ToVariableObjectOutputWithContext(ctx context.Context) VariableObjectOutput

type VariableObjectArgs

type VariableObjectArgs 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 `jsonencode()` string.
	Value pulumi.StringPtrInput
}

The set of arguments for constructing a VariableObject resource.

func (VariableObjectArgs) ElementType

func (VariableObjectArgs) ElementType() reflect.Type

type VariableObjectArray

type VariableObjectArray []VariableObjectInput

func (VariableObjectArray) ElementType

func (VariableObjectArray) ElementType() reflect.Type

func (VariableObjectArray) ToVariableObjectArrayOutput

func (i VariableObjectArray) ToVariableObjectArrayOutput() VariableObjectArrayOutput

func (VariableObjectArray) ToVariableObjectArrayOutputWithContext

func (i VariableObjectArray) ToVariableObjectArrayOutputWithContext(ctx context.Context) VariableObjectArrayOutput

type VariableObjectArrayInput

type VariableObjectArrayInput interface {
	pulumi.Input

	ToVariableObjectArrayOutput() VariableObjectArrayOutput
	ToVariableObjectArrayOutputWithContext(context.Context) VariableObjectArrayOutput
}

VariableObjectArrayInput is an input type that accepts VariableObjectArray and VariableObjectArrayOutput values. You can construct a concrete instance of `VariableObjectArrayInput` via:

VariableObjectArray{ VariableObjectArgs{...} }

type VariableObjectArrayOutput

type VariableObjectArrayOutput struct{ *pulumi.OutputState }

func (VariableObjectArrayOutput) ElementType

func (VariableObjectArrayOutput) ElementType() reflect.Type

func (VariableObjectArrayOutput) Index

func (VariableObjectArrayOutput) ToVariableObjectArrayOutput

func (o VariableObjectArrayOutput) ToVariableObjectArrayOutput() VariableObjectArrayOutput

func (VariableObjectArrayOutput) ToVariableObjectArrayOutputWithContext

func (o VariableObjectArrayOutput) ToVariableObjectArrayOutputWithContext(ctx context.Context) VariableObjectArrayOutput

type VariableObjectInput

type VariableObjectInput interface {
	pulumi.Input

	ToVariableObjectOutput() VariableObjectOutput
	ToVariableObjectOutputWithContext(ctx context.Context) VariableObjectOutput
}

type VariableObjectMap

type VariableObjectMap map[string]VariableObjectInput

func (VariableObjectMap) ElementType

func (VariableObjectMap) ElementType() reflect.Type

func (VariableObjectMap) ToVariableObjectMapOutput

func (i VariableObjectMap) ToVariableObjectMapOutput() VariableObjectMapOutput

func (VariableObjectMap) ToVariableObjectMapOutputWithContext

func (i VariableObjectMap) ToVariableObjectMapOutputWithContext(ctx context.Context) VariableObjectMapOutput

type VariableObjectMapInput

type VariableObjectMapInput interface {
	pulumi.Input

	ToVariableObjectMapOutput() VariableObjectMapOutput
	ToVariableObjectMapOutputWithContext(context.Context) VariableObjectMapOutput
}

VariableObjectMapInput is an input type that accepts VariableObjectMap and VariableObjectMapOutput values. You can construct a concrete instance of `VariableObjectMapInput` via:

VariableObjectMap{ "key": VariableObjectArgs{...} }

type VariableObjectMapOutput

type VariableObjectMapOutput struct{ *pulumi.OutputState }

func (VariableObjectMapOutput) ElementType

func (VariableObjectMapOutput) ElementType() reflect.Type

func (VariableObjectMapOutput) MapIndex

func (VariableObjectMapOutput) ToVariableObjectMapOutput

func (o VariableObjectMapOutput) ToVariableObjectMapOutput() VariableObjectMapOutput

func (VariableObjectMapOutput) ToVariableObjectMapOutputWithContext

func (o VariableObjectMapOutput) ToVariableObjectMapOutputWithContext(ctx context.Context) VariableObjectMapOutput

type VariableObjectOutput

type VariableObjectOutput struct{ *pulumi.OutputState }

func (VariableObjectOutput) AutomationAccountName

func (o VariableObjectOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.

func (VariableObjectOutput) Description

The description of the Automation Variable.

func (VariableObjectOutput) ElementType

func (VariableObjectOutput) ElementType() reflect.Type

func (VariableObjectOutput) Encrypted

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

func (VariableObjectOutput) Name

The name of the Automation Variable. Changing this forces a new resource to be created.

func (VariableObjectOutput) ResourceGroupName

func (o VariableObjectOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.

func (VariableObjectOutput) ToVariableObjectOutput

func (o VariableObjectOutput) ToVariableObjectOutput() VariableObjectOutput

func (VariableObjectOutput) ToVariableObjectOutputWithContext

func (o VariableObjectOutput) ToVariableObjectOutputWithContext(ctx context.Context) VariableObjectOutput

func (VariableObjectOutput) Value

The value of the Automation Variable as a `jsonencode()` string.

type VariableObjectState

type VariableObjectState 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 `jsonencode()` string.
	Value pulumi.StringPtrInput
}

func (VariableObjectState) ElementType

func (VariableObjectState) ElementType() reflect.Type

type Watcher

type Watcher struct {
	pulumi.CustomResourceState

	// The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
	AutomationAccountId pulumi.StringOutput `pulumi:"automationAccountId"`
	// A description of this Automation Watcher.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A string of etag assigned to this Automation Watcher.
	Etag pulumi.StringPtrOutput `pulumi:"etag"`
	// Specify the frequency at which the watcher is invoked.
	ExecutionFrequencyInSeconds pulumi.IntOutput `pulumi:"executionFrequencyInSeconds"`
	// The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.
	ScriptName pulumi.StringOutput `pulumi:"scriptName"`
	// Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
	ScriptParameters pulumi.StringMapOutput `pulumi:"scriptParameters"`
	// Specify the name of the Hybrid work group the watcher will run on.
	ScriptRunOn pulumi.StringOutput `pulumi:"scriptRunOn"`
	// The current status of the Automation Watcher.
	Status pulumi.StringOutput `pulumi:"status"`
	// A mapping of tags which should be assigned to the Automation Watcher.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Automation Wacher.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleHybridRunbookWorkerGroup, err := automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.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.NewWatcher(ctx, "example", &automation.WatcherArgs{
			Name:                        pulumi.String("example"),
			AutomationAccountId:         exampleAccount.ID(),
			Location:                    pulumi.String("West Europe"),
			ScriptName:                  exampleRunBook.Name,
			ScriptRunOn:                 exampleHybridRunbookWorkerGroup.Name,
			Description:                 pulumi.String("example-watcher desc"),
			ExecutionFrequencyInSeconds: pulumi.Int(42),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			ScriptParameters: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/watcher:Watcher example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/watchers/watch1 ```

func GetWatcher

func GetWatcher(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WatcherState, opts ...pulumi.ResourceOption) (*Watcher, error)

GetWatcher gets an existing Watcher 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 NewWatcher

func NewWatcher(ctx *pulumi.Context,
	name string, args *WatcherArgs, opts ...pulumi.ResourceOption) (*Watcher, error)

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

func (*Watcher) ElementType

func (*Watcher) ElementType() reflect.Type

func (*Watcher) ToWatcherOutput

func (i *Watcher) ToWatcherOutput() WatcherOutput

func (*Watcher) ToWatcherOutputWithContext

func (i *Watcher) ToWatcherOutputWithContext(ctx context.Context) WatcherOutput

type WatcherArgs

type WatcherArgs struct {
	// The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
	AutomationAccountId pulumi.StringInput
	// A description of this Automation Watcher.
	Description pulumi.StringPtrInput
	// A string of etag assigned to this Automation Watcher.
	Etag pulumi.StringPtrInput
	// Specify the frequency at which the watcher is invoked.
	ExecutionFrequencyInSeconds pulumi.IntInput
	// The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.
	Name pulumi.StringPtrInput
	// Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.
	ScriptName pulumi.StringInput
	// Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
	ScriptParameters pulumi.StringMapInput
	// Specify the name of the Hybrid work group the watcher will run on.
	ScriptRunOn pulumi.StringInput
	// A mapping of tags which should be assigned to the Automation Watcher.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Watcher resource.

func (WatcherArgs) ElementType

func (WatcherArgs) ElementType() reflect.Type

type WatcherArray

type WatcherArray []WatcherInput

func (WatcherArray) ElementType

func (WatcherArray) ElementType() reflect.Type

func (WatcherArray) ToWatcherArrayOutput

func (i WatcherArray) ToWatcherArrayOutput() WatcherArrayOutput

func (WatcherArray) ToWatcherArrayOutputWithContext

func (i WatcherArray) ToWatcherArrayOutputWithContext(ctx context.Context) WatcherArrayOutput

type WatcherArrayInput

type WatcherArrayInput interface {
	pulumi.Input

	ToWatcherArrayOutput() WatcherArrayOutput
	ToWatcherArrayOutputWithContext(context.Context) WatcherArrayOutput
}

WatcherArrayInput is an input type that accepts WatcherArray and WatcherArrayOutput values. You can construct a concrete instance of `WatcherArrayInput` via:

WatcherArray{ WatcherArgs{...} }

type WatcherArrayOutput

type WatcherArrayOutput struct{ *pulumi.OutputState }

func (WatcherArrayOutput) ElementType

func (WatcherArrayOutput) ElementType() reflect.Type

func (WatcherArrayOutput) Index

func (WatcherArrayOutput) ToWatcherArrayOutput

func (o WatcherArrayOutput) ToWatcherArrayOutput() WatcherArrayOutput

func (WatcherArrayOutput) ToWatcherArrayOutputWithContext

func (o WatcherArrayOutput) ToWatcherArrayOutputWithContext(ctx context.Context) WatcherArrayOutput

type WatcherInput

type WatcherInput interface {
	pulumi.Input

	ToWatcherOutput() WatcherOutput
	ToWatcherOutputWithContext(ctx context.Context) WatcherOutput
}

type WatcherMap

type WatcherMap map[string]WatcherInput

func (WatcherMap) ElementType

func (WatcherMap) ElementType() reflect.Type

func (WatcherMap) ToWatcherMapOutput

func (i WatcherMap) ToWatcherMapOutput() WatcherMapOutput

func (WatcherMap) ToWatcherMapOutputWithContext

func (i WatcherMap) ToWatcherMapOutputWithContext(ctx context.Context) WatcherMapOutput

type WatcherMapInput

type WatcherMapInput interface {
	pulumi.Input

	ToWatcherMapOutput() WatcherMapOutput
	ToWatcherMapOutputWithContext(context.Context) WatcherMapOutput
}

WatcherMapInput is an input type that accepts WatcherMap and WatcherMapOutput values. You can construct a concrete instance of `WatcherMapInput` via:

WatcherMap{ "key": WatcherArgs{...} }

type WatcherMapOutput

type WatcherMapOutput struct{ *pulumi.OutputState }

func (WatcherMapOutput) ElementType

func (WatcherMapOutput) ElementType() reflect.Type

func (WatcherMapOutput) MapIndex

func (WatcherMapOutput) ToWatcherMapOutput

func (o WatcherMapOutput) ToWatcherMapOutput() WatcherMapOutput

func (WatcherMapOutput) ToWatcherMapOutputWithContext

func (o WatcherMapOutput) ToWatcherMapOutputWithContext(ctx context.Context) WatcherMapOutput

type WatcherOutput

type WatcherOutput struct{ *pulumi.OutputState }

func (WatcherOutput) AutomationAccountId

func (o WatcherOutput) AutomationAccountId() pulumi.StringOutput

The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.

func (WatcherOutput) Description

func (o WatcherOutput) Description() pulumi.StringPtrOutput

A description of this Automation Watcher.

func (WatcherOutput) ElementType

func (WatcherOutput) ElementType() reflect.Type

func (WatcherOutput) Etag

A string of etag assigned to this Automation Watcher.

func (WatcherOutput) ExecutionFrequencyInSeconds

func (o WatcherOutput) ExecutionFrequencyInSeconds() pulumi.IntOutput

Specify the frequency at which the watcher is invoked.

func (WatcherOutput) Location

func (o WatcherOutput) Location() pulumi.StringOutput

The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.

func (WatcherOutput) Name

The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.

func (WatcherOutput) ScriptName

func (o WatcherOutput) ScriptName() pulumi.StringOutput

Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.

func (WatcherOutput) ScriptParameters

func (o WatcherOutput) ScriptParameters() pulumi.StringMapOutput

Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.

func (WatcherOutput) ScriptRunOn

func (o WatcherOutput) ScriptRunOn() pulumi.StringOutput

Specify the name of the Hybrid work group the watcher will run on.

func (WatcherOutput) Status

func (o WatcherOutput) Status() pulumi.StringOutput

The current status of the Automation Watcher.

func (WatcherOutput) Tags

A mapping of tags which should be assigned to the Automation Watcher.

func (WatcherOutput) ToWatcherOutput

func (o WatcherOutput) ToWatcherOutput() WatcherOutput

func (WatcherOutput) ToWatcherOutputWithContext

func (o WatcherOutput) ToWatcherOutputWithContext(ctx context.Context) WatcherOutput

type WatcherState

type WatcherState struct {
	// The ID of Automation Account to manage this Watcher. Changing this forces a new Watcher to be created.
	AutomationAccountId pulumi.StringPtrInput
	// A description of this Automation Watcher.
	Description pulumi.StringPtrInput
	// A string of etag assigned to this Automation Watcher.
	Etag pulumi.StringPtrInput
	// Specify the frequency at which the watcher is invoked.
	ExecutionFrequencyInSeconds pulumi.IntPtrInput
	// The Azure Region where the Automation Watcher should exist. Changing this forces a new Automation Watcher to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Automation Watcher. Changing this forces a new Automation Watcher to be created.
	Name pulumi.StringPtrInput
	// Specify the name of an existing runbook this watcher is attached to. Changing this forces a new Automation to be created.
	ScriptName pulumi.StringPtrInput
	// Specifies a list of key-vaule parameters. Changing this forces a new Automation watcher to be created.
	ScriptParameters pulumi.StringMapInput
	// Specify the name of the Hybrid work group the watcher will run on.
	ScriptRunOn pulumi.StringPtrInput
	// The current status of the Automation Watcher.
	Status pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Automation Watcher.
	Tags pulumi.StringMapInput
}

func (WatcherState) ElementType

func (WatcherState) 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/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation. Changing this forces a new resource to be created.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages an Automation Runbook's Webhook.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.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, "example", &automation.WebhookArgs{
			Name:                  pulumi.String("TestRunbook_webhook"),
			ResourceGroupName:     example.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/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation. Changing this forces a new resource to be created.
	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) AutomationAccountName

func (o WebhookOutput) AutomationAccountName() pulumi.StringOutput

The name of the automation account in which the Webhook is created. Changing this forces a new resource to be created.

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) Enabled

func (o WebhookOutput) Enabled() pulumi.BoolPtrOutput

Controls if Webhook is enabled. Defaults to `true`.

func (WebhookOutput) ExpiryTime

func (o WebhookOutput) ExpiryTime() pulumi.StringOutput

Timestamp when the webhook expires. Changing this forces a new resource to be created.

func (WebhookOutput) Name

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

func (WebhookOutput) Parameters

func (o WebhookOutput) Parameters() pulumi.StringMapOutput

Map of input parameters passed to runbook.

func (WebhookOutput) ResourceGroupName

func (o WebhookOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Webhook is created. Changing this forces a new resource to be created.

func (WebhookOutput) RunOnWorkerGroup

func (o WebhookOutput) RunOnWorkerGroup() pulumi.StringPtrOutput

Name of the hybrid worker group the Webhook job will run on.

func (WebhookOutput) RunbookName

func (o WebhookOutput) RunbookName() pulumi.StringOutput

Name of the Automation Runbook to execute by Webhook.

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

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

func (WebhookOutput) Uri

URI to initiate the webhook. Can be generated using [Generate URI API](https://docs.microsoft.com/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation. Changing this forces a new resource to be created.

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/rest/api/automation/webhook/generate-uri). By default, new URI is generated on each new resource creation. Changing this forces a new resource to be created.
	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