automation

package
v5.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// The Primary Access Key for the DSC Endpoint associated with this Automation Account.
	DscPrimaryAccessKey pulumi.StringOutput `pulumi:"dscPrimaryAccessKey"`
	// The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
	DscSecondaryAccessKey pulumi.StringOutput `pulumi:"dscSecondaryAccessKey"`
	// The DSC Server Endpoint associated with this Automation Account.
	DscServerEndpoint pulumi.StringOutput `pulumi:"dscServerEndpoint"`
	// An `encryption` block as defined below.
	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.
	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 container registry. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Account.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetAccount

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

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

func NewAccount

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

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

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

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

type AccountArgs

type AccountArgs struct {
	// An `encryption` block as defined below.
	Encryptions AccountEncryptionArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Whether requests using non-AAD authentication are blocked.
	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 container registry. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

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

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

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

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

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

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

type AccountEncryption added in v5.16.0

type AccountEncryption struct {
	// The source of the encryption key. Possible values are `Microsoft.Keyvault` and `Microsoft.Storage`.
	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 added in v5.16.0

type AccountEncryptionArgs struct {
	// The source of the encryption key. Possible values are `Microsoft.Keyvault` and `Microsoft.Storage`.
	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 added in v5.16.0

func (AccountEncryptionArgs) ElementType() reflect.Type

func (AccountEncryptionArgs) ToAccountEncryptionOutput added in v5.16.0

func (i AccountEncryptionArgs) ToAccountEncryptionOutput() AccountEncryptionOutput

func (AccountEncryptionArgs) ToAccountEncryptionOutputWithContext added in v5.16.0

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

type AccountEncryptionArray added in v5.16.0

type AccountEncryptionArray []AccountEncryptionInput

func (AccountEncryptionArray) ElementType added in v5.16.0

func (AccountEncryptionArray) ElementType() reflect.Type

func (AccountEncryptionArray) ToAccountEncryptionArrayOutput added in v5.16.0

func (i AccountEncryptionArray) ToAccountEncryptionArrayOutput() AccountEncryptionArrayOutput

func (AccountEncryptionArray) ToAccountEncryptionArrayOutputWithContext added in v5.16.0

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

type AccountEncryptionArrayInput added in v5.16.0

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 added in v5.16.0

type AccountEncryptionArrayOutput struct{ *pulumi.OutputState }

func (AccountEncryptionArrayOutput) ElementType added in v5.16.0

func (AccountEncryptionArrayOutput) Index added in v5.16.0

func (AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutput added in v5.16.0

func (o AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutput() AccountEncryptionArrayOutput

func (AccountEncryptionArrayOutput) ToAccountEncryptionArrayOutputWithContext added in v5.16.0

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

type AccountEncryptionInput added in v5.16.0

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 added in v5.16.0

type AccountEncryptionOutput struct{ *pulumi.OutputState }

func (AccountEncryptionOutput) ElementType added in v5.16.0

func (AccountEncryptionOutput) ElementType() reflect.Type

func (AccountEncryptionOutput) KeySource added in v5.16.0

The source of the encryption key. Possible values are `Microsoft.Keyvault` and `Microsoft.Storage`.

func (AccountEncryptionOutput) KeyVaultKeyId added in v5.16.0

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 added in v5.16.0

func (o AccountEncryptionOutput) ToAccountEncryptionOutput() AccountEncryptionOutput

func (AccountEncryptionOutput) ToAccountEncryptionOutputWithContext added in v5.16.0

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

func (AccountEncryptionOutput) UserAssignedIdentityId added in v5.16.0

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.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// The type of identity used for this Automation Account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

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

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

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

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

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

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

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

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

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) IdentityIds

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

func (AccountIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

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

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

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

func (AccountIdentityOutput) Type

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

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

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

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

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) IdentityIds

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

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

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

func (AccountIdentityPtrOutput) Type

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

type AccountInput

type AccountInput interface {
	pulumi.Input

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

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

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

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

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

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

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

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

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

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) DscPrimaryAccessKey added in v5.5.0

func (o AccountOutput) DscPrimaryAccessKey() pulumi.StringOutput

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

func (AccountOutput) DscSecondaryAccessKey added in v5.5.0

func (o AccountOutput) DscSecondaryAccessKey() pulumi.StringOutput

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

func (AccountOutput) DscServerEndpoint added in v5.5.0

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 added in v5.16.0

An `encryption` block as defined below.

func (AccountOutput) HybridServiceUrl added in v5.21.0

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 added in v5.5.0

An `identity` block as defined below.

func (AccountOutput) LocalAuthenticationEnabled added in v5.16.0

func (o AccountOutput) LocalAuthenticationEnabled() pulumi.BoolPtrOutput

Whether requests using non-AAD authentication are blocked.

func (AccountOutput) Location added in v5.5.0

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 added in v5.5.0

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

func (AccountOutput) PrivateEndpointConnections added in v5.16.0

func (o AccountOutput) PrivateEndpointConnections() AccountPrivateEndpointConnectionArrayOutput

func (AccountOutput) PublicNetworkAccessEnabled added in v5.5.0

func (o AccountOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Whether public network access is allowed for the container registry. Defaults to `true`.

func (AccountOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

func (o AccountOutput) SkuName() pulumi.StringOutput

The SKU of the account - only `Basic` is supported at this time.

func (AccountOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

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

type AccountPrivateEndpointConnection added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutput added in v5.16.0

func (i AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutput() AccountPrivateEndpointConnectionOutput

func (AccountPrivateEndpointConnectionArgs) ToAccountPrivateEndpointConnectionOutputWithContext added in v5.16.0

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

type AccountPrivateEndpointConnectionArray added in v5.16.0

type AccountPrivateEndpointConnectionArray []AccountPrivateEndpointConnectionInput

func (AccountPrivateEndpointConnectionArray) ElementType added in v5.16.0

func (AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutput added in v5.16.0

func (i AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutput() AccountPrivateEndpointConnectionArrayOutput

func (AccountPrivateEndpointConnectionArray) ToAccountPrivateEndpointConnectionArrayOutputWithContext added in v5.16.0

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

type AccountPrivateEndpointConnectionArrayInput added in v5.16.0

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 added in v5.16.0

type AccountPrivateEndpointConnectionArrayOutput struct{ *pulumi.OutputState }

func (AccountPrivateEndpointConnectionArrayOutput) ElementType added in v5.16.0

func (AccountPrivateEndpointConnectionArrayOutput) Index added in v5.16.0

func (AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutput added in v5.16.0

func (o AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutput() AccountPrivateEndpointConnectionArrayOutput

func (AccountPrivateEndpointConnectionArrayOutput) ToAccountPrivateEndpointConnectionArrayOutputWithContext added in v5.16.0

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

type AccountPrivateEndpointConnectionInput added in v5.16.0

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 added in v5.16.0

type AccountPrivateEndpointConnectionOutput struct{ *pulumi.OutputState }

func (AccountPrivateEndpointConnectionOutput) ElementType added in v5.16.0

func (AccountPrivateEndpointConnectionOutput) Id added in v5.16.0

The ID of the Automation Account.

func (AccountPrivateEndpointConnectionOutput) Name added in v5.16.0

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

func (AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutput added in v5.16.0

func (o AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutput() AccountPrivateEndpointConnectionOutput

func (AccountPrivateEndpointConnectionOutput) ToAccountPrivateEndpointConnectionOutputWithContext added in v5.16.0

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
	// An `encryption` block as defined below.
	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.
	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 container registry. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU of the account - only `Basic` is supported at this time.
	SkuName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type BoolVariable

type BoolVariable struct {
	pulumi.CustomResourceState

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

Manages a boolean variable in Azure Automation

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewBoolVariable(ctx, "exampleBoolVariable", &automation.BoolVariableArgs{
			ResourceGroupName:     exampleResourceGroup.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 added in v5.5.0

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 added in v5.5.0

func (o BoolVariableOutput) Description() pulumi.StringPtrOutput

The description of the Automation Variable.

func (BoolVariableOutput) ElementType

func (BoolVariableOutput) ElementType() reflect.Type

func (BoolVariableOutput) Encrypted added in v5.5.0

func (o BoolVariableOutput) Encrypted() pulumi.BoolPtrOutput

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

func (BoolVariableOutput) Name added in v5.5.0

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

func (BoolVariableOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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.BoolOutput `pulumi:"exportable"`
	// Specifies the name of the Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The thumbprint for the certificate.
	Thumbprint pulumi.StringOutput `pulumi:"thumbprint"`
}

Manages an Automation Certificate.

## Example Usage

```go package main

import (

"encoding/base64"
"io/ioutil"

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

)

func filebase64OrPanic(path string) pulumi.StringPtrInput {
	if fileData, err := ioutil.ReadFile(path); err == nil {
		return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
	} else {
		panic(err.Error())
	}
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewCertificate(ctx, "exampleCertificate", &automation.CertificateArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Description:           pulumi.String("This is an example certificate"),
			Base64:                filebase64OrPanic("certificate.pfx"),
			Exportable:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetCertificate

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

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

func NewCertificate

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

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

func (*Certificate) ElementType

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

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

type CertificateArgs

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

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

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

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

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

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

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

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

type CertificateInput

type CertificateInput interface {
	pulumi.Input

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

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

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

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

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

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

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

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

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

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) AutomationAccountName added in v5.5.0

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 added in v5.5.0

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

func (CertificateOutput) Description added in v5.5.0

func (o CertificateOutput) Description() pulumi.StringPtrOutput

The description of this Automation Certificate.

func (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) Exportable added in v5.5.0

func (o CertificateOutput) Exportable() pulumi.BoolOutput

The is exportable flag of the certificate.

func (CertificateOutput) Name added in v5.5.0

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

func (CertificateOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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:
	Values pulumi.StringMapOutput `pulumi:"values"`
}

Manages an Automation Connection.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnection(ctx, "exampleConnection", &automation.ConnectionArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Type:                  pulumi.String("AzureServicePrincipal"),
			Values: pulumi.StringMap{
				"ApplicationId":         pulumi.String("00000000-0000-0000-0000-000000000000"),
				"TenantId":              pulumi.String(exampleClientConfig.TenantId),
				"SubscriptionId":        pulumi.String(exampleClientConfig.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:
	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 (

"encoding/base64"
"io/ioutil"

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

)

func filebase64OrPanic(path string) pulumi.StringPtrInput {
	if fileData, err := ioutil.ReadFile(path); err == nil {
		return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
	} else {
		panic(err.Error())
	}
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleCertificate, err := automation.NewCertificate(ctx, "exampleCertificate", &automation.CertificateArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Base64:                filebase64OrPanic("certificate.pfx"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionCertificate(ctx, "exampleConnectionCertificate", &automation.ConnectionCertificateArgs{
			ResourceGroupName:         exampleResourceGroup.Name,
			AutomationAccountName:     exampleAccount.Name,
			AutomationCertificateName: exampleCertificate.Name,
			SubscriptionId:            pulumi.String(exampleClientConfig.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 added in v5.5.0

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 added in v5.5.0

func (o ConnectionCertificateOutput) AutomationCertificateName() pulumi.StringOutput

The name of the automation certificate.

func (ConnectionCertificateOutput) Description added in v5.5.0

A description for this Connection.

func (ConnectionCertificateOutput) ElementType

func (ConnectionCertificateOutput) Name added in v5.5.0

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

func (ConnectionCertificateOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionClassicCertificate(ctx, "exampleConnectionClassicCertificate", &automation.ConnectionClassicCertificateArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			CertificateAssetName:  pulumi.String("cert1"),
			SubscriptionName:      pulumi.String("subs1"),
			SubscriptionId:        pulumi.String(exampleClientConfig.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 added in v5.5.0

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 added in v5.5.0

func (o ConnectionClassicCertificateOutput) CertificateAssetName() pulumi.StringOutput

The name of the certificate asset.

func (ConnectionClassicCertificateOutput) Description added in v5.5.0

A description for this Connection.

func (ConnectionClassicCertificateOutput) ElementType

func (ConnectionClassicCertificateOutput) Name added in v5.5.0

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

func (ConnectionClassicCertificateOutput) ResourceGroupName added in v5.5.0

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

func (ConnectionClassicCertificateOutput) SubscriptionId added in v5.5.0

The id of subscription.

func (ConnectionClassicCertificateOutput) SubscriptionName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

func (o ConnectionOutput) Description() pulumi.StringPtrOutput

A description for this Connection.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) Name added in v5.5.0

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

func (ConnectionOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

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:

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 (

"io/ioutil"

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

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := ioutil.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewConnectionServicePrincipal(ctx, "exampleConnectionServicePrincipal", &automation.ConnectionServicePrincipalArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			ApplicationId:         pulumi.String("00000000-0000-0000-0000-000000000000"),
			TenantId:              pulumi.String(exampleClientConfig.TenantId),
			SubscriptionId:        pulumi.String(exampleClientConfig.SubscriptionId),
			CertificateThumbprint: readFileOrPanic("automation_certificate_test.thumb"),
		})
		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 added in v5.5.0

The (Client) ID of the Service Principal.

func (ConnectionServicePrincipalOutput) AutomationAccountName added in v5.5.0

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 added in v5.5.0

func (o ConnectionServicePrincipalOutput) CertificateThumbprint() pulumi.StringOutput

The thumbprint of the Service Principal Certificate.

func (ConnectionServicePrincipalOutput) Description added in v5.5.0

A description for this Connection.

func (ConnectionServicePrincipalOutput) ElementType

func (ConnectionServicePrincipalOutput) Name added in v5.5.0

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

func (ConnectionServicePrincipalOutput) ResourceGroupName added in v5.5.0

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

func (ConnectionServicePrincipalOutput) SubscriptionId added in v5.5.0

The subscription GUID.

func (ConnectionServicePrincipalOutput) TenantId added in v5.5.0

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:
	Values pulumi.StringMapInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type ConnectionType added in v5.18.0

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.

## 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 added in v5.18.0

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 added in v5.18.0

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 added in v5.18.0

func (*ConnectionType) ElementType() reflect.Type

func (*ConnectionType) ToConnectionTypeOutput added in v5.18.0

func (i *ConnectionType) ToConnectionTypeOutput() ConnectionTypeOutput

func (*ConnectionType) ToConnectionTypeOutputWithContext added in v5.18.0

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

type ConnectionTypeArgs added in v5.18.0

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 added in v5.18.0

func (ConnectionTypeArgs) ElementType() reflect.Type

type ConnectionTypeArray added in v5.18.0

type ConnectionTypeArray []ConnectionTypeInput

func (ConnectionTypeArray) ElementType added in v5.18.0

func (ConnectionTypeArray) ElementType() reflect.Type

func (ConnectionTypeArray) ToConnectionTypeArrayOutput added in v5.18.0

func (i ConnectionTypeArray) ToConnectionTypeArrayOutput() ConnectionTypeArrayOutput

func (ConnectionTypeArray) ToConnectionTypeArrayOutputWithContext added in v5.18.0

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

type ConnectionTypeArrayInput added in v5.18.0

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 added in v5.18.0

type ConnectionTypeArrayOutput struct{ *pulumi.OutputState }

func (ConnectionTypeArrayOutput) ElementType added in v5.18.0

func (ConnectionTypeArrayOutput) ElementType() reflect.Type

func (ConnectionTypeArrayOutput) Index added in v5.18.0

func (ConnectionTypeArrayOutput) ToConnectionTypeArrayOutput added in v5.18.0

func (o ConnectionTypeArrayOutput) ToConnectionTypeArrayOutput() ConnectionTypeArrayOutput

func (ConnectionTypeArrayOutput) ToConnectionTypeArrayOutputWithContext added in v5.18.0

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

type ConnectionTypeField added in v5.18.0

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 added in v5.18.0

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 added in v5.18.0

func (ConnectionTypeFieldArgs) ElementType() reflect.Type

func (ConnectionTypeFieldArgs) ToConnectionTypeFieldOutput added in v5.18.0

func (i ConnectionTypeFieldArgs) ToConnectionTypeFieldOutput() ConnectionTypeFieldOutput

func (ConnectionTypeFieldArgs) ToConnectionTypeFieldOutputWithContext added in v5.18.0

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

type ConnectionTypeFieldArray added in v5.18.0

type ConnectionTypeFieldArray []ConnectionTypeFieldInput

func (ConnectionTypeFieldArray) ElementType added in v5.18.0

func (ConnectionTypeFieldArray) ElementType() reflect.Type

func (ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutput added in v5.18.0

func (i ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutput() ConnectionTypeFieldArrayOutput

func (ConnectionTypeFieldArray) ToConnectionTypeFieldArrayOutputWithContext added in v5.18.0

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

type ConnectionTypeFieldArrayInput added in v5.18.0

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 added in v5.18.0

type ConnectionTypeFieldArrayOutput struct{ *pulumi.OutputState }

func (ConnectionTypeFieldArrayOutput) ElementType added in v5.18.0

func (ConnectionTypeFieldArrayOutput) Index added in v5.18.0

func (ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutput added in v5.18.0

func (o ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutput() ConnectionTypeFieldArrayOutput

func (ConnectionTypeFieldArrayOutput) ToConnectionTypeFieldArrayOutputWithContext added in v5.18.0

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

type ConnectionTypeFieldInput added in v5.18.0

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 added in v5.18.0

type ConnectionTypeFieldOutput struct{ *pulumi.OutputState }

func (ConnectionTypeFieldOutput) ElementType added in v5.18.0

func (ConnectionTypeFieldOutput) ElementType() reflect.Type

func (ConnectionTypeFieldOutput) IsEncrypted added in v5.18.0

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

func (ConnectionTypeFieldOutput) IsOptional added in v5.18.0

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

func (ConnectionTypeFieldOutput) Name added in v5.18.0

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

func (ConnectionTypeFieldOutput) ToConnectionTypeFieldOutput added in v5.18.0

func (o ConnectionTypeFieldOutput) ToConnectionTypeFieldOutput() ConnectionTypeFieldOutput

func (ConnectionTypeFieldOutput) ToConnectionTypeFieldOutputWithContext added in v5.18.0

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

func (ConnectionTypeFieldOutput) Type added in v5.18.0

The type of the connection field definition.

type ConnectionTypeInput added in v5.18.0

type ConnectionTypeInput interface {
	pulumi.Input

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

type ConnectionTypeMap added in v5.18.0

type ConnectionTypeMap map[string]ConnectionTypeInput

func (ConnectionTypeMap) ElementType added in v5.18.0

func (ConnectionTypeMap) ElementType() reflect.Type

func (ConnectionTypeMap) ToConnectionTypeMapOutput added in v5.18.0

func (i ConnectionTypeMap) ToConnectionTypeMapOutput() ConnectionTypeMapOutput

func (ConnectionTypeMap) ToConnectionTypeMapOutputWithContext added in v5.18.0

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

type ConnectionTypeMapInput added in v5.18.0

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 added in v5.18.0

type ConnectionTypeMapOutput struct{ *pulumi.OutputState }

func (ConnectionTypeMapOutput) ElementType added in v5.18.0

func (ConnectionTypeMapOutput) ElementType() reflect.Type

func (ConnectionTypeMapOutput) MapIndex added in v5.18.0

func (ConnectionTypeMapOutput) ToConnectionTypeMapOutput added in v5.18.0

func (o ConnectionTypeMapOutput) ToConnectionTypeMapOutput() ConnectionTypeMapOutput

func (ConnectionTypeMapOutput) ToConnectionTypeMapOutputWithContext added in v5.18.0

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

type ConnectionTypeOutput added in v5.18.0

type ConnectionTypeOutput struct{ *pulumi.OutputState }

func (ConnectionTypeOutput) AutomationAccountName added in v5.18.0

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 added in v5.18.0

func (ConnectionTypeOutput) ElementType() reflect.Type

func (ConnectionTypeOutput) Fields added in v5.18.0

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

func (ConnectionTypeOutput) IsGlobal added in v5.18.0

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

func (ConnectionTypeOutput) Name added in v5.18.0

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

func (ConnectionTypeOutput) ResourceGroupName added in v5.18.0

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 added in v5.18.0

func (o ConnectionTypeOutput) ToConnectionTypeOutput() ConnectionTypeOutput

func (ConnectionTypeOutput) ToConnectionTypeOutputWithContext added in v5.18.0

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

type ConnectionTypeState added in v5.18.0

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 added in v5.18.0

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

)

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

```

## Import

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

```sh

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

```

func GetCredential

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

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

func NewCredential

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

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

func (*Credential) ElementType

func (*Credential) ElementType() reflect.Type

func (*Credential) ToCredentialOutput

func (i *Credential) ToCredentialOutput() CredentialOutput

func (*Credential) ToCredentialOutputWithContext

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

type CredentialArgs

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

The set of arguments for constructing a Credential resource.

func (CredentialArgs) ElementType

func (CredentialArgs) ElementType() reflect.Type

type CredentialArray

type CredentialArray []CredentialInput

func (CredentialArray) ElementType

func (CredentialArray) ElementType() reflect.Type

func (CredentialArray) ToCredentialArrayOutput

func (i CredentialArray) ToCredentialArrayOutput() CredentialArrayOutput

func (CredentialArray) ToCredentialArrayOutputWithContext

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

type CredentialArrayInput

type CredentialArrayInput interface {
	pulumi.Input

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

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

CredentialArray{ CredentialArgs{...} }

type CredentialArrayOutput

type CredentialArrayOutput struct{ *pulumi.OutputState }

func (CredentialArrayOutput) ElementType

func (CredentialArrayOutput) ElementType() reflect.Type

func (CredentialArrayOutput) Index

func (CredentialArrayOutput) ToCredentialArrayOutput

func (o CredentialArrayOutput) ToCredentialArrayOutput() CredentialArrayOutput

func (CredentialArrayOutput) ToCredentialArrayOutputWithContext

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

type CredentialInput

type CredentialInput interface {
	pulumi.Input

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

type CredentialMap

type CredentialMap map[string]CredentialInput

func (CredentialMap) ElementType

func (CredentialMap) ElementType() reflect.Type

func (CredentialMap) ToCredentialMapOutput

func (i CredentialMap) ToCredentialMapOutput() CredentialMapOutput

func (CredentialMap) ToCredentialMapOutputWithContext

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

type CredentialMapInput

type CredentialMapInput interface {
	pulumi.Input

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

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

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

type CredentialMapOutput

type CredentialMapOutput struct{ *pulumi.OutputState }

func (CredentialMapOutput) ElementType

func (CredentialMapOutput) ElementType() reflect.Type

func (CredentialMapOutput) MapIndex

func (CredentialMapOutput) ToCredentialMapOutput

func (o CredentialMapOutput) ToCredentialMapOutput() CredentialMapOutput

func (CredentialMapOutput) ToCredentialMapOutputWithContext

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

type CredentialOutput

type CredentialOutput struct{ *pulumi.OutputState }

func (CredentialOutput) AutomationAccountName added in v5.5.0

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 added in v5.5.0

func (o CredentialOutput) Description() pulumi.StringPtrOutput

The description associated with this Automation Credential.

func (CredentialOutput) ElementType

func (CredentialOutput) ElementType() reflect.Type

func (CredentialOutput) Name added in v5.5.0

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

func (CredentialOutput) Password added in v5.5.0

func (o CredentialOutput) Password() pulumi.StringOutput

The password associated with this Automation Credential.

func (CredentialOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDateTimeVariable(ctx, "exampleDateTimeVariable", &automation.DateTimeVariableArgs{
			ResourceGroupName:     exampleResourceGroup.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 added in v5.5.0

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 added in v5.5.0

The description of the Automation Variable.

func (DateTimeVariableOutput) ElementType

func (DateTimeVariableOutput) ElementType() reflect.Type

func (DateTimeVariableOutput) Encrypted added in v5.5.0

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

func (DateTimeVariableOutput) Name added in v5.5.0

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

func (DateTimeVariableOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscConfiguration(ctx, "exampleDscConfiguration", &automation.DscConfigurationArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Location:              exampleResourceGroup.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.
	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 added in v5.5.0

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 added in v5.5.0

func (o DscConfigurationOutput) ContentEmbedded() pulumi.StringOutput

The PowerShell DSC Configuration script.

func (DscConfigurationOutput) Description added in v5.5.0

Description to go with DSC Configuration.

func (DscConfigurationOutput) ElementType

func (DscConfigurationOutput) ElementType() reflect.Type

func (DscConfigurationOutput) Location added in v5.5.0

Must be the same location as the Automation Account.

func (DscConfigurationOutput) LogVerbose added in v5.5.0

Verbose log option.

func (DscConfigurationOutput) Name added in v5.5.0

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

func (DscConfigurationOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

func (DscConfigurationOutput) Tags added in v5.5.0

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

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleDscConfiguration, err := automation.NewDscConfiguration(ctx, "exampleDscConfiguration", &automation.DscConfigurationArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			Location:              exampleResourceGroup.Location,
			ContentEmbedded:       pulumi.String("configuration test {}"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscNodeConfiguration(ctx, "exampleDscNodeConfiguration", &automation.DscNodeConfigurationArgs{
			ResourceGroupName:     exampleResourceGroup.Name,
			AutomationAccountName: exampleAccount.Name,
			ContentEmbedded: pulumi.String(fmt.Sprintf(`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 added in v5.5.0

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 added in v5.5.0

func (o DscNodeConfigurationOutput) ConfigurationName() pulumi.StringOutput

func (DscNodeConfigurationOutput) ContentEmbedded added in v5.5.0

func (o DscNodeConfigurationOutput) ContentEmbedded() pulumi.StringOutput

The PowerShell DSC Node Configuration (mof content).

func (DscNodeConfigurationOutput) ElementType

func (DscNodeConfigurationOutput) ElementType() reflect.Type

func (DscNodeConfigurationOutput) Name added in v5.5.0

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

func (DscNodeConfigurationOutput) ResourceGroupName added in v5.5.0

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 added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (GetAccountIdentityArgs) ElementType() reflect.Type

func (GetAccountIdentityArgs) ToGetAccountIdentityOutput added in v5.21.0

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext added in v5.21.0

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

type GetAccountIdentityArray added in v5.21.0

type GetAccountIdentityArray []GetAccountIdentityInput

func (GetAccountIdentityArray) ElementType added in v5.21.0

func (GetAccountIdentityArray) ElementType() reflect.Type

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutput added in v5.21.0

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext added in v5.21.0

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

type GetAccountIdentityArrayInput added in v5.21.0

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 added in v5.21.0

type GetAccountIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityArrayOutput) ElementType added in v5.21.0

func (GetAccountIdentityArrayOutput) Index added in v5.21.0

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput added in v5.21.0

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext added in v5.21.0

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

type GetAccountIdentityInput added in v5.21.0

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 added in v5.21.0

type GetAccountIdentityOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityOutput) ElementType added in v5.21.0

func (GetAccountIdentityOutput) ElementType() reflect.Type

func (GetAccountIdentityOutput) IdentityIds added in v5.21.0

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

func (GetAccountIdentityOutput) PrincipalId added in v5.21.0

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

func (GetAccountIdentityOutput) TenantId added in v5.21.0

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

func (GetAccountIdentityOutput) ToGetAccountIdentityOutput added in v5.21.0

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext added in v5.21.0

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

func (GetAccountIdentityOutput) Type added in v5.21.0

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

type GetAccountPrivateEndpointConnection added in v5.16.0

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 added in v5.16.0

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 added in v5.16.0

func (GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutput added in v5.16.0

func (i GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutput() GetAccountPrivateEndpointConnectionOutput

func (GetAccountPrivateEndpointConnectionArgs) ToGetAccountPrivateEndpointConnectionOutputWithContext added in v5.16.0

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

type GetAccountPrivateEndpointConnectionArray added in v5.16.0

type GetAccountPrivateEndpointConnectionArray []GetAccountPrivateEndpointConnectionInput

func (GetAccountPrivateEndpointConnectionArray) ElementType added in v5.16.0

func (GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutput added in v5.16.0

func (i GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutput() GetAccountPrivateEndpointConnectionArrayOutput

func (GetAccountPrivateEndpointConnectionArray) ToGetAccountPrivateEndpointConnectionArrayOutputWithContext added in v5.16.0

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

type GetAccountPrivateEndpointConnectionArrayInput added in v5.16.0

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 added in v5.16.0

type GetAccountPrivateEndpointConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetAccountPrivateEndpointConnectionArrayOutput) ElementType added in v5.16.0

func (GetAccountPrivateEndpointConnectionArrayOutput) Index added in v5.16.0

func (GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutput added in v5.16.0

func (o GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutput() GetAccountPrivateEndpointConnectionArrayOutput

func (GetAccountPrivateEndpointConnectionArrayOutput) ToGetAccountPrivateEndpointConnectionArrayOutputWithContext added in v5.16.0

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

type GetAccountPrivateEndpointConnectionInput added in v5.16.0

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 added in v5.16.0

type GetAccountPrivateEndpointConnectionOutput struct{ *pulumi.OutputState }

func (GetAccountPrivateEndpointConnectionOutput) ElementType added in v5.16.0

func (GetAccountPrivateEndpointConnectionOutput) Id added in v5.16.0

The ID of the Automation Account

func (GetAccountPrivateEndpointConnectionOutput) Name added in v5.16.0

The name of the Automation Account.

func (GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutput added in v5.16.0

func (o GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutput() GetAccountPrivateEndpointConnectionOutput

func (GetAccountPrivateEndpointConnectionOutput) ToGetAccountPrivateEndpointConnectionOutputWithContext added in v5.16.0

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

type HybridRunbookWorker added in v5.18.0

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"`
	// The ID of the HybridWorker. 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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewHybridRunbookWorker(ctx, "example", &automation.HybridRunbookWorkerArgs{
			ResourceGroupName:     pulumi.Any(azurerm_resource_group.Test.Name),
			AutomationAccountName: pulumi.Any(azurerm_automation_account.Test.Name),
			WorkerGroupName:       pulumi.Any(azurerm_automation_hybrid_runbook_worker_group.Test.Name),
			VmResourceId:          pulumi.Any(azurerm_linux_virtual_machine.Test.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 added in v5.18.0

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 added in v5.18.0

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 added in v5.18.0

func (*HybridRunbookWorker) ElementType() reflect.Type

func (*HybridRunbookWorker) ToHybridRunbookWorkerOutput added in v5.18.0

func (i *HybridRunbookWorker) ToHybridRunbookWorkerOutput() HybridRunbookWorkerOutput

func (*HybridRunbookWorker) ToHybridRunbookWorkerOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerArgs added in v5.18.0

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
	// The ID of the HybridWorker. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringInput
}

The set of arguments for constructing a HybridRunbookWorker resource.

func (HybridRunbookWorkerArgs) ElementType added in v5.18.0

func (HybridRunbookWorkerArgs) ElementType() reflect.Type

type HybridRunbookWorkerArray added in v5.18.0

type HybridRunbookWorkerArray []HybridRunbookWorkerInput

func (HybridRunbookWorkerArray) ElementType added in v5.18.0

func (HybridRunbookWorkerArray) ElementType() reflect.Type

func (HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutput added in v5.18.0

func (i HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutput() HybridRunbookWorkerArrayOutput

func (HybridRunbookWorkerArray) ToHybridRunbookWorkerArrayOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerArrayInput added in v5.18.0

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 added in v5.18.0

type HybridRunbookWorkerArrayOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerArrayOutput) ElementType added in v5.18.0

func (HybridRunbookWorkerArrayOutput) Index added in v5.18.0

func (HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutput added in v5.18.0

func (o HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutput() HybridRunbookWorkerArrayOutput

func (HybridRunbookWorkerArrayOutput) ToHybridRunbookWorkerArrayOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroup added in v5.18.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
			AutomationAccountName: pulumi.String("example"),
			ResourceGroupName:     pulumi.String("example"),
		})
		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 added in v5.18.0

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 added in v5.18.0

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 added in v5.18.0

func (*HybridRunbookWorkerGroup) ElementType() reflect.Type

func (*HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutput added in v5.18.0

func (i *HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutput() HybridRunbookWorkerGroupOutput

func (*HybridRunbookWorkerGroup) ToHybridRunbookWorkerGroupOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroupArgs added in v5.18.0

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.
	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 added in v5.18.0

type HybridRunbookWorkerGroupArray added in v5.18.0

type HybridRunbookWorkerGroupArray []HybridRunbookWorkerGroupInput

func (HybridRunbookWorkerGroupArray) ElementType added in v5.18.0

func (HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutput added in v5.18.0

func (i HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutput() HybridRunbookWorkerGroupArrayOutput

func (HybridRunbookWorkerGroupArray) ToHybridRunbookWorkerGroupArrayOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroupArrayInput added in v5.18.0

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 added in v5.18.0

type HybridRunbookWorkerGroupArrayOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerGroupArrayOutput) ElementType added in v5.18.0

func (HybridRunbookWorkerGroupArrayOutput) Index added in v5.18.0

func (HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutput added in v5.18.0

func (o HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutput() HybridRunbookWorkerGroupArrayOutput

func (HybridRunbookWorkerGroupArrayOutput) ToHybridRunbookWorkerGroupArrayOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroupInput added in v5.18.0

type HybridRunbookWorkerGroupInput interface {
	pulumi.Input

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

type HybridRunbookWorkerGroupMap added in v5.18.0

type HybridRunbookWorkerGroupMap map[string]HybridRunbookWorkerGroupInput

func (HybridRunbookWorkerGroupMap) ElementType added in v5.18.0

func (HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutput added in v5.18.0

func (i HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutput() HybridRunbookWorkerGroupMapOutput

func (HybridRunbookWorkerGroupMap) ToHybridRunbookWorkerGroupMapOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroupMapInput added in v5.18.0

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 added in v5.18.0

type HybridRunbookWorkerGroupMapOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerGroupMapOutput) ElementType added in v5.18.0

func (HybridRunbookWorkerGroupMapOutput) MapIndex added in v5.18.0

func (HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutput added in v5.18.0

func (o HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutput() HybridRunbookWorkerGroupMapOutput

func (HybridRunbookWorkerGroupMapOutput) ToHybridRunbookWorkerGroupMapOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroupOutput added in v5.18.0

type HybridRunbookWorkerGroupOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerGroupOutput) AutomationAccountName added in v5.18.0

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 added in v5.18.0

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

func (HybridRunbookWorkerGroupOutput) ElementType added in v5.18.0

func (HybridRunbookWorkerGroupOutput) Name added in v5.18.0

The name which should be used for this Automation Account Runbook Worker Group.

func (HybridRunbookWorkerGroupOutput) ResourceGroupName added in v5.18.0

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 added in v5.18.0

func (o HybridRunbookWorkerGroupOutput) ToHybridRunbookWorkerGroupOutput() HybridRunbookWorkerGroupOutput

func (HybridRunbookWorkerGroupOutput) ToHybridRunbookWorkerGroupOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerGroupState added in v5.18.0

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.
	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 added in v5.18.0

type HybridRunbookWorkerInput added in v5.18.0

type HybridRunbookWorkerInput interface {
	pulumi.Input

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

type HybridRunbookWorkerMap added in v5.18.0

type HybridRunbookWorkerMap map[string]HybridRunbookWorkerInput

func (HybridRunbookWorkerMap) ElementType added in v5.18.0

func (HybridRunbookWorkerMap) ElementType() reflect.Type

func (HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutput added in v5.18.0

func (i HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutput() HybridRunbookWorkerMapOutput

func (HybridRunbookWorkerMap) ToHybridRunbookWorkerMapOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerMapInput added in v5.18.0

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 added in v5.18.0

type HybridRunbookWorkerMapOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerMapOutput) ElementType added in v5.18.0

func (HybridRunbookWorkerMapOutput) MapIndex added in v5.18.0

func (HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutput added in v5.18.0

func (o HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutput() HybridRunbookWorkerMapOutput

func (HybridRunbookWorkerMapOutput) ToHybridRunbookWorkerMapOutputWithContext added in v5.18.0

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

type HybridRunbookWorkerOutput added in v5.18.0

type HybridRunbookWorkerOutput struct{ *pulumi.OutputState }

func (HybridRunbookWorkerOutput) AutomationAccountName added in v5.18.0

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 added in v5.18.0

func (HybridRunbookWorkerOutput) ElementType() reflect.Type

func (HybridRunbookWorkerOutput) Ip added in v5.18.0

The IP address of assigned machine.

func (HybridRunbookWorkerOutput) LastSeenDateTime added in v5.18.0

func (o HybridRunbookWorkerOutput) LastSeenDateTime() pulumi.StringOutput

Last Heartbeat from the Worker.

func (HybridRunbookWorkerOutput) RegistrationDateTime added in v5.18.0

func (o HybridRunbookWorkerOutput) RegistrationDateTime() pulumi.StringOutput

The registration time of the worker machine.

func (HybridRunbookWorkerOutput) ResourceGroupName added in v5.18.0

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 added in v5.18.0

func (o HybridRunbookWorkerOutput) ToHybridRunbookWorkerOutput() HybridRunbookWorkerOutput

func (HybridRunbookWorkerOutput) ToHybridRunbookWorkerOutputWithContext added in v5.18.0

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

func (HybridRunbookWorkerOutput) VmResourceId added in v5.18.0

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

func (HybridRunbookWorkerOutput) WorkerGroupName added in v5.18.0

func (o HybridRunbookWorkerOutput) WorkerGroupName() pulumi.StringOutput

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

func (HybridRunbookWorkerOutput) WorkerId added in v5.18.0

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

func (HybridRunbookWorkerOutput) WorkerName added in v5.18.0

The name of HybridWorker.

func (HybridRunbookWorkerOutput) WorkerType added in v5.18.0

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

type HybridRunbookWorkerState added in v5.18.0

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
	// The ID of the HybridWorker. 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 added in v5.18.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewIntVariable(ctx, "exampleIntVariable", &automation.IntVariableArgs{
			ResourceGroupName:     exampleResourceGroup.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 added in v5.5.0

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 added in v5.5.0

func (o IntVariableOutput) Description() pulumi.StringPtrOutput

The description of the Automation Variable.

func (IntVariableOutput) ElementType

func (IntVariableOutput) ElementType() reflect.Type

func (IntVariableOutput) Encrypted added in v5.5.0

func (o IntVariableOutput) Encrypted() pulumi.BoolPtrOutput

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

func (IntVariableOutput) Name added in v5.5.0

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

func (IntVariableOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.
	RunOn pulumi.StringPtrOutput `pulumi:"runOn"`
	// The name of a Runbook to link to a Schedule. It needs to be in the same Automation Account as the Schedule and Job Schedule. Changing this forces a new resource to be created.
	RunbookName pulumi.StringOutput `pulumi:"runbookName"`
	// 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.

## Example Usage

This is an example of just the Job Schedule.

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetJobSchedule

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

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

func NewJobSchedule

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

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

func (*JobSchedule) ElementType

func (*JobSchedule) ElementType() reflect.Type

func (*JobSchedule) ToJobScheduleOutput

func (i *JobSchedule) ToJobScheduleOutput() JobScheduleOutput

func (*JobSchedule) ToJobScheduleOutputWithContext

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

type JobScheduleArgs

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

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 added in v5.5.0

func (o JobScheduleOutput) JobScheduleId() pulumi.StringOutput

The UUID identifying the Automation Job Schedule.

func (JobScheduleOutput) Parameters added in v5.5.0

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.

func (JobScheduleOutput) ResourceGroupName added in v5.5.0

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) RunOn added in v5.5.0

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

func (JobScheduleOutput) RunbookName added in v5.5.0

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 added in v5.5.0

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.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.
	RunOn pulumi.StringPtrInput
	// The name of a Runbook to link to a Schedule. It needs to be in the same Automation Account as the Schedule and Job Schedule. Changing this forces a new resource to be created.
	RunbookName pulumi.StringPtrInput
	// 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/v5/go/azure/automation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type LookupAccountResultOutput

type LookupAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func (LookupAccountResultOutput) ElementType

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) Endpoint

The Endpoint for this Automation Account.

func (LookupAccountResultOutput) HybridServiceUrl added in v5.21.0

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 added in v5.21.0

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

func (LookupAccountResultOutput) Name

func (LookupAccountResultOutput) PrimaryKey

The Primary Access Key for the Automation Account.

func (LookupAccountResultOutput) PrivateEndpointConnections added in v5.16.0

func (LookupAccountResultOutput) ResourceGroupName

func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAccountResultOutput) SecondaryKey

The Secondary Access Key for the Automation Account.

func (LookupAccountResultOutput) ToLookupAccountResultOutput

func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput

func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext

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

type LookupBoolVariableArgs

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

A collection of arguments for invoking getBoolVariable.

type LookupBoolVariableOutputArgs

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

A collection of arguments for invoking getBoolVariable.

func (LookupBoolVariableOutputArgs) ElementType

type LookupBoolVariableResult

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

A collection of values returned by getBoolVariable.

func LookupBoolVariable

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

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

## Example Usage

```go package main

import (

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

)

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

```

type LookupBoolVariableResultOutput

type LookupBoolVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBoolVariable.

func (LookupBoolVariableResultOutput) AutomationAccountName

func (o LookupBoolVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupBoolVariableResultOutput) Description

The description of the Automation Variable.

func (LookupBoolVariableResultOutput) ElementType

func (LookupBoolVariableResultOutput) Encrypted

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

func (LookupBoolVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupBoolVariableResultOutput) Name

func (LookupBoolVariableResultOutput) ResourceGroupName

func (o LookupBoolVariableResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutput

func (o LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutput() LookupBoolVariableResultOutput

func (LookupBoolVariableResultOutput) ToLookupBoolVariableResultOutputWithContext

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

func (LookupBoolVariableResultOutput) Value

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

type LookupDateTimeVariableArgs

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

A collection of arguments for invoking getDateTimeVariable.

type LookupDateTimeVariableOutputArgs

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

A collection of arguments for invoking getDateTimeVariable.

func (LookupDateTimeVariableOutputArgs) ElementType

type LookupDateTimeVariableResult

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

A collection of values returned by getDateTimeVariable.

func LookupDateTimeVariable

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

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

## Example Usage

```go package main

import (

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

)

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

```

type LookupDateTimeVariableResultOutput

type LookupDateTimeVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDateTimeVariable.

func (LookupDateTimeVariableResultOutput) AutomationAccountName

func (o LookupDateTimeVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupDateTimeVariableResultOutput) Description

The description of the Automation Variable.

func (LookupDateTimeVariableResultOutput) ElementType

func (LookupDateTimeVariableResultOutput) Encrypted

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

func (LookupDateTimeVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDateTimeVariableResultOutput) Name

func (LookupDateTimeVariableResultOutput) ResourceGroupName

func (LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutput

func (o LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutput() LookupDateTimeVariableResultOutput

func (LookupDateTimeVariableResultOutput) ToLookupDateTimeVariableResultOutputWithContext

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

func (LookupDateTimeVariableResultOutput) Value

The value of the Automation Variable in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6).

type LookupIntVariableArgs

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

A collection of arguments for invoking getIntVariable.

type LookupIntVariableOutputArgs

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

A collection of arguments for invoking getIntVariable.

func (LookupIntVariableOutputArgs) ElementType

type LookupIntVariableResult

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

A collection of values returned by getIntVariable.

func LookupIntVariable

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

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

## Example Usage

```go package main

import (

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

)

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

```

type LookupIntVariableResultOutput

type LookupIntVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIntVariable.

func (LookupIntVariableResultOutput) AutomationAccountName

func (o LookupIntVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupIntVariableResultOutput) Description

The description of the Automation Variable.

func (LookupIntVariableResultOutput) ElementType

func (LookupIntVariableResultOutput) Encrypted

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

func (LookupIntVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIntVariableResultOutput) Name

func (LookupIntVariableResultOutput) ResourceGroupName

func (o LookupIntVariableResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupIntVariableResultOutput) ToLookupIntVariableResultOutput

func (o LookupIntVariableResultOutput) ToLookupIntVariableResultOutput() LookupIntVariableResultOutput

func (LookupIntVariableResultOutput) ToLookupIntVariableResultOutputWithContext

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

func (LookupIntVariableResultOutput) Value

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

type LookupStringVariableArgs

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

A collection of arguments for invoking getStringVariable.

type LookupStringVariableOutputArgs

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

A collection of arguments for invoking getStringVariable.

func (LookupStringVariableOutputArgs) ElementType

type LookupStringVariableResult

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

A collection of values returned by getStringVariable.

func LookupStringVariable

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

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

## Example Usage

```go package main

import (

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

)

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

```

type LookupStringVariableResultOutput

type LookupStringVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStringVariable.

func (LookupStringVariableResultOutput) AutomationAccountName

func (o LookupStringVariableResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupStringVariableResultOutput) Description

The description of the Automation Variable.

func (LookupStringVariableResultOutput) ElementType

func (LookupStringVariableResultOutput) Encrypted

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

func (LookupStringVariableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupStringVariableResultOutput) Name

func (LookupStringVariableResultOutput) ResourceGroupName

func (LookupStringVariableResultOutput) ToLookupStringVariableResultOutput

func (o LookupStringVariableResultOutput) ToLookupStringVariableResultOutput() LookupStringVariableResultOutput

func (LookupStringVariableResultOutput) ToLookupStringVariableResultOutputWithContext

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

func (LookupStringVariableResultOutput) Value

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

type Module

type Module struct {
	pulumi.CustomResourceState

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

Manages a Automation Module.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewModule(ctx, "exampleModule", &automation.ModuleArgs{
			ResourceGroupName:     exampleResourceGroup.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
	// The published Module link.
	ModuleLink ModuleModuleLinkInput
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Module resource.

func (ModuleArgs) ElementType

func (ModuleArgs) ElementType() reflect.Type

type ModuleArray

type ModuleArray []ModuleInput

func (ModuleArray) ElementType

func (ModuleArray) ElementType() reflect.Type

func (ModuleArray) ToModuleArrayOutput

func (i ModuleArray) ToModuleArrayOutput() ModuleArrayOutput

func (ModuleArray) ToModuleArrayOutputWithContext

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

type ModuleArrayInput

type ModuleArrayInput interface {
	pulumi.Input

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

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

ModuleArray{ ModuleArgs{...} }

type ModuleArrayOutput

type ModuleArrayOutput struct{ *pulumi.OutputState }

func (ModuleArrayOutput) ElementType

func (ModuleArrayOutput) ElementType() reflect.Type

func (ModuleArrayOutput) Index

func (ModuleArrayOutput) ToModuleArrayOutput

func (o ModuleArrayOutput) ToModuleArrayOutput() ModuleArrayOutput

func (ModuleArrayOutput) ToModuleArrayOutputWithContext

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

type ModuleInput

type ModuleInput interface {
	pulumi.Input

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

type ModuleMap

type ModuleMap map[string]ModuleInput

func (ModuleMap) ElementType

func (ModuleMap) ElementType() reflect.Type

func (ModuleMap) ToModuleMapOutput

func (i ModuleMap) ToModuleMapOutput() ModuleMapOutput

func (ModuleMap) ToModuleMapOutputWithContext

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

type ModuleMapInput

type ModuleMapInput interface {
	pulumi.Input

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

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

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

type ModuleMapOutput

type ModuleMapOutput struct{ *pulumi.OutputState }

func (ModuleMapOutput) ElementType

func (ModuleMapOutput) ElementType() reflect.Type

func (ModuleMapOutput) MapIndex

func (ModuleMapOutput) ToModuleMapOutput

func (o ModuleMapOutput) ToModuleMapOutput() ModuleMapOutput

func (ModuleMapOutput) ToModuleMapOutputWithContext

func (o ModuleMapOutput) ToModuleMapOutputWithContext(ctx context.Context) ModuleMapOutput
type ModuleModuleLink struct {
	Hash *ModuleModuleLinkHash `pulumi:"hash"`
	// The URI of the module content (zip or nupkg).
	Uri string `pulumi:"uri"`
}

type ModuleModuleLinkArgs

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

func (ModuleModuleLinkArgs) ElementType

func (ModuleModuleLinkArgs) ElementType() reflect.Type

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutput

func (i ModuleModuleLinkArgs) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutputWithContext

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

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput

func (i ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutputWithContext

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

type ModuleModuleLinkHash

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

type ModuleModuleLinkHashArgs

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

func (ModuleModuleLinkHashArgs) ElementType

func (ModuleModuleLinkHashArgs) ElementType() reflect.Type

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutputWithContext

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

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutputWithContext

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

type ModuleModuleLinkHashInput

type ModuleModuleLinkHashInput interface {
	pulumi.Input

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

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

ModuleModuleLinkHashArgs{...}

type ModuleModuleLinkHashOutput

type ModuleModuleLinkHashOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashOutput) Algorithm

func (ModuleModuleLinkHashOutput) ElementType

func (ModuleModuleLinkHashOutput) ElementType() reflect.Type

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutputWithContext

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

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutputWithContext

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

func (ModuleModuleLinkHashOutput) Value

type ModuleModuleLinkHashPtrInput

type ModuleModuleLinkHashPtrInput interface {
	pulumi.Input

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

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

        ModuleModuleLinkHashArgs{...}

or:

        nil

type ModuleModuleLinkHashPtrOutput

type ModuleModuleLinkHashPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashPtrOutput) Algorithm

func (ModuleModuleLinkHashPtrOutput) Elem

func (ModuleModuleLinkHashPtrOutput) ElementType

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput

func (o ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutputWithContext

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

func (ModuleModuleLinkHashPtrOutput) Value

type ModuleModuleLinkInput

type ModuleModuleLinkInput interface {
	pulumi.Input

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

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

ModuleModuleLinkArgs{...}

type ModuleModuleLinkOutput

type ModuleModuleLinkOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkOutput) ElementType

func (ModuleModuleLinkOutput) ElementType() reflect.Type

func (ModuleModuleLinkOutput) Hash

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutput

func (o ModuleModuleLinkOutput) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutputWithContext

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

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput

func (o ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutputWithContext

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

func (ModuleModuleLinkOutput) Uri

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

type ModuleModuleLinkPtrInput

type ModuleModuleLinkPtrInput interface {
	pulumi.Input

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

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

        ModuleModuleLinkArgs{...}

or:

        nil

type ModuleModuleLinkPtrOutput

type ModuleModuleLinkPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkPtrOutput) Elem

func (ModuleModuleLinkPtrOutput) ElementType

func (ModuleModuleLinkPtrOutput) ElementType() reflect.Type

func (ModuleModuleLinkPtrOutput) Hash

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput

func (o ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutputWithContext

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

func (ModuleModuleLinkPtrOutput) Uri

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

type ModuleOutput

type ModuleOutput struct{ *pulumi.OutputState }

func (ModuleOutput) AutomationAccountName added in v5.5.0

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

The published Module link.

func (ModuleOutput) Name added in v5.5.0

func (o ModuleOutput) Name() pulumi.StringOutput

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

func (ModuleOutput) ResourceGroupName added in v5.5.0

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
	// The published Module link.
	ModuleLink ModuleModuleLinkPtrInput
	// Specifies the name of the Module. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ModuleState) ElementType

func (ModuleState) ElementType() reflect.Type

type RunBook

type RunBook struct {
	pulumi.CustomResourceState

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

Manages a Automation Runbook.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetRunBook

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

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

func NewRunBook

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

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

func (*RunBook) ElementType

func (*RunBook) ElementType() reflect.Type

func (*RunBook) ToRunBookOutput

func (i *RunBook) ToRunBookOutput() RunBookOutput

func (*RunBook) ToRunBookOutputWithContext

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

type RunBookArgs

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

The set of arguments for constructing a RunBook resource.

func (RunBookArgs) ElementType

func (RunBookArgs) ElementType() reflect.Type

type RunBookArray

type RunBookArray []RunBookInput

func (RunBookArray) ElementType

func (RunBookArray) ElementType() reflect.Type

func (RunBookArray) ToRunBookArrayOutput

func (i RunBookArray) ToRunBookArrayOutput() RunBookArrayOutput

func (RunBookArray) ToRunBookArrayOutputWithContext

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

type RunBookArrayInput

type RunBookArrayInput interface {
	pulumi.Input

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

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

RunBookArray{ RunBookArgs{...} }

type RunBookArrayOutput

type RunBookArrayOutput struct{ *pulumi.OutputState }

func (RunBookArrayOutput) ElementType

func (RunBookArrayOutput) ElementType() reflect.Type

func (RunBookArrayOutput) Index

func (RunBookArrayOutput) ToRunBookArrayOutput

func (o RunBookArrayOutput) ToRunBookArrayOutput() RunBookArrayOutput

func (RunBookArrayOutput) ToRunBookArrayOutputWithContext

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

type RunBookInput

type RunBookInput interface {
	pulumi.Input

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

type RunBookJobSchedule

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

type RunBookJobScheduleArgs

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

func (RunBookJobScheduleArgs) ElementType

func (RunBookJobScheduleArgs) ElementType() reflect.Type

func (RunBookJobScheduleArgs) ToRunBookJobScheduleOutput

func (i RunBookJobScheduleArgs) ToRunBookJobScheduleOutput() RunBookJobScheduleOutput

func (RunBookJobScheduleArgs) ToRunBookJobScheduleOutputWithContext

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

type RunBookJobScheduleArray

type RunBookJobScheduleArray []RunBookJobScheduleInput

func (RunBookJobScheduleArray) ElementType

func (RunBookJobScheduleArray) ElementType() reflect.Type

func (RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutput

func (i RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput

func (RunBookJobScheduleArray) ToRunBookJobScheduleArrayOutputWithContext

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

type RunBookJobScheduleArrayInput

type RunBookJobScheduleArrayInput interface {
	pulumi.Input

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

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

RunBookJobScheduleArray{ RunBookJobScheduleArgs{...} }

type RunBookJobScheduleArrayOutput

type RunBookJobScheduleArrayOutput struct{ *pulumi.OutputState }

func (RunBookJobScheduleArrayOutput) ElementType

func (RunBookJobScheduleArrayOutput) Index

func (RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutput

func (o RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutput() RunBookJobScheduleArrayOutput

func (RunBookJobScheduleArrayOutput) ToRunBookJobScheduleArrayOutputWithContext

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

type RunBookJobScheduleInput

type RunBookJobScheduleInput interface {
	pulumi.Input

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

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

RunBookJobScheduleArgs{...}

type RunBookJobScheduleOutput

type RunBookJobScheduleOutput struct{ *pulumi.OutputState }

func (RunBookJobScheduleOutput) ElementType

func (RunBookJobScheduleOutput) ElementType() reflect.Type

func (RunBookJobScheduleOutput) JobScheduleId

func (RunBookJobScheduleOutput) Parameters

func (RunBookJobScheduleOutput) RunOn

func (RunBookJobScheduleOutput) ScheduleName

func (o RunBookJobScheduleOutput) ScheduleName() pulumi.StringOutput

func (RunBookJobScheduleOutput) ToRunBookJobScheduleOutput

func (o RunBookJobScheduleOutput) ToRunBookJobScheduleOutput() RunBookJobScheduleOutput

func (RunBookJobScheduleOutput) ToRunBookJobScheduleOutputWithContext

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

type RunBookMap

type RunBookMap map[string]RunBookInput

func (RunBookMap) ElementType

func (RunBookMap) ElementType() reflect.Type

func (RunBookMap) ToRunBookMapOutput

func (i RunBookMap) ToRunBookMapOutput() RunBookMapOutput

func (RunBookMap) ToRunBookMapOutputWithContext

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

type RunBookMapInput

type RunBookMapInput interface {
	pulumi.Input

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

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

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

type RunBookMapOutput

type RunBookMapOutput struct{ *pulumi.OutputState }

func (RunBookMapOutput) ElementType

func (RunBookMapOutput) ElementType() reflect.Type

func (RunBookMapOutput) MapIndex

func (RunBookMapOutput) ToRunBookMapOutput

func (o RunBookMapOutput) ToRunBookMapOutput() RunBookMapOutput

func (RunBookMapOutput) ToRunBookMapOutputWithContext

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

type RunBookOutput

type RunBookOutput struct{ *pulumi.OutputState }

func (RunBookOutput) AutomationAccountName added in v5.5.0

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 added in v5.5.0

func (o RunBookOutput) Content() pulumi.StringOutput

The desired content of the runbook.

func (RunBookOutput) Description added in v5.5.0

func (o RunBookOutput) Description() pulumi.StringPtrOutput

A description for this credential.

func (RunBookOutput) ElementType

func (RunBookOutput) ElementType() reflect.Type

func (RunBookOutput) JobSchedules added in v5.5.0

func (RunBookOutput) Location added in v5.5.0

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) LogProgress added in v5.5.0

func (o RunBookOutput) LogProgress() pulumi.BoolOutput

Progress log option.

func (RunBookOutput) LogVerbose added in v5.5.0

func (o RunBookOutput) LogVerbose() pulumi.BoolOutput

Verbose log option.

func (RunBookOutput) Name added in v5.5.0

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

func (o RunBookOutput) PublishContentLink() RunBookPublishContentLinkPtrOutput

The published runbook content link.

func (RunBookOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

func (o RunBookOutput) RunbookType() pulumi.StringOutput

The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell` or `Script`.

func (RunBookOutput) Tags added in v5.5.0

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 {
	Hash *RunBookPublishContentLinkHash `pulumi:"hash"`
	// The URI of the runbook content.
	Uri     string  `pulumi:"uri"`
	Version *string `pulumi:"version"`
}

type RunBookPublishContentLinkArgs

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

func (RunBookPublishContentLinkArgs) ElementType

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutputWithContext

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

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutputWithContext

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

type RunBookPublishContentLinkHash

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

type RunBookPublishContentLinkHashArgs

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

func (RunBookPublishContentLinkHashArgs) ElementType

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutputWithContext

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

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

type RunBookPublishContentLinkHashInput

type RunBookPublishContentLinkHashInput interface {
	pulumi.Input

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

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

RunBookPublishContentLinkHashArgs{...}

type RunBookPublishContentLinkHashOutput

type RunBookPublishContentLinkHashOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashOutput) Algorithm

func (RunBookPublishContentLinkHashOutput) ElementType

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutputWithContext

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

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

func (RunBookPublishContentLinkHashOutput) Value

type RunBookPublishContentLinkHashPtrInput

type RunBookPublishContentLinkHashPtrInput interface {
	pulumi.Input

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

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

        RunBookPublishContentLinkHashArgs{...}

or:

        nil

type RunBookPublishContentLinkHashPtrOutput

type RunBookPublishContentLinkHashPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashPtrOutput) Algorithm

func (RunBookPublishContentLinkHashPtrOutput) Elem

func (RunBookPublishContentLinkHashPtrOutput) ElementType

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput

func (o RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

func (RunBookPublishContentLinkHashPtrOutput) Value

type RunBookPublishContentLinkInput

type RunBookPublishContentLinkInput interface {
	pulumi.Input

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

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

RunBookPublishContentLinkArgs{...}

type RunBookPublishContentLinkOutput

type RunBookPublishContentLinkOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkOutput) ElementType

func (RunBookPublishContentLinkOutput) Hash

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutputWithContext

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

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutputWithContext

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

func (RunBookPublishContentLinkOutput) Uri

The URI of the runbook content.

func (RunBookPublishContentLinkOutput) Version

type RunBookPublishContentLinkPtrInput

type RunBookPublishContentLinkPtrInput interface {
	pulumi.Input

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

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

        RunBookPublishContentLinkArgs{...}

or:

        nil

type RunBookPublishContentLinkPtrOutput

type RunBookPublishContentLinkPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkPtrOutput) Elem

func (RunBookPublishContentLinkPtrOutput) ElementType

func (RunBookPublishContentLinkPtrOutput) Hash

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput

func (o RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutputWithContext

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

func (RunBookPublishContentLinkPtrOutput) Uri

The URI of the runbook content.

func (RunBookPublishContentLinkPtrOutput) Version

type RunBookState

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

func (RunBookState) ElementType

func (RunBookState) ElementType() reflect.Type

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

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

Manages a Automation Schedule.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSchedule(ctx, "exampleSchedule", &automation.ScheduleArgs{
			ResourceGroupName:     exampleResourceGroup.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
	// List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrences ScheduleMonthlyOccurrenceArrayInput
	// Specifies the name of the Schedule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
	StartTime pulumi.StringPtrInput
	// The timezone of the start time. Defaults to `UTC`. For possible values see: <https://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`.
	WeekDays pulumi.StringArrayInput
}

The set of arguments for constructing a Schedule resource.

func (ScheduleArgs) ElementType

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleArray

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext

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

type ScheduleArrayInput

type ScheduleArrayInput interface {
	pulumi.Input

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

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

ScheduleArray{ ScheduleArgs{...} }

type ScheduleArrayOutput

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index

func (ScheduleArrayOutput) ToScheduleArrayOutput

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext

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

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

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

type ScheduleMap

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext

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

type ScheduleMapInput

type ScheduleMapInput interface {
	pulumi.Input

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

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

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

type ScheduleMapOutput

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex

func (ScheduleMapOutput) ToScheduleMapOutput

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext

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

type ScheduleMonthlyOccurrence

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

type ScheduleMonthlyOccurrenceArgs

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

func (ScheduleMonthlyOccurrenceArgs) ElementType

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutputWithContext

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

type ScheduleMonthlyOccurrenceArray

type ScheduleMonthlyOccurrenceArray []ScheduleMonthlyOccurrenceInput

func (ScheduleMonthlyOccurrenceArray) ElementType

func (ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutput

func (i ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput

func (ScheduleMonthlyOccurrenceArray) ToScheduleMonthlyOccurrenceArrayOutputWithContext

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

type ScheduleMonthlyOccurrenceArrayInput

type ScheduleMonthlyOccurrenceArrayInput interface {
	pulumi.Input

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

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

ScheduleMonthlyOccurrenceArray{ ScheduleMonthlyOccurrenceArgs{...} }

type ScheduleMonthlyOccurrenceArrayOutput

type ScheduleMonthlyOccurrenceArrayOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrenceArrayOutput) ElementType

func (ScheduleMonthlyOccurrenceArrayOutput) Index

func (ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutput

func (o ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutput() ScheduleMonthlyOccurrenceArrayOutput

func (ScheduleMonthlyOccurrenceArrayOutput) ToScheduleMonthlyOccurrenceArrayOutputWithContext

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

type ScheduleMonthlyOccurrenceInput

type ScheduleMonthlyOccurrenceInput interface {
	pulumi.Input

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

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

ScheduleMonthlyOccurrenceArgs{...}

type ScheduleMonthlyOccurrenceOutput

type ScheduleMonthlyOccurrenceOutput struct{ *pulumi.OutputState }

func (ScheduleMonthlyOccurrenceOutput) Day

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

func (ScheduleMonthlyOccurrenceOutput) ElementType

func (ScheduleMonthlyOccurrenceOutput) Occurrence

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

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutput

func (o ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceOutput) ToScheduleMonthlyOccurrenceOutputWithContext

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

type ScheduleOutput

type ScheduleOutput struct{ *pulumi.OutputState }

func (ScheduleOutput) AutomationAccountName added in v5.5.0

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 added in v5.5.0

func (o ScheduleOutput) Description() pulumi.StringPtrOutput

A description for this Schedule.

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) ExpiryTime added in v5.5.0

func (o ScheduleOutput) ExpiryTime() pulumi.StringOutput

The end time of the schedule.

func (ScheduleOutput) Frequency added in v5.5.0

func (o ScheduleOutput) Frequency() pulumi.StringOutput

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

func (ScheduleOutput) Interval added in v5.5.0

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 added in v5.5.0

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) MonthlyOccurrences added in v5.5.0

List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.

func (ScheduleOutput) Name added in v5.5.0

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

func (ScheduleOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 added in v5.5.0

func (o ScheduleOutput) Timezone() pulumi.StringPtrOutput

The timezone of the start time. Defaults to `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 added in v5.5.0

List of days of the week that the job should execute on. Only valid when frequency is `Week`.

type ScheduleState

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

func (ScheduleState) ElementType

func (ScheduleState) ElementType() reflect.Type

type SoftwareUpdateConfiguration added in v5.21.0

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.
	Duration pulumi.StringPtrOutput `pulumi:"duration"`
	// The Error code when failed.
	ErrorCode pulumi.StringOutput `pulumi:"errorCode"`
	// The Error message indicating why the operation failed.
	ErrorMeesage pulumi.StringOutput `pulumi:"errorMeesage"`
	// One or more `linux` blocks as defined below.
	Linuxes SoftwareUpdateConfigurationLinuxArrayOutput `pulumi:"linuxes"`
	// 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"`
	// The Operating system of target machines. Possible values are `Windows` and `Linux`.
	OperatingSystem pulumi.StringOutput `pulumi:"operatingSystem"`
	// One or more `postTask` blocks as defined below.
	PostTasks SoftwareUpdateConfigurationPostTaskArrayOutput `pulumi:"postTasks"`
	// One or more `preTask` blocks as defined below.
	PreTasks SoftwareUpdateConfigurationPreTaskArrayOutput `pulumi:"preTasks"`
	// One or more `schedule` blocks as defined below.
	Schedules SoftwareUpdateConfigurationScheduleArrayOutput `pulumi:"schedules"`
	// One or more `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"`
	// One or more `windows` blocks as defined below.
	Windows SoftwareUpdateConfigurationWindowsPtrOutput `pulumi:"windows"`
}

Manages an Automation Software Update Configuraion.

## 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 added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (*SoftwareUpdateConfiguration) ElementType() reflect.Type

func (*SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutput added in v5.21.0

func (i *SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutput() SoftwareUpdateConfigurationOutput

func (*SoftwareUpdateConfiguration) ToSoftwareUpdateConfigurationOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationArgs added in v5.21.0

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.
	Duration pulumi.StringPtrInput
	// One or more `linux` blocks as defined below.
	Linuxes SoftwareUpdateConfigurationLinuxArrayInput
	// 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
	// The Operating system of target machines. Possible values are `Windows` and `Linux`.
	OperatingSystem pulumi.StringInput
	// One or more `postTask` blocks as defined below.
	PostTasks SoftwareUpdateConfigurationPostTaskArrayInput
	// One or more `preTask` blocks as defined below.
	PreTasks SoftwareUpdateConfigurationPreTaskArrayInput
	// One or more `schedule` blocks as defined below.
	Schedules SoftwareUpdateConfigurationScheduleArrayInput
	// One or more `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrInput
	// Specifies a list of azure resource Ids of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayInput
	// One or more `windows` blocks as defined below.
	Windows SoftwareUpdateConfigurationWindowsPtrInput
}

The set of arguments for constructing a SoftwareUpdateConfiguration resource.

func (SoftwareUpdateConfigurationArgs) ElementType added in v5.21.0

type SoftwareUpdateConfigurationArray added in v5.21.0

type SoftwareUpdateConfigurationArray []SoftwareUpdateConfigurationInput

func (SoftwareUpdateConfigurationArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutput() SoftwareUpdateConfigurationArrayOutput

func (SoftwareUpdateConfigurationArray) ToSoftwareUpdateConfigurationArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationArrayInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutput added in v5.21.0

func (o SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutput() SoftwareUpdateConfigurationArrayOutput

func (SoftwareUpdateConfigurationArrayOutput) ToSoftwareUpdateConfigurationArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationInput added in v5.21.0

type SoftwareUpdateConfigurationInput interface {
	pulumi.Input

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

type SoftwareUpdateConfigurationLinux added in v5.21.0

type SoftwareUpdateConfigurationLinux struct {
	// Specifies the update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
	ClassificationIncluded *string `pulumi:"classificationIncluded"`
	// 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` and `Always`
	Reboot *string `pulumi:"reboot"`
}

type SoftwareUpdateConfigurationLinuxArgs added in v5.21.0

type SoftwareUpdateConfigurationLinuxArgs struct {
	// Specifies the update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
	ClassificationIncluded pulumi.StringPtrInput `pulumi:"classificationIncluded"`
	// 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` and `Always`
	Reboot pulumi.StringPtrInput `pulumi:"reboot"`
}

func (SoftwareUpdateConfigurationLinuxArgs) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutput added in v5.21.0

func (i SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutput() SoftwareUpdateConfigurationLinuxOutput

func (SoftwareUpdateConfigurationLinuxArgs) ToSoftwareUpdateConfigurationLinuxOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationLinuxArray added in v5.21.0

type SoftwareUpdateConfigurationLinuxArray []SoftwareUpdateConfigurationLinuxInput

func (SoftwareUpdateConfigurationLinuxArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationLinuxArray) ToSoftwareUpdateConfigurationLinuxArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationLinuxArray) ToSoftwareUpdateConfigurationLinuxArrayOutput() SoftwareUpdateConfigurationLinuxArrayOutput

func (SoftwareUpdateConfigurationLinuxArray) ToSoftwareUpdateConfigurationLinuxArrayOutputWithContext added in v5.21.0

func (i SoftwareUpdateConfigurationLinuxArray) ToSoftwareUpdateConfigurationLinuxArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxArrayOutput

type SoftwareUpdateConfigurationLinuxArrayInput added in v5.21.0

type SoftwareUpdateConfigurationLinuxArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationLinuxArrayOutput() SoftwareUpdateConfigurationLinuxArrayOutput
	ToSoftwareUpdateConfigurationLinuxArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationLinuxArrayOutput
}

SoftwareUpdateConfigurationLinuxArrayInput is an input type that accepts SoftwareUpdateConfigurationLinuxArray and SoftwareUpdateConfigurationLinuxArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationLinuxArrayInput` via:

SoftwareUpdateConfigurationLinuxArray{ SoftwareUpdateConfigurationLinuxArgs{...} }

type SoftwareUpdateConfigurationLinuxArrayOutput added in v5.21.0

type SoftwareUpdateConfigurationLinuxArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationLinuxArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationLinuxArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationLinuxArrayOutput) ToSoftwareUpdateConfigurationLinuxArrayOutput added in v5.21.0

func (o SoftwareUpdateConfigurationLinuxArrayOutput) ToSoftwareUpdateConfigurationLinuxArrayOutput() SoftwareUpdateConfigurationLinuxArrayOutput

func (SoftwareUpdateConfigurationLinuxArrayOutput) ToSoftwareUpdateConfigurationLinuxArrayOutputWithContext added in v5.21.0

func (o SoftwareUpdateConfigurationLinuxArrayOutput) ToSoftwareUpdateConfigurationLinuxArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationLinuxArrayOutput

type SoftwareUpdateConfigurationLinuxInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationLinuxOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationLinuxOutput) ClassificationIncluded added in v5.21.0

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

func (SoftwareUpdateConfigurationLinuxOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationLinuxOutput) ExcludedPackages added in v5.21.0

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

func (SoftwareUpdateConfigurationLinuxOutput) IncludedPackages added in v5.21.0

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

func (SoftwareUpdateConfigurationLinuxOutput) Reboot added in v5.21.0

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

func (SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutput added in v5.21.0

func (o SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutput() SoftwareUpdateConfigurationLinuxOutput

func (SoftwareUpdateConfigurationLinuxOutput) ToSoftwareUpdateConfigurationLinuxOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationMap added in v5.21.0

type SoftwareUpdateConfigurationMap map[string]SoftwareUpdateConfigurationInput

func (SoftwareUpdateConfigurationMap) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutput added in v5.21.0

func (i SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutput() SoftwareUpdateConfigurationMapOutput

func (SoftwareUpdateConfigurationMap) ToSoftwareUpdateConfigurationMapOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationMapInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationMapOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationMapOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationMapOutput) MapIndex added in v5.21.0

func (SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutput added in v5.21.0

func (o SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutput() SoftwareUpdateConfigurationMapOutput

func (SoftwareUpdateConfigurationMapOutput) ToSoftwareUpdateConfigurationMapOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationOutput added in v5.21.0

type SoftwareUpdateConfigurationOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationOutput) AutomationAccountId added in v5.21.0

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 added in v5.21.0

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

func (SoftwareUpdateConfigurationOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationOutput) ErrorCode added in v5.21.0

The Error code when failed.

func (SoftwareUpdateConfigurationOutput) ErrorMeesage added in v5.21.0

The Error message indicating why the operation failed.

func (SoftwareUpdateConfigurationOutput) Linuxes added in v5.21.0

One or more `linux` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Name added in v5.21.0

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

func (SoftwareUpdateConfigurationOutput) NonAzureComputerNames added in v5.21.0

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

func (SoftwareUpdateConfigurationOutput) OperatingSystem added in v5.21.0

The Operating system of target machines. Possible values are `Windows` and `Linux`.

func (SoftwareUpdateConfigurationOutput) PostTasks added in v5.21.0

One or more `postTask` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) PreTasks added in v5.21.0

One or more `preTask` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Schedules added in v5.21.0

One or more `schedule` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Target added in v5.21.0

One or more `target` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutput added in v5.21.0

func (o SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutput() SoftwareUpdateConfigurationOutput

func (SoftwareUpdateConfigurationOutput) ToSoftwareUpdateConfigurationOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationOutput) VirtualMachineIds added in v5.21.0

Specifies a list of azure resource Ids of azure virtual machines.

func (SoftwareUpdateConfigurationOutput) Windows added in v5.21.0

One or more `windows` blocks as defined below.

type SoftwareUpdateConfigurationPostTask added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutput added in v5.21.0

func (i SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutput() SoftwareUpdateConfigurationPostTaskOutput

func (SoftwareUpdateConfigurationPostTaskArgs) ToSoftwareUpdateConfigurationPostTaskOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationPostTaskArray added in v5.21.0

type SoftwareUpdateConfigurationPostTaskArray []SoftwareUpdateConfigurationPostTaskInput

func (SoftwareUpdateConfigurationPostTaskArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationPostTaskArray) ToSoftwareUpdateConfigurationPostTaskArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationPostTaskArray) ToSoftwareUpdateConfigurationPostTaskArrayOutput() SoftwareUpdateConfigurationPostTaskArrayOutput

func (SoftwareUpdateConfigurationPostTaskArray) ToSoftwareUpdateConfigurationPostTaskArrayOutputWithContext added in v5.21.0

func (i SoftwareUpdateConfigurationPostTaskArray) ToSoftwareUpdateConfigurationPostTaskArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskArrayOutput

type SoftwareUpdateConfigurationPostTaskArrayInput added in v5.21.0

type SoftwareUpdateConfigurationPostTaskArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationPostTaskArrayOutput() SoftwareUpdateConfigurationPostTaskArrayOutput
	ToSoftwareUpdateConfigurationPostTaskArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationPostTaskArrayOutput
}

SoftwareUpdateConfigurationPostTaskArrayInput is an input type that accepts SoftwareUpdateConfigurationPostTaskArray and SoftwareUpdateConfigurationPostTaskArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationPostTaskArrayInput` via:

SoftwareUpdateConfigurationPostTaskArray{ SoftwareUpdateConfigurationPostTaskArgs{...} }

type SoftwareUpdateConfigurationPostTaskArrayOutput added in v5.21.0

type SoftwareUpdateConfigurationPostTaskArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPostTaskArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationPostTaskArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationPostTaskArrayOutput) ToSoftwareUpdateConfigurationPostTaskArrayOutput added in v5.21.0

func (o SoftwareUpdateConfigurationPostTaskArrayOutput) ToSoftwareUpdateConfigurationPostTaskArrayOutput() SoftwareUpdateConfigurationPostTaskArrayOutput

func (SoftwareUpdateConfigurationPostTaskArrayOutput) ToSoftwareUpdateConfigurationPostTaskArrayOutputWithContext added in v5.21.0

func (o SoftwareUpdateConfigurationPostTaskArrayOutput) ToSoftwareUpdateConfigurationPostTaskArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPostTaskArrayOutput

type SoftwareUpdateConfigurationPostTaskInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationPostTaskOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPostTaskOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationPostTaskOutput) Parameters added in v5.21.0

Specifies a map of parameters for the task.

func (SoftwareUpdateConfigurationPostTaskOutput) Source added in v5.21.0

The name of the runbook for the post task.

func (SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutput added in v5.21.0

func (o SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutput() SoftwareUpdateConfigurationPostTaskOutput

func (SoftwareUpdateConfigurationPostTaskOutput) ToSoftwareUpdateConfigurationPostTaskOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationPreTask added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutput added in v5.21.0

func (i SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutput() SoftwareUpdateConfigurationPreTaskOutput

func (SoftwareUpdateConfigurationPreTaskArgs) ToSoftwareUpdateConfigurationPreTaskOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationPreTaskArray added in v5.21.0

type SoftwareUpdateConfigurationPreTaskArray []SoftwareUpdateConfigurationPreTaskInput

func (SoftwareUpdateConfigurationPreTaskArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationPreTaskArray) ToSoftwareUpdateConfigurationPreTaskArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationPreTaskArray) ToSoftwareUpdateConfigurationPreTaskArrayOutput() SoftwareUpdateConfigurationPreTaskArrayOutput

func (SoftwareUpdateConfigurationPreTaskArray) ToSoftwareUpdateConfigurationPreTaskArrayOutputWithContext added in v5.21.0

func (i SoftwareUpdateConfigurationPreTaskArray) ToSoftwareUpdateConfigurationPreTaskArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskArrayOutput

type SoftwareUpdateConfigurationPreTaskArrayInput added in v5.21.0

type SoftwareUpdateConfigurationPreTaskArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationPreTaskArrayOutput() SoftwareUpdateConfigurationPreTaskArrayOutput
	ToSoftwareUpdateConfigurationPreTaskArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationPreTaskArrayOutput
}

SoftwareUpdateConfigurationPreTaskArrayInput is an input type that accepts SoftwareUpdateConfigurationPreTaskArray and SoftwareUpdateConfigurationPreTaskArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationPreTaskArrayInput` via:

SoftwareUpdateConfigurationPreTaskArray{ SoftwareUpdateConfigurationPreTaskArgs{...} }

type SoftwareUpdateConfigurationPreTaskArrayOutput added in v5.21.0

type SoftwareUpdateConfigurationPreTaskArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPreTaskArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationPreTaskArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationPreTaskArrayOutput) ToSoftwareUpdateConfigurationPreTaskArrayOutput added in v5.21.0

func (o SoftwareUpdateConfigurationPreTaskArrayOutput) ToSoftwareUpdateConfigurationPreTaskArrayOutput() SoftwareUpdateConfigurationPreTaskArrayOutput

func (SoftwareUpdateConfigurationPreTaskArrayOutput) ToSoftwareUpdateConfigurationPreTaskArrayOutputWithContext added in v5.21.0

func (o SoftwareUpdateConfigurationPreTaskArrayOutput) ToSoftwareUpdateConfigurationPreTaskArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationPreTaskArrayOutput

type SoftwareUpdateConfigurationPreTaskInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationPreTaskOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationPreTaskOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationPreTaskOutput) Parameters added in v5.21.0

Specifies a map of parameters for the task.

func (SoftwareUpdateConfigurationPreTaskOutput) Source added in v5.21.0

The name of the runbook for the pre task.

func (SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutput added in v5.21.0

func (o SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutput() SoftwareUpdateConfigurationPreTaskOutput

func (SoftwareUpdateConfigurationPreTaskOutput) ToSoftwareUpdateConfigurationPreTaskOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationSchedule added in v5.21.0

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`.
	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` and defaults to `1`.
	Interval *int `pulumi:"interval"`
	// Whether the schedule is enabled.
	IsEnabled        *bool   `pulumi:"isEnabled"`
	LastModifiedTime *string `pulumi:"lastModifiedTime"`
	// List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrences   []SoftwareUpdateConfigurationScheduleMonthlyOccurrence `pulumi:"monthlyOccurrences"`
	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"`
	TimeZone               *string  `pulumi:"timeZone"`
}

type SoftwareUpdateConfigurationScheduleArgs added in v5.21.0

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`.
	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.StringPtrInput `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.IntPtrInput `pulumi:"interval"`
	// Whether the schedule is enabled.
	IsEnabled        pulumi.BoolPtrInput   `pulumi:"isEnabled"`
	LastModifiedTime pulumi.StringPtrInput `pulumi:"lastModifiedTime"`
	// List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	MonthlyOccurrences   SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayInput `pulumi:"monthlyOccurrences"`
	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"`
	TimeZone               pulumi.StringPtrInput  `pulumi:"timeZone"`
}

func (SoftwareUpdateConfigurationScheduleArgs) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutput added in v5.21.0

func (i SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutput() SoftwareUpdateConfigurationScheduleOutput

func (SoftwareUpdateConfigurationScheduleArgs) ToSoftwareUpdateConfigurationScheduleOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationScheduleArray added in v5.21.0

type SoftwareUpdateConfigurationScheduleArray []SoftwareUpdateConfigurationScheduleInput

func (SoftwareUpdateConfigurationScheduleArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleArray) ToSoftwareUpdateConfigurationScheduleArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationScheduleArray) ToSoftwareUpdateConfigurationScheduleArrayOutput() SoftwareUpdateConfigurationScheduleArrayOutput

func (SoftwareUpdateConfigurationScheduleArray) ToSoftwareUpdateConfigurationScheduleArrayOutputWithContext added in v5.21.0

func (i SoftwareUpdateConfigurationScheduleArray) ToSoftwareUpdateConfigurationScheduleArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleArrayOutput

type SoftwareUpdateConfigurationScheduleArrayInput added in v5.21.0

type SoftwareUpdateConfigurationScheduleArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationScheduleArrayOutput() SoftwareUpdateConfigurationScheduleArrayOutput
	ToSoftwareUpdateConfigurationScheduleArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationScheduleArrayOutput
}

SoftwareUpdateConfigurationScheduleArrayInput is an input type that accepts SoftwareUpdateConfigurationScheduleArray and SoftwareUpdateConfigurationScheduleArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationScheduleArrayInput` via:

SoftwareUpdateConfigurationScheduleArray{ SoftwareUpdateConfigurationScheduleArgs{...} }

type SoftwareUpdateConfigurationScheduleArrayOutput added in v5.21.0

type SoftwareUpdateConfigurationScheduleArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationScheduleArrayOutput) ToSoftwareUpdateConfigurationScheduleArrayOutput added in v5.21.0

func (o SoftwareUpdateConfigurationScheduleArrayOutput) ToSoftwareUpdateConfigurationScheduleArrayOutput() SoftwareUpdateConfigurationScheduleArrayOutput

func (SoftwareUpdateConfigurationScheduleArrayOutput) ToSoftwareUpdateConfigurationScheduleArrayOutputWithContext added in v5.21.0

func (o SoftwareUpdateConfigurationScheduleArrayOutput) ToSoftwareUpdateConfigurationScheduleArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleArrayOutput

type SoftwareUpdateConfigurationScheduleInput added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray added in v5.21.0

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray []SoftwareUpdateConfigurationScheduleMonthlyOccurrenceInput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput() SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutputWithContext added in v5.21.0

func (i SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayInput added in v5.21.0

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayInput interface {
	pulumi.Input

	ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput() SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput
	ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutputWithContext(context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput
}

SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayInput is an input type that accepts SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray and SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput values. You can construct a concrete instance of `SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayInput` via:

SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArray{ SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs{...} }

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput added in v5.21.0

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutputWithContext added in v5.21.0

func (o SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutputWithContext(ctx context.Context) SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArrayOutput

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) Day added in v5.21.0

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

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) Occurrence added in v5.21.0

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

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput added in v5.21.0

func (SoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutput) ToSoftwareUpdateConfigurationScheduleMonthlyOccurrenceOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationScheduleOutput added in v5.21.0

type SoftwareUpdateConfigurationScheduleOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationScheduleOutput) AdvancedMonthDays added in v5.21.0

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 added in v5.21.0

List of days of the week that the job should execute on. Only valid when frequency is `Week`.

func (SoftwareUpdateConfigurationScheduleOutput) CreationTime added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) Description added in v5.21.0

A description for this Schedule.

func (SoftwareUpdateConfigurationScheduleOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) ExpiryTime added in v5.21.0

The end time of the schedule.

func (SoftwareUpdateConfigurationScheduleOutput) ExpiryTimeOffsetMinutes added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) Frequency added in v5.21.0

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

func (SoftwareUpdateConfigurationScheduleOutput) Interval added in v5.21.0

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

func (SoftwareUpdateConfigurationScheduleOutput) IsEnabled added in v5.21.0

Whether the schedule is enabled.

func (SoftwareUpdateConfigurationScheduleOutput) LastModifiedTime added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) MonthlyOccurrences added in v5.21.0

List of occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.

func (SoftwareUpdateConfigurationScheduleOutput) NextRun added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) NextRunOffsetMinutes added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) StartTime added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) TimeZone added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutput added in v5.21.0

func (o SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutput() SoftwareUpdateConfigurationScheduleOutput

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationState added in v5.21.0

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.
	Duration pulumi.StringPtrInput
	// The Error code when failed.
	ErrorCode pulumi.StringPtrInput
	// The Error message indicating why the operation failed.
	ErrorMeesage pulumi.StringPtrInput
	// One or more `linux` blocks as defined below.
	Linuxes SoftwareUpdateConfigurationLinuxArrayInput
	// 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
	// The Operating system of target machines. Possible values are `Windows` and `Linux`.
	OperatingSystem pulumi.StringPtrInput
	// One or more `postTask` blocks as defined below.
	PostTasks SoftwareUpdateConfigurationPostTaskArrayInput
	// One or more `preTask` blocks as defined below.
	PreTasks SoftwareUpdateConfigurationPreTaskArrayInput
	// One or more `schedule` blocks as defined below.
	Schedules SoftwareUpdateConfigurationScheduleArrayInput
	// One or more `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrInput
	// Specifies a list of azure resource Ids of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayInput
	// One or more `windows` blocks as defined below.
	Windows SoftwareUpdateConfigurationWindowsPtrInput
}

func (SoftwareUpdateConfigurationState) ElementType added in v5.21.0

type SoftwareUpdateConfigurationTarget added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutput() SoftwareUpdateConfigurationTargetOutput

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput

func (SoftwareUpdateConfigurationTargetArgs) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQuery added in v5.21.0

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.
	Tags []SoftwareUpdateConfigurationTargetAzureQueryTag `pulumi:"tags"`
}

type SoftwareUpdateConfigurationTargetAzureQueryArgs added in v5.21.0

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.
	Tags SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput `pulumi:"tags"`
}

func (SoftwareUpdateConfigurationTargetAzureQueryArgs) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutput() SoftwareUpdateConfigurationTargetAzureQueryOutput

func (SoftwareUpdateConfigurationTargetAzureQueryArgs) ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryArray added in v5.21.0

type SoftwareUpdateConfigurationTargetAzureQueryArray []SoftwareUpdateConfigurationTargetAzureQueryInput

func (SoftwareUpdateConfigurationTargetAzureQueryArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput() SoftwareUpdateConfigurationTargetAzureQueryArrayOutput

func (SoftwareUpdateConfigurationTargetAzureQueryArray) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryArrayInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetAzureQueryArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutput added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetAzureQueryOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) Locations added in v5.21.0

Specifies a list of locations to scope the query to.

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) Scopes added in v5.21.0

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

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) TagFilter added in v5.21.0

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

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) Tags added in v5.21.0

A mapping of tags used for query filter.

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutput added in v5.21.0

func (o SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutput() SoftwareUpdateConfigurationTargetAzureQueryOutput

func (SoftwareUpdateConfigurationTargetAzureQueryOutput) ToSoftwareUpdateConfigurationTargetAzureQueryOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryTag added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput() SoftwareUpdateConfigurationTargetAzureQueryTagOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArgs) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryTagArray added in v5.21.0

type SoftwareUpdateConfigurationTargetAzureQueryTagArray []SoftwareUpdateConfigurationTargetAzureQueryTagInput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput() SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput

func (SoftwareUpdateConfigurationTargetAzureQueryTagArray) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryTagArrayInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagArrayOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetAzureQueryTagInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetAzureQueryTagOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) Tag added in v5.21.0

Specifies the name of the tag to filter.

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutput added in v5.21.0

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) ToSoftwareUpdateConfigurationTargetAzureQueryTagOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationTargetAzureQueryTagOutput) Values added in v5.21.0

Specifies a list of values for this tag key.

type SoftwareUpdateConfigurationTargetInput added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

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 added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput() SoftwareUpdateConfigurationTargetNonAzureQueryOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArgs) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetNonAzureQueryArray added in v5.21.0

type SoftwareUpdateConfigurationTargetNonAzureQueryArray []SoftwareUpdateConfigurationTargetNonAzureQueryInput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArray) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput added in v5.21.0

func (i SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput() SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput

func (SoftwareUpdateConfigurationTargetNonAzureQueryArray) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetNonAzureQueryArrayInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) Index added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryArrayOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryArrayOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetNonAzureQueryInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetNonAzureQueryOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) FunctionAlias added in v5.21.0

Specifies the Log Analytics save search name.

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutput added in v5.21.0

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) ToSoftwareUpdateConfigurationTargetNonAzureQueryOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationTargetNonAzureQueryOutput) WorkspaceId added in v5.21.0

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

type SoftwareUpdateConfigurationTargetOutput added in v5.21.0

type SoftwareUpdateConfigurationTargetOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetOutput) AzureQueries added in v5.21.0

One or more `azureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetOutput) NonAzureQueries added in v5.21.0

One or more `nonAzureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutput added in v5.21.0

func (o SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutput() SoftwareUpdateConfigurationTargetOutput

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutput added in v5.21.0

func (o SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput

func (SoftwareUpdateConfigurationTargetOutput) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationTargetPtrInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationTargetPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationTargetPtrOutput) AzureQueries added in v5.21.0

One or more `azureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetPtrOutput) Elem added in v5.21.0

func (SoftwareUpdateConfigurationTargetPtrOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationTargetPtrOutput) NonAzureQueries added in v5.21.0

One or more `nonAzureQuery` blocks as defined above.

func (SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutput added in v5.21.0

func (o SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutput() SoftwareUpdateConfigurationTargetPtrOutput

func (SoftwareUpdateConfigurationTargetPtrOutput) ToSoftwareUpdateConfigurationTargetPtrOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationWindows added in v5.21.0

type SoftwareUpdateConfigurationWindows struct {
	// Specifies the update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	//
	// Deprecated: windows classification can be set as a list, use `classifications_included` instead.
	ClassificationIncluded *string `pulumi:"classificationIncluded"`
	// Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	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` and `Always`
	Reboot *string `pulumi:"reboot"`
}

type SoftwareUpdateConfigurationWindowsArgs added in v5.21.0

type SoftwareUpdateConfigurationWindowsArgs struct {
	// Specifies the update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	//
	// Deprecated: windows classification can be set as a list, use `classifications_included` instead.
	ClassificationIncluded pulumi.StringPtrInput `pulumi:"classificationIncluded"`
	// Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	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` and `Always`
	Reboot pulumi.StringPtrInput `pulumi:"reboot"`
}

func (SoftwareUpdateConfigurationWindowsArgs) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutput added in v5.21.0

func (i SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutput() SoftwareUpdateConfigurationWindowsOutput

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutput added in v5.21.0

func (i SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput

func (SoftwareUpdateConfigurationWindowsArgs) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationWindowsInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationWindowsOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationWindowsOutput) ClassificationIncluded deprecated added in v5.21.0

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

Deprecated: windows classification can be set as a list, use `classifications_included` instead.

func (SoftwareUpdateConfigurationWindowsOutput) ClassificationsIncludeds added in v5.21.0

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

func (SoftwareUpdateConfigurationWindowsOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationWindowsOutput) ExcludedKnowledgeBaseNumbers added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsOutput) ExcludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers excluded.

func (SoftwareUpdateConfigurationWindowsOutput) IncludedKnowledgeBaseNumbers added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsOutput) IncludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers included.

func (SoftwareUpdateConfigurationWindowsOutput) Reboot added in v5.21.0

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

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutput added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutput() SoftwareUpdateConfigurationWindowsOutput

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsOutputWithContext added in v5.21.0

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

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput

func (SoftwareUpdateConfigurationWindowsOutput) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext added in v5.21.0

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

type SoftwareUpdateConfigurationWindowsPtrInput added in v5.21.0

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 added in v5.21.0

type SoftwareUpdateConfigurationWindowsPtrOutput struct{ *pulumi.OutputState }

func (SoftwareUpdateConfigurationWindowsPtrOutput) ClassificationIncluded deprecated added in v5.21.0

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

Deprecated: windows classification can be set as a list, use `classifications_included` instead.

func (SoftwareUpdateConfigurationWindowsPtrOutput) ClassificationsIncludeds added in v5.21.0

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

func (SoftwareUpdateConfigurationWindowsPtrOutput) Elem added in v5.21.0

func (SoftwareUpdateConfigurationWindowsPtrOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationWindowsPtrOutput) ExcludedKnowledgeBaseNumbers added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsPtrOutput) ExcludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers excluded.

func (SoftwareUpdateConfigurationWindowsPtrOutput) IncludedKnowledgeBaseNumbers added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsPtrOutput) IncludedKnowledgeBaseNumbers() pulumi.StringArrayOutput

Specifies a list of knowledge base numbers included.

func (SoftwareUpdateConfigurationWindowsPtrOutput) Reboot added in v5.21.0

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

func (SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput added in v5.21.0

func (o SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutput() SoftwareUpdateConfigurationWindowsPtrOutput

func (SoftwareUpdateConfigurationWindowsPtrOutput) ToSoftwareUpdateConfigurationWindowsPtrOutputWithContext added in v5.21.0

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

type SourceControl added in v5.19.0

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

## 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 added in v5.19.0

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 added in v5.19.0

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 added in v5.19.0

func (*SourceControl) ElementType() reflect.Type

func (*SourceControl) ToSourceControlOutput added in v5.19.0

func (i *SourceControl) ToSourceControlOutput() SourceControlOutput

func (*SourceControl) ToSourceControlOutputWithContext added in v5.19.0

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

type SourceControlArgs added in v5.19.0

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.
	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 added in v5.19.0

func (SourceControlArgs) ElementType() reflect.Type

type SourceControlArray added in v5.19.0

type SourceControlArray []SourceControlInput

func (SourceControlArray) ElementType added in v5.19.0

func (SourceControlArray) ElementType() reflect.Type

func (SourceControlArray) ToSourceControlArrayOutput added in v5.19.0

func (i SourceControlArray) ToSourceControlArrayOutput() SourceControlArrayOutput

func (SourceControlArray) ToSourceControlArrayOutputWithContext added in v5.19.0

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

type SourceControlArrayInput added in v5.19.0

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 added in v5.19.0

type SourceControlArrayOutput struct{ *pulumi.OutputState }

func (SourceControlArrayOutput) ElementType added in v5.19.0

func (SourceControlArrayOutput) ElementType() reflect.Type

func (SourceControlArrayOutput) Index added in v5.19.0

func (SourceControlArrayOutput) ToSourceControlArrayOutput added in v5.19.0

func (o SourceControlArrayOutput) ToSourceControlArrayOutput() SourceControlArrayOutput

func (SourceControlArrayOutput) ToSourceControlArrayOutputWithContext added in v5.19.0

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

type SourceControlInput added in v5.19.0

type SourceControlInput interface {
	pulumi.Input

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

type SourceControlMap added in v5.19.0

type SourceControlMap map[string]SourceControlInput

func (SourceControlMap) ElementType added in v5.19.0

func (SourceControlMap) ElementType() reflect.Type

func (SourceControlMap) ToSourceControlMapOutput added in v5.19.0

func (i SourceControlMap) ToSourceControlMapOutput() SourceControlMapOutput

func (SourceControlMap) ToSourceControlMapOutputWithContext added in v5.19.0

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

type SourceControlMapInput added in v5.19.0

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 added in v5.19.0

type SourceControlMapOutput struct{ *pulumi.OutputState }

func (SourceControlMapOutput) ElementType added in v5.19.0

func (SourceControlMapOutput) ElementType() reflect.Type

func (SourceControlMapOutput) MapIndex added in v5.19.0

func (SourceControlMapOutput) ToSourceControlMapOutput added in v5.19.0

func (o SourceControlMapOutput) ToSourceControlMapOutput() SourceControlMapOutput

func (SourceControlMapOutput) ToSourceControlMapOutputWithContext added in v5.19.0

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

type SourceControlOutput added in v5.19.0

type SourceControlOutput struct{ *pulumi.OutputState }

func (SourceControlOutput) AutomaticSync added in v5.19.0

func (o SourceControlOutput) AutomaticSync() pulumi.BoolPtrOutput

Whether auto async the Source Control.

func (SourceControlOutput) AutomationAccountId added in v5.19.0

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 added in v5.19.0

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

func (SourceControlOutput) Description added in v5.19.0

func (o SourceControlOutput) Description() pulumi.StringPtrOutput

A short description of the Source Control.

func (SourceControlOutput) ElementType added in v5.19.0

func (SourceControlOutput) ElementType() reflect.Type

func (SourceControlOutput) FolderPath added in v5.19.0

func (o SourceControlOutput) FolderPath() pulumi.StringOutput

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

func (SourceControlOutput) Name added in v5.19.0

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 added in v5.19.0

func (o SourceControlOutput) PublishRunbookEnabled() pulumi.BoolPtrOutput

Whether auto publish the Source Control.

func (SourceControlOutput) RepositoryUrl added in v5.19.0

func (o SourceControlOutput) RepositoryUrl() pulumi.StringOutput

The Repository URL of the source control.

func (SourceControlOutput) Security added in v5.19.0

A `security` block as defined below.

func (SourceControlOutput) SourceControlType added in v5.19.0

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 added in v5.19.0

func (o SourceControlOutput) ToSourceControlOutput() SourceControlOutput

func (SourceControlOutput) ToSourceControlOutputWithContext added in v5.19.0

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

type SourceControlSecurity added in v5.19.0

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 added in v5.19.0

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 added in v5.19.0

func (SourceControlSecurityArgs) ElementType() reflect.Type

func (SourceControlSecurityArgs) ToSourceControlSecurityOutput added in v5.19.0

func (i SourceControlSecurityArgs) ToSourceControlSecurityOutput() SourceControlSecurityOutput

func (SourceControlSecurityArgs) ToSourceControlSecurityOutputWithContext added in v5.19.0

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

func (SourceControlSecurityArgs) ToSourceControlSecurityPtrOutput added in v5.19.0

func (i SourceControlSecurityArgs) ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput

func (SourceControlSecurityArgs) ToSourceControlSecurityPtrOutputWithContext added in v5.19.0

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

type SourceControlSecurityInput added in v5.19.0

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 added in v5.19.0

type SourceControlSecurityOutput struct{ *pulumi.OutputState }

func (SourceControlSecurityOutput) ElementType added in v5.19.0

func (SourceControlSecurityOutput) RefreshToken added in v5.19.0

The refresh token of specified rpeo.

func (SourceControlSecurityOutput) ToSourceControlSecurityOutput added in v5.19.0

func (o SourceControlSecurityOutput) ToSourceControlSecurityOutput() SourceControlSecurityOutput

func (SourceControlSecurityOutput) ToSourceControlSecurityOutputWithContext added in v5.19.0

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

func (SourceControlSecurityOutput) ToSourceControlSecurityPtrOutput added in v5.19.0

func (o SourceControlSecurityOutput) ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput

func (SourceControlSecurityOutput) ToSourceControlSecurityPtrOutputWithContext added in v5.19.0

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

func (SourceControlSecurityOutput) Token added in v5.19.0

The access token of specified repo.

func (SourceControlSecurityOutput) TokenType added in v5.19.0

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

type SourceControlSecurityPtrInput added in v5.19.0

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

func SourceControlSecurityPtr added in v5.19.0

func SourceControlSecurityPtr(v *SourceControlSecurityArgs) SourceControlSecurityPtrInput

type SourceControlSecurityPtrOutput added in v5.19.0

type SourceControlSecurityPtrOutput struct{ *pulumi.OutputState }

func (SourceControlSecurityPtrOutput) Elem added in v5.19.0

func (SourceControlSecurityPtrOutput) ElementType added in v5.19.0

func (SourceControlSecurityPtrOutput) RefreshToken added in v5.19.0

The refresh token of specified rpeo.

func (SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutput added in v5.19.0

func (o SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutput() SourceControlSecurityPtrOutput

func (SourceControlSecurityPtrOutput) ToSourceControlSecurityPtrOutputWithContext added in v5.19.0

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

func (SourceControlSecurityPtrOutput) Token added in v5.19.0

The access token of specified repo.

func (SourceControlSecurityPtrOutput) TokenType added in v5.19.0

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

type SourceControlState added in v5.19.0

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.
	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 added in v5.19.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "exampleAccount", &automation.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewStringVariable(ctx, "exampleStringVariable", &automation.StringVariableArgs{
			ResourceGroupName:     exampleResourceGroup.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 added in v5.5.0

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 added in v5.5.0

The description of the Automation Variable.

func (StringVariableOutput) ElementType

func (StringVariableOutput) ElementType() reflect.Type

func (StringVariableOutput) Encrypted added in v5.5.0

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

func (StringVariableOutput) Name added in v5.5.0

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

func (StringVariableOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

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 Watcher added in v5.19.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewWatcher(ctx, "example", &automation.WatcherArgs{
			AutomationAccountId:         pulumi.Any(azurerm_automation_account.Test.Id),
			Location:                    pulumi.String("West Europe"),
			ScriptName:                  pulumi.Any(azurerm_automation_runbook.Test.Name),
			ScriptRunOn:                 pulumi.Any(azurerm_automation_hybrid_runbook_worker_group.Test.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 added in v5.19.0

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 added in v5.19.0

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 added in v5.19.0

func (*Watcher) ElementType() reflect.Type

func (*Watcher) ToWatcherOutput added in v5.19.0

func (i *Watcher) ToWatcherOutput() WatcherOutput

func (*Watcher) ToWatcherOutputWithContext added in v5.19.0

func (i *Watcher) ToWatcherOutputWithContext(ctx context.Context) WatcherOutput

type WatcherArgs added in v5.19.0

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 added in v5.19.0

func (WatcherArgs) ElementType() reflect.Type

type WatcherArray added in v5.19.0

type WatcherArray []WatcherInput

func (WatcherArray) ElementType added in v5.19.0

func (WatcherArray) ElementType() reflect.Type

func (WatcherArray) ToWatcherArrayOutput added in v5.19.0

func (i WatcherArray) ToWatcherArrayOutput() WatcherArrayOutput

func (WatcherArray) ToWatcherArrayOutputWithContext added in v5.19.0

func (i WatcherArray) ToWatcherArrayOutputWithContext(ctx context.Context) WatcherArrayOutput

type WatcherArrayInput added in v5.19.0

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 added in v5.19.0

type WatcherArrayOutput struct{ *pulumi.OutputState }

func (WatcherArrayOutput) ElementType added in v5.19.0

func (WatcherArrayOutput) ElementType() reflect.Type

func (WatcherArrayOutput) Index added in v5.19.0

func (WatcherArrayOutput) ToWatcherArrayOutput added in v5.19.0

func (o WatcherArrayOutput) ToWatcherArrayOutput() WatcherArrayOutput

func (WatcherArrayOutput) ToWatcherArrayOutputWithContext added in v5.19.0

func (o WatcherArrayOutput) ToWatcherArrayOutputWithContext(ctx context.Context) WatcherArrayOutput

type WatcherInput added in v5.19.0

type WatcherInput interface {
	pulumi.Input

	ToWatcherOutput() WatcherOutput
	ToWatcherOutputWithContext(ctx context.Context) WatcherOutput
}

type WatcherMap added in v5.19.0

type WatcherMap map[string]WatcherInput

func (WatcherMap) ElementType added in v5.19.0

func (WatcherMap) ElementType() reflect.Type

func (WatcherMap) ToWatcherMapOutput added in v5.19.0

func (i WatcherMap) ToWatcherMapOutput() WatcherMapOutput

func (WatcherMap) ToWatcherMapOutputWithContext added in v5.19.0

func (i WatcherMap) ToWatcherMapOutputWithContext(ctx context.Context) WatcherMapOutput

type WatcherMapInput added in v5.19.0

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 added in v5.19.0

type WatcherMapOutput struct{ *pulumi.OutputState }

func (WatcherMapOutput) ElementType added in v5.19.0

func (WatcherMapOutput) ElementType() reflect.Type

func (WatcherMapOutput) MapIndex added in v5.19.0

func (WatcherMapOutput) ToWatcherMapOutput added in v5.19.0

func (o WatcherMapOutput) ToWatcherMapOutput() WatcherMapOutput

func (WatcherMapOutput) ToWatcherMapOutputWithContext added in v5.19.0

func (o WatcherMapOutput) ToWatcherMapOutputWithContext(ctx context.Context) WatcherMapOutput

type WatcherOutput added in v5.19.0

type WatcherOutput struct{ *pulumi.OutputState }

func (WatcherOutput) AutomationAccountId added in v5.19.0

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 added in v5.19.0

func (o WatcherOutput) Description() pulumi.StringPtrOutput

A description of this Automation Watcher.

func (WatcherOutput) ElementType added in v5.19.0

func (WatcherOutput) ElementType() reflect.Type

func (WatcherOutput) Etag added in v5.19.0

A string of etag assigned to this Automation Watcher.

func (WatcherOutput) ExecutionFrequencyInSeconds added in v5.19.0

func (o WatcherOutput) ExecutionFrequencyInSeconds() pulumi.IntOutput

Specify the frequency at which the watcher is invoked.

func (WatcherOutput) Location added in v5.19.0

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 added in v5.19.0

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

func (WatcherOutput) ScriptName added in v5.19.0

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 added in v5.19.0

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 added in v5.19.0

func (o WatcherOutput) ScriptRunOn() pulumi.StringOutput

Specify the name of the Hybrid work group the watcher will run on.

func (WatcherOutput) Status added in v5.19.0

func (o WatcherOutput) Status() pulumi.StringOutput

The current status of the Automation Watcher.

func (WatcherOutput) Tags added in v5.19.0

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

func (WatcherOutput) ToWatcherOutput added in v5.19.0

func (o WatcherOutput) ToWatcherOutput() WatcherOutput

func (WatcherOutput) ToWatcherOutputWithContext added in v5.19.0

func (o WatcherOutput) ToWatcherOutputWithContext(ctx context.Context) WatcherOutput

type WatcherState added in v5.19.0

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 added in v5.19.0

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.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages an Automation Runbook's Webhook.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetWebhook

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

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

func NewWebhook

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

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

func (*Webhook) ElementType

func (*Webhook) ElementType() reflect.Type

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

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

type WebhookArgs

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

The set of arguments for constructing a Webhook resource.

func (WebhookArgs) ElementType

func (WebhookArgs) ElementType() reflect.Type

type WebhookArray

type WebhookArray []WebhookInput

func (WebhookArray) ElementType

func (WebhookArray) ElementType() reflect.Type

func (WebhookArray) ToWebhookArrayOutput

func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArray) ToWebhookArrayOutputWithContext

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

type WebhookArrayInput

type WebhookArrayInput interface {
	pulumi.Input

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

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

WebhookArray{ WebhookArgs{...} }

type WebhookArrayOutput

type WebhookArrayOutput struct{ *pulumi.OutputState }

func (WebhookArrayOutput) ElementType

func (WebhookArrayOutput) ElementType() reflect.Type

func (WebhookArrayOutput) Index

func (WebhookArrayOutput) ToWebhookArrayOutput

func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArrayOutput) ToWebhookArrayOutputWithContext

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

type WebhookInput

type WebhookInput interface {
	pulumi.Input

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

type WebhookMap

type WebhookMap map[string]WebhookInput

func (WebhookMap) ElementType

func (WebhookMap) ElementType() reflect.Type

func (WebhookMap) ToWebhookMapOutput

func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMap) ToWebhookMapOutputWithContext

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

type WebhookMapInput

type WebhookMapInput interface {
	pulumi.Input

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

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

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

type WebhookMapOutput

type WebhookMapOutput struct{ *pulumi.OutputState }

func (WebhookMapOutput) ElementType

func (WebhookMapOutput) ElementType() reflect.Type

func (WebhookMapOutput) MapIndex

func (WebhookMapOutput) ToWebhookMapOutput

func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMapOutput) ToWebhookMapOutputWithContext

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

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

func (WebhookOutput) AutomationAccountName added in v5.5.0

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 added in v5.5.0

func (o WebhookOutput) Enabled() pulumi.BoolPtrOutput

Controls if Webhook is enabled. Defaults to `true`.

func (WebhookOutput) ExpiryTime added in v5.5.0

func (o WebhookOutput) ExpiryTime() pulumi.StringOutput

Timestamp when the webhook expires. Changing this forces a new resource to be created.

func (WebhookOutput) Name added in v5.5.0

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

func (WebhookOutput) Parameters added in v5.5.0

func (o WebhookOutput) Parameters() pulumi.StringMapOutput

Map of input parameters passed to runbook.

func (WebhookOutput) ResourceGroupName added in v5.5.0

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 added in v5.5.0

func (o WebhookOutput) RunOnWorkerGroup() pulumi.StringPtrOutput

Name of the hybrid worker group the Webhook job will run on.

func (WebhookOutput) RunbookName added in v5.5.0

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 added in v5.5.0

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.

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