automation

package
v5.74.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// The Primary Access Key for the DSC Endpoint associated with this Automation Account.
	DscPrimaryAccessKey pulumi.StringOutput `pulumi:"dscPrimaryAccessKey"`
	// The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
	DscSecondaryAccessKey pulumi.StringOutput `pulumi:"dscSecondaryAccessKey"`
	// The DSC Server Endpoint associated with this Automation Account.
	DscServerEndpoint pulumi.StringOutput          `pulumi:"dscServerEndpoint"`
	Encryptions       AccountEncryptionArrayOutput `pulumi:"encryptions"`
	// The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
	HybridServiceUrl pulumi.StringOutput `pulumi:"hybridServiceUrl"`
	// An `identity` block as defined below.
	Identity AccountIdentityPtrOutput `pulumi:"identity"`
	// Whether requests using non-AAD authentication are blocked. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationEnabled"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name                       pulumi.StringOutput                         `pulumi:"name"`
	PrivateEndpointConnections AccountPrivateEndpointConnectionArrayOutput `pulumi:"privateEndpointConnections"`
	// Whether public network access is allowed for the automation account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU of the account. Possible values are `Basic` and `Free`.
	SkuName pulumi.StringOutput    `pulumi:"skuName"`
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("development"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetAccount

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

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

func NewAccount

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

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

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

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

type AccountArgs

type AccountArgs struct {
	Encryptions AccountEncryptionArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Whether requests using non-AAD authentication are blocked. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Whether public network access is allowed for the automation account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU of the account. Possible values are `Basic` and `Free`.
	SkuName pulumi.StringInput
	Tags    pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

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

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

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

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

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

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

type AccountEncryption added in v5.16.0

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

type AccountEncryptionArgs added in v5.16.0

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

func (AccountEncryptionArgs) ElementType 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 deprecated added in v5.16.0

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

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

type AccountIdentityArgs

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

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

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

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

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

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

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

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

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) IdentityIds

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

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

func (AccountIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

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

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

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

func (AccountIdentityOutput) Type

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

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

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

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

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) IdentityIds

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

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

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

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

func (AccountIdentityPtrOutput) Type

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

type AccountInput

type AccountInput interface {
	pulumi.Input

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

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

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

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

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

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

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

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

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

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) DscPrimaryAccessKey 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

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. Defaults to `true`.

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 automation account. 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. Possible values are `Basic` and `Free`.

func (AccountOutput) Tags added in v5.5.0

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
	Encryptions       AccountEncryptionArrayInput
	// The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
	HybridServiceUrl pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// Whether requests using non-AAD authentication are blocked. Defaults to `true`.
	LocalAuthenticationEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Automation Account. Changing this forces a new resource to be created.
	Name                       pulumi.StringPtrInput
	PrivateEndpointConnections AccountPrivateEndpointConnectionArrayInput
	// Whether public network access is allowed for the automation account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU of the account. Possible values are `Basic` and `Free`.
	SkuName pulumi.StringPtrInput
	Tags    pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type BoolVariable

type BoolVariable struct {
	pulumi.CustomResourceState

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

Manages a boolean variable in Azure Automation

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewBoolVariable(ctx, "example", &automation.BoolVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetBoolVariable

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

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

func NewBoolVariable

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

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

func (*BoolVariable) ElementType

func (*BoolVariable) ElementType() reflect.Type

func (*BoolVariable) ToBoolVariableOutput

func (i *BoolVariable) ToBoolVariableOutput() BoolVariableOutput

func (*BoolVariable) ToBoolVariableOutputWithContext

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

type BoolVariableArgs

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

The set of arguments for constructing a BoolVariable resource.

func (BoolVariableArgs) ElementType

func (BoolVariableArgs) ElementType() reflect.Type

type BoolVariableArray

type BoolVariableArray []BoolVariableInput

func (BoolVariableArray) ElementType

func (BoolVariableArray) ElementType() reflect.Type

func (BoolVariableArray) ToBoolVariableArrayOutput

func (i BoolVariableArray) ToBoolVariableArrayOutput() BoolVariableArrayOutput

func (BoolVariableArray) ToBoolVariableArrayOutputWithContext

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

type BoolVariableArrayInput

type BoolVariableArrayInput interface {
	pulumi.Input

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

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

BoolVariableArray{ BoolVariableArgs{...} }

type BoolVariableArrayOutput

type BoolVariableArrayOutput struct{ *pulumi.OutputState }

func (BoolVariableArrayOutput) ElementType

func (BoolVariableArrayOutput) ElementType() reflect.Type

func (BoolVariableArrayOutput) Index

func (BoolVariableArrayOutput) ToBoolVariableArrayOutput

func (o BoolVariableArrayOutput) ToBoolVariableArrayOutput() BoolVariableArrayOutput

func (BoolVariableArrayOutput) ToBoolVariableArrayOutputWithContext

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

type BoolVariableInput

type BoolVariableInput interface {
	pulumi.Input

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

type BoolVariableMap

type BoolVariableMap map[string]BoolVariableInput

func (BoolVariableMap) ElementType

func (BoolVariableMap) ElementType() reflect.Type

func (BoolVariableMap) ToBoolVariableMapOutput

func (i BoolVariableMap) ToBoolVariableMapOutput() BoolVariableMapOutput

func (BoolVariableMap) ToBoolVariableMapOutputWithContext

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

type BoolVariableMapInput

type BoolVariableMapInput interface {
	pulumi.Input

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

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

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

type BoolVariableMapOutput

type BoolVariableMapOutput struct{ *pulumi.OutputState }

func (BoolVariableMapOutput) ElementType

func (BoolVariableMapOutput) ElementType() reflect.Type

func (BoolVariableMapOutput) MapIndex

func (BoolVariableMapOutput) ToBoolVariableMapOutput

func (o BoolVariableMapOutput) ToBoolVariableMapOutput() BoolVariableMapOutput

func (BoolVariableMapOutput) ToBoolVariableMapOutputWithContext

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

type BoolVariableOutput

type BoolVariableOutput struct{ *pulumi.OutputState }

func (BoolVariableOutput) AutomationAccountName 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 (

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

)

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

```

## Import

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

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

func GetCertificate

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

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

func NewCertificate

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

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

func (*Certificate) ElementType

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

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

type CertificateArgs

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

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

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

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

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

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

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

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

type CertificateInput

type CertificateInput interface {
	pulumi.Input

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

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

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

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

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

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

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

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

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

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

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

```

## Import

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

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

func GetConnection

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

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

func NewConnection

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

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

func (*Connection) ElementType

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

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

type ConnectionArgs

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

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

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

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

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

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

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

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

type ConnectionCertificate

type ConnectionCertificate struct {
	pulumi.CustomResourceState

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

Manages an Automation Connection with type `Azure`.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetConnectionCertificate

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

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

func NewConnectionCertificate

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

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

func (*ConnectionCertificate) ElementType

func (*ConnectionCertificate) ElementType() reflect.Type

func (*ConnectionCertificate) ToConnectionCertificateOutput

func (i *ConnectionCertificate) ToConnectionCertificateOutput() ConnectionCertificateOutput

func (*ConnectionCertificate) ToConnectionCertificateOutputWithContext

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

type ConnectionCertificateArgs

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

The set of arguments for constructing a ConnectionCertificate resource.

func (ConnectionCertificateArgs) ElementType

func (ConnectionCertificateArgs) ElementType() reflect.Type

type ConnectionCertificateArray

type ConnectionCertificateArray []ConnectionCertificateInput

func (ConnectionCertificateArray) ElementType

func (ConnectionCertificateArray) ElementType() reflect.Type

func (ConnectionCertificateArray) ToConnectionCertificateArrayOutput

func (i ConnectionCertificateArray) ToConnectionCertificateArrayOutput() ConnectionCertificateArrayOutput

func (ConnectionCertificateArray) ToConnectionCertificateArrayOutputWithContext

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

type ConnectionCertificateArrayInput

type ConnectionCertificateArrayInput interface {
	pulumi.Input

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

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

ConnectionCertificateArray{ ConnectionCertificateArgs{...} }

type ConnectionCertificateArrayOutput

type ConnectionCertificateArrayOutput struct{ *pulumi.OutputState }

func (ConnectionCertificateArrayOutput) ElementType

func (ConnectionCertificateArrayOutput) Index

func (ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutput

func (o ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutput() ConnectionCertificateArrayOutput

func (ConnectionCertificateArrayOutput) ToConnectionCertificateArrayOutputWithContext

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

type ConnectionCertificateInput

type ConnectionCertificateInput interface {
	pulumi.Input

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

type ConnectionCertificateMap

type ConnectionCertificateMap map[string]ConnectionCertificateInput

func (ConnectionCertificateMap) ElementType

func (ConnectionCertificateMap) ElementType() reflect.Type

func (ConnectionCertificateMap) ToConnectionCertificateMapOutput

func (i ConnectionCertificateMap) ToConnectionCertificateMapOutput() ConnectionCertificateMapOutput

func (ConnectionCertificateMap) ToConnectionCertificateMapOutputWithContext

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

type ConnectionCertificateMapInput

type ConnectionCertificateMapInput interface {
	pulumi.Input

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

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

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

type ConnectionCertificateMapOutput

type ConnectionCertificateMapOutput struct{ *pulumi.OutputState }

func (ConnectionCertificateMapOutput) ElementType

func (ConnectionCertificateMapOutput) MapIndex

func (ConnectionCertificateMapOutput) ToConnectionCertificateMapOutput

func (o ConnectionCertificateMapOutput) ToConnectionCertificateMapOutput() ConnectionCertificateMapOutput

func (ConnectionCertificateMapOutput) ToConnectionCertificateMapOutputWithContext

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

type ConnectionCertificateOutput

type ConnectionCertificateOutput struct{ *pulumi.OutputState }

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

```

## Import

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

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

func GetConnectionClassicCertificate

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

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

func NewConnectionClassicCertificate

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

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

func (*ConnectionClassicCertificate) ElementType

func (*ConnectionClassicCertificate) ElementType() reflect.Type

func (*ConnectionClassicCertificate) ToConnectionClassicCertificateOutput

func (i *ConnectionClassicCertificate) ToConnectionClassicCertificateOutput() ConnectionClassicCertificateOutput

func (*ConnectionClassicCertificate) ToConnectionClassicCertificateOutputWithContext

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

type ConnectionClassicCertificateArgs

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

The set of arguments for constructing a ConnectionClassicCertificate resource.

func (ConnectionClassicCertificateArgs) ElementType

type ConnectionClassicCertificateArray

type ConnectionClassicCertificateArray []ConnectionClassicCertificateInput

func (ConnectionClassicCertificateArray) ElementType

func (ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutput

func (i ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutput() ConnectionClassicCertificateArrayOutput

func (ConnectionClassicCertificateArray) ToConnectionClassicCertificateArrayOutputWithContext

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

type ConnectionClassicCertificateArrayInput

type ConnectionClassicCertificateArrayInput interface {
	pulumi.Input

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

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

ConnectionClassicCertificateArray{ ConnectionClassicCertificateArgs{...} }

type ConnectionClassicCertificateArrayOutput

type ConnectionClassicCertificateArrayOutput struct{ *pulumi.OutputState }

func (ConnectionClassicCertificateArrayOutput) ElementType

func (ConnectionClassicCertificateArrayOutput) Index

func (ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutput

func (o ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutput() ConnectionClassicCertificateArrayOutput

func (ConnectionClassicCertificateArrayOutput) ToConnectionClassicCertificateArrayOutputWithContext

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

type ConnectionClassicCertificateInput

type ConnectionClassicCertificateInput interface {
	pulumi.Input

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

type ConnectionClassicCertificateMap

type ConnectionClassicCertificateMap map[string]ConnectionClassicCertificateInput

func (ConnectionClassicCertificateMap) ElementType

func (ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutput

func (i ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutput() ConnectionClassicCertificateMapOutput

func (ConnectionClassicCertificateMap) ToConnectionClassicCertificateMapOutputWithContext

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

type ConnectionClassicCertificateMapInput

type ConnectionClassicCertificateMapInput interface {
	pulumi.Input

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

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

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

type ConnectionClassicCertificateMapOutput

type ConnectionClassicCertificateMapOutput struct{ *pulumi.OutputState }

func (ConnectionClassicCertificateMapOutput) ElementType

func (ConnectionClassicCertificateMapOutput) MapIndex

func (ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutput

func (o ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutput() ConnectionClassicCertificateMapOutput

func (ConnectionClassicCertificateMapOutput) ToConnectionClassicCertificateMapOutputWithContext

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

type ConnectionClassicCertificateOutput

type ConnectionClassicCertificateOutput struct{ *pulumi.OutputState }

func (ConnectionClassicCertificateOutput) AutomationAccountName 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 (

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

)

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

```

## Import

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

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

func GetConnectionServicePrincipal

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

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

func NewConnectionServicePrincipal

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

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

func (*ConnectionServicePrincipal) ElementType

func (*ConnectionServicePrincipal) ElementType() reflect.Type

func (*ConnectionServicePrincipal) ToConnectionServicePrincipalOutput

func (i *ConnectionServicePrincipal) ToConnectionServicePrincipalOutput() ConnectionServicePrincipalOutput

func (*ConnectionServicePrincipal) ToConnectionServicePrincipalOutputWithContext

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

type ConnectionServicePrincipalArgs

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

The set of arguments for constructing a ConnectionServicePrincipal resource.

func (ConnectionServicePrincipalArgs) ElementType

type ConnectionServicePrincipalArray

type ConnectionServicePrincipalArray []ConnectionServicePrincipalInput

func (ConnectionServicePrincipalArray) ElementType

func (ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutput

func (i ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutput() ConnectionServicePrincipalArrayOutput

func (ConnectionServicePrincipalArray) ToConnectionServicePrincipalArrayOutputWithContext

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

type ConnectionServicePrincipalArrayInput

type ConnectionServicePrincipalArrayInput interface {
	pulumi.Input

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

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

ConnectionServicePrincipalArray{ ConnectionServicePrincipalArgs{...} }

type ConnectionServicePrincipalArrayOutput

type ConnectionServicePrincipalArrayOutput struct{ *pulumi.OutputState }

func (ConnectionServicePrincipalArrayOutput) ElementType

func (ConnectionServicePrincipalArrayOutput) Index

func (ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutput

func (o ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutput() ConnectionServicePrincipalArrayOutput

func (ConnectionServicePrincipalArrayOutput) ToConnectionServicePrincipalArrayOutputWithContext

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

type ConnectionServicePrincipalInput

type ConnectionServicePrincipalInput interface {
	pulumi.Input

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

type ConnectionServicePrincipalMap

type ConnectionServicePrincipalMap map[string]ConnectionServicePrincipalInput

func (ConnectionServicePrincipalMap) ElementType

func (ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutput

func (i ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutput() ConnectionServicePrincipalMapOutput

func (ConnectionServicePrincipalMap) ToConnectionServicePrincipalMapOutputWithContext

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

type ConnectionServicePrincipalMapInput

type ConnectionServicePrincipalMapInput interface {
	pulumi.Input

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

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

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

type ConnectionServicePrincipalMapOutput

type ConnectionServicePrincipalMapOutput struct{ *pulumi.OutputState }

func (ConnectionServicePrincipalMapOutput) ElementType

func (ConnectionServicePrincipalMapOutput) MapIndex

func (ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutput

func (o ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutput() ConnectionServicePrincipalMapOutput

func (ConnectionServicePrincipalMapOutput) ToConnectionServicePrincipalMapOutputWithContext

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

type ConnectionServicePrincipalOutput

type ConnectionServicePrincipalOutput struct{ *pulumi.OutputState }

func (ConnectionServicePrincipalOutput) ApplicationId 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.

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

```

## Import

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

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

func GetConnectionType 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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewCredential(ctx, "example", &automation.CredentialArgs{
			Name:                  pulumi.String("credential1"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Username:              pulumi.String("example_user"),
			Password:              pulumi.String("example_pwd"),
			Description:           pulumi.String("This is an example credential"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetCredential

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

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

func NewCredential

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

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

func (*Credential) ElementType

func (*Credential) ElementType() reflect.Type

func (*Credential) ToCredentialOutput

func (i *Credential) ToCredentialOutput() CredentialOutput

func (*Credential) ToCredentialOutputWithContext

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

type CredentialArgs

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

The set of arguments for constructing a Credential resource.

func (CredentialArgs) ElementType

func (CredentialArgs) ElementType() reflect.Type

type CredentialArray

type CredentialArray []CredentialInput

func (CredentialArray) ElementType

func (CredentialArray) ElementType() reflect.Type

func (CredentialArray) ToCredentialArrayOutput

func (i CredentialArray) ToCredentialArrayOutput() CredentialArrayOutput

func (CredentialArray) ToCredentialArrayOutputWithContext

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

type CredentialArrayInput

type CredentialArrayInput interface {
	pulumi.Input

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

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

CredentialArray{ CredentialArgs{...} }

type CredentialArrayOutput

type CredentialArrayOutput struct{ *pulumi.OutputState }

func (CredentialArrayOutput) ElementType

func (CredentialArrayOutput) ElementType() reflect.Type

func (CredentialArrayOutput) Index

func (CredentialArrayOutput) ToCredentialArrayOutput

func (o CredentialArrayOutput) ToCredentialArrayOutput() CredentialArrayOutput

func (CredentialArrayOutput) ToCredentialArrayOutputWithContext

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

type CredentialInput

type CredentialInput interface {
	pulumi.Input

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

type CredentialMap

type CredentialMap map[string]CredentialInput

func (CredentialMap) ElementType

func (CredentialMap) ElementType() reflect.Type

func (CredentialMap) ToCredentialMapOutput

func (i CredentialMap) ToCredentialMapOutput() CredentialMapOutput

func (CredentialMap) ToCredentialMapOutputWithContext

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

type CredentialMapInput

type CredentialMapInput interface {
	pulumi.Input

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

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

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

type CredentialMapOutput

type CredentialMapOutput struct{ *pulumi.OutputState }

func (CredentialMapOutput) ElementType

func (CredentialMapOutput) ElementType() reflect.Type

func (CredentialMapOutput) MapIndex

func (CredentialMapOutput) ToCredentialMapOutput

func (o CredentialMapOutput) ToCredentialMapOutput() CredentialMapOutput

func (CredentialMapOutput) ToCredentialMapOutputWithContext

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

type CredentialOutput

type CredentialOutput struct{ *pulumi.OutputState }

func (CredentialOutput) AutomationAccountName 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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDateTimeVariable(ctx, "example", &automation.DateTimeVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.String("2019-04-24T21:40:54.074Z"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetDateTimeVariable

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

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

func NewDateTimeVariable

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

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

func (*DateTimeVariable) ElementType

func (*DateTimeVariable) ElementType() reflect.Type

func (*DateTimeVariable) ToDateTimeVariableOutput

func (i *DateTimeVariable) ToDateTimeVariableOutput() DateTimeVariableOutput

func (*DateTimeVariable) ToDateTimeVariableOutputWithContext

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

type DateTimeVariableArgs

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

The set of arguments for constructing a DateTimeVariable resource.

func (DateTimeVariableArgs) ElementType

func (DateTimeVariableArgs) ElementType() reflect.Type

type DateTimeVariableArray

type DateTimeVariableArray []DateTimeVariableInput

func (DateTimeVariableArray) ElementType

func (DateTimeVariableArray) ElementType() reflect.Type

func (DateTimeVariableArray) ToDateTimeVariableArrayOutput

func (i DateTimeVariableArray) ToDateTimeVariableArrayOutput() DateTimeVariableArrayOutput

func (DateTimeVariableArray) ToDateTimeVariableArrayOutputWithContext

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

type DateTimeVariableArrayInput

type DateTimeVariableArrayInput interface {
	pulumi.Input

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

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

DateTimeVariableArray{ DateTimeVariableArgs{...} }

type DateTimeVariableArrayOutput

type DateTimeVariableArrayOutput struct{ *pulumi.OutputState }

func (DateTimeVariableArrayOutput) ElementType

func (DateTimeVariableArrayOutput) Index

func (DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutput

func (o DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutput() DateTimeVariableArrayOutput

func (DateTimeVariableArrayOutput) ToDateTimeVariableArrayOutputWithContext

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

type DateTimeVariableInput

type DateTimeVariableInput interface {
	pulumi.Input

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

type DateTimeVariableMap

type DateTimeVariableMap map[string]DateTimeVariableInput

func (DateTimeVariableMap) ElementType

func (DateTimeVariableMap) ElementType() reflect.Type

func (DateTimeVariableMap) ToDateTimeVariableMapOutput

func (i DateTimeVariableMap) ToDateTimeVariableMapOutput() DateTimeVariableMapOutput

func (DateTimeVariableMap) ToDateTimeVariableMapOutputWithContext

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

type DateTimeVariableMapInput

type DateTimeVariableMapInput interface {
	pulumi.Input

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

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

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

type DateTimeVariableMapOutput

type DateTimeVariableMapOutput struct{ *pulumi.OutputState }

func (DateTimeVariableMapOutput) ElementType

func (DateTimeVariableMapOutput) ElementType() reflect.Type

func (DateTimeVariableMapOutput) MapIndex

func (DateTimeVariableMapOutput) ToDateTimeVariableMapOutput

func (o DateTimeVariableMapOutput) ToDateTimeVariableMapOutput() DateTimeVariableMapOutput

func (DateTimeVariableMapOutput) ToDateTimeVariableMapOutputWithContext

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

type DateTimeVariableOutput

type DateTimeVariableOutput struct{ *pulumi.OutputState }

func (DateTimeVariableOutput) AutomationAccountName 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. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Verbose log option.
	LogVerbose pulumi.BoolPtrOutput `pulumi:"logVerbose"`
	// Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	State             pulumi.StringOutput `pulumi:"state"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation DSC Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscConfiguration(ctx, "example", &automation.DscConfigurationArgs{
			Name:                  pulumi.String("test"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Location:              example.Location,
			ContentEmbedded:       pulumi.String("configuration test {}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetDscConfiguration

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

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

func NewDscConfiguration

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

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

func (*DscConfiguration) ElementType

func (*DscConfiguration) ElementType() reflect.Type

func (*DscConfiguration) ToDscConfigurationOutput

func (i *DscConfiguration) ToDscConfigurationOutput() DscConfigurationOutput

func (*DscConfiguration) ToDscConfigurationOutputWithContext

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

type DscConfigurationArgs

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

The set of arguments for constructing a DscConfiguration resource.

func (DscConfigurationArgs) ElementType

func (DscConfigurationArgs) ElementType() reflect.Type

type DscConfigurationArray

type DscConfigurationArray []DscConfigurationInput

func (DscConfigurationArray) ElementType

func (DscConfigurationArray) ElementType() reflect.Type

func (DscConfigurationArray) ToDscConfigurationArrayOutput

func (i DscConfigurationArray) ToDscConfigurationArrayOutput() DscConfigurationArrayOutput

func (DscConfigurationArray) ToDscConfigurationArrayOutputWithContext

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

type DscConfigurationArrayInput

type DscConfigurationArrayInput interface {
	pulumi.Input

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

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

DscConfigurationArray{ DscConfigurationArgs{...} }

type DscConfigurationArrayOutput

type DscConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DscConfigurationArrayOutput) ElementType

func (DscConfigurationArrayOutput) Index

func (DscConfigurationArrayOutput) ToDscConfigurationArrayOutput

func (o DscConfigurationArrayOutput) ToDscConfigurationArrayOutput() DscConfigurationArrayOutput

func (DscConfigurationArrayOutput) ToDscConfigurationArrayOutputWithContext

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

type DscConfigurationInput

type DscConfigurationInput interface {
	pulumi.Input

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

type DscConfigurationMap

type DscConfigurationMap map[string]DscConfigurationInput

func (DscConfigurationMap) ElementType

func (DscConfigurationMap) ElementType() reflect.Type

func (DscConfigurationMap) ToDscConfigurationMapOutput

func (i DscConfigurationMap) ToDscConfigurationMapOutput() DscConfigurationMapOutput

func (DscConfigurationMap) ToDscConfigurationMapOutputWithContext

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

type DscConfigurationMapInput

type DscConfigurationMapInput interface {
	pulumi.Input

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

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

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

type DscConfigurationMapOutput

type DscConfigurationMapOutput struct{ *pulumi.OutputState }

func (DscConfigurationMapOutput) ElementType

func (DscConfigurationMapOutput) ElementType() reflect.Type

func (DscConfigurationMapOutput) MapIndex

func (DscConfigurationMapOutput) ToDscConfigurationMapOutput

func (o DscConfigurationMapOutput) ToDscConfigurationMapOutput() DscConfigurationMapOutput

func (DscConfigurationMapOutput) ToDscConfigurationMapOutputWithContext

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

type DscConfigurationOutput

type DscConfigurationOutput struct{ *pulumi.OutputState }

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

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. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Verbose log option.
	LogVerbose pulumi.BoolPtrInput
	// Specifies the name of the DSC Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the DSC Configuration is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	State             pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (DscConfigurationState) ElementType

func (DscConfigurationState) ElementType() reflect.Type

type DscNodeConfiguration

type DscNodeConfiguration struct {
	pulumi.CustomResourceState

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

Manages a Automation DSC Node Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscConfiguration(ctx, "example", &automation.DscConfigurationArgs{
			Name:                  pulumi.String("test"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Location:              example.Location,
			ContentEmbedded:       pulumi.String("configuration test {}"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewDscNodeConfiguration(ctx, "example", &automation.DscNodeConfigurationArgs{
			Name:                  pulumi.String("test.localhost"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			ContentEmbedded: pulumi.String(`instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref

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

instance of OMI_ConfigurationDocument

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

`),

		})
		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 GetVariablesArgs added in v5.45.0

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

A collection of arguments for invoking getVariables.

type GetVariablesBool added in v5.45.0

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

type GetVariablesBoolArgs added in v5.45.0

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

func (GetVariablesBoolArgs) ElementType added in v5.45.0

func (GetVariablesBoolArgs) ElementType() reflect.Type

func (GetVariablesBoolArgs) ToGetVariablesBoolOutput added in v5.45.0

func (i GetVariablesBoolArgs) ToGetVariablesBoolOutput() GetVariablesBoolOutput

func (GetVariablesBoolArgs) ToGetVariablesBoolOutputWithContext added in v5.45.0

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

type GetVariablesBoolArray added in v5.45.0

type GetVariablesBoolArray []GetVariablesBoolInput

func (GetVariablesBoolArray) ElementType added in v5.45.0

func (GetVariablesBoolArray) ElementType() reflect.Type

func (GetVariablesBoolArray) ToGetVariablesBoolArrayOutput added in v5.45.0

func (i GetVariablesBoolArray) ToGetVariablesBoolArrayOutput() GetVariablesBoolArrayOutput

func (GetVariablesBoolArray) ToGetVariablesBoolArrayOutputWithContext added in v5.45.0

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

type GetVariablesBoolArrayInput added in v5.45.0

type GetVariablesBoolArrayInput interface {
	pulumi.Input

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

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

GetVariablesBoolArray{ GetVariablesBoolArgs{...} }

type GetVariablesBoolArrayOutput added in v5.45.0

type GetVariablesBoolArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesBoolArrayOutput) ElementType added in v5.45.0

func (GetVariablesBoolArrayOutput) Index added in v5.45.0

func (GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutput added in v5.45.0

func (o GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutput() GetVariablesBoolArrayOutput

func (GetVariablesBoolArrayOutput) ToGetVariablesBoolArrayOutputWithContext added in v5.45.0

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

type GetVariablesBoolInput added in v5.45.0

type GetVariablesBoolInput interface {
	pulumi.Input

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

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

GetVariablesBoolArgs{...}

type GetVariablesBoolOutput added in v5.45.0

type GetVariablesBoolOutput struct{ *pulumi.OutputState }

func (GetVariablesBoolOutput) Description added in v5.45.0

func (o GetVariablesBoolOutput) Description() pulumi.StringOutput

The description of the Automation Variable.

func (GetVariablesBoolOutput) ElementType added in v5.45.0

func (GetVariablesBoolOutput) ElementType() reflect.Type

func (GetVariablesBoolOutput) Encrypted added in v5.45.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesBoolOutput) Id added in v5.46.0

func (GetVariablesBoolOutput) Name added in v5.45.0

The name of the Automation Variable.

func (GetVariablesBoolOutput) ToGetVariablesBoolOutput added in v5.45.0

func (o GetVariablesBoolOutput) ToGetVariablesBoolOutput() GetVariablesBoolOutput

func (GetVariablesBoolOutput) ToGetVariablesBoolOutputWithContext added in v5.45.0

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

func (GetVariablesBoolOutput) Value added in v5.45.0

The value of the Automation Variable.

type GetVariablesDatetime added in v5.45.0

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

type GetVariablesDatetimeArgs added in v5.45.0

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

func (GetVariablesDatetimeArgs) ElementType added in v5.45.0

func (GetVariablesDatetimeArgs) ElementType() reflect.Type

func (GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutput added in v5.45.0

func (i GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutput() GetVariablesDatetimeOutput

func (GetVariablesDatetimeArgs) ToGetVariablesDatetimeOutputWithContext added in v5.45.0

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

type GetVariablesDatetimeArray added in v5.45.0

type GetVariablesDatetimeArray []GetVariablesDatetimeInput

func (GetVariablesDatetimeArray) ElementType added in v5.45.0

func (GetVariablesDatetimeArray) ElementType() reflect.Type

func (GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutput added in v5.45.0

func (i GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutput() GetVariablesDatetimeArrayOutput

func (GetVariablesDatetimeArray) ToGetVariablesDatetimeArrayOutputWithContext added in v5.45.0

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

type GetVariablesDatetimeArrayInput added in v5.45.0

type GetVariablesDatetimeArrayInput interface {
	pulumi.Input

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

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

GetVariablesDatetimeArray{ GetVariablesDatetimeArgs{...} }

type GetVariablesDatetimeArrayOutput added in v5.45.0

type GetVariablesDatetimeArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesDatetimeArrayOutput) ElementType added in v5.45.0

func (GetVariablesDatetimeArrayOutput) Index added in v5.45.0

func (GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutput added in v5.45.0

func (o GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutput() GetVariablesDatetimeArrayOutput

func (GetVariablesDatetimeArrayOutput) ToGetVariablesDatetimeArrayOutputWithContext added in v5.45.0

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

type GetVariablesDatetimeInput added in v5.45.0

type GetVariablesDatetimeInput interface {
	pulumi.Input

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

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

GetVariablesDatetimeArgs{...}

type GetVariablesDatetimeOutput added in v5.45.0

type GetVariablesDatetimeOutput struct{ *pulumi.OutputState }

func (GetVariablesDatetimeOutput) Description added in v5.45.0

The description of the Automation Variable.

func (GetVariablesDatetimeOutput) ElementType added in v5.45.0

func (GetVariablesDatetimeOutput) ElementType() reflect.Type

func (GetVariablesDatetimeOutput) Encrypted added in v5.45.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesDatetimeOutput) Id added in v5.46.0

func (GetVariablesDatetimeOutput) Name added in v5.45.0

The name of the Automation Variable.

func (GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutput added in v5.45.0

func (o GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutput() GetVariablesDatetimeOutput

func (GetVariablesDatetimeOutput) ToGetVariablesDatetimeOutputWithContext added in v5.45.0

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

func (GetVariablesDatetimeOutput) Value added in v5.45.0

The value of the Automation Variable.

type GetVariablesEncrypted added in v5.45.0

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

type GetVariablesEncryptedArgs added in v5.45.0

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

func (GetVariablesEncryptedArgs) ElementType added in v5.45.0

func (GetVariablesEncryptedArgs) ElementType() reflect.Type

func (GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutput added in v5.45.0

func (i GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutput() GetVariablesEncryptedOutput

func (GetVariablesEncryptedArgs) ToGetVariablesEncryptedOutputWithContext added in v5.45.0

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

type GetVariablesEncryptedArray added in v5.45.0

type GetVariablesEncryptedArray []GetVariablesEncryptedInput

func (GetVariablesEncryptedArray) ElementType added in v5.45.0

func (GetVariablesEncryptedArray) ElementType() reflect.Type

func (GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutput added in v5.45.0

func (i GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutput() GetVariablesEncryptedArrayOutput

func (GetVariablesEncryptedArray) ToGetVariablesEncryptedArrayOutputWithContext added in v5.45.0

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

type GetVariablesEncryptedArrayInput added in v5.45.0

type GetVariablesEncryptedArrayInput interface {
	pulumi.Input

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

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

GetVariablesEncryptedArray{ GetVariablesEncryptedArgs{...} }

type GetVariablesEncryptedArrayOutput added in v5.45.0

type GetVariablesEncryptedArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesEncryptedArrayOutput) ElementType added in v5.45.0

func (GetVariablesEncryptedArrayOutput) Index added in v5.45.0

func (GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutput added in v5.45.0

func (o GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutput() GetVariablesEncryptedArrayOutput

func (GetVariablesEncryptedArrayOutput) ToGetVariablesEncryptedArrayOutputWithContext added in v5.45.0

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

type GetVariablesEncryptedInput added in v5.45.0

type GetVariablesEncryptedInput interface {
	pulumi.Input

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

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

GetVariablesEncryptedArgs{...}

type GetVariablesEncryptedOutput added in v5.45.0

type GetVariablesEncryptedOutput struct{ *pulumi.OutputState }

func (GetVariablesEncryptedOutput) Description added in v5.45.0

The description of the Automation Variable.

func (GetVariablesEncryptedOutput) ElementType added in v5.45.0

func (GetVariablesEncryptedOutput) Encrypted added in v5.45.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesEncryptedOutput) Id added in v5.46.0

func (GetVariablesEncryptedOutput) Name added in v5.45.0

The name of the Automation Variable.

func (GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutput added in v5.45.0

func (o GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutput() GetVariablesEncryptedOutput

func (GetVariablesEncryptedOutput) ToGetVariablesEncryptedOutputWithContext added in v5.45.0

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

func (GetVariablesEncryptedOutput) Value added in v5.45.0

The value of the Automation Variable.

type GetVariablesInt added in v5.45.0

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

type GetVariablesIntArgs added in v5.45.0

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

func (GetVariablesIntArgs) ElementType added in v5.45.0

func (GetVariablesIntArgs) ElementType() reflect.Type

func (GetVariablesIntArgs) ToGetVariablesIntOutput added in v5.45.0

func (i GetVariablesIntArgs) ToGetVariablesIntOutput() GetVariablesIntOutput

func (GetVariablesIntArgs) ToGetVariablesIntOutputWithContext added in v5.45.0

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

type GetVariablesIntArray added in v5.45.0

type GetVariablesIntArray []GetVariablesIntInput

func (GetVariablesIntArray) ElementType added in v5.45.0

func (GetVariablesIntArray) ElementType() reflect.Type

func (GetVariablesIntArray) ToGetVariablesIntArrayOutput added in v5.45.0

func (i GetVariablesIntArray) ToGetVariablesIntArrayOutput() GetVariablesIntArrayOutput

func (GetVariablesIntArray) ToGetVariablesIntArrayOutputWithContext added in v5.45.0

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

type GetVariablesIntArrayInput added in v5.45.0

type GetVariablesIntArrayInput interface {
	pulumi.Input

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

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

GetVariablesIntArray{ GetVariablesIntArgs{...} }

type GetVariablesIntArrayOutput added in v5.45.0

type GetVariablesIntArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesIntArrayOutput) ElementType added in v5.45.0

func (GetVariablesIntArrayOutput) ElementType() reflect.Type

func (GetVariablesIntArrayOutput) Index added in v5.45.0

func (GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutput added in v5.45.0

func (o GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutput() GetVariablesIntArrayOutput

func (GetVariablesIntArrayOutput) ToGetVariablesIntArrayOutputWithContext added in v5.45.0

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

type GetVariablesIntInput added in v5.45.0

type GetVariablesIntInput interface {
	pulumi.Input

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

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

GetVariablesIntArgs{...}

type GetVariablesIntOutput added in v5.45.0

type GetVariablesIntOutput struct{ *pulumi.OutputState }

func (GetVariablesIntOutput) Description added in v5.45.0

func (o GetVariablesIntOutput) Description() pulumi.StringOutput

The description of the Automation Variable.

func (GetVariablesIntOutput) ElementType added in v5.45.0

func (GetVariablesIntOutput) ElementType() reflect.Type

func (GetVariablesIntOutput) Encrypted added in v5.45.0

func (o GetVariablesIntOutput) Encrypted() pulumi.BoolOutput

Specifies if the Automation Variable is encrypted.

func (GetVariablesIntOutput) Id added in v5.46.0

func (GetVariablesIntOutput) Name added in v5.45.0

The name of the Automation Variable.

func (GetVariablesIntOutput) ToGetVariablesIntOutput added in v5.45.0

func (o GetVariablesIntOutput) ToGetVariablesIntOutput() GetVariablesIntOutput

func (GetVariablesIntOutput) ToGetVariablesIntOutputWithContext added in v5.45.0

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

func (GetVariablesIntOutput) Value added in v5.45.0

The value of the Automation Variable.

type GetVariablesNull added in v5.45.0

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

type GetVariablesNullArgs added in v5.45.0

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

func (GetVariablesNullArgs) ElementType added in v5.45.0

func (GetVariablesNullArgs) ElementType() reflect.Type

func (GetVariablesNullArgs) ToGetVariablesNullOutput added in v5.45.0

func (i GetVariablesNullArgs) ToGetVariablesNullOutput() GetVariablesNullOutput

func (GetVariablesNullArgs) ToGetVariablesNullOutputWithContext added in v5.45.0

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

type GetVariablesNullArray added in v5.45.0

type GetVariablesNullArray []GetVariablesNullInput

func (GetVariablesNullArray) ElementType added in v5.45.0

func (GetVariablesNullArray) ElementType() reflect.Type

func (GetVariablesNullArray) ToGetVariablesNullArrayOutput added in v5.45.0

func (i GetVariablesNullArray) ToGetVariablesNullArrayOutput() GetVariablesNullArrayOutput

func (GetVariablesNullArray) ToGetVariablesNullArrayOutputWithContext added in v5.45.0

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

type GetVariablesNullArrayInput added in v5.45.0

type GetVariablesNullArrayInput interface {
	pulumi.Input

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

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

GetVariablesNullArray{ GetVariablesNullArgs{...} }

type GetVariablesNullArrayOutput added in v5.45.0

type GetVariablesNullArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesNullArrayOutput) ElementType added in v5.45.0

func (GetVariablesNullArrayOutput) Index added in v5.45.0

func (GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutput added in v5.45.0

func (o GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutput() GetVariablesNullArrayOutput

func (GetVariablesNullArrayOutput) ToGetVariablesNullArrayOutputWithContext added in v5.45.0

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

type GetVariablesNullInput added in v5.45.0

type GetVariablesNullInput interface {
	pulumi.Input

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

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

GetVariablesNullArgs{...}

type GetVariablesNullOutput added in v5.45.0

type GetVariablesNullOutput struct{ *pulumi.OutputState }

func (GetVariablesNullOutput) Description added in v5.45.0

func (o GetVariablesNullOutput) Description() pulumi.StringOutput

The description of the Automation Variable.

func (GetVariablesNullOutput) ElementType added in v5.45.0

func (GetVariablesNullOutput) ElementType() reflect.Type

func (GetVariablesNullOutput) Encrypted added in v5.45.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesNullOutput) Id added in v5.46.0

func (GetVariablesNullOutput) Name added in v5.45.0

The name of the Automation Variable.

func (GetVariablesNullOutput) ToGetVariablesNullOutput added in v5.45.0

func (o GetVariablesNullOutput) ToGetVariablesNullOutput() GetVariablesNullOutput

func (GetVariablesNullOutput) ToGetVariablesNullOutputWithContext added in v5.45.0

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

func (GetVariablesNullOutput) Value added in v5.45.0

The value of the Automation Variable.

type GetVariablesObject added in v5.48.0

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

type GetVariablesObjectArgs added in v5.48.0

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

func (GetVariablesObjectArgs) ElementType added in v5.48.0

func (GetVariablesObjectArgs) ElementType() reflect.Type

func (GetVariablesObjectArgs) ToGetVariablesObjectOutput added in v5.48.0

func (i GetVariablesObjectArgs) ToGetVariablesObjectOutput() GetVariablesObjectOutput

func (GetVariablesObjectArgs) ToGetVariablesObjectOutputWithContext added in v5.48.0

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

type GetVariablesObjectArray added in v5.48.0

type GetVariablesObjectArray []GetVariablesObjectInput

func (GetVariablesObjectArray) ElementType added in v5.48.0

func (GetVariablesObjectArray) ElementType() reflect.Type

func (GetVariablesObjectArray) ToGetVariablesObjectArrayOutput added in v5.48.0

func (i GetVariablesObjectArray) ToGetVariablesObjectArrayOutput() GetVariablesObjectArrayOutput

func (GetVariablesObjectArray) ToGetVariablesObjectArrayOutputWithContext added in v5.48.0

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

type GetVariablesObjectArrayInput added in v5.48.0

type GetVariablesObjectArrayInput interface {
	pulumi.Input

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

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

GetVariablesObjectArray{ GetVariablesObjectArgs{...} }

type GetVariablesObjectArrayOutput added in v5.48.0

type GetVariablesObjectArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesObjectArrayOutput) ElementType added in v5.48.0

func (GetVariablesObjectArrayOutput) Index added in v5.48.0

func (GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutput added in v5.48.0

func (o GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutput() GetVariablesObjectArrayOutput

func (GetVariablesObjectArrayOutput) ToGetVariablesObjectArrayOutputWithContext added in v5.48.0

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

type GetVariablesObjectInput added in v5.48.0

type GetVariablesObjectInput interface {
	pulumi.Input

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

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

GetVariablesObjectArgs{...}

type GetVariablesObjectOutput added in v5.48.0

type GetVariablesObjectOutput struct{ *pulumi.OutputState }

func (GetVariablesObjectOutput) Description added in v5.48.0

The description of the Automation Variable.

func (GetVariablesObjectOutput) ElementType added in v5.48.0

func (GetVariablesObjectOutput) ElementType() reflect.Type

func (GetVariablesObjectOutput) Encrypted added in v5.48.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesObjectOutput) Id added in v5.48.0

func (GetVariablesObjectOutput) Name added in v5.48.0

The name of the Automation Variable.

func (GetVariablesObjectOutput) ToGetVariablesObjectOutput added in v5.48.0

func (o GetVariablesObjectOutput) ToGetVariablesObjectOutput() GetVariablesObjectOutput

func (GetVariablesObjectOutput) ToGetVariablesObjectOutputWithContext added in v5.48.0

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

func (GetVariablesObjectOutput) Value added in v5.48.0

The value of the Automation Variable.

type GetVariablesOutputArgs added in v5.45.0

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

A collection of arguments for invoking getVariables.

func (GetVariablesOutputArgs) ElementType added in v5.45.0

func (GetVariablesOutputArgs) ElementType() reflect.Type

type GetVariablesResult added in v5.45.0

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

A collection of values returned by getVariables.

func GetVariables added in v5.45.0

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

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

## Example Usage

```go package main

import (

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

```

type GetVariablesResultOutput added in v5.45.0

type GetVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVariables.

func GetVariablesOutput added in v5.45.0

func GetVariablesOutput(ctx *pulumi.Context, args GetVariablesOutputArgs, opts ...pulumi.InvokeOption) GetVariablesResultOutput

func (GetVariablesResultOutput) AutomationAccountId added in v5.45.0

func (o GetVariablesResultOutput) AutomationAccountId() pulumi.StringOutput

func (GetVariablesResultOutput) Bools added in v5.45.0

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

func (GetVariablesResultOutput) Datetimes added in v5.45.0

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

func (GetVariablesResultOutput) ElementType added in v5.45.0

func (GetVariablesResultOutput) ElementType() reflect.Type

func (GetVariablesResultOutput) Encrypteds added in v5.45.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesResultOutput) Id added in v5.45.0

The provider-assigned unique ID for this managed resource.

func (GetVariablesResultOutput) Ints added in v5.45.0

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

func (GetVariablesResultOutput) Nulls added in v5.45.0

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

func (GetVariablesResultOutput) Objects added in v5.48.0

func (GetVariablesResultOutput) Strings added in v5.45.0

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

func (GetVariablesResultOutput) ToGetVariablesResultOutput added in v5.45.0

func (o GetVariablesResultOutput) ToGetVariablesResultOutput() GetVariablesResultOutput

func (GetVariablesResultOutput) ToGetVariablesResultOutputWithContext added in v5.45.0

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

type GetVariablesString added in v5.45.0

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

type GetVariablesStringArgs added in v5.45.0

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

func (GetVariablesStringArgs) ElementType added in v5.45.0

func (GetVariablesStringArgs) ElementType() reflect.Type

func (GetVariablesStringArgs) ToGetVariablesStringOutput added in v5.45.0

func (i GetVariablesStringArgs) ToGetVariablesStringOutput() GetVariablesStringOutput

func (GetVariablesStringArgs) ToGetVariablesStringOutputWithContext added in v5.45.0

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

type GetVariablesStringArray added in v5.45.0

type GetVariablesStringArray []GetVariablesStringInput

func (GetVariablesStringArray) ElementType added in v5.45.0

func (GetVariablesStringArray) ElementType() reflect.Type

func (GetVariablesStringArray) ToGetVariablesStringArrayOutput added in v5.45.0

func (i GetVariablesStringArray) ToGetVariablesStringArrayOutput() GetVariablesStringArrayOutput

func (GetVariablesStringArray) ToGetVariablesStringArrayOutputWithContext added in v5.45.0

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

type GetVariablesStringArrayInput added in v5.45.0

type GetVariablesStringArrayInput interface {
	pulumi.Input

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

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

GetVariablesStringArray{ GetVariablesStringArgs{...} }

type GetVariablesStringArrayOutput added in v5.45.0

type GetVariablesStringArrayOutput struct{ *pulumi.OutputState }

func (GetVariablesStringArrayOutput) ElementType added in v5.45.0

func (GetVariablesStringArrayOutput) Index added in v5.45.0

func (GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutput added in v5.45.0

func (o GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutput() GetVariablesStringArrayOutput

func (GetVariablesStringArrayOutput) ToGetVariablesStringArrayOutputWithContext added in v5.45.0

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

type GetVariablesStringInput added in v5.45.0

type GetVariablesStringInput interface {
	pulumi.Input

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

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

GetVariablesStringArgs{...}

type GetVariablesStringOutput added in v5.45.0

type GetVariablesStringOutput struct{ *pulumi.OutputState }

func (GetVariablesStringOutput) Description added in v5.45.0

The description of the Automation Variable.

func (GetVariablesStringOutput) ElementType added in v5.45.0

func (GetVariablesStringOutput) ElementType() reflect.Type

func (GetVariablesStringOutput) Encrypted added in v5.45.0

Specifies if the Automation Variable is encrypted.

func (GetVariablesStringOutput) Id added in v5.46.0

func (GetVariablesStringOutput) Name added in v5.45.0

The name of the Automation Variable.

func (GetVariablesStringOutput) ToGetVariablesStringOutput added in v5.45.0

func (o GetVariablesStringOutput) ToGetVariablesStringOutput() GetVariablesStringOutput

func (GetVariablesStringOutput) ToGetVariablesStringOutputWithContext added in v5.45.0

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

func (GetVariablesStringOutput) Value added in v5.45.0

The value of the Automation Variable.

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"`
	// Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringOutput `pulumi:"workerId"`
	// The name of HybridWorker.
	WorkerName pulumi.StringOutput `pulumi:"workerName"`
	// The type of the HybridWorker, the possible values are `HybridV1` and `HybridV2`.
	WorkerType pulumi.StringOutput `pulumi:"workerType"`
}

Manages a Automation Hybrid Runbook Worker.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetHybridRunbookWorker 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
	// Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringInput
}

The set of arguments for constructing a HybridRunbookWorker resource.

func (HybridRunbookWorkerArgs) ElementType 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. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Automation Hybrid Runbook Worker Group.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetHybridRunbookWorkerGroup 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. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a HybridRunbookWorkerGroup resource.

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

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. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (HybridRunbookWorkerGroupState) ElementType 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

Specify the ID of this HybridWorker in UUID notation. 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
	// Specify the ID of this HybridWorker in UUID notation. Changing this forces a new Automation to be created.
	WorkerId pulumi.StringPtrInput
	// The name of HybridWorker.
	WorkerName pulumi.StringPtrInput
	// The type of the HybridWorker, the possible values are `HybridV1` and `HybridV2`.
	WorkerType pulumi.StringPtrInput
}

func (HybridRunbookWorkerState) ElementType 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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewIntVariable(ctx, "example", &automation.IntVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.Int(1234),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetIntVariable

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

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

func NewIntVariable

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

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

func (*IntVariable) ElementType

func (*IntVariable) ElementType() reflect.Type

func (*IntVariable) ToIntVariableOutput

func (i *IntVariable) ToIntVariableOutput() IntVariableOutput

func (*IntVariable) ToIntVariableOutputWithContext

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

type IntVariableArgs

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

The set of arguments for constructing a IntVariable resource.

func (IntVariableArgs) ElementType

func (IntVariableArgs) ElementType() reflect.Type

type IntVariableArray

type IntVariableArray []IntVariableInput

func (IntVariableArray) ElementType

func (IntVariableArray) ElementType() reflect.Type

func (IntVariableArray) ToIntVariableArrayOutput

func (i IntVariableArray) ToIntVariableArrayOutput() IntVariableArrayOutput

func (IntVariableArray) ToIntVariableArrayOutputWithContext

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

type IntVariableArrayInput

type IntVariableArrayInput interface {
	pulumi.Input

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

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

IntVariableArray{ IntVariableArgs{...} }

type IntVariableArrayOutput

type IntVariableArrayOutput struct{ *pulumi.OutputState }

func (IntVariableArrayOutput) ElementType

func (IntVariableArrayOutput) ElementType() reflect.Type

func (IntVariableArrayOutput) Index

func (IntVariableArrayOutput) ToIntVariableArrayOutput

func (o IntVariableArrayOutput) ToIntVariableArrayOutput() IntVariableArrayOutput

func (IntVariableArrayOutput) ToIntVariableArrayOutputWithContext

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

type IntVariableInput

type IntVariableInput interface {
	pulumi.Input

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

type IntVariableMap

type IntVariableMap map[string]IntVariableInput

func (IntVariableMap) ElementType

func (IntVariableMap) ElementType() reflect.Type

func (IntVariableMap) ToIntVariableMapOutput

func (i IntVariableMap) ToIntVariableMapOutput() IntVariableMapOutput

func (IntVariableMap) ToIntVariableMapOutputWithContext

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

type IntVariableMapInput

type IntVariableMapInput interface {
	pulumi.Input

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

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

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

type IntVariableMapOutput

type IntVariableMapOutput struct{ *pulumi.OutputState }

func (IntVariableMapOutput) ElementType

func (IntVariableMapOutput) ElementType() reflect.Type

func (IntVariableMapOutput) MapIndex

func (IntVariableMapOutput) ToIntVariableMapOutput

func (o IntVariableMapOutput) ToIntVariableMapOutput() IntVariableMapOutput

func (IntVariableMapOutput) ToIntVariableMapOutputWithContext

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

type IntVariableOutput

type IntVariableOutput struct{ *pulumi.OutputState }

func (IntVariableOutput) AutomationAccountName 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"`
	// (Optional) The UUID identifying the Automation Job Schedule.
	JobScheduleId pulumi.StringOutput `pulumi:"jobScheduleId"`
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook. Changing this forces a new resource to be created.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// 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{
			ResourceGroupName:     pulumi.String("tf-rgr-automation"),
			AutomationAccountName: pulumi.String("tf-automation-account"),
			ScheduleName:          pulumi.String("hour"),
			RunbookName:           pulumi.String("Get-VirtualMachine"),
			Parameters: pulumi.StringMap{
				"resourcegroup": pulumi.String("tf-rgr-vm"),
				"vmname":        pulumi.String("TF-VM-01"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:automation/jobSchedule:JobSchedule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/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
	// (Optional) The UUID identifying the Automation Job Schedule.
	JobScheduleId pulumi.StringPtrInput
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook. Changing this forces a new resource to be created.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Name of a Hybrid Worker Group the Runbook will be executed on. Changing this forces a new resource to be created.
	RunOn pulumi.StringPtrInput
	// The name of a Runbook to link to a Schedule. It needs to be in the same Automation Account as the Schedule and Job Schedule. Changing this forces a new resource to be created.
	RunbookName pulumi.StringInput
	// The name of the Schedule. Changing this forces a new resource to be created.
	ScheduleName pulumi.StringInput
}

The set of arguments for constructing a JobSchedule resource.

func (JobScheduleArgs) ElementType

func (JobScheduleArgs) ElementType() reflect.Type

type JobScheduleArray

type JobScheduleArray []JobScheduleInput

func (JobScheduleArray) ElementType

func (JobScheduleArray) ElementType() reflect.Type

func (JobScheduleArray) ToJobScheduleArrayOutput

func (i JobScheduleArray) ToJobScheduleArrayOutput() JobScheduleArrayOutput

func (JobScheduleArray) ToJobScheduleArrayOutputWithContext

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

type JobScheduleArrayInput

type JobScheduleArrayInput interface {
	pulumi.Input

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

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

JobScheduleArray{ JobScheduleArgs{...} }

type JobScheduleArrayOutput

type JobScheduleArrayOutput struct{ *pulumi.OutputState }

func (JobScheduleArrayOutput) ElementType

func (JobScheduleArrayOutput) ElementType() reflect.Type

func (JobScheduleArrayOutput) Index

func (JobScheduleArrayOutput) ToJobScheduleArrayOutput

func (o JobScheduleArrayOutput) ToJobScheduleArrayOutput() JobScheduleArrayOutput

func (JobScheduleArrayOutput) ToJobScheduleArrayOutputWithContext

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

type JobScheduleInput

type JobScheduleInput interface {
	pulumi.Input

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

type JobScheduleMap

type JobScheduleMap map[string]JobScheduleInput

func (JobScheduleMap) ElementType

func (JobScheduleMap) ElementType() reflect.Type

func (JobScheduleMap) ToJobScheduleMapOutput

func (i JobScheduleMap) ToJobScheduleMapOutput() JobScheduleMapOutput

func (JobScheduleMap) ToJobScheduleMapOutputWithContext

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

type JobScheduleMapInput

type JobScheduleMapInput interface {
	pulumi.Input

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

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

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

type JobScheduleMapOutput

type JobScheduleMapOutput struct{ *pulumi.OutputState }

func (JobScheduleMapOutput) ElementType

func (JobScheduleMapOutput) ElementType() reflect.Type

func (JobScheduleMapOutput) MapIndex

func (JobScheduleMapOutput) ToJobScheduleMapOutput

func (o JobScheduleMapOutput) ToJobScheduleMapOutput() JobScheduleMapOutput

func (JobScheduleMapOutput) ToJobScheduleMapOutputWithContext

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

type JobScheduleOutput

type JobScheduleOutput struct{ *pulumi.OutputState }

func (JobScheduleOutput) AutomationAccountName 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

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

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

func (JobScheduleOutput) ResourceGroupName 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
	// (Optional) The UUID identifying the Automation Job Schedule.
	JobScheduleId pulumi.StringPtrInput
	// A map of key/value pairs corresponding to the arguments that can be passed to the Runbook. Changing this forces a new resource to be created.
	//
	// > **NOTE:** The parameter keys/names must strictly be in lowercase, even if this is not the case in the runbook. This is due to a limitation in Azure Automation where the parameter names are normalized. The values specified don't have this limitation.
	Parameters pulumi.StringMapInput
	// The name of the resource group in which the Job Schedule is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// 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 LookupVariableObjectArgs added in v5.48.0

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

A collection of arguments for invoking getVariableObject.

type LookupVariableObjectOutputArgs added in v5.48.0

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

A collection of arguments for invoking getVariableObject.

func (LookupVariableObjectOutputArgs) ElementType added in v5.48.0

type LookupVariableObjectResult added in v5.48.0

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

A collection of values returned by getVariableObject.

func LookupVariableObject added in v5.48.0

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

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

type LookupVariableObjectResultOutput added in v5.48.0

type LookupVariableObjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVariableObject.

func LookupVariableObjectOutput added in v5.48.0

func (LookupVariableObjectResultOutput) AutomationAccountName added in v5.48.0

func (o LookupVariableObjectResultOutput) AutomationAccountName() pulumi.StringOutput

func (LookupVariableObjectResultOutput) Description added in v5.48.0

The description of the Automation Variable.

func (LookupVariableObjectResultOutput) ElementType added in v5.48.0

func (LookupVariableObjectResultOutput) Encrypted added in v5.48.0

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

func (LookupVariableObjectResultOutput) Id added in v5.48.0

The provider-assigned unique ID for this managed resource.

func (LookupVariableObjectResultOutput) Name added in v5.48.0

func (LookupVariableObjectResultOutput) ResourceGroupName added in v5.48.0

func (LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutput added in v5.48.0

func (o LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutput() LookupVariableObjectResultOutput

func (LookupVariableObjectResultOutput) ToLookupVariableObjectResultOutputWithContext added in v5.48.0

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

func (LookupVariableObjectResultOutput) Value added in v5.48.0

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

type Module

type Module struct {
	pulumi.CustomResourceState

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

Manages a Automation Module.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewModule(ctx, "example", &automation.ModuleArgs{
			Name:                  pulumi.String("xActiveDirectory"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			ModuleLink: &automation.ModuleModuleLinkArgs{
				Uri: pulumi.String("https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetModule

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

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

func NewModule

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

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

func (*Module) ElementType

func (*Module) ElementType() reflect.Type

func (*Module) ToModuleOutput

func (i *Module) ToModuleOutput() ModuleOutput

func (*Module) ToModuleOutputWithContext

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

type ModuleArgs

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

The set of arguments for constructing a Module resource.

func (ModuleArgs) ElementType

func (ModuleArgs) ElementType() reflect.Type

type ModuleArray

type ModuleArray []ModuleInput

func (ModuleArray) ElementType

func (ModuleArray) ElementType() reflect.Type

func (ModuleArray) ToModuleArrayOutput

func (i ModuleArray) ToModuleArrayOutput() ModuleArrayOutput

func (ModuleArray) ToModuleArrayOutputWithContext

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

type ModuleArrayInput

type ModuleArrayInput interface {
	pulumi.Input

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

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

ModuleArray{ ModuleArgs{...} }

type ModuleArrayOutput

type ModuleArrayOutput struct{ *pulumi.OutputState }

func (ModuleArrayOutput) ElementType

func (ModuleArrayOutput) ElementType() reflect.Type

func (ModuleArrayOutput) Index

func (ModuleArrayOutput) ToModuleArrayOutput

func (o ModuleArrayOutput) ToModuleArrayOutput() ModuleArrayOutput

func (ModuleArrayOutput) ToModuleArrayOutputWithContext

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

type ModuleInput

type ModuleInput interface {
	pulumi.Input

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

type ModuleMap

type ModuleMap map[string]ModuleInput

func (ModuleMap) ElementType

func (ModuleMap) ElementType() reflect.Type

func (ModuleMap) ToModuleMapOutput

func (i ModuleMap) ToModuleMapOutput() ModuleMapOutput

func (ModuleMap) ToModuleMapOutputWithContext

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

type ModuleMapInput

type ModuleMapInput interface {
	pulumi.Input

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

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

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

type ModuleMapOutput

type ModuleMapOutput struct{ *pulumi.OutputState }

func (ModuleMapOutput) ElementType

func (ModuleMapOutput) ElementType() reflect.Type

func (ModuleMapOutput) MapIndex

func (ModuleMapOutput) ToModuleMapOutput

func (o ModuleMapOutput) ToModuleMapOutput() ModuleMapOutput

func (ModuleMapOutput) ToModuleMapOutputWithContext

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

type ModuleModuleLinkArgs

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

func (ModuleModuleLinkArgs) ElementType

func (ModuleModuleLinkArgs) ElementType() reflect.Type

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutput

func (i ModuleModuleLinkArgs) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkOutputWithContext

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

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput

func (i ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkArgs) ToModuleModuleLinkPtrOutputWithContext

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

type ModuleModuleLinkHash

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

type ModuleModuleLinkHashArgs

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

func (ModuleModuleLinkHashArgs) ElementType

func (ModuleModuleLinkHashArgs) ElementType() reflect.Type

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashOutputWithContext

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

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput

func (i ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashArgs) ToModuleModuleLinkHashPtrOutputWithContext

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

type ModuleModuleLinkHashInput

type ModuleModuleLinkHashInput interface {
	pulumi.Input

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

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

ModuleModuleLinkHashArgs{...}

type ModuleModuleLinkHashOutput

type ModuleModuleLinkHashOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashOutput) Algorithm

Specifies the algorithm used for the hash content.

func (ModuleModuleLinkHashOutput) ElementType

func (ModuleModuleLinkHashOutput) ElementType() reflect.Type

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutput() ModuleModuleLinkHashOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashOutputWithContext

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

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput

func (o ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashOutput) ToModuleModuleLinkHashPtrOutputWithContext

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

func (ModuleModuleLinkHashOutput) Value

The hash value of the content.

type ModuleModuleLinkHashPtrInput

type ModuleModuleLinkHashPtrInput interface {
	pulumi.Input

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

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

        ModuleModuleLinkHashArgs{...}

or:

        nil

type ModuleModuleLinkHashPtrOutput

type ModuleModuleLinkHashPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkHashPtrOutput) Algorithm

Specifies the algorithm used for the hash content.

func (ModuleModuleLinkHashPtrOutput) Elem

func (ModuleModuleLinkHashPtrOutput) ElementType

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput

func (o ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutput() ModuleModuleLinkHashPtrOutput

func (ModuleModuleLinkHashPtrOutput) ToModuleModuleLinkHashPtrOutputWithContext

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

func (ModuleModuleLinkHashPtrOutput) Value

The hash value of the content.

type ModuleModuleLinkInput

type ModuleModuleLinkInput interface {
	pulumi.Input

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

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

ModuleModuleLinkArgs{...}

type ModuleModuleLinkOutput

type ModuleModuleLinkOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkOutput) ElementType

func (ModuleModuleLinkOutput) ElementType() reflect.Type

func (ModuleModuleLinkOutput) Hash

A `hash` block as defined below.

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutput

func (o ModuleModuleLinkOutput) ToModuleModuleLinkOutput() ModuleModuleLinkOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkOutputWithContext

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

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput

func (o ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkOutput) ToModuleModuleLinkPtrOutputWithContext

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

func (ModuleModuleLinkOutput) Uri

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

type ModuleModuleLinkPtrInput

type ModuleModuleLinkPtrInput interface {
	pulumi.Input

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

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

        ModuleModuleLinkArgs{...}

or:

        nil

type ModuleModuleLinkPtrOutput

type ModuleModuleLinkPtrOutput struct{ *pulumi.OutputState }

func (ModuleModuleLinkPtrOutput) Elem

func (ModuleModuleLinkPtrOutput) ElementType

func (ModuleModuleLinkPtrOutput) ElementType() reflect.Type

func (ModuleModuleLinkPtrOutput) Hash

A `hash` block as defined below.

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput

func (o ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutput() ModuleModuleLinkPtrOutput

func (ModuleModuleLinkPtrOutput) ToModuleModuleLinkPtrOutputWithContext

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

func (ModuleModuleLinkPtrOutput) Uri

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

type ModuleOutput

type ModuleOutput struct{ *pulumi.OutputState }

func (ModuleOutput) AutomationAccountName 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

A `moduleLink` block as defined below.

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

func (ModuleState) ElementType

func (ModuleState) ElementType() reflect.Type

type Powershell72Module added in v5.61.0

type Powershell72Module struct {
	pulumi.CustomResourceState

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

Manages a Automation Powershell 7.2 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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewPowershell72Module(ctx, "example", &automation.Powershell72ModuleArgs{
			Name:                pulumi.String("xActiveDirectory"),
			AutomationAccountId: exampleAccount.ID(),
			ModuleLink: &automation.Powershell72ModuleModuleLinkArgs{
				Uri: pulumi.String("https://devopsgallerystorage.blob.core.windows.net/packages/xactivedirectory.2.19.0.nupkg"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetPowershell72Module added in v5.61.0

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

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

func NewPowershell72Module added in v5.61.0

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

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

func (*Powershell72Module) ElementType added in v5.61.0

func (*Powershell72Module) ElementType() reflect.Type

func (*Powershell72Module) ToPowershell72ModuleOutput added in v5.61.0

func (i *Powershell72Module) ToPowershell72ModuleOutput() Powershell72ModuleOutput

func (*Powershell72Module) ToPowershell72ModuleOutputWithContext added in v5.61.0

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

type Powershell72ModuleArgs added in v5.61.0

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

The set of arguments for constructing a Powershell72Module resource.

func (Powershell72ModuleArgs) ElementType added in v5.61.0

func (Powershell72ModuleArgs) ElementType() reflect.Type

type Powershell72ModuleArray added in v5.61.0

type Powershell72ModuleArray []Powershell72ModuleInput

func (Powershell72ModuleArray) ElementType added in v5.61.0

func (Powershell72ModuleArray) ElementType() reflect.Type

func (Powershell72ModuleArray) ToPowershell72ModuleArrayOutput added in v5.61.0

func (i Powershell72ModuleArray) ToPowershell72ModuleArrayOutput() Powershell72ModuleArrayOutput

func (Powershell72ModuleArray) ToPowershell72ModuleArrayOutputWithContext added in v5.61.0

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

type Powershell72ModuleArrayInput added in v5.61.0

type Powershell72ModuleArrayInput interface {
	pulumi.Input

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

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

Powershell72ModuleArray{ Powershell72ModuleArgs{...} }

type Powershell72ModuleArrayOutput added in v5.61.0

type Powershell72ModuleArrayOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleArrayOutput) ElementType added in v5.61.0

func (Powershell72ModuleArrayOutput) Index added in v5.61.0

func (Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutput added in v5.61.0

func (o Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutput() Powershell72ModuleArrayOutput

func (Powershell72ModuleArrayOutput) ToPowershell72ModuleArrayOutputWithContext added in v5.61.0

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

type Powershell72ModuleInput added in v5.61.0

type Powershell72ModuleInput interface {
	pulumi.Input

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

type Powershell72ModuleMap added in v5.61.0

type Powershell72ModuleMap map[string]Powershell72ModuleInput

func (Powershell72ModuleMap) ElementType added in v5.61.0

func (Powershell72ModuleMap) ElementType() reflect.Type

func (Powershell72ModuleMap) ToPowershell72ModuleMapOutput added in v5.61.0

func (i Powershell72ModuleMap) ToPowershell72ModuleMapOutput() Powershell72ModuleMapOutput

func (Powershell72ModuleMap) ToPowershell72ModuleMapOutputWithContext added in v5.61.0

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

type Powershell72ModuleMapInput added in v5.61.0

type Powershell72ModuleMapInput interface {
	pulumi.Input

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

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

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

type Powershell72ModuleMapOutput added in v5.61.0

type Powershell72ModuleMapOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleMapOutput) ElementType added in v5.61.0

func (Powershell72ModuleMapOutput) MapIndex added in v5.61.0

func (Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutput added in v5.61.0

func (o Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutput() Powershell72ModuleMapOutput

func (Powershell72ModuleMapOutput) ToPowershell72ModuleMapOutputWithContext added in v5.61.0

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

type Powershell72ModuleModuleLinkArgs added in v5.61.0

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

func (Powershell72ModuleModuleLinkArgs) ElementType added in v5.61.0

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutput added in v5.61.0

func (i Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutput() Powershell72ModuleModuleLinkOutput

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutput added in v5.61.0

func (i Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkArgs) ToPowershell72ModuleModuleLinkPtrOutputWithContext added in v5.61.0

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

type Powershell72ModuleModuleLinkHash added in v5.61.0

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

type Powershell72ModuleModuleLinkHashArgs added in v5.61.0

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

func (Powershell72ModuleModuleLinkHashArgs) ElementType added in v5.61.0

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutput added in v5.61.0

func (i Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutput() Powershell72ModuleModuleLinkHashOutput

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutput added in v5.61.0

func (i Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashArgs) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext added in v5.61.0

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

type Powershell72ModuleModuleLinkHashInput added in v5.61.0

type Powershell72ModuleModuleLinkHashInput interface {
	pulumi.Input

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

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

Powershell72ModuleModuleLinkHashArgs{...}

type Powershell72ModuleModuleLinkHashOutput added in v5.61.0

type Powershell72ModuleModuleLinkHashOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkHashOutput) Algorithm added in v5.61.0

Specifies the algorithm used for the hash content.

func (Powershell72ModuleModuleLinkHashOutput) ElementType added in v5.61.0

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutput added in v5.61.0

func (o Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutput() Powershell72ModuleModuleLinkHashOutput

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutput added in v5.61.0

func (o Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashOutput) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkHashOutput) Value added in v5.61.0

The hash value of the content.

type Powershell72ModuleModuleLinkHashPtrInput added in v5.61.0

type Powershell72ModuleModuleLinkHashPtrInput interface {
	pulumi.Input

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

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

        Powershell72ModuleModuleLinkHashArgs{...}

or:

        nil

type Powershell72ModuleModuleLinkHashPtrOutput added in v5.61.0

type Powershell72ModuleModuleLinkHashPtrOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkHashPtrOutput) Algorithm added in v5.61.0

Specifies the algorithm used for the hash content.

func (Powershell72ModuleModuleLinkHashPtrOutput) Elem added in v5.61.0

func (Powershell72ModuleModuleLinkHashPtrOutput) ElementType added in v5.61.0

func (Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutput added in v5.61.0

func (o Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutput() Powershell72ModuleModuleLinkHashPtrOutput

func (Powershell72ModuleModuleLinkHashPtrOutput) ToPowershell72ModuleModuleLinkHashPtrOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkHashPtrOutput) Value added in v5.61.0

The hash value of the content.

type Powershell72ModuleModuleLinkInput added in v5.61.0

type Powershell72ModuleModuleLinkInput interface {
	pulumi.Input

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

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

Powershell72ModuleModuleLinkArgs{...}

type Powershell72ModuleModuleLinkOutput added in v5.61.0

type Powershell72ModuleModuleLinkOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkOutput) ElementType added in v5.61.0

func (Powershell72ModuleModuleLinkOutput) Hash added in v5.61.0

A `hash` block as defined below.

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutput added in v5.61.0

func (o Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutput() Powershell72ModuleModuleLinkOutput

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutput added in v5.61.0

func (o Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkOutput) ToPowershell72ModuleModuleLinkPtrOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkOutput) Uri added in v5.61.0

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

type Powershell72ModuleModuleLinkPtrInput added in v5.61.0

type Powershell72ModuleModuleLinkPtrInput interface {
	pulumi.Input

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

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

        Powershell72ModuleModuleLinkArgs{...}

or:

        nil

func Powershell72ModuleModuleLinkPtr added in v5.61.0

type Powershell72ModuleModuleLinkPtrOutput added in v5.61.0

type Powershell72ModuleModuleLinkPtrOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleModuleLinkPtrOutput) Elem added in v5.61.0

func (Powershell72ModuleModuleLinkPtrOutput) ElementType added in v5.61.0

func (Powershell72ModuleModuleLinkPtrOutput) Hash added in v5.61.0

A `hash` block as defined below.

func (Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutput added in v5.61.0

func (o Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutput() Powershell72ModuleModuleLinkPtrOutput

func (Powershell72ModuleModuleLinkPtrOutput) ToPowershell72ModuleModuleLinkPtrOutputWithContext added in v5.61.0

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

func (Powershell72ModuleModuleLinkPtrOutput) Uri added in v5.61.0

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

type Powershell72ModuleOutput added in v5.61.0

type Powershell72ModuleOutput struct{ *pulumi.OutputState }

func (Powershell72ModuleOutput) AutomationAccountId added in v5.61.0

func (o Powershell72ModuleOutput) AutomationAccountId() pulumi.StringOutput

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

func (Powershell72ModuleOutput) ElementType added in v5.61.0

func (Powershell72ModuleOutput) ElementType() reflect.Type

A `moduleLink` block as defined below.

func (Powershell72ModuleOutput) Name added in v5.61.0

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

func (Powershell72ModuleOutput) ToPowershell72ModuleOutput added in v5.61.0

func (o Powershell72ModuleOutput) ToPowershell72ModuleOutput() Powershell72ModuleOutput

func (Powershell72ModuleOutput) ToPowershell72ModuleOutputWithContext added in v5.61.0

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

type Powershell72ModuleState added in v5.61.0

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

func (Powershell72ModuleState) ElementType added in v5.61.0

func (Powershell72ModuleState) ElementType() reflect.Type

type Python3Package added in v5.52.0

type Python3Package struct {
	pulumi.CustomResourceState

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

Manages a Automation Python3 Package.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("%[2]s"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("accexample"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewPython3Package(ctx, "example", &automation.Python3PackageArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			ContentUri:            pulumi.String("https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz"),
			ContentVersion:        pulumi.String("2.31.0"),
			HashAlgorithm:         pulumi.String("sha256"),
			HashValue:             pulumi.String("942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"),
			Tags: pulumi.StringMap{
				"key": pulumi.String("foo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetPython3Package added in v5.52.0

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

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

func NewPython3Package added in v5.52.0

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

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

func (*Python3Package) ElementType added in v5.52.0

func (*Python3Package) ElementType() reflect.Type

func (*Python3Package) ToPython3PackageOutput added in v5.52.0

func (i *Python3Package) ToPython3PackageOutput() Python3PackageOutput

func (*Python3Package) ToPython3PackageOutputWithContext added in v5.52.0

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

type Python3PackageArgs added in v5.52.0

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

The set of arguments for constructing a Python3Package resource.

func (Python3PackageArgs) ElementType added in v5.52.0

func (Python3PackageArgs) ElementType() reflect.Type

type Python3PackageArray added in v5.52.0

type Python3PackageArray []Python3PackageInput

func (Python3PackageArray) ElementType added in v5.52.0

func (Python3PackageArray) ElementType() reflect.Type

func (Python3PackageArray) ToPython3PackageArrayOutput added in v5.52.0

func (i Python3PackageArray) ToPython3PackageArrayOutput() Python3PackageArrayOutput

func (Python3PackageArray) ToPython3PackageArrayOutputWithContext added in v5.52.0

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

type Python3PackageArrayInput added in v5.52.0

type Python3PackageArrayInput interface {
	pulumi.Input

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

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

Python3PackageArray{ Python3PackageArgs{...} }

type Python3PackageArrayOutput added in v5.52.0

type Python3PackageArrayOutput struct{ *pulumi.OutputState }

func (Python3PackageArrayOutput) ElementType added in v5.52.0

func (Python3PackageArrayOutput) ElementType() reflect.Type

func (Python3PackageArrayOutput) Index added in v5.52.0

func (Python3PackageArrayOutput) ToPython3PackageArrayOutput added in v5.52.0

func (o Python3PackageArrayOutput) ToPython3PackageArrayOutput() Python3PackageArrayOutput

func (Python3PackageArrayOutput) ToPython3PackageArrayOutputWithContext added in v5.52.0

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

type Python3PackageInput added in v5.52.0

type Python3PackageInput interface {
	pulumi.Input

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

type Python3PackageMap added in v5.52.0

type Python3PackageMap map[string]Python3PackageInput

func (Python3PackageMap) ElementType added in v5.52.0

func (Python3PackageMap) ElementType() reflect.Type

func (Python3PackageMap) ToPython3PackageMapOutput added in v5.52.0

func (i Python3PackageMap) ToPython3PackageMapOutput() Python3PackageMapOutput

func (Python3PackageMap) ToPython3PackageMapOutputWithContext added in v5.52.0

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

type Python3PackageMapInput added in v5.52.0

type Python3PackageMapInput interface {
	pulumi.Input

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

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

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

type Python3PackageMapOutput added in v5.52.0

type Python3PackageMapOutput struct{ *pulumi.OutputState }

func (Python3PackageMapOutput) ElementType added in v5.52.0

func (Python3PackageMapOutput) ElementType() reflect.Type

func (Python3PackageMapOutput) MapIndex added in v5.52.0

func (Python3PackageMapOutput) ToPython3PackageMapOutput added in v5.52.0

func (o Python3PackageMapOutput) ToPython3PackageMapOutput() Python3PackageMapOutput

func (Python3PackageMapOutput) ToPython3PackageMapOutputWithContext added in v5.52.0

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

type Python3PackageOutput added in v5.52.0

type Python3PackageOutput struct{ *pulumi.OutputState }

func (Python3PackageOutput) AutomationAccountName added in v5.52.0

func (o Python3PackageOutput) AutomationAccountName() pulumi.StringOutput

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

func (Python3PackageOutput) ContentUri added in v5.52.0

func (o Python3PackageOutput) ContentUri() pulumi.StringOutput

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

func (Python3PackageOutput) ContentVersion added in v5.52.0

func (o Python3PackageOutput) ContentVersion() pulumi.StringPtrOutput

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

func (Python3PackageOutput) ElementType added in v5.52.0

func (Python3PackageOutput) ElementType() reflect.Type

func (Python3PackageOutput) HashAlgorithm added in v5.52.0

func (o Python3PackageOutput) HashAlgorithm() pulumi.StringPtrOutput

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

func (Python3PackageOutput) HashValue added in v5.52.0

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

func (Python3PackageOutput) Name added in v5.52.0

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

func (Python3PackageOutput) ResourceGroupName added in v5.52.0

func (o Python3PackageOutput) ResourceGroupName() pulumi.StringOutput

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

func (Python3PackageOutput) Tags added in v5.52.0

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

func (Python3PackageOutput) ToPython3PackageOutput added in v5.52.0

func (o Python3PackageOutput) ToPython3PackageOutput() Python3PackageOutput

func (Python3PackageOutput) ToPython3PackageOutputWithContext added in v5.52.0

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

type Python3PackageState added in v5.52.0

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

func (Python3PackageState) ElementType added in v5.52.0

func (Python3PackageState) ElementType() reflect.Type

type RunBook

type RunBook struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// The desired content of the runbook.
	//
	// > **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.
	Content pulumi.StringOutput `pulumi:"content"`
	// A description for this credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A `draft` block as defined below .
	Draft        RunBookDraftPtrOutput         `pulumi:"draft"`
	JobSchedules RunBookJobScheduleArrayOutput `pulumi:"jobSchedules"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.
	LogActivityTraceLevel pulumi.IntPtrOutput `pulumi:"logActivityTraceLevel"`
	// Progress log option.
	LogProgress pulumi.BoolOutput `pulumi:"logProgress"`
	// Verbose log option.
	LogVerbose pulumi.BoolOutput `pulumi:"logVerbose"`
	// Specifies the name of the Runbook. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One `publishContentLink` block as defined below.
	PublishContentLink RunBookPublishContentLinkPtrOutput `pulumi:"publishContentLink"`
	// The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.
	RunbookType pulumi.StringOutput `pulumi:"runbookType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Automation Runbook.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("account1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			LogVerbose:            pulumi.Bool(true),
			LogProgress:           pulumi.Bool(true),
			Description:           pulumi.String("This is an example runbook"),
			RunbookType:           pulumi.String("PowerShellWorkflow"),
			PublishContentLink: &automation.RunBookPublishContentLinkArgs{
				Uri: pulumi.String("https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetRunBook

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

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

func NewRunBook

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

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

func (*RunBook) ElementType

func (*RunBook) ElementType() reflect.Type

func (*RunBook) ToRunBookOutput

func (i *RunBook) ToRunBookOutput() RunBookOutput

func (*RunBook) ToRunBookOutputWithContext

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

type RunBookArgs

type RunBookArgs struct {
	// The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// The desired content of the runbook.
	//
	// > **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description pulumi.StringPtrInput
	// A `draft` block as defined below .
	Draft        RunBookDraftPtrInput
	JobSchedules RunBookJobScheduleArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.
	LogActivityTraceLevel pulumi.IntPtrInput
	// Progress log option.
	LogProgress pulumi.BoolInput
	// Verbose log option.
	LogVerbose pulumi.BoolInput
	// Specifies the name of the Runbook. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One `publishContentLink` block as defined below.
	PublishContentLink RunBookPublishContentLinkPtrInput
	// The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.
	RunbookType pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a RunBook resource.

func (RunBookArgs) ElementType

func (RunBookArgs) ElementType() reflect.Type

type RunBookArray

type RunBookArray []RunBookInput

func (RunBookArray) ElementType

func (RunBookArray) ElementType() reflect.Type

func (RunBookArray) ToRunBookArrayOutput

func (i RunBookArray) ToRunBookArrayOutput() RunBookArrayOutput

func (RunBookArray) ToRunBookArrayOutputWithContext

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

type RunBookArrayInput

type RunBookArrayInput interface {
	pulumi.Input

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

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

RunBookArray{ RunBookArgs{...} }

type RunBookArrayOutput

type RunBookArrayOutput struct{ *pulumi.OutputState }

func (RunBookArrayOutput) ElementType

func (RunBookArrayOutput) ElementType() reflect.Type

func (RunBookArrayOutput) Index

func (RunBookArrayOutput) ToRunBookArrayOutput

func (o RunBookArrayOutput) ToRunBookArrayOutput() RunBookArrayOutput

func (RunBookArrayOutput) ToRunBookArrayOutputWithContext

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

type RunBookDraft added in v5.22.0

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

type RunBookDraftArgs added in v5.22.0

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

func (RunBookDraftArgs) ElementType added in v5.22.0

func (RunBookDraftArgs) ElementType() reflect.Type

func (RunBookDraftArgs) ToRunBookDraftOutput added in v5.22.0

func (i RunBookDraftArgs) ToRunBookDraftOutput() RunBookDraftOutput

func (RunBookDraftArgs) ToRunBookDraftOutputWithContext added in v5.22.0

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

func (RunBookDraftArgs) ToRunBookDraftPtrOutput added in v5.22.0

func (i RunBookDraftArgs) ToRunBookDraftPtrOutput() RunBookDraftPtrOutput

func (RunBookDraftArgs) ToRunBookDraftPtrOutputWithContext added in v5.22.0

func (i RunBookDraftArgs) ToRunBookDraftPtrOutputWithContext(ctx context.Context) RunBookDraftPtrOutput
type RunBookDraftContentLink struct {
	Hash    *RunBookDraftContentLinkHash `pulumi:"hash"`
	Uri     string                       `pulumi:"uri"`
	Version *string                      `pulumi:"version"`
}

type RunBookDraftContentLinkArgs added in v5.22.0

type RunBookDraftContentLinkArgs struct {
	Hash    RunBookDraftContentLinkHashPtrInput `pulumi:"hash"`
	Uri     pulumi.StringInput                  `pulumi:"uri"`
	Version pulumi.StringPtrInput               `pulumi:"version"`
}

func (RunBookDraftContentLinkArgs) ElementType added in v5.22.0

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutput added in v5.22.0

func (i RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutput() RunBookDraftContentLinkOutput

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutput added in v5.22.0

func (i RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkArgs) ToRunBookDraftContentLinkPtrOutputWithContext added in v5.22.0

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

type RunBookDraftContentLinkHash added in v5.22.0

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

type RunBookDraftContentLinkHashArgs added in v5.22.0

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

func (RunBookDraftContentLinkHashArgs) ElementType added in v5.22.0

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutput added in v5.22.0

func (i RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutput() RunBookDraftContentLinkHashOutput

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutput added in v5.22.0

func (i RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashArgs) ToRunBookDraftContentLinkHashPtrOutputWithContext added in v5.22.0

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

type RunBookDraftContentLinkHashInput added in v5.22.0

type RunBookDraftContentLinkHashInput interface {
	pulumi.Input

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

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

RunBookDraftContentLinkHashArgs{...}

type RunBookDraftContentLinkHashOutput added in v5.22.0

type RunBookDraftContentLinkHashOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkHashOutput) Algorithm added in v5.22.0

Specifies the hash algorithm used to hash the content.

func (RunBookDraftContentLinkHashOutput) ElementType added in v5.22.0

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutput added in v5.22.0

func (o RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutput() RunBookDraftContentLinkHashOutput

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutput added in v5.22.0

func (o RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashOutput) ToRunBookDraftContentLinkHashPtrOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkHashOutput) Value added in v5.22.0

Specifies the expected hash value of the content.

type RunBookDraftContentLinkHashPtrInput added in v5.22.0

type RunBookDraftContentLinkHashPtrInput interface {
	pulumi.Input

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

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

        RunBookDraftContentLinkHashArgs{...}

or:

        nil

func RunBookDraftContentLinkHashPtr added in v5.22.0

type RunBookDraftContentLinkHashPtrOutput added in v5.22.0

type RunBookDraftContentLinkHashPtrOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkHashPtrOutput) Algorithm added in v5.22.0

Specifies the hash algorithm used to hash the content.

func (RunBookDraftContentLinkHashPtrOutput) Elem added in v5.22.0

func (RunBookDraftContentLinkHashPtrOutput) ElementType added in v5.22.0

func (RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutput added in v5.22.0

func (o RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutput() RunBookDraftContentLinkHashPtrOutput

func (RunBookDraftContentLinkHashPtrOutput) ToRunBookDraftContentLinkHashPtrOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkHashPtrOutput) Value added in v5.22.0

Specifies the expected hash value of the content.

type RunBookDraftContentLinkInput added in v5.22.0

type RunBookDraftContentLinkInput interface {
	pulumi.Input

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

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

RunBookDraftContentLinkArgs{...}

type RunBookDraftContentLinkOutput added in v5.22.0

type RunBookDraftContentLinkOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkOutput) ElementType added in v5.22.0

func (RunBookDraftContentLinkOutput) Hash added in v5.22.0

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutput added in v5.22.0

func (o RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutput() RunBookDraftContentLinkOutput

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutput added in v5.22.0

func (o RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkOutput) ToRunBookDraftContentLinkPtrOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkOutput) Uri added in v5.22.0

func (RunBookDraftContentLinkOutput) Version added in v5.22.0

type RunBookDraftContentLinkPtrInput added in v5.22.0

type RunBookDraftContentLinkPtrInput interface {
	pulumi.Input

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

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

        RunBookDraftContentLinkArgs{...}

or:

        nil

func RunBookDraftContentLinkPtr added in v5.22.0

func RunBookDraftContentLinkPtr(v *RunBookDraftContentLinkArgs) RunBookDraftContentLinkPtrInput

type RunBookDraftContentLinkPtrOutput added in v5.22.0

type RunBookDraftContentLinkPtrOutput struct{ *pulumi.OutputState }

func (RunBookDraftContentLinkPtrOutput) Elem added in v5.22.0

func (RunBookDraftContentLinkPtrOutput) ElementType added in v5.22.0

func (RunBookDraftContentLinkPtrOutput) Hash added in v5.22.0

func (RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutput added in v5.22.0

func (o RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutput() RunBookDraftContentLinkPtrOutput

func (RunBookDraftContentLinkPtrOutput) ToRunBookDraftContentLinkPtrOutputWithContext added in v5.22.0

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

func (RunBookDraftContentLinkPtrOutput) Uri added in v5.22.0

func (RunBookDraftContentLinkPtrOutput) Version added in v5.22.0

type RunBookDraftInput added in v5.22.0

type RunBookDraftInput interface {
	pulumi.Input

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

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

RunBookDraftArgs{...}

type RunBookDraftOutput added in v5.22.0

type RunBookDraftOutput struct{ *pulumi.OutputState }

A `publishContentLink` block as defined above.

func (RunBookDraftOutput) CreationTime added in v5.22.0

func (o RunBookDraftOutput) CreationTime() pulumi.StringPtrOutput

func (RunBookDraftOutput) EditModeEnabled added in v5.22.0

func (o RunBookDraftOutput) EditModeEnabled() pulumi.BoolPtrOutput

Whether the draft in edit mode.

func (RunBookDraftOutput) ElementType added in v5.22.0

func (RunBookDraftOutput) ElementType() reflect.Type

func (RunBookDraftOutput) LastModifiedTime added in v5.22.0

func (o RunBookDraftOutput) LastModifiedTime() pulumi.StringPtrOutput

func (RunBookDraftOutput) OutputTypes added in v5.22.0

Specifies the output types of the runbook.

func (RunBookDraftOutput) Parameters added in v5.22.0

A list of `parameters` block as defined below.

func (RunBookDraftOutput) ToRunBookDraftOutput added in v5.22.0

func (o RunBookDraftOutput) ToRunBookDraftOutput() RunBookDraftOutput

func (RunBookDraftOutput) ToRunBookDraftOutputWithContext added in v5.22.0

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

func (RunBookDraftOutput) ToRunBookDraftPtrOutput added in v5.22.0

func (o RunBookDraftOutput) ToRunBookDraftPtrOutput() RunBookDraftPtrOutput

func (RunBookDraftOutput) ToRunBookDraftPtrOutputWithContext added in v5.22.0

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

type RunBookDraftParameter added in v5.22.0

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

type RunBookDraftParameterArgs added in v5.22.0

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

func (RunBookDraftParameterArgs) ElementType added in v5.22.0

func (RunBookDraftParameterArgs) ElementType() reflect.Type

func (RunBookDraftParameterArgs) ToRunBookDraftParameterOutput added in v5.22.0

func (i RunBookDraftParameterArgs) ToRunBookDraftParameterOutput() RunBookDraftParameterOutput

func (RunBookDraftParameterArgs) ToRunBookDraftParameterOutputWithContext added in v5.22.0

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

type RunBookDraftParameterArray added in v5.22.0

type RunBookDraftParameterArray []RunBookDraftParameterInput

func (RunBookDraftParameterArray) ElementType added in v5.22.0

func (RunBookDraftParameterArray) ElementType() reflect.Type

func (RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutput added in v5.22.0

func (i RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutput() RunBookDraftParameterArrayOutput

func (RunBookDraftParameterArray) ToRunBookDraftParameterArrayOutputWithContext added in v5.22.0

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

type RunBookDraftParameterArrayInput added in v5.22.0

type RunBookDraftParameterArrayInput interface {
	pulumi.Input

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

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

RunBookDraftParameterArray{ RunBookDraftParameterArgs{...} }

type RunBookDraftParameterArrayOutput added in v5.22.0

type RunBookDraftParameterArrayOutput struct{ *pulumi.OutputState }

func (RunBookDraftParameterArrayOutput) ElementType added in v5.22.0

func (RunBookDraftParameterArrayOutput) Index added in v5.22.0

func (RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutput added in v5.22.0

func (o RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutput() RunBookDraftParameterArrayOutput

func (RunBookDraftParameterArrayOutput) ToRunBookDraftParameterArrayOutputWithContext added in v5.22.0

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

type RunBookDraftParameterInput added in v5.22.0

type RunBookDraftParameterInput interface {
	pulumi.Input

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

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

RunBookDraftParameterArgs{...}

type RunBookDraftParameterOutput added in v5.22.0

type RunBookDraftParameterOutput struct{ *pulumi.OutputState }

func (RunBookDraftParameterOutput) DefaultValue added in v5.22.0

Specifies the default value of the parameter.

func (RunBookDraftParameterOutput) ElementType added in v5.22.0

func (RunBookDraftParameterOutput) Key added in v5.22.0

The name of the parameter.

func (RunBookDraftParameterOutput) Mandatory added in v5.22.0

Whether this parameter is mandatory.

func (RunBookDraftParameterOutput) Position added in v5.22.0

Specifies the position of the parameter.

func (RunBookDraftParameterOutput) ToRunBookDraftParameterOutput added in v5.22.0

func (o RunBookDraftParameterOutput) ToRunBookDraftParameterOutput() RunBookDraftParameterOutput

func (RunBookDraftParameterOutput) ToRunBookDraftParameterOutputWithContext added in v5.22.0

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

func (RunBookDraftParameterOutput) Type added in v5.22.0

Specifies the type of this parameter.

type RunBookDraftPtrInput added in v5.22.0

type RunBookDraftPtrInput interface {
	pulumi.Input

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

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

        RunBookDraftArgs{...}

or:

        nil

func RunBookDraftPtr added in v5.22.0

func RunBookDraftPtr(v *RunBookDraftArgs) RunBookDraftPtrInput

type RunBookDraftPtrOutput added in v5.22.0

type RunBookDraftPtrOutput struct{ *pulumi.OutputState }

A `publishContentLink` block as defined above.

func (RunBookDraftPtrOutput) CreationTime added in v5.22.0

func (o RunBookDraftPtrOutput) CreationTime() pulumi.StringPtrOutput

func (RunBookDraftPtrOutput) EditModeEnabled added in v5.22.0

func (o RunBookDraftPtrOutput) EditModeEnabled() pulumi.BoolPtrOutput

Whether the draft in edit mode.

func (RunBookDraftPtrOutput) Elem added in v5.22.0

func (RunBookDraftPtrOutput) ElementType added in v5.22.0

func (RunBookDraftPtrOutput) ElementType() reflect.Type

func (RunBookDraftPtrOutput) LastModifiedTime added in v5.22.0

func (o RunBookDraftPtrOutput) LastModifiedTime() pulumi.StringPtrOutput

func (RunBookDraftPtrOutput) OutputTypes added in v5.22.0

Specifies the output types of the runbook.

func (RunBookDraftPtrOutput) Parameters added in v5.22.0

A list of `parameters` block as defined below.

func (RunBookDraftPtrOutput) ToRunBookDraftPtrOutput added in v5.22.0

func (o RunBookDraftPtrOutput) ToRunBookDraftPtrOutput() RunBookDraftPtrOutput

func (RunBookDraftPtrOutput) ToRunBookDraftPtrOutputWithContext added in v5.22.0

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

type RunBookInput

type RunBookInput interface {
	pulumi.Input

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

type RunBookJobSchedule

type RunBookJobSchedule struct {
	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.

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

func (RunBookOutput) Description added in v5.5.0

func (o RunBookOutput) Description() pulumi.StringPtrOutput

A description for this credential.

func (RunBookOutput) Draft added in v5.22.0

A `draft` block as defined below .

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) LogActivityTraceLevel added in v5.22.0

func (o RunBookOutput) LogActivityTraceLevel() pulumi.IntPtrOutput

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

func (RunBookOutput) LogProgress 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

One `publishContentLink` block as defined below.

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`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.

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

type RunBookPublishContentLinkArgs

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

func (RunBookPublishContentLinkArgs) ElementType

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkOutputWithContext

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

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput

func (i RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkArgs) ToRunBookPublishContentLinkPtrOutputWithContext

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

type RunBookPublishContentLinkHash

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

type RunBookPublishContentLinkHashArgs

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

func (RunBookPublishContentLinkHashArgs) ElementType

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashOutputWithContext

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

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput

func (i RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashArgs) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

type RunBookPublishContentLinkHashInput

type RunBookPublishContentLinkHashInput interface {
	pulumi.Input

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

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

RunBookPublishContentLinkHashArgs{...}

type RunBookPublishContentLinkHashOutput

type RunBookPublishContentLinkHashOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashOutput) Algorithm

Specifies the hash algorithm used to hash the content.

func (RunBookPublishContentLinkHashOutput) ElementType

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutput() RunBookPublishContentLinkHashOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashOutputWithContext

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

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput

func (o RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

func (RunBookPublishContentLinkHashOutput) Value

Specifies the expected hash value of the content.

type RunBookPublishContentLinkHashPtrInput

type RunBookPublishContentLinkHashPtrInput interface {
	pulumi.Input

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

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

        RunBookPublishContentLinkHashArgs{...}

or:

        nil

type RunBookPublishContentLinkHashPtrOutput

type RunBookPublishContentLinkHashPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkHashPtrOutput) Algorithm

Specifies the hash algorithm used to hash the content.

func (RunBookPublishContentLinkHashPtrOutput) Elem

func (RunBookPublishContentLinkHashPtrOutput) ElementType

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput

func (o RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutput() RunBookPublishContentLinkHashPtrOutput

func (RunBookPublishContentLinkHashPtrOutput) ToRunBookPublishContentLinkHashPtrOutputWithContext

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

func (RunBookPublishContentLinkHashPtrOutput) Value

Specifies the expected hash value of the content.

type RunBookPublishContentLinkInput

type RunBookPublishContentLinkInput interface {
	pulumi.Input

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

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

RunBookPublishContentLinkArgs{...}

type RunBookPublishContentLinkOutput

type RunBookPublishContentLinkOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkOutput) ElementType

func (RunBookPublishContentLinkOutput) Hash

A `hash` block as defined below.

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutput() RunBookPublishContentLinkOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkOutputWithContext

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

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput

func (o RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkOutput) ToRunBookPublishContentLinkPtrOutputWithContext

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

func (RunBookPublishContentLinkOutput) Uri

The URI of the runbook content.

func (RunBookPublishContentLinkOutput) Version

Specifies the version of the content

type RunBookPublishContentLinkPtrInput

type RunBookPublishContentLinkPtrInput interface {
	pulumi.Input

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

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

        RunBookPublishContentLinkArgs{...}

or:

        nil

type RunBookPublishContentLinkPtrOutput

type RunBookPublishContentLinkPtrOutput struct{ *pulumi.OutputState }

func (RunBookPublishContentLinkPtrOutput) Elem

func (RunBookPublishContentLinkPtrOutput) ElementType

func (RunBookPublishContentLinkPtrOutput) Hash

A `hash` block as defined below.

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput

func (o RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutput() RunBookPublishContentLinkPtrOutput

func (RunBookPublishContentLinkPtrOutput) ToRunBookPublishContentLinkPtrOutputWithContext

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

func (RunBookPublishContentLinkPtrOutput) Uri

The URI of the runbook content.

func (RunBookPublishContentLinkPtrOutput) Version

Specifies the version of the content

type RunBookState

type RunBookState struct {
	// The name of the automation account in which the Runbook is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// The desired content of the runbook.
	//
	// > **NOTE** The Azure API requires a `publishContentLink` to be supplied even when specifying your own `content`.
	Content pulumi.StringPtrInput
	// A description for this credential.
	Description pulumi.StringPtrInput
	// A `draft` block as defined below .
	Draft        RunBookDraftPtrInput
	JobSchedules RunBookJobScheduleArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the activity-level tracing options of the runbook, available only for Graphical runbooks. Possible values are `0` for None, `9` for Basic, and `15` for Detailed. Must turn on Verbose logging in order to see the tracing.
	LogActivityTraceLevel pulumi.IntPtrInput
	// Progress log option.
	LogProgress pulumi.BoolPtrInput
	// Verbose log option.
	LogVerbose pulumi.BoolPtrInput
	// Specifies the name of the Runbook. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// One `publishContentLink` block as defined below.
	PublishContentLink RunBookPublishContentLinkPtrInput
	// The name of the resource group in which the Runbook is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The type of the runbook - can be either `Graph`, `GraphPowerShell`, `GraphPowerShellWorkflow`, `PowerShellWorkflow`, `PowerShell`, `PowerShell72`, `Python3`, `Python2` or `Script`. Changing this forces a new resource to be created.
	RunbookType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (RunBookState) ElementType

func (RunBookState) ElementType() reflect.Type

type Schedule

type Schedule struct {
	pulumi.CustomResourceState

	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringOutput `pulumi:"automationAccountName"`
	// A description for this Schedule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The end time of the schedule.
	ExpiryTime pulumi.StringOutput `pulumi:"expiryTime"`
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringOutput `pulumi:"frequency"`
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
	Interval pulumi.IntOutput `pulumi:"interval"`
	// List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
	MonthDays pulumi.IntArrayOutput `pulumi:"monthDays"`
	// One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	Timezone pulumi.StringPtrOutput `pulumi:"timezone"`
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
	WeekDays pulumi.StringArrayOutput `pulumi:"weekDays"`
}

Manages a Automation Schedule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-automation-account"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-automation-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSchedule(ctx, "example", &automation.ScheduleArgs{
			Name:                  pulumi.String("tfex-automation-schedule"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Frequency:             pulumi.String("Week"),
			Interval:              pulumi.Int(1),
			Timezone:              pulumi.String("Australia/Perth"),
			StartTime:             pulumi.String("2014-04-15T18:00:15+02:00"),
			Description:           pulumi.String("This is an example schedule"),
			WeekDays: pulumi.StringArray{
				pulumi.String("Friday"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetSchedule

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

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

func NewSchedule

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

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

func (*Schedule) ElementType

func (*Schedule) ElementType() reflect.Type

func (*Schedule) ToScheduleOutput

func (i *Schedule) ToScheduleOutput() ScheduleOutput

func (*Schedule) ToScheduleOutputWithContext

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

type ScheduleArgs

type ScheduleArgs struct {
	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringInput
	// A description for this Schedule.
	Description pulumi.StringPtrInput
	// The end time of the schedule.
	ExpiryTime pulumi.StringPtrInput
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringInput
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
	Interval pulumi.IntPtrInput
	// List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
	MonthDays pulumi.IntArrayInput
	// One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	Timezone pulumi.StringPtrInput
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
	WeekDays pulumi.StringArrayInput
}

The set of arguments for constructing a Schedule resource.

func (ScheduleArgs) ElementType

func (ScheduleArgs) ElementType() reflect.Type

type ScheduleArray

type ScheduleArray []ScheduleInput

func (ScheduleArray) ElementType

func (ScheduleArray) ElementType() reflect.Type

func (ScheduleArray) ToScheduleArrayOutput

func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArray) ToScheduleArrayOutputWithContext

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

type ScheduleArrayInput

type ScheduleArrayInput interface {
	pulumi.Input

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

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

ScheduleArray{ ScheduleArgs{...} }

type ScheduleArrayOutput

type ScheduleArrayOutput struct{ *pulumi.OutputState }

func (ScheduleArrayOutput) ElementType

func (ScheduleArrayOutput) ElementType() reflect.Type

func (ScheduleArrayOutput) Index

func (ScheduleArrayOutput) ToScheduleArrayOutput

func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput

func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext

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

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

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

type ScheduleMap

type ScheduleMap map[string]ScheduleInput

func (ScheduleMap) ElementType

func (ScheduleMap) ElementType() reflect.Type

func (ScheduleMap) ToScheduleMapOutput

func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMap) ToScheduleMapOutputWithContext

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

type ScheduleMapInput

type ScheduleMapInput interface {
	pulumi.Input

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

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

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

type ScheduleMapOutput

type ScheduleMapOutput struct{ *pulumi.OutputState }

func (ScheduleMapOutput) ElementType

func (ScheduleMapOutput) ElementType() reflect.Type

func (ScheduleMapOutput) MapIndex

func (ScheduleMapOutput) ToScheduleMapOutput

func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput

func (ScheduleMapOutput) ToScheduleMapOutputWithContext

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

type ScheduleMonthlyOccurrence

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

type ScheduleMonthlyOccurrenceArgs

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

func (ScheduleMonthlyOccurrenceArgs) ElementType

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput

func (i ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutput() ScheduleMonthlyOccurrenceOutput

func (ScheduleMonthlyOccurrenceArgs) ToScheduleMonthlyOccurrenceOutputWithContext

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

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

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

func (ScheduleOutput) Name 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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

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

func (ScheduleOutput) WeekDays added in v5.5.0

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

type ScheduleState

type ScheduleState struct {
	// The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
	AutomationAccountName pulumi.StringPtrInput
	// A description for this Schedule.
	Description pulumi.StringPtrInput
	// The end time of the schedule.
	ExpiryTime pulumi.StringPtrInput
	// The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
	Frequency pulumi.StringPtrInput
	// The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
	Interval pulumi.IntPtrInput
	// List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
	MonthDays pulumi.IntArrayInput
	// One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
	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 `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
	Timezone pulumi.StringPtrInput
	// List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
	WeekDays pulumi.StringArrayInput
}

func (ScheduleState) ElementType

func (ScheduleState) ElementType() reflect.Type

type SoftwareUpdateConfiguration 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. Defaults to `PT2H`.
	Duration pulumi.StringPtrOutput `pulumi:"duration"`
	// The Error code when failed.
	ErrorCode pulumi.StringOutput `pulumi:"errorCode"`
	// The Error message indicating why the operation failed.
	//
	// Deprecated: `errorMeesage` will be removed in favour of `errorMessage` in version 4.0 of the AzureRM Provider
	ErrorMeesage pulumi.StringOutput `pulumi:"errorMeesage"`
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// A `linux` block 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"`
	// Deprecated: This property has been deprecated and will be removed in a future release. The use of either the `linux` or `windows` blocks replaces setting this value directly. This value is ignored by the provider.
	OperatingSystem pulumi.StringOutput `pulumi:"operatingSystem"`
	// A `postTask` blocks as defined below.
	PostTasks SoftwareUpdateConfigurationPostTaskArrayOutput `pulumi:"postTasks"`
	// A `preTask` blocks as defined below.
	PreTasks SoftwareUpdateConfigurationPreTaskArrayOutput `pulumi:"preTasks"`
	// A `schedule` blocks as defined below.
	Schedules SoftwareUpdateConfigurationScheduleArrayOutput `pulumi:"schedules"`
	// A `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrOutput `pulumi:"target"`
	// Specifies a list of Azure Resource IDs of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayOutput `pulumi:"virtualMachineIds"`
	// A `windows` block as defined below.
	//
	// > **NOTE:** One of `linux` or `windows` must be specified.
	Windows SoftwareUpdateConfigurationWindowsPtrOutput `pulumi:"windows"`
}

Manages an Automation Software Update Configuraion.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("East US"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			LogVerbose:            pulumi.Bool(true),
			LogProgress:           pulumi.Bool(true),
			Description:           pulumi.String("This is a example runbook for terraform acceptance example"),
			RunbookType:           pulumi.String("Python3"),
			Content:               pulumi.String("# Some example content\n# for Terraform acceptance example\n"),
			Tags: pulumi.StringMap{
				"ENV": pulumi.String("runbook_test"),
			},
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSoftwareUpdateConfiguration(ctx, "example", &automation.SoftwareUpdateConfigurationArgs{
			Name:                pulumi.String("example"),
			AutomationAccountId: exampleAccount.ID(),
			OperatingSystem:     pulumi.String("Linux"),
			Linuxes: automation.SoftwareUpdateConfigurationLinuxArray{
				&automation.SoftwareUpdateConfigurationLinuxArgs{
					ClassificationIncluded: pulumi.String("Security"),
					ExcludedPackages: pulumi.StringArray{
						pulumi.String("apt"),
					},
					IncludedPackages: pulumi.StringArray{
						pulumi.String("vim"),
					},
					Reboot: pulumi.String("IfRequired"),
				},
			},
			PreTasks: automation.SoftwareUpdateConfigurationPreTaskArray{
				&automation.SoftwareUpdateConfigurationPreTaskArgs{
					Source: exampleRunBook.Name,
					Parameters: pulumi.StringMap{
						"COMPUTER_NAME": pulumi.String("Foo"),
					},
				},
			},
			Duration: pulumi.String("PT2H2M2S"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetSoftwareUpdateConfiguration 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. Defaults to `PT2H`.
	Duration pulumi.StringPtrInput
	// A `linux` block 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
	// Deprecated: This property has been deprecated and will be removed in a future release. The use of either the `linux` or `windows` blocks replaces setting this value directly. This value is ignored by the provider.
	OperatingSystem pulumi.StringPtrInput
	// A `postTask` blocks as defined below.
	PostTasks SoftwareUpdateConfigurationPostTaskArrayInput
	// A `preTask` blocks as defined below.
	PreTasks SoftwareUpdateConfigurationPreTaskArrayInput
	// A `schedule` blocks as defined below.
	Schedules SoftwareUpdateConfigurationScheduleArrayInput
	// A `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrInput
	// Specifies a list of Azure Resource IDs of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayInput
	// A `windows` block as defined below.
	//
	// > **NOTE:** One of `linux` or `windows` must be specified.
	Windows SoftwareUpdateConfigurationWindowsPtrInput
}

The set of arguments for constructing a SoftwareUpdateConfiguration resource.

func (SoftwareUpdateConfigurationArgs) ElementType 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 {
	ClassificationIncluded *string `pulumi:"classificationIncluded"`
	// Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
	ClassificationsIncludeds []string `pulumi:"classificationsIncludeds"`
	// Specifies a list of packages to excluded from the Software Update Configuration.
	ExcludedPackages []string `pulumi:"excludedPackages"`
	// Specifies a list of packages to included from the Software Update Configuration.
	IncludedPackages []string `pulumi:"includedPackages"`
	// Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot *string `pulumi:"reboot"`
}

type SoftwareUpdateConfigurationLinuxArgs added in v5.21.0

type SoftwareUpdateConfigurationLinuxArgs struct {
	ClassificationIncluded pulumi.StringPtrInput `pulumi:"classificationIncluded"`
	// Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
	ClassificationsIncludeds pulumi.StringArrayInput `pulumi:"classificationsIncludeds"`
	// Specifies a list of packages to excluded from the Software Update Configuration.
	ExcludedPackages pulumi.StringArrayInput `pulumi:"excludedPackages"`
	// Specifies a list of packages to included from the Software Update Configuration.
	IncludedPackages pulumi.StringArrayInput `pulumi:"includedPackages"`
	// Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot pulumi.StringPtrInput `pulumi:"reboot"`
}

func (SoftwareUpdateConfigurationLinuxArgs) ElementType 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

func (SoftwareUpdateConfigurationLinuxOutput) ClassificationsIncludeds added in v5.45.0

Specifies the list of 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`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

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. Defaults to `PT2H`.

func (SoftwareUpdateConfigurationOutput) ElementType added in v5.21.0

func (SoftwareUpdateConfigurationOutput) ErrorCode added in v5.21.0

The Error code when failed.

func (SoftwareUpdateConfigurationOutput) ErrorMeesage deprecated added in v5.21.0

The Error message indicating why the operation failed.

Deprecated: `errorMeesage` will be removed in favour of `errorMessage` in version 4.0 of the AzureRM Provider

func (SoftwareUpdateConfigurationOutput) ErrorMessage added in v5.36.0

func (SoftwareUpdateConfigurationOutput) Linuxes added in v5.21.0

A `linux` block 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 deprecated added in v5.21.0

Deprecated: This property has been deprecated and will be removed in a future release. The use of either the `linux` or `windows` blocks replaces setting this value directly. This value is ignored by the provider.

func (SoftwareUpdateConfigurationOutput) PostTasks added in v5.21.0

A `postTask` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) PreTasks added in v5.21.0

A `preTask` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Schedules added in v5.21.0

A `schedule` blocks as defined below.

func (SoftwareUpdateConfigurationOutput) Target added in v5.21.0

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

A `windows` block as defined below.

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

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

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

func (SoftwareUpdateConfigurationScheduleArgs) ElementType 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`. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.

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

func (SoftwareUpdateConfigurationScheduleOutput) IsEnabled added in v5.21.0

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

func (SoftwareUpdateConfigurationScheduleOutput) LastModifiedTime added in v5.21.0

func (SoftwareUpdateConfigurationScheduleOutput) MonthlyOccurrences added in v5.21.0

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

func (SoftwareUpdateConfigurationScheduleOutput) NextRun 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

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

func (SoftwareUpdateConfigurationScheduleOutput) ToSoftwareUpdateConfigurationScheduleOutput 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. Defaults to `PT2H`.
	Duration pulumi.StringPtrInput
	// The Error code when failed.
	ErrorCode pulumi.StringPtrInput
	// The Error message indicating why the operation failed.
	//
	// Deprecated: `errorMeesage` will be removed in favour of `errorMessage` in version 4.0 of the AzureRM Provider
	ErrorMeesage pulumi.StringPtrInput
	ErrorMessage pulumi.StringPtrInput
	// A `linux` block 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
	// Deprecated: This property has been deprecated and will be removed in a future release. The use of either the `linux` or `windows` blocks replaces setting this value directly. This value is ignored by the provider.
	OperatingSystem pulumi.StringPtrInput
	// A `postTask` blocks as defined below.
	PostTasks SoftwareUpdateConfigurationPostTaskArrayInput
	// A `preTask` blocks as defined below.
	PreTasks SoftwareUpdateConfigurationPreTaskArrayInput
	// A `schedule` blocks as defined below.
	Schedules SoftwareUpdateConfigurationScheduleArrayInput
	// A `target` blocks as defined below.
	Target SoftwareUpdateConfigurationTargetPtrInput
	// Specifies a list of Azure Resource IDs of azure virtual machines.
	VirtualMachineIds pulumi.StringArrayInput
	// A `windows` block as defined below.
	//
	// > **NOTE:** One of `linux` or `windows` must be specified.
	Windows SoftwareUpdateConfigurationWindowsPtrInput
}

func (SoftwareUpdateConfigurationState) ElementType 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. One or more `tags` block as defined below.
	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. One or more `tags` block as defined below.
	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. One or more `tags` block as defined below.

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 {
	// Deprecated: windows classification can be set as a list, use `classificationsIncluded` 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`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	Reboot *string `pulumi:"reboot"`
}

type SoftwareUpdateConfigurationWindowsArgs added in v5.21.0

type SoftwareUpdateConfigurationWindowsArgs struct {
	// Deprecated: windows classification can be set as a list, use `classificationsIncluded` 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`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
	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

Deprecated: windows classification can be set as a list, use `classificationsIncluded` 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`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

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

Deprecated: windows classification can be set as a list, use `classificationsIncluded` 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`, `RebootOnly` and `Always`. Defaults to `IfRequired`.

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. Defaults to `true`.
	PublishRunbookEnabled pulumi.BoolPtrOutput `pulumi:"publishRunbookEnabled"`
	// The Repository URL of the source control.
	RepositoryUrl pulumi.StringOutput `pulumi:"repositoryUrl"`
	// A `security` block as defined below.
	Security SourceControlSecurityOutput `pulumi:"security"`
	// The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.
	SourceControlType pulumi.StringOutput `pulumi:"sourceControlType"`
}

Manages an Automation Source Control.

## Example Usage

```go package main

import (

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

```

## Import

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

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

func GetSourceControl 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. Defaults to `true`.
	PublishRunbookEnabled pulumi.BoolPtrInput
	// The Repository URL of the source control.
	RepositoryUrl pulumi.StringInput
	// A `security` block as defined below.
	Security SourceControlSecurityInput
	// The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.
	SourceControlType pulumi.StringInput
}

The set of arguments for constructing a SourceControl resource.

func (SourceControlArgs) ElementType 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. Defaults to `true`.

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. Defaults to `true`.
	PublishRunbookEnabled pulumi.BoolPtrInput
	// The Repository URL of the source control.
	RepositoryUrl pulumi.StringPtrInput
	// A `security` block as defined below.
	Security SourceControlSecurityPtrInput
	// The source type of Source Control, possible vaules are `VsoGit`, `VsoTfvc` and `GitHub`, and the value is case sensitive.
	SourceControlType pulumi.StringPtrInput
}

func (SourceControlState) ElementType 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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = automation.NewStringVariable(ctx, "example", &automation.StringVariableArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.String("Hello, Basic Test."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetStringVariable

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

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

func NewStringVariable

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

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

func (*StringVariable) ElementType

func (*StringVariable) ElementType() reflect.Type

func (*StringVariable) ToStringVariableOutput

func (i *StringVariable) ToStringVariableOutput() StringVariableOutput

func (*StringVariable) ToStringVariableOutputWithContext

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

type StringVariableArgs

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

The set of arguments for constructing a StringVariable resource.

func (StringVariableArgs) ElementType

func (StringVariableArgs) ElementType() reflect.Type

type StringVariableArray

type StringVariableArray []StringVariableInput

func (StringVariableArray) ElementType

func (StringVariableArray) ElementType() reflect.Type

func (StringVariableArray) ToStringVariableArrayOutput

func (i StringVariableArray) ToStringVariableArrayOutput() StringVariableArrayOutput

func (StringVariableArray) ToStringVariableArrayOutputWithContext

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

type StringVariableArrayInput

type StringVariableArrayInput interface {
	pulumi.Input

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

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

StringVariableArray{ StringVariableArgs{...} }

type StringVariableArrayOutput

type StringVariableArrayOutput struct{ *pulumi.OutputState }

func (StringVariableArrayOutput) ElementType

func (StringVariableArrayOutput) ElementType() reflect.Type

func (StringVariableArrayOutput) Index

func (StringVariableArrayOutput) ToStringVariableArrayOutput

func (o StringVariableArrayOutput) ToStringVariableArrayOutput() StringVariableArrayOutput

func (StringVariableArrayOutput) ToStringVariableArrayOutputWithContext

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

type StringVariableInput

type StringVariableInput interface {
	pulumi.Input

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

type StringVariableMap

type StringVariableMap map[string]StringVariableInput

func (StringVariableMap) ElementType

func (StringVariableMap) ElementType() reflect.Type

func (StringVariableMap) ToStringVariableMapOutput

func (i StringVariableMap) ToStringVariableMapOutput() StringVariableMapOutput

func (StringVariableMap) ToStringVariableMapOutputWithContext

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

type StringVariableMapInput

type StringVariableMapInput interface {
	pulumi.Input

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

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

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

type StringVariableMapOutput

type StringVariableMapOutput struct{ *pulumi.OutputState }

func (StringVariableMapOutput) ElementType

func (StringVariableMapOutput) ElementType() reflect.Type

func (StringVariableMapOutput) MapIndex

func (StringVariableMapOutput) ToStringVariableMapOutput

func (o StringVariableMapOutput) ToStringVariableMapOutput() StringVariableMapOutput

func (StringVariableMapOutput) ToStringVariableMapOutputWithContext

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

type StringVariableOutput

type StringVariableOutput struct{ *pulumi.OutputState }

func (StringVariableOutput) AutomationAccountName 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 VariableObject added in v5.48.0

type VariableObject struct {
	pulumi.CustomResourceState

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

Manages an object variable in Azure Automation

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-azure/sdk/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 {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("tfex-example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"greeting": "Hello, Terraform Basic Test.",
			"language": "en",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = automation.NewVariableObject(ctx, "example", &automation.VariableObjectArgs{
			Name:                  pulumi.String("tfex-example-var"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			Value:                 pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetVariableObject added in v5.48.0

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

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

func NewVariableObject added in v5.48.0

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

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

func (*VariableObject) ElementType added in v5.48.0

func (*VariableObject) ElementType() reflect.Type

func (*VariableObject) ToVariableObjectOutput added in v5.48.0

func (i *VariableObject) ToVariableObjectOutput() VariableObjectOutput

func (*VariableObject) ToVariableObjectOutputWithContext added in v5.48.0

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

type VariableObjectArgs added in v5.48.0

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

The set of arguments for constructing a VariableObject resource.

func (VariableObjectArgs) ElementType added in v5.48.0

func (VariableObjectArgs) ElementType() reflect.Type

type VariableObjectArray added in v5.48.0

type VariableObjectArray []VariableObjectInput

func (VariableObjectArray) ElementType added in v5.48.0

func (VariableObjectArray) ElementType() reflect.Type

func (VariableObjectArray) ToVariableObjectArrayOutput added in v5.48.0

func (i VariableObjectArray) ToVariableObjectArrayOutput() VariableObjectArrayOutput

func (VariableObjectArray) ToVariableObjectArrayOutputWithContext added in v5.48.0

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

type VariableObjectArrayInput added in v5.48.0

type VariableObjectArrayInput interface {
	pulumi.Input

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

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

VariableObjectArray{ VariableObjectArgs{...} }

type VariableObjectArrayOutput added in v5.48.0

type VariableObjectArrayOutput struct{ *pulumi.OutputState }

func (VariableObjectArrayOutput) ElementType added in v5.48.0

func (VariableObjectArrayOutput) ElementType() reflect.Type

func (VariableObjectArrayOutput) Index added in v5.48.0

func (VariableObjectArrayOutput) ToVariableObjectArrayOutput added in v5.48.0

func (o VariableObjectArrayOutput) ToVariableObjectArrayOutput() VariableObjectArrayOutput

func (VariableObjectArrayOutput) ToVariableObjectArrayOutputWithContext added in v5.48.0

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

type VariableObjectInput added in v5.48.0

type VariableObjectInput interface {
	pulumi.Input

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

type VariableObjectMap added in v5.48.0

type VariableObjectMap map[string]VariableObjectInput

func (VariableObjectMap) ElementType added in v5.48.0

func (VariableObjectMap) ElementType() reflect.Type

func (VariableObjectMap) ToVariableObjectMapOutput added in v5.48.0

func (i VariableObjectMap) ToVariableObjectMapOutput() VariableObjectMapOutput

func (VariableObjectMap) ToVariableObjectMapOutputWithContext added in v5.48.0

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

type VariableObjectMapInput added in v5.48.0

type VariableObjectMapInput interface {
	pulumi.Input

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

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

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

type VariableObjectMapOutput added in v5.48.0

type VariableObjectMapOutput struct{ *pulumi.OutputState }

func (VariableObjectMapOutput) ElementType added in v5.48.0

func (VariableObjectMapOutput) ElementType() reflect.Type

func (VariableObjectMapOutput) MapIndex added in v5.48.0

func (VariableObjectMapOutput) ToVariableObjectMapOutput added in v5.48.0

func (o VariableObjectMapOutput) ToVariableObjectMapOutput() VariableObjectMapOutput

func (VariableObjectMapOutput) ToVariableObjectMapOutputWithContext added in v5.48.0

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

type VariableObjectOutput added in v5.48.0

type VariableObjectOutput struct{ *pulumi.OutputState }

func (VariableObjectOutput) AutomationAccountName added in v5.48.0

func (o VariableObjectOutput) AutomationAccountName() pulumi.StringOutput

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

func (VariableObjectOutput) Description added in v5.48.0

The description of the Automation Variable.

func (VariableObjectOutput) ElementType added in v5.48.0

func (VariableObjectOutput) ElementType() reflect.Type

func (VariableObjectOutput) Encrypted added in v5.48.0

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

func (VariableObjectOutput) Name added in v5.48.0

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

func (VariableObjectOutput) ResourceGroupName added in v5.48.0

func (o VariableObjectOutput) ResourceGroupName() pulumi.StringOutput

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

func (VariableObjectOutput) ToVariableObjectOutput added in v5.48.0

func (o VariableObjectOutput) ToVariableObjectOutput() VariableObjectOutput

func (VariableObjectOutput) ToVariableObjectOutputWithContext added in v5.48.0

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

func (VariableObjectOutput) Value added in v5.48.0

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

type VariableObjectState added in v5.48.0

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

func (VariableObjectState) ElementType added in v5.48.0

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example-account"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleHybridRunbookWorkerGroup, err := automation.NewHybridRunbookWorkerGroup(ctx, "example", &automation.HybridRunbookWorkerGroupArgs{
			Name:                  pulumi.String("example"),
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			LogVerbose:            pulumi.Bool(true),
			LogProgress:           pulumi.Bool(true),
			Description:           pulumi.String("This is an example runbook"),
			RunbookType:           pulumi.String("PowerShellWorkflow"),
			PublishContentLink: &automation.RunBookPublishContentLinkArgs{
				Uri: pulumi.String("https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = automation.NewWatcher(ctx, "example", &automation.WatcherArgs{
			Name:                        pulumi.String("example"),
			AutomationAccountId:         exampleAccount.ID(),
			Location:                    pulumi.String("West Europe"),
			ScriptName:                  exampleRunBook.Name,
			ScriptRunOn:                 exampleHybridRunbookWorkerGroup.Name,
			Description:                 pulumi.String("example-watcher desc"),
			ExecutionFrequencyInSeconds: pulumi.Int(42),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			ScriptParameters: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetWatcher 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. Changing this forces a new resource to be created.
	Uri pulumi.StringOutput `pulumi:"uri"`
}

Manages an Automation Runbook's Webhook.

## Example Usage

```go package main

import (

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

```

## Import

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

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

func GetWebhook

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

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

func NewWebhook

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

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

func (*Webhook) ElementType

func (*Webhook) ElementType() reflect.Type

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

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

type WebhookArgs

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

The set of arguments for constructing a Webhook resource.

func (WebhookArgs) ElementType

func (WebhookArgs) ElementType() reflect.Type

type WebhookArray

type WebhookArray []WebhookInput

func (WebhookArray) ElementType

func (WebhookArray) ElementType() reflect.Type

func (WebhookArray) ToWebhookArrayOutput

func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArray) ToWebhookArrayOutputWithContext

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

type WebhookArrayInput

type WebhookArrayInput interface {
	pulumi.Input

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

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

WebhookArray{ WebhookArgs{...} }

type WebhookArrayOutput

type WebhookArrayOutput struct{ *pulumi.OutputState }

func (WebhookArrayOutput) ElementType

func (WebhookArrayOutput) ElementType() reflect.Type

func (WebhookArrayOutput) Index

func (WebhookArrayOutput) ToWebhookArrayOutput

func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArrayOutput) ToWebhookArrayOutputWithContext

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

type WebhookInput

type WebhookInput interface {
	pulumi.Input

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

type WebhookMap

type WebhookMap map[string]WebhookInput

func (WebhookMap) ElementType

func (WebhookMap) ElementType() reflect.Type

func (WebhookMap) ToWebhookMapOutput

func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMap) ToWebhookMapOutputWithContext

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

type WebhookMapInput

type WebhookMapInput interface {
	pulumi.Input

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

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

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

type WebhookMapOutput

type WebhookMapOutput struct{ *pulumi.OutputState }

func (WebhookMapOutput) ElementType

func (WebhookMapOutput) ElementType() reflect.Type

func (WebhookMapOutput) MapIndex

func (WebhookMapOutput) ToWebhookMapOutput

func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMapOutput) ToWebhookMapOutputWithContext

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

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

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

type WebhookState

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

func (WebhookState) ElementType

func (WebhookState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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