oos

package
v3.54.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 Application added in v3.11.0

type Application struct {
	pulumi.CustomResourceState

	// The name of the application.
	ApplicationName pulumi.StringOutput `pulumi:"applicationName"`
	// Application group description information.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The tag of the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a OOS Application resource.

For information about OOS Application and how to use it, see [What is Application](https://www.alibabacloud.com/help/en/operation-orchestration-service/latest/api-oos-2019-06-01-createapplication).

> **NOTE:** Available since v1.145.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = oos.NewApplication(ctx, "default", &oos.ApplicationArgs{
			ResourceGroupId: pulumi.String(_default.Groups[0].Id),
			ApplicationName: pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
			Description:     pulumi.String(name),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Application can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/application:Application example <id> ```

func GetApplication added in v3.11.0

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application 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 NewApplication added in v3.11.0

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

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

func (*Application) ElementType added in v3.11.0

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput added in v3.11.0

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext added in v3.11.0

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationArgs added in v3.11.0

type ApplicationArgs struct {
	// The name of the application.
	ApplicationName pulumi.StringInput
	// Application group description information.
	Description pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The tag of the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType added in v3.11.0

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationArray added in v3.11.0

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType added in v3.11.0

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput added in v3.11.0

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext added in v3.11.0

func (i ApplicationArray) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationArrayInput added in v3.11.0

type ApplicationArrayInput interface {
	pulumi.Input

	ToApplicationArrayOutput() ApplicationArrayOutput
	ToApplicationArrayOutputWithContext(context.Context) ApplicationArrayOutput
}

ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values. You can construct a concrete instance of `ApplicationArrayInput` via:

ApplicationArray{ ApplicationArgs{...} }

type ApplicationArrayOutput added in v3.11.0

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType added in v3.11.0

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index added in v3.11.0

func (ApplicationArrayOutput) ToApplicationArrayOutput added in v3.11.0

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext added in v3.11.0

func (o ApplicationArrayOutput) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationGroup added in v3.11.0

type ApplicationGroup struct {
	pulumi.CustomResourceState

	// The name of the Application group.
	ApplicationGroupName pulumi.StringOutput `pulumi:"applicationGroupName"`
	// The name of the Application.
	ApplicationName pulumi.StringOutput `pulumi:"applicationName"`
	// The region ID of the deployment.
	DeployRegionId pulumi.StringOutput `pulumi:"deployRegionId"`
	// Application group description information.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The tag key must be passed in at the same time as the tag value (import_tag_value) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is app-{ApplicationName} (application name).
	ImportTagKey pulumi.StringOutput `pulumi:"importTagKey"`
	// The tag value must be passed in at the same time as the tag key (import_tag_key) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is application group name.
	// .
	ImportTagValue pulumi.StringOutput `pulumi:"importTagValue"`
}

Provides a OOS Application Group resource.

For information about OOS Application Group and how to use it, see [What is Application Group](https://www.alibabacloud.com/help/en/operation-orchestration-service/latest/api-oos-2019-06-01-createapplicationgroup).

> **NOTE:** Available since v1.146.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultApplication, err := oos.NewApplication(ctx, "default", &oos.ApplicationArgs{
			ResourceGroupId: pulumi.String(_default.Groups[0].Id),
			ApplicationName: pulumi.String(fmt.Sprintf("%v-%v", name, defaultInteger.Result)),
			Description:     pulumi.String(name),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
			},
		})
		if err != nil {
			return err
		}
		defaultGetRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = oos.NewApplicationGroup(ctx, "default", &oos.ApplicationGroupArgs{
			ApplicationGroupName: pulumi.String(name),
			ApplicationName:      defaultApplication.ID(),
			DeployRegionId:       pulumi.String(defaultGetRegions.Regions[0].Id),
			Description:          pulumi.String(name),
			ImportTagKey:         pulumi.String("example_key"),
			ImportTagValue:       pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Application Group can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/applicationGroup:ApplicationGroup example <application_name>:<application_group_name> ```

func GetApplicationGroup added in v3.11.0

func GetApplicationGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationGroupState, opts ...pulumi.ResourceOption) (*ApplicationGroup, error)

GetApplicationGroup gets an existing ApplicationGroup 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 NewApplicationGroup added in v3.11.0

func NewApplicationGroup(ctx *pulumi.Context,
	name string, args *ApplicationGroupArgs, opts ...pulumi.ResourceOption) (*ApplicationGroup, error)

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

func (*ApplicationGroup) ElementType added in v3.11.0

func (*ApplicationGroup) ElementType() reflect.Type

func (*ApplicationGroup) ToApplicationGroupOutput added in v3.11.0

func (i *ApplicationGroup) ToApplicationGroupOutput() ApplicationGroupOutput

func (*ApplicationGroup) ToApplicationGroupOutputWithContext added in v3.11.0

func (i *ApplicationGroup) ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput

type ApplicationGroupArgs added in v3.11.0

type ApplicationGroupArgs struct {
	// The name of the Application group.
	ApplicationGroupName pulumi.StringInput
	// The name of the Application.
	ApplicationName pulumi.StringInput
	// The region ID of the deployment.
	DeployRegionId pulumi.StringInput
	// Application group description information.
	Description pulumi.StringPtrInput
	// The tag key must be passed in at the same time as the tag value (import_tag_value) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is app-{ApplicationName} (application name).
	ImportTagKey pulumi.StringPtrInput
	// The tag value must be passed in at the same time as the tag key (import_tag_key) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is application group name.
	// .
	ImportTagValue pulumi.StringPtrInput
}

The set of arguments for constructing a ApplicationGroup resource.

func (ApplicationGroupArgs) ElementType added in v3.11.0

func (ApplicationGroupArgs) ElementType() reflect.Type

type ApplicationGroupArray added in v3.11.0

type ApplicationGroupArray []ApplicationGroupInput

func (ApplicationGroupArray) ElementType added in v3.11.0

func (ApplicationGroupArray) ElementType() reflect.Type

func (ApplicationGroupArray) ToApplicationGroupArrayOutput added in v3.11.0

func (i ApplicationGroupArray) ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput

func (ApplicationGroupArray) ToApplicationGroupArrayOutputWithContext added in v3.11.0

func (i ApplicationGroupArray) ToApplicationGroupArrayOutputWithContext(ctx context.Context) ApplicationGroupArrayOutput

type ApplicationGroupArrayInput added in v3.11.0

type ApplicationGroupArrayInput interface {
	pulumi.Input

	ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput
	ToApplicationGroupArrayOutputWithContext(context.Context) ApplicationGroupArrayOutput
}

ApplicationGroupArrayInput is an input type that accepts ApplicationGroupArray and ApplicationGroupArrayOutput values. You can construct a concrete instance of `ApplicationGroupArrayInput` via:

ApplicationGroupArray{ ApplicationGroupArgs{...} }

type ApplicationGroupArrayOutput added in v3.11.0

type ApplicationGroupArrayOutput struct{ *pulumi.OutputState }

func (ApplicationGroupArrayOutput) ElementType added in v3.11.0

func (ApplicationGroupArrayOutput) Index added in v3.11.0

func (ApplicationGroupArrayOutput) ToApplicationGroupArrayOutput added in v3.11.0

func (o ApplicationGroupArrayOutput) ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput

func (ApplicationGroupArrayOutput) ToApplicationGroupArrayOutputWithContext added in v3.11.0

func (o ApplicationGroupArrayOutput) ToApplicationGroupArrayOutputWithContext(ctx context.Context) ApplicationGroupArrayOutput

type ApplicationGroupInput added in v3.11.0

type ApplicationGroupInput interface {
	pulumi.Input

	ToApplicationGroupOutput() ApplicationGroupOutput
	ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput
}

type ApplicationGroupMap added in v3.11.0

type ApplicationGroupMap map[string]ApplicationGroupInput

func (ApplicationGroupMap) ElementType added in v3.11.0

func (ApplicationGroupMap) ElementType() reflect.Type

func (ApplicationGroupMap) ToApplicationGroupMapOutput added in v3.11.0

func (i ApplicationGroupMap) ToApplicationGroupMapOutput() ApplicationGroupMapOutput

func (ApplicationGroupMap) ToApplicationGroupMapOutputWithContext added in v3.11.0

func (i ApplicationGroupMap) ToApplicationGroupMapOutputWithContext(ctx context.Context) ApplicationGroupMapOutput

type ApplicationGroupMapInput added in v3.11.0

type ApplicationGroupMapInput interface {
	pulumi.Input

	ToApplicationGroupMapOutput() ApplicationGroupMapOutput
	ToApplicationGroupMapOutputWithContext(context.Context) ApplicationGroupMapOutput
}

ApplicationGroupMapInput is an input type that accepts ApplicationGroupMap and ApplicationGroupMapOutput values. You can construct a concrete instance of `ApplicationGroupMapInput` via:

ApplicationGroupMap{ "key": ApplicationGroupArgs{...} }

type ApplicationGroupMapOutput added in v3.11.0

type ApplicationGroupMapOutput struct{ *pulumi.OutputState }

func (ApplicationGroupMapOutput) ElementType added in v3.11.0

func (ApplicationGroupMapOutput) ElementType() reflect.Type

func (ApplicationGroupMapOutput) MapIndex added in v3.11.0

func (ApplicationGroupMapOutput) ToApplicationGroupMapOutput added in v3.11.0

func (o ApplicationGroupMapOutput) ToApplicationGroupMapOutput() ApplicationGroupMapOutput

func (ApplicationGroupMapOutput) ToApplicationGroupMapOutputWithContext added in v3.11.0

func (o ApplicationGroupMapOutput) ToApplicationGroupMapOutputWithContext(ctx context.Context) ApplicationGroupMapOutput

type ApplicationGroupOutput added in v3.11.0

type ApplicationGroupOutput struct{ *pulumi.OutputState }

func (ApplicationGroupOutput) ApplicationGroupName added in v3.27.0

func (o ApplicationGroupOutput) ApplicationGroupName() pulumi.StringOutput

The name of the Application group.

func (ApplicationGroupOutput) ApplicationName added in v3.27.0

func (o ApplicationGroupOutput) ApplicationName() pulumi.StringOutput

The name of the Application.

func (ApplicationGroupOutput) DeployRegionId added in v3.27.0

func (o ApplicationGroupOutput) DeployRegionId() pulumi.StringOutput

The region ID of the deployment.

func (ApplicationGroupOutput) Description added in v3.27.0

Application group description information.

func (ApplicationGroupOutput) ElementType added in v3.11.0

func (ApplicationGroupOutput) ElementType() reflect.Type

func (ApplicationGroupOutput) ImportTagKey added in v3.27.0

func (o ApplicationGroupOutput) ImportTagKey() pulumi.StringOutput

The tag key must be passed in at the same time as the tag value (import_tag_value) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is app-{ApplicationName} (application name).

func (ApplicationGroupOutput) ImportTagValue added in v3.27.0

func (o ApplicationGroupOutput) ImportTagValue() pulumi.StringOutput

The tag value must be passed in at the same time as the tag key (import_tag_key) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is application group name. .

func (ApplicationGroupOutput) ToApplicationGroupOutput added in v3.11.0

func (o ApplicationGroupOutput) ToApplicationGroupOutput() ApplicationGroupOutput

func (ApplicationGroupOutput) ToApplicationGroupOutputWithContext added in v3.11.0

func (o ApplicationGroupOutput) ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput

type ApplicationGroupState added in v3.11.0

type ApplicationGroupState struct {
	// The name of the Application group.
	ApplicationGroupName pulumi.StringPtrInput
	// The name of the Application.
	ApplicationName pulumi.StringPtrInput
	// The region ID of the deployment.
	DeployRegionId pulumi.StringPtrInput
	// Application group description information.
	Description pulumi.StringPtrInput
	// The tag key must be passed in at the same time as the tag value (import_tag_value) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is app-{ApplicationName} (application name).
	ImportTagKey pulumi.StringPtrInput
	// The tag value must be passed in at the same time as the tag key (import_tag_key) or none, not just one. If both `importTagKey` and `importTagValue` are left empty, the default is application group name.
	// .
	ImportTagValue pulumi.StringPtrInput
}

func (ApplicationGroupState) ElementType added in v3.11.0

func (ApplicationGroupState) ElementType() reflect.Type

type ApplicationInput added in v3.11.0

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationMap added in v3.11.0

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType added in v3.11.0

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput added in v3.11.0

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext added in v3.11.0

func (i ApplicationMap) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationMapInput added in v3.11.0

type ApplicationMapInput interface {
	pulumi.Input

	ToApplicationMapOutput() ApplicationMapOutput
	ToApplicationMapOutputWithContext(context.Context) ApplicationMapOutput
}

ApplicationMapInput is an input type that accepts ApplicationMap and ApplicationMapOutput values. You can construct a concrete instance of `ApplicationMapInput` via:

ApplicationMap{ "key": ApplicationArgs{...} }

type ApplicationMapOutput added in v3.11.0

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType added in v3.11.0

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex added in v3.11.0

func (ApplicationMapOutput) ToApplicationMapOutput added in v3.11.0

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext added in v3.11.0

func (o ApplicationMapOutput) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationOutput added in v3.11.0

type ApplicationOutput struct{ *pulumi.OutputState }

func (ApplicationOutput) ApplicationName added in v3.27.0

func (o ApplicationOutput) ApplicationName() pulumi.StringOutput

The name of the application.

func (ApplicationOutput) Description added in v3.27.0

func (o ApplicationOutput) Description() pulumi.StringPtrOutput

Application group description information.

func (ApplicationOutput) ElementType added in v3.11.0

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) ResourceGroupId added in v3.27.0

func (o ApplicationOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (ApplicationOutput) Tags added in v3.27.0

The tag of the resource.

func (ApplicationOutput) ToApplicationOutput added in v3.11.0

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext added in v3.11.0

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationState added in v3.11.0

type ApplicationState struct {
	// The name of the application.
	ApplicationName pulumi.StringPtrInput
	// Application group description information.
	Description pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The tag of the resource.
	Tags pulumi.MapInput
}

func (ApplicationState) ElementType added in v3.11.0

func (ApplicationState) ElementType() reflect.Type

type DefaultPatchBaseline added in v3.36.0

type DefaultPatchBaseline struct {
	pulumi.CustomResourceState

	// The ID of the patch baseline.
	PatchBaselineId pulumi.StringOutput `pulumi:"patchBaselineId"`
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringOutput `pulumi:"patchBaselineName"`
}

Provides a Oos Default Patch Baseline resource.

For information about Oos Default Patch Baseline and how to use it, see [What is Default Patch Baseline](https://www.alibabacloud.com/help/en/operation-orchestration-service/latest/api-oos-2019-06-01-registerdefaultpatchbaseline).

> **NOTE:** Available in v1.203.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oos.NewPatchBaseline(ctx, "default", &oos.PatchBaselineArgs{
			OperationSystem:   pulumi.String("Windows"),
			PatchBaselineName: pulumi.String("terraform-example"),
			Description:       pulumi.String("terraform-example"),
			ApprovalRules:     pulumi.String("{\"PatchRules\":[{\"PatchFilterGroup\":[{\"Key\":\"PatchSet\",\"Values\":[\"OS\"]},{\"Key\":\"ProductFamily\",\"Values\":[\"Windows\"]},{\"Key\":\"Product\",\"Values\":[\"Windows 10\",\"Windows 7\"]},{\"Key\":\"Classification\",\"Values\":[\"Security Updates\",\"Updates\",\"Update Rollups\",\"Critical Updates\"]},{\"Key\":\"Severity\",\"Values\":[\"Critical\",\"Important\",\"Moderate\"]}],\"ApproveAfterDays\":7,\"EnableNonSecurity\":true,\"ComplianceLevel\":\"Medium\"}]}"),
		})
		if err != nil {
			return err
		}
		_, err = oos.NewDefaultPatchBaseline(ctx, "default", &oos.DefaultPatchBaselineArgs{
			PatchBaselineName: _default.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Oos Default Patch Baseline can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/defaultPatchBaseline:DefaultPatchBaseline example <id> ```

func GetDefaultPatchBaseline added in v3.36.0

func GetDefaultPatchBaseline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultPatchBaselineState, opts ...pulumi.ResourceOption) (*DefaultPatchBaseline, error)

GetDefaultPatchBaseline gets an existing DefaultPatchBaseline 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 NewDefaultPatchBaseline added in v3.36.0

func NewDefaultPatchBaseline(ctx *pulumi.Context,
	name string, args *DefaultPatchBaselineArgs, opts ...pulumi.ResourceOption) (*DefaultPatchBaseline, error)

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

func (*DefaultPatchBaseline) ElementType added in v3.36.0

func (*DefaultPatchBaseline) ElementType() reflect.Type

func (*DefaultPatchBaseline) ToDefaultPatchBaselineOutput added in v3.36.0

func (i *DefaultPatchBaseline) ToDefaultPatchBaselineOutput() DefaultPatchBaselineOutput

func (*DefaultPatchBaseline) ToDefaultPatchBaselineOutputWithContext added in v3.36.0

func (i *DefaultPatchBaseline) ToDefaultPatchBaselineOutputWithContext(ctx context.Context) DefaultPatchBaselineOutput

type DefaultPatchBaselineArgs added in v3.36.0

type DefaultPatchBaselineArgs struct {
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringInput
}

The set of arguments for constructing a DefaultPatchBaseline resource.

func (DefaultPatchBaselineArgs) ElementType added in v3.36.0

func (DefaultPatchBaselineArgs) ElementType() reflect.Type

type DefaultPatchBaselineArray added in v3.36.0

type DefaultPatchBaselineArray []DefaultPatchBaselineInput

func (DefaultPatchBaselineArray) ElementType added in v3.36.0

func (DefaultPatchBaselineArray) ElementType() reflect.Type

func (DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutput added in v3.36.0

func (i DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutput() DefaultPatchBaselineArrayOutput

func (DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutputWithContext added in v3.36.0

func (i DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutputWithContext(ctx context.Context) DefaultPatchBaselineArrayOutput

type DefaultPatchBaselineArrayInput added in v3.36.0

type DefaultPatchBaselineArrayInput interface {
	pulumi.Input

	ToDefaultPatchBaselineArrayOutput() DefaultPatchBaselineArrayOutput
	ToDefaultPatchBaselineArrayOutputWithContext(context.Context) DefaultPatchBaselineArrayOutput
}

DefaultPatchBaselineArrayInput is an input type that accepts DefaultPatchBaselineArray and DefaultPatchBaselineArrayOutput values. You can construct a concrete instance of `DefaultPatchBaselineArrayInput` via:

DefaultPatchBaselineArray{ DefaultPatchBaselineArgs{...} }

type DefaultPatchBaselineArrayOutput added in v3.36.0

type DefaultPatchBaselineArrayOutput struct{ *pulumi.OutputState }

func (DefaultPatchBaselineArrayOutput) ElementType added in v3.36.0

func (DefaultPatchBaselineArrayOutput) Index added in v3.36.0

func (DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutput added in v3.36.0

func (o DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutput() DefaultPatchBaselineArrayOutput

func (DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutputWithContext added in v3.36.0

func (o DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutputWithContext(ctx context.Context) DefaultPatchBaselineArrayOutput

type DefaultPatchBaselineInput added in v3.36.0

type DefaultPatchBaselineInput interface {
	pulumi.Input

	ToDefaultPatchBaselineOutput() DefaultPatchBaselineOutput
	ToDefaultPatchBaselineOutputWithContext(ctx context.Context) DefaultPatchBaselineOutput
}

type DefaultPatchBaselineMap added in v3.36.0

type DefaultPatchBaselineMap map[string]DefaultPatchBaselineInput

func (DefaultPatchBaselineMap) ElementType added in v3.36.0

func (DefaultPatchBaselineMap) ElementType() reflect.Type

func (DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutput added in v3.36.0

func (i DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutput() DefaultPatchBaselineMapOutput

func (DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutputWithContext added in v3.36.0

func (i DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutputWithContext(ctx context.Context) DefaultPatchBaselineMapOutput

type DefaultPatchBaselineMapInput added in v3.36.0

type DefaultPatchBaselineMapInput interface {
	pulumi.Input

	ToDefaultPatchBaselineMapOutput() DefaultPatchBaselineMapOutput
	ToDefaultPatchBaselineMapOutputWithContext(context.Context) DefaultPatchBaselineMapOutput
}

DefaultPatchBaselineMapInput is an input type that accepts DefaultPatchBaselineMap and DefaultPatchBaselineMapOutput values. You can construct a concrete instance of `DefaultPatchBaselineMapInput` via:

DefaultPatchBaselineMap{ "key": DefaultPatchBaselineArgs{...} }

type DefaultPatchBaselineMapOutput added in v3.36.0

type DefaultPatchBaselineMapOutput struct{ *pulumi.OutputState }

func (DefaultPatchBaselineMapOutput) ElementType added in v3.36.0

func (DefaultPatchBaselineMapOutput) MapIndex added in v3.36.0

func (DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutput added in v3.36.0

func (o DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutput() DefaultPatchBaselineMapOutput

func (DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutputWithContext added in v3.36.0

func (o DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutputWithContext(ctx context.Context) DefaultPatchBaselineMapOutput

type DefaultPatchBaselineOutput added in v3.36.0

type DefaultPatchBaselineOutput struct{ *pulumi.OutputState }

func (DefaultPatchBaselineOutput) ElementType added in v3.36.0

func (DefaultPatchBaselineOutput) ElementType() reflect.Type

func (DefaultPatchBaselineOutput) PatchBaselineId added in v3.36.0

func (o DefaultPatchBaselineOutput) PatchBaselineId() pulumi.StringOutput

The ID of the patch baseline.

func (DefaultPatchBaselineOutput) PatchBaselineName added in v3.36.0

func (o DefaultPatchBaselineOutput) PatchBaselineName() pulumi.StringOutput

The name of the patch baseline.

func (DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutput added in v3.36.0

func (o DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutput() DefaultPatchBaselineOutput

func (DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutputWithContext added in v3.36.0

func (o DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutputWithContext(ctx context.Context) DefaultPatchBaselineOutput

type DefaultPatchBaselineState added in v3.36.0

type DefaultPatchBaselineState struct {
	// The ID of the patch baseline.
	PatchBaselineId pulumi.StringPtrInput
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringPtrInput
}

func (DefaultPatchBaselineState) ElementType added in v3.36.0

func (DefaultPatchBaselineState) ElementType() reflect.Type

type Execution

type Execution struct {
	pulumi.CustomResourceState

	// The counters of OOS Execution.
	Counters pulumi.StringOutput `pulumi:"counters"`
	// The time when the execution was created.
	CreateDate pulumi.StringOutput `pulumi:"createDate"`
	// The description of OOS Execution.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The time when the execution was ended.
	EndDate pulumi.StringOutput `pulumi:"endDate"`
	// The user who execute the template.
	ExecutedBy pulumi.StringOutput `pulumi:"executedBy"`
	// Whether to include subtasks.
	IsParent pulumi.BoolOutput `pulumi:"isParent"`
	// The loop mode of OOS Execution.
	LoopMode pulumi.StringPtrOutput `pulumi:"loopMode"`
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`. Default to `Automatic`.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// The outputs of OOS Execution.
	Outputs pulumi.StringOutput `pulumi:"outputs"`
	// The parameters required by the template. Default to `{}`.
	Parameters pulumi.StringPtrOutput `pulumi:"parameters"`
	// The id of parent execution.
	ParentExecutionId pulumi.StringPtrOutput `pulumi:"parentExecutionId"`
	// The role that executes the current template.
	RamRole pulumi.StringOutput `pulumi:"ramRole"`
	// The mode of safety check.
	SafetyCheck pulumi.StringPtrOutput `pulumi:"safetyCheck"`
	// The time when the execution was started.
	StartDate pulumi.StringOutput `pulumi:"startDate"`
	// The status of OOS Execution.
	Status pulumi.StringOutput `pulumi:"status"`
	// The message of status.
	StatusMessage pulumi.StringOutput `pulumi:"statusMessage"`
	// The content of template. When the user selects an existing template to create and execute a task, it is not necessary to pass in this field.
	TemplateContent pulumi.StringPtrOutput `pulumi:"templateContent"`
	// The id of template.
	TemplateId pulumi.StringOutput `pulumi:"templateId"`
	// The name of execution template.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// The version of execution template.
	TemplateVersion pulumi.StringOutput `pulumi:"templateVersion"`
	// The time when the execution was updated.
	UpdateDate pulumi.StringOutput `pulumi:"updateDate"`
}

Provides a OOS Execution resource. For information about Alicloud OOS Execution and how to use it, see [What is Resource Alicloud OOS Execution](https://www.alibabacloud.com/help/doc-detail/120771.htm).

> **NOTE:** Available in 1.93.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oos.NewTemplate(ctx, "default", &oos.TemplateArgs{
			Content: pulumi.String(`  {
    "FormatVersion": "OOS-2019-06-01",
    "Description": "Update Describe instances of given status",
    "Parameters":{
      "Status":{
        "Type": "String",
        "Description": "(Required) The status of the Ecs instance."
      }
    },
    "Tasks": [
      {
        "Properties" :{
          "Parameters":{
            "Status": "{{ Status }}"
          },
          "API": "DescribeInstances",
          "Service": "Ecs"
        },
        "Name": "foo",
        "Action": "ACS::ExecuteApi"
      }]
  }

`),

			TemplateName: pulumi.String("test-name"),
			VersionName:  pulumi.String("test"),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("acceptance Test"),
			},
		})
		if err != nil {
			return err
		}
		_, err = oos.NewExecution(ctx, "example", &oos.ExecutionArgs{
			TemplateName: _default.TemplateName,
			Description:  pulumi.String("From TF Test"),
			Parameters:   pulumi.String("				{\"Status\":\"Running\"}\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Execution can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/execution:Execution example exec-ef6xxxx ```

func GetExecution

func GetExecution(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExecutionState, opts ...pulumi.ResourceOption) (*Execution, error)

GetExecution gets an existing Execution 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 NewExecution

func NewExecution(ctx *pulumi.Context,
	name string, args *ExecutionArgs, opts ...pulumi.ResourceOption) (*Execution, error)

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

func (*Execution) ElementType

func (*Execution) ElementType() reflect.Type

func (*Execution) ToExecutionOutput

func (i *Execution) ToExecutionOutput() ExecutionOutput

func (*Execution) ToExecutionOutputWithContext

func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput

type ExecutionArgs

type ExecutionArgs struct {
	// The description of OOS Execution.
	Description pulumi.StringPtrInput
	// The loop mode of OOS Execution.
	LoopMode pulumi.StringPtrInput
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`. Default to `Automatic`.
	Mode pulumi.StringPtrInput
	// The parameters required by the template. Default to `{}`.
	Parameters pulumi.StringPtrInput
	// The id of parent execution.
	ParentExecutionId pulumi.StringPtrInput
	// The mode of safety check.
	SafetyCheck pulumi.StringPtrInput
	// The content of template. When the user selects an existing template to create and execute a task, it is not necessary to pass in this field.
	TemplateContent pulumi.StringPtrInput
	// The name of execution template.
	TemplateName pulumi.StringInput
	// The version of execution template.
	TemplateVersion pulumi.StringPtrInput
}

The set of arguments for constructing a Execution resource.

func (ExecutionArgs) ElementType

func (ExecutionArgs) ElementType() reflect.Type

type ExecutionArray

type ExecutionArray []ExecutionInput

func (ExecutionArray) ElementType

func (ExecutionArray) ElementType() reflect.Type

func (ExecutionArray) ToExecutionArrayOutput

func (i ExecutionArray) ToExecutionArrayOutput() ExecutionArrayOutput

func (ExecutionArray) ToExecutionArrayOutputWithContext

func (i ExecutionArray) ToExecutionArrayOutputWithContext(ctx context.Context) ExecutionArrayOutput

type ExecutionArrayInput

type ExecutionArrayInput interface {
	pulumi.Input

	ToExecutionArrayOutput() ExecutionArrayOutput
	ToExecutionArrayOutputWithContext(context.Context) ExecutionArrayOutput
}

ExecutionArrayInput is an input type that accepts ExecutionArray and ExecutionArrayOutput values. You can construct a concrete instance of `ExecutionArrayInput` via:

ExecutionArray{ ExecutionArgs{...} }

type ExecutionArrayOutput

type ExecutionArrayOutput struct{ *pulumi.OutputState }

func (ExecutionArrayOutput) ElementType

func (ExecutionArrayOutput) ElementType() reflect.Type

func (ExecutionArrayOutput) Index

func (ExecutionArrayOutput) ToExecutionArrayOutput

func (o ExecutionArrayOutput) ToExecutionArrayOutput() ExecutionArrayOutput

func (ExecutionArrayOutput) ToExecutionArrayOutputWithContext

func (o ExecutionArrayOutput) ToExecutionArrayOutputWithContext(ctx context.Context) ExecutionArrayOutput

type ExecutionInput

type ExecutionInput interface {
	pulumi.Input

	ToExecutionOutput() ExecutionOutput
	ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput
}

type ExecutionMap

type ExecutionMap map[string]ExecutionInput

func (ExecutionMap) ElementType

func (ExecutionMap) ElementType() reflect.Type

func (ExecutionMap) ToExecutionMapOutput

func (i ExecutionMap) ToExecutionMapOutput() ExecutionMapOutput

func (ExecutionMap) ToExecutionMapOutputWithContext

func (i ExecutionMap) ToExecutionMapOutputWithContext(ctx context.Context) ExecutionMapOutput

type ExecutionMapInput

type ExecutionMapInput interface {
	pulumi.Input

	ToExecutionMapOutput() ExecutionMapOutput
	ToExecutionMapOutputWithContext(context.Context) ExecutionMapOutput
}

ExecutionMapInput is an input type that accepts ExecutionMap and ExecutionMapOutput values. You can construct a concrete instance of `ExecutionMapInput` via:

ExecutionMap{ "key": ExecutionArgs{...} }

type ExecutionMapOutput

type ExecutionMapOutput struct{ *pulumi.OutputState }

func (ExecutionMapOutput) ElementType

func (ExecutionMapOutput) ElementType() reflect.Type

func (ExecutionMapOutput) MapIndex

func (ExecutionMapOutput) ToExecutionMapOutput

func (o ExecutionMapOutput) ToExecutionMapOutput() ExecutionMapOutput

func (ExecutionMapOutput) ToExecutionMapOutputWithContext

func (o ExecutionMapOutput) ToExecutionMapOutputWithContext(ctx context.Context) ExecutionMapOutput

type ExecutionOutput

type ExecutionOutput struct{ *pulumi.OutputState }

func (ExecutionOutput) Counters added in v3.27.0

func (o ExecutionOutput) Counters() pulumi.StringOutput

The counters of OOS Execution.

func (ExecutionOutput) CreateDate added in v3.27.0

func (o ExecutionOutput) CreateDate() pulumi.StringOutput

The time when the execution was created.

func (ExecutionOutput) Description added in v3.27.0

func (o ExecutionOutput) Description() pulumi.StringPtrOutput

The description of OOS Execution.

func (ExecutionOutput) ElementType

func (ExecutionOutput) ElementType() reflect.Type

func (ExecutionOutput) EndDate added in v3.27.0

func (o ExecutionOutput) EndDate() pulumi.StringOutput

The time when the execution was ended.

func (ExecutionOutput) ExecutedBy added in v3.27.0

func (o ExecutionOutput) ExecutedBy() pulumi.StringOutput

The user who execute the template.

func (ExecutionOutput) IsParent added in v3.27.0

func (o ExecutionOutput) IsParent() pulumi.BoolOutput

Whether to include subtasks.

func (ExecutionOutput) LoopMode added in v3.27.0

func (o ExecutionOutput) LoopMode() pulumi.StringPtrOutput

The loop mode of OOS Execution.

func (ExecutionOutput) Mode added in v3.27.0

The mode of OOS Execution. Valid: `Automatic`, `Debug`. Default to `Automatic`.

func (ExecutionOutput) Outputs added in v3.27.0

func (o ExecutionOutput) Outputs() pulumi.StringOutput

The outputs of OOS Execution.

func (ExecutionOutput) Parameters added in v3.27.0

func (o ExecutionOutput) Parameters() pulumi.StringPtrOutput

The parameters required by the template. Default to `{}`.

func (ExecutionOutput) ParentExecutionId added in v3.27.0

func (o ExecutionOutput) ParentExecutionId() pulumi.StringPtrOutput

The id of parent execution.

func (ExecutionOutput) RamRole added in v3.27.0

func (o ExecutionOutput) RamRole() pulumi.StringOutput

The role that executes the current template.

func (ExecutionOutput) SafetyCheck added in v3.27.0

func (o ExecutionOutput) SafetyCheck() pulumi.StringPtrOutput

The mode of safety check.

func (ExecutionOutput) StartDate added in v3.27.0

func (o ExecutionOutput) StartDate() pulumi.StringOutput

The time when the execution was started.

func (ExecutionOutput) Status added in v3.27.0

func (o ExecutionOutput) Status() pulumi.StringOutput

The status of OOS Execution.

func (ExecutionOutput) StatusMessage added in v3.27.0

func (o ExecutionOutput) StatusMessage() pulumi.StringOutput

The message of status.

func (ExecutionOutput) TemplateContent added in v3.27.0

func (o ExecutionOutput) TemplateContent() pulumi.StringPtrOutput

The content of template. When the user selects an existing template to create and execute a task, it is not necessary to pass in this field.

func (ExecutionOutput) TemplateId added in v3.27.0

func (o ExecutionOutput) TemplateId() pulumi.StringOutput

The id of template.

func (ExecutionOutput) TemplateName added in v3.27.0

func (o ExecutionOutput) TemplateName() pulumi.StringOutput

The name of execution template.

func (ExecutionOutput) TemplateVersion added in v3.27.0

func (o ExecutionOutput) TemplateVersion() pulumi.StringOutput

The version of execution template.

func (ExecutionOutput) ToExecutionOutput

func (o ExecutionOutput) ToExecutionOutput() ExecutionOutput

func (ExecutionOutput) ToExecutionOutputWithContext

func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput

func (ExecutionOutput) UpdateDate added in v3.27.0

func (o ExecutionOutput) UpdateDate() pulumi.StringOutput

The time when the execution was updated.

type ExecutionState

type ExecutionState struct {
	// The counters of OOS Execution.
	Counters pulumi.StringPtrInput
	// The time when the execution was created.
	CreateDate pulumi.StringPtrInput
	// The description of OOS Execution.
	Description pulumi.StringPtrInput
	// The time when the execution was ended.
	EndDate pulumi.StringPtrInput
	// The user who execute the template.
	ExecutedBy pulumi.StringPtrInput
	// Whether to include subtasks.
	IsParent pulumi.BoolPtrInput
	// The loop mode of OOS Execution.
	LoopMode pulumi.StringPtrInput
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`. Default to `Automatic`.
	Mode pulumi.StringPtrInput
	// The outputs of OOS Execution.
	Outputs pulumi.StringPtrInput
	// The parameters required by the template. Default to `{}`.
	Parameters pulumi.StringPtrInput
	// The id of parent execution.
	ParentExecutionId pulumi.StringPtrInput
	// The role that executes the current template.
	RamRole pulumi.StringPtrInput
	// The mode of safety check.
	SafetyCheck pulumi.StringPtrInput
	// The time when the execution was started.
	StartDate pulumi.StringPtrInput
	// The status of OOS Execution.
	Status pulumi.StringPtrInput
	// The message of status.
	StatusMessage pulumi.StringPtrInput
	// The content of template. When the user selects an existing template to create and execute a task, it is not necessary to pass in this field.
	TemplateContent pulumi.StringPtrInput
	// The id of template.
	TemplateId pulumi.StringPtrInput
	// The name of execution template.
	TemplateName pulumi.StringPtrInput
	// The version of execution template.
	TemplateVersion pulumi.StringPtrInput
	// The time when the execution was updated.
	UpdateDate pulumi.StringPtrInput
}

func (ExecutionState) ElementType

func (ExecutionState) ElementType() reflect.Type

type GetApplicationGroupsArgs added in v3.11.0

type GetApplicationGroupsArgs struct {
	// The name of the Application.
	ApplicationName string `pulumi:"applicationName"`
	// The region ID of the deployment.
	DeployRegionId *string `pulumi:"deployRegionId"`
	// A list of Application Group IDs. Its element value is same as Application Group Name.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Application Group name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getApplicationGroups.

type GetApplicationGroupsGroup added in v3.11.0

type GetApplicationGroupsGroup struct {
	// The name of the Application group.
	ApplicationGroupName string `pulumi:"applicationGroupName"`
	// The name of the Application.
	ApplicationName string `pulumi:"applicationName"`
	// The ID of the cloud monitor group.
	CmsGroupId string `pulumi:"cmsGroupId"`
	// The Creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The region ID of the deployment.
	DeployRegionId string `pulumi:"deployRegionId"`
	// Application group description information.
	Description string `pulumi:"description"`
	// The ID of the Application Group. Its value is same as Queue Name.
	Id string `pulumi:"id"`
	// Label key.
	ImportTagKey string `pulumi:"importTagKey"`
	// Label value.
	ImportTagValue string `pulumi:"importTagValue"`
	// The Update time of the resource.
	UpdateTime string `pulumi:"updateTime"`
}

type GetApplicationGroupsGroupArgs added in v3.11.0

type GetApplicationGroupsGroupArgs struct {
	// The name of the Application group.
	ApplicationGroupName pulumi.StringInput `pulumi:"applicationGroupName"`
	// The name of the Application.
	ApplicationName pulumi.StringInput `pulumi:"applicationName"`
	// The ID of the cloud monitor group.
	CmsGroupId pulumi.StringInput `pulumi:"cmsGroupId"`
	// The Creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The region ID of the deployment.
	DeployRegionId pulumi.StringInput `pulumi:"deployRegionId"`
	// Application group description information.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Application Group. Its value is same as Queue Name.
	Id pulumi.StringInput `pulumi:"id"`
	// Label key.
	ImportTagKey pulumi.StringInput `pulumi:"importTagKey"`
	// Label value.
	ImportTagValue pulumi.StringInput `pulumi:"importTagValue"`
	// The Update time of the resource.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GetApplicationGroupsGroupArgs) ElementType added in v3.11.0

func (GetApplicationGroupsGroupArgs) ToGetApplicationGroupsGroupOutput added in v3.11.0

func (i GetApplicationGroupsGroupArgs) ToGetApplicationGroupsGroupOutput() GetApplicationGroupsGroupOutput

func (GetApplicationGroupsGroupArgs) ToGetApplicationGroupsGroupOutputWithContext added in v3.11.0

func (i GetApplicationGroupsGroupArgs) ToGetApplicationGroupsGroupOutputWithContext(ctx context.Context) GetApplicationGroupsGroupOutput

type GetApplicationGroupsGroupArray added in v3.11.0

type GetApplicationGroupsGroupArray []GetApplicationGroupsGroupInput

func (GetApplicationGroupsGroupArray) ElementType added in v3.11.0

func (GetApplicationGroupsGroupArray) ToGetApplicationGroupsGroupArrayOutput added in v3.11.0

func (i GetApplicationGroupsGroupArray) ToGetApplicationGroupsGroupArrayOutput() GetApplicationGroupsGroupArrayOutput

func (GetApplicationGroupsGroupArray) ToGetApplicationGroupsGroupArrayOutputWithContext added in v3.11.0

func (i GetApplicationGroupsGroupArray) ToGetApplicationGroupsGroupArrayOutputWithContext(ctx context.Context) GetApplicationGroupsGroupArrayOutput

type GetApplicationGroupsGroupArrayInput added in v3.11.0

type GetApplicationGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetApplicationGroupsGroupArrayOutput() GetApplicationGroupsGroupArrayOutput
	ToGetApplicationGroupsGroupArrayOutputWithContext(context.Context) GetApplicationGroupsGroupArrayOutput
}

GetApplicationGroupsGroupArrayInput is an input type that accepts GetApplicationGroupsGroupArray and GetApplicationGroupsGroupArrayOutput values. You can construct a concrete instance of `GetApplicationGroupsGroupArrayInput` via:

GetApplicationGroupsGroupArray{ GetApplicationGroupsGroupArgs{...} }

type GetApplicationGroupsGroupArrayOutput added in v3.11.0

type GetApplicationGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetApplicationGroupsGroupArrayOutput) ElementType added in v3.11.0

func (GetApplicationGroupsGroupArrayOutput) Index added in v3.11.0

func (GetApplicationGroupsGroupArrayOutput) ToGetApplicationGroupsGroupArrayOutput added in v3.11.0

func (o GetApplicationGroupsGroupArrayOutput) ToGetApplicationGroupsGroupArrayOutput() GetApplicationGroupsGroupArrayOutput

func (GetApplicationGroupsGroupArrayOutput) ToGetApplicationGroupsGroupArrayOutputWithContext added in v3.11.0

func (o GetApplicationGroupsGroupArrayOutput) ToGetApplicationGroupsGroupArrayOutputWithContext(ctx context.Context) GetApplicationGroupsGroupArrayOutput

type GetApplicationGroupsGroupInput added in v3.11.0

type GetApplicationGroupsGroupInput interface {
	pulumi.Input

	ToGetApplicationGroupsGroupOutput() GetApplicationGroupsGroupOutput
	ToGetApplicationGroupsGroupOutputWithContext(context.Context) GetApplicationGroupsGroupOutput
}

GetApplicationGroupsGroupInput is an input type that accepts GetApplicationGroupsGroupArgs and GetApplicationGroupsGroupOutput values. You can construct a concrete instance of `GetApplicationGroupsGroupInput` via:

GetApplicationGroupsGroupArgs{...}

type GetApplicationGroupsGroupOutput added in v3.11.0

type GetApplicationGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetApplicationGroupsGroupOutput) ApplicationGroupName added in v3.11.0

func (o GetApplicationGroupsGroupOutput) ApplicationGroupName() pulumi.StringOutput

The name of the Application group.

func (GetApplicationGroupsGroupOutput) ApplicationName added in v3.11.0

The name of the Application.

func (GetApplicationGroupsGroupOutput) CmsGroupId added in v3.11.0

The ID of the cloud monitor group.

func (GetApplicationGroupsGroupOutput) CreateTime added in v3.11.0

The Creation time of the resource.

func (GetApplicationGroupsGroupOutput) DeployRegionId added in v3.11.0

The region ID of the deployment.

func (GetApplicationGroupsGroupOutput) Description added in v3.11.0

Application group description information.

func (GetApplicationGroupsGroupOutput) ElementType added in v3.11.0

func (GetApplicationGroupsGroupOutput) Id added in v3.11.0

The ID of the Application Group. Its value is same as Queue Name.

func (GetApplicationGroupsGroupOutput) ImportTagKey added in v3.11.0

Label key.

func (GetApplicationGroupsGroupOutput) ImportTagValue added in v3.11.0

Label value.

func (GetApplicationGroupsGroupOutput) ToGetApplicationGroupsGroupOutput added in v3.11.0

func (o GetApplicationGroupsGroupOutput) ToGetApplicationGroupsGroupOutput() GetApplicationGroupsGroupOutput

func (GetApplicationGroupsGroupOutput) ToGetApplicationGroupsGroupOutputWithContext added in v3.11.0

func (o GetApplicationGroupsGroupOutput) ToGetApplicationGroupsGroupOutputWithContext(ctx context.Context) GetApplicationGroupsGroupOutput

func (GetApplicationGroupsGroupOutput) UpdateTime added in v3.11.0

The Update time of the resource.

type GetApplicationGroupsOutputArgs added in v3.11.0

type GetApplicationGroupsOutputArgs struct {
	// The name of the Application.
	ApplicationName pulumi.StringInput `pulumi:"applicationName"`
	// The region ID of the deployment.
	DeployRegionId pulumi.StringPtrInput `pulumi:"deployRegionId"`
	// A list of Application Group IDs. Its element value is same as Application Group Name.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Application Group name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getApplicationGroups.

func (GetApplicationGroupsOutputArgs) ElementType added in v3.11.0

type GetApplicationGroupsResult added in v3.11.0

type GetApplicationGroupsResult struct {
	ApplicationName string                      `pulumi:"applicationName"`
	DeployRegionId  *string                     `pulumi:"deployRegionId"`
	Groups          []GetApplicationGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getApplicationGroups.

func GetApplicationGroups added in v3.11.0

func GetApplicationGroups(ctx *pulumi.Context, args *GetApplicationGroupsArgs, opts ...pulumi.InvokeOption) (*GetApplicationGroupsResult, error)

This data source provides the Oos Application Groups of the current Alibaba Cloud user.

> **NOTE:** Available in v1.146.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := oos.GetApplicationGroups(ctx, &oos.GetApplicationGroupsArgs{
			ApplicationName: "example_value",
			Ids: []string{
				"my-ApplicationGroup-1",
				"my-ApplicationGroup-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosApplicationGroupId1", ids.Groups[0].Id)
		nameRegex, err := oos.GetApplicationGroups(ctx, &oos.GetApplicationGroupsArgs{
			ApplicationName: "example_value",
			NameRegex:       pulumi.StringRef("^my-ApplicationGroup"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosApplicationGroupId2", nameRegex.Groups[0].Id)
		return nil
	})
}

```

type GetApplicationGroupsResultOutput added in v3.11.0

type GetApplicationGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplicationGroups.

func GetApplicationGroupsOutput added in v3.11.0

func (GetApplicationGroupsResultOutput) ApplicationName added in v3.11.0

func (GetApplicationGroupsResultOutput) DeployRegionId added in v3.11.0

func (GetApplicationGroupsResultOutput) ElementType added in v3.11.0

func (GetApplicationGroupsResultOutput) Groups added in v3.11.0

func (GetApplicationGroupsResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetApplicationGroupsResultOutput) Ids added in v3.11.0

func (GetApplicationGroupsResultOutput) NameRegex added in v3.11.0

func (GetApplicationGroupsResultOutput) Names added in v3.11.0

func (GetApplicationGroupsResultOutput) OutputFile added in v3.11.0

func (GetApplicationGroupsResultOutput) ToGetApplicationGroupsResultOutput added in v3.11.0

func (o GetApplicationGroupsResultOutput) ToGetApplicationGroupsResultOutput() GetApplicationGroupsResultOutput

func (GetApplicationGroupsResultOutput) ToGetApplicationGroupsResultOutputWithContext added in v3.11.0

func (o GetApplicationGroupsResultOutput) ToGetApplicationGroupsResultOutputWithContext(ctx context.Context) GetApplicationGroupsResultOutput

type GetApplicationsApplication added in v3.11.0

type GetApplicationsApplication struct {
	// The name of the application.
	ApplicationName string `pulumi:"applicationName"`
	// The Created time of the application.
	CreateTime string `pulumi:"createTime"`
	// Application group description information.
	Description string `pulumi:"description"`
	// The ID of the Application. The value is formate as <application_name>.
	Id string `pulumi:"id"`
	// The ID of the resource group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The Updated time of the application.
	UpdateTime string `pulumi:"updateTime"`
}

type GetApplicationsApplicationArgs added in v3.11.0

type GetApplicationsApplicationArgs struct {
	// The name of the application.
	ApplicationName pulumi.StringInput `pulumi:"applicationName"`
	// The Created time of the application.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Application group description information.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Application. The value is formate as <application_name>.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The Updated time of the application.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GetApplicationsApplicationArgs) ElementType added in v3.11.0

func (GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutput added in v3.11.0

func (i GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutput() GetApplicationsApplicationOutput

func (GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutputWithContext added in v3.11.0

func (i GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutputWithContext(ctx context.Context) GetApplicationsApplicationOutput

type GetApplicationsApplicationArray added in v3.11.0

type GetApplicationsApplicationArray []GetApplicationsApplicationInput

func (GetApplicationsApplicationArray) ElementType added in v3.11.0

func (GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutput added in v3.11.0

func (i GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutput() GetApplicationsApplicationArrayOutput

func (GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutputWithContext added in v3.11.0

func (i GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutputWithContext(ctx context.Context) GetApplicationsApplicationArrayOutput

type GetApplicationsApplicationArrayInput added in v3.11.0

type GetApplicationsApplicationArrayInput interface {
	pulumi.Input

	ToGetApplicationsApplicationArrayOutput() GetApplicationsApplicationArrayOutput
	ToGetApplicationsApplicationArrayOutputWithContext(context.Context) GetApplicationsApplicationArrayOutput
}

GetApplicationsApplicationArrayInput is an input type that accepts GetApplicationsApplicationArray and GetApplicationsApplicationArrayOutput values. You can construct a concrete instance of `GetApplicationsApplicationArrayInput` via:

GetApplicationsApplicationArray{ GetApplicationsApplicationArgs{...} }

type GetApplicationsApplicationArrayOutput added in v3.11.0

type GetApplicationsApplicationArrayOutput struct{ *pulumi.OutputState }

func (GetApplicationsApplicationArrayOutput) ElementType added in v3.11.0

func (GetApplicationsApplicationArrayOutput) Index added in v3.11.0

func (GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutput added in v3.11.0

func (o GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutput() GetApplicationsApplicationArrayOutput

func (GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutputWithContext added in v3.11.0

func (o GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutputWithContext(ctx context.Context) GetApplicationsApplicationArrayOutput

type GetApplicationsApplicationInput added in v3.11.0

type GetApplicationsApplicationInput interface {
	pulumi.Input

	ToGetApplicationsApplicationOutput() GetApplicationsApplicationOutput
	ToGetApplicationsApplicationOutputWithContext(context.Context) GetApplicationsApplicationOutput
}

GetApplicationsApplicationInput is an input type that accepts GetApplicationsApplicationArgs and GetApplicationsApplicationOutput values. You can construct a concrete instance of `GetApplicationsApplicationInput` via:

GetApplicationsApplicationArgs{...}

type GetApplicationsApplicationOutput added in v3.11.0

type GetApplicationsApplicationOutput struct{ *pulumi.OutputState }

func (GetApplicationsApplicationOutput) ApplicationName added in v3.11.0

The name of the application.

func (GetApplicationsApplicationOutput) CreateTime added in v3.11.0

The Created time of the application.

func (GetApplicationsApplicationOutput) Description added in v3.11.0

Application group description information.

func (GetApplicationsApplicationOutput) ElementType added in v3.11.0

func (GetApplicationsApplicationOutput) Id added in v3.11.0

The ID of the Application. The value is formate as <application_name>.

func (GetApplicationsApplicationOutput) ResourceGroupId added in v3.11.0

The ID of the resource group.

func (GetApplicationsApplicationOutput) Tags added in v3.11.0

The tag of the resource.

func (GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutput added in v3.11.0

func (o GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutput() GetApplicationsApplicationOutput

func (GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutputWithContext added in v3.11.0

func (o GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutputWithContext(ctx context.Context) GetApplicationsApplicationOutput

func (GetApplicationsApplicationOutput) UpdateTime added in v3.11.0

The Updated time of the application.

type GetApplicationsArgs added in v3.11.0

type GetApplicationsArgs struct {
	// A list of Application IDs. Its element value is same as Application Name.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Application name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getApplications.

type GetApplicationsOutputArgs added in v3.11.0

type GetApplicationsOutputArgs struct {
	// A list of Application IDs. Its element value is same as Application Name.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Application name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getApplications.

func (GetApplicationsOutputArgs) ElementType added in v3.11.0

func (GetApplicationsOutputArgs) ElementType() reflect.Type

type GetApplicationsResult added in v3.11.0

type GetApplicationsResult struct {
	Applications []GetApplicationsApplication `pulumi:"applications"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Ids        []string               `pulumi:"ids"`
	NameRegex  *string                `pulumi:"nameRegex"`
	Names      []string               `pulumi:"names"`
	OutputFile *string                `pulumi:"outputFile"`
	Tags       map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getApplications.

func GetApplications added in v3.11.0

func GetApplications(ctx *pulumi.Context, args *GetApplicationsArgs, opts ...pulumi.InvokeOption) (*GetApplicationsResult, error)

This data source provides the Oos Applications of the current Alibaba Cloud user.

> **NOTE:** Available in v1.145.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := oos.GetApplications(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosApplicationId1", ids.Applications[0].Id)
		nameRegex, err := oos.GetApplications(ctx, &oos.GetApplicationsArgs{
			NameRegex: pulumi.StringRef("^my-Application"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosApplicationId2", nameRegex.Applications[0].Id)
		return nil
	})
}

```

type GetApplicationsResultOutput added in v3.11.0

type GetApplicationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplications.

func GetApplicationsOutput added in v3.11.0

func (GetApplicationsResultOutput) Applications added in v3.11.0

func (GetApplicationsResultOutput) ElementType added in v3.11.0

func (GetApplicationsResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetApplicationsResultOutput) Ids added in v3.11.0

func (GetApplicationsResultOutput) NameRegex added in v3.11.0

func (GetApplicationsResultOutput) Names added in v3.11.0

func (GetApplicationsResultOutput) OutputFile added in v3.11.0

func (GetApplicationsResultOutput) Tags added in v3.11.0

func (GetApplicationsResultOutput) ToGetApplicationsResultOutput added in v3.11.0

func (o GetApplicationsResultOutput) ToGetApplicationsResultOutput() GetApplicationsResultOutput

func (GetApplicationsResultOutput) ToGetApplicationsResultOutputWithContext added in v3.11.0

func (o GetApplicationsResultOutput) ToGetApplicationsResultOutputWithContext(ctx context.Context) GetApplicationsResultOutput

type GetExecutionsArgs

type GetExecutionsArgs struct {
	// The category of template. Valid: `AlarmTrigger`, `EventTrigger`, `Other` and `TimerTrigger`.
	Category *string `pulumi:"category"`
	// The time when the execution was ended.
	EndDate *string `pulumi:"endDate"`
	// Execution whose end time is less than or equal to the specified time.
	EndDateAfter *string `pulumi:"endDateAfter"`
	// The user who execute the template.
	ExecutedBy *string `pulumi:"executedBy"`
	// A list of OOS Execution ids.
	Ids []string `pulumi:"ids"`
	// Whether to include sub-execution.
	IncludeChildExecution *bool `pulumi:"includeChildExecution"`
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`.
	Mode *string `pulumi:"mode"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The id of parent OOS Execution.
	ParentExecutionId *string `pulumi:"parentExecutionId"`
	// The role that executes the current template.
	RamRole *string `pulumi:"ramRole"`
	// The sort field.
	SortField *string `pulumi:"sortField"`
	// The sort order.
	SortOrder *string `pulumi:"sortOrder"`
	// The execution whose start time is greater than or equal to the specified time.
	StartDateAfter *string `pulumi:"startDateAfter"`
	// The execution with start time less than or equal to the specified time.
	StartDateBefore *string `pulumi:"startDateBefore"`
	// The Status of OOS Execution. Valid: `Cancelled`, `Failed`, `Queued`, `Running`, `Started`, `Success`, `Waiting`.
	Status *string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The name of execution template.
	TemplateName *string `pulumi:"templateName"`
}

A collection of arguments for invoking getExecutions.

type GetExecutionsExecution

type GetExecutionsExecution struct {
	// The category of template. Valid: `AlarmTrigger`, `EventTrigger`, `Other` and `TimerTrigger`.
	Category string `pulumi:"category"`
	// The counters of OOS Execution.
	Counters string `pulumi:"counters"`
	// The time when the execution was created.
	CreateDate string `pulumi:"createDate"`
	// The time when the execution was ended.
	EndDate string `pulumi:"endDate"`
	// The user who execute the template.
	ExecutedBy string `pulumi:"executedBy"`
	// ID of the OOS Executions.
	ExecutionId string `pulumi:"executionId"`
	// ID of the OOS Executions.
	Id string `pulumi:"id"`
	// Whether to include subtasks.
	IsParent bool `pulumi:"isParent"`
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`.
	Mode string `pulumi:"mode"`
	// The outputs of OOS Executions.
	Outputs string `pulumi:"outputs"`
	// The parameters required by the template
	Parameters string `pulumi:"parameters"`
	// The id of parent OOS Execution.
	ParentExecutionId string `pulumi:"parentExecutionId"`
	// The role that executes the current template.
	RamRole string `pulumi:"ramRole"`
	// The time when the template was started.
	StartDate string `pulumi:"startDate"`
	// The Status of OOS Execution. Valid: `Cancelled`, `Failed`, `Queued`, `Running`, `Started`, `Success`, `Waiting`.
	Status string `pulumi:"status"`
	// The message of status.
	StatusMessage string `pulumi:"statusMessage"`
	// The reason of status.
	StatusReason string `pulumi:"statusReason"`
	// The id of execution template.
	TemplateId string `pulumi:"templateId"`
	// The name of execution template.
	TemplateName string `pulumi:"templateName"`
	// The version of execution template.
	TemplateVersion string `pulumi:"templateVersion"`
	// The time when the template was updated.
	UpdateDate string `pulumi:"updateDate"`
}

type GetExecutionsExecutionArgs

type GetExecutionsExecutionArgs struct {
	// The category of template. Valid: `AlarmTrigger`, `EventTrigger`, `Other` and `TimerTrigger`.
	Category pulumi.StringInput `pulumi:"category"`
	// The counters of OOS Execution.
	Counters pulumi.StringInput `pulumi:"counters"`
	// The time when the execution was created.
	CreateDate pulumi.StringInput `pulumi:"createDate"`
	// The time when the execution was ended.
	EndDate pulumi.StringInput `pulumi:"endDate"`
	// The user who execute the template.
	ExecutedBy pulumi.StringInput `pulumi:"executedBy"`
	// ID of the OOS Executions.
	ExecutionId pulumi.StringInput `pulumi:"executionId"`
	// ID of the OOS Executions.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether to include subtasks.
	IsParent pulumi.BoolInput `pulumi:"isParent"`
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`.
	Mode pulumi.StringInput `pulumi:"mode"`
	// The outputs of OOS Executions.
	Outputs pulumi.StringInput `pulumi:"outputs"`
	// The parameters required by the template
	Parameters pulumi.StringInput `pulumi:"parameters"`
	// The id of parent OOS Execution.
	ParentExecutionId pulumi.StringInput `pulumi:"parentExecutionId"`
	// The role that executes the current template.
	RamRole pulumi.StringInput `pulumi:"ramRole"`
	// The time when the template was started.
	StartDate pulumi.StringInput `pulumi:"startDate"`
	// The Status of OOS Execution. Valid: `Cancelled`, `Failed`, `Queued`, `Running`, `Started`, `Success`, `Waiting`.
	Status pulumi.StringInput `pulumi:"status"`
	// The message of status.
	StatusMessage pulumi.StringInput `pulumi:"statusMessage"`
	// The reason of status.
	StatusReason pulumi.StringInput `pulumi:"statusReason"`
	// The id of execution template.
	TemplateId pulumi.StringInput `pulumi:"templateId"`
	// The name of execution template.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The version of execution template.
	TemplateVersion pulumi.StringInput `pulumi:"templateVersion"`
	// The time when the template was updated.
	UpdateDate pulumi.StringInput `pulumi:"updateDate"`
}

func (GetExecutionsExecutionArgs) ElementType

func (GetExecutionsExecutionArgs) ElementType() reflect.Type

func (GetExecutionsExecutionArgs) ToGetExecutionsExecutionOutput

func (i GetExecutionsExecutionArgs) ToGetExecutionsExecutionOutput() GetExecutionsExecutionOutput

func (GetExecutionsExecutionArgs) ToGetExecutionsExecutionOutputWithContext

func (i GetExecutionsExecutionArgs) ToGetExecutionsExecutionOutputWithContext(ctx context.Context) GetExecutionsExecutionOutput

type GetExecutionsExecutionArray

type GetExecutionsExecutionArray []GetExecutionsExecutionInput

func (GetExecutionsExecutionArray) ElementType

func (GetExecutionsExecutionArray) ToGetExecutionsExecutionArrayOutput

func (i GetExecutionsExecutionArray) ToGetExecutionsExecutionArrayOutput() GetExecutionsExecutionArrayOutput

func (GetExecutionsExecutionArray) ToGetExecutionsExecutionArrayOutputWithContext

func (i GetExecutionsExecutionArray) ToGetExecutionsExecutionArrayOutputWithContext(ctx context.Context) GetExecutionsExecutionArrayOutput

type GetExecutionsExecutionArrayInput

type GetExecutionsExecutionArrayInput interface {
	pulumi.Input

	ToGetExecutionsExecutionArrayOutput() GetExecutionsExecutionArrayOutput
	ToGetExecutionsExecutionArrayOutputWithContext(context.Context) GetExecutionsExecutionArrayOutput
}

GetExecutionsExecutionArrayInput is an input type that accepts GetExecutionsExecutionArray and GetExecutionsExecutionArrayOutput values. You can construct a concrete instance of `GetExecutionsExecutionArrayInput` via:

GetExecutionsExecutionArray{ GetExecutionsExecutionArgs{...} }

type GetExecutionsExecutionArrayOutput

type GetExecutionsExecutionArrayOutput struct{ *pulumi.OutputState }

func (GetExecutionsExecutionArrayOutput) ElementType

func (GetExecutionsExecutionArrayOutput) Index

func (GetExecutionsExecutionArrayOutput) ToGetExecutionsExecutionArrayOutput

func (o GetExecutionsExecutionArrayOutput) ToGetExecutionsExecutionArrayOutput() GetExecutionsExecutionArrayOutput

func (GetExecutionsExecutionArrayOutput) ToGetExecutionsExecutionArrayOutputWithContext

func (o GetExecutionsExecutionArrayOutput) ToGetExecutionsExecutionArrayOutputWithContext(ctx context.Context) GetExecutionsExecutionArrayOutput

type GetExecutionsExecutionInput

type GetExecutionsExecutionInput interface {
	pulumi.Input

	ToGetExecutionsExecutionOutput() GetExecutionsExecutionOutput
	ToGetExecutionsExecutionOutputWithContext(context.Context) GetExecutionsExecutionOutput
}

GetExecutionsExecutionInput is an input type that accepts GetExecutionsExecutionArgs and GetExecutionsExecutionOutput values. You can construct a concrete instance of `GetExecutionsExecutionInput` via:

GetExecutionsExecutionArgs{...}

type GetExecutionsExecutionOutput

type GetExecutionsExecutionOutput struct{ *pulumi.OutputState }

func (GetExecutionsExecutionOutput) Category

The category of template. Valid: `AlarmTrigger`, `EventTrigger`, `Other` and `TimerTrigger`.

func (GetExecutionsExecutionOutput) Counters

The counters of OOS Execution.

func (GetExecutionsExecutionOutput) CreateDate

The time when the execution was created.

func (GetExecutionsExecutionOutput) ElementType

func (GetExecutionsExecutionOutput) EndDate

The time when the execution was ended.

func (GetExecutionsExecutionOutput) ExecutedBy

The user who execute the template.

func (GetExecutionsExecutionOutput) ExecutionId

ID of the OOS Executions.

func (GetExecutionsExecutionOutput) Id

ID of the OOS Executions.

func (GetExecutionsExecutionOutput) IsParent

Whether to include subtasks.

func (GetExecutionsExecutionOutput) Mode

The mode of OOS Execution. Valid: `Automatic`, `Debug`.

func (GetExecutionsExecutionOutput) Outputs

The outputs of OOS Executions.

func (GetExecutionsExecutionOutput) Parameters

The parameters required by the template

func (GetExecutionsExecutionOutput) ParentExecutionId

func (o GetExecutionsExecutionOutput) ParentExecutionId() pulumi.StringOutput

The id of parent OOS Execution.

func (GetExecutionsExecutionOutput) RamRole

The role that executes the current template.

func (GetExecutionsExecutionOutput) StartDate

The time when the template was started.

func (GetExecutionsExecutionOutput) Status

The Status of OOS Execution. Valid: `Cancelled`, `Failed`, `Queued`, `Running`, `Started`, `Success`, `Waiting`.

func (GetExecutionsExecutionOutput) StatusMessage

The message of status.

func (GetExecutionsExecutionOutput) StatusReason

The reason of status.

func (GetExecutionsExecutionOutput) TemplateId

The id of execution template.

func (GetExecutionsExecutionOutput) TemplateName

The name of execution template.

func (GetExecutionsExecutionOutput) TemplateVersion

func (o GetExecutionsExecutionOutput) TemplateVersion() pulumi.StringOutput

The version of execution template.

func (GetExecutionsExecutionOutput) ToGetExecutionsExecutionOutput

func (o GetExecutionsExecutionOutput) ToGetExecutionsExecutionOutput() GetExecutionsExecutionOutput

func (GetExecutionsExecutionOutput) ToGetExecutionsExecutionOutputWithContext

func (o GetExecutionsExecutionOutput) ToGetExecutionsExecutionOutputWithContext(ctx context.Context) GetExecutionsExecutionOutput

func (GetExecutionsExecutionOutput) UpdateDate

The time when the template was updated.

type GetExecutionsOutputArgs added in v3.9.0

type GetExecutionsOutputArgs struct {
	// The category of template. Valid: `AlarmTrigger`, `EventTrigger`, `Other` and `TimerTrigger`.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// The time when the execution was ended.
	EndDate pulumi.StringPtrInput `pulumi:"endDate"`
	// Execution whose end time is less than or equal to the specified time.
	EndDateAfter pulumi.StringPtrInput `pulumi:"endDateAfter"`
	// The user who execute the template.
	ExecutedBy pulumi.StringPtrInput `pulumi:"executedBy"`
	// A list of OOS Execution ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Whether to include sub-execution.
	IncludeChildExecution pulumi.BoolPtrInput `pulumi:"includeChildExecution"`
	// The mode of OOS Execution. Valid: `Automatic`, `Debug`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The id of parent OOS Execution.
	ParentExecutionId pulumi.StringPtrInput `pulumi:"parentExecutionId"`
	// The role that executes the current template.
	RamRole pulumi.StringPtrInput `pulumi:"ramRole"`
	// The sort field.
	SortField pulumi.StringPtrInput `pulumi:"sortField"`
	// The sort order.
	SortOrder pulumi.StringPtrInput `pulumi:"sortOrder"`
	// The execution whose start time is greater than or equal to the specified time.
	StartDateAfter pulumi.StringPtrInput `pulumi:"startDateAfter"`
	// The execution with start time less than or equal to the specified time.
	StartDateBefore pulumi.StringPtrInput `pulumi:"startDateBefore"`
	// The Status of OOS Execution. Valid: `Cancelled`, `Failed`, `Queued`, `Running`, `Started`, `Success`, `Waiting`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The name of execution template.
	TemplateName pulumi.StringPtrInput `pulumi:"templateName"`
}

A collection of arguments for invoking getExecutions.

func (GetExecutionsOutputArgs) ElementType added in v3.9.0

func (GetExecutionsOutputArgs) ElementType() reflect.Type

type GetExecutionsResult

type GetExecutionsResult struct {
	Category     *string `pulumi:"category"`
	EndDate      *string `pulumi:"endDate"`
	EndDateAfter *string `pulumi:"endDateAfter"`
	ExecutedBy   *string `pulumi:"executedBy"`
	// A list of OOS Executions. Each element contains the following attributes:
	Executions []GetExecutionsExecution `pulumi:"executions"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of OOS Execution ids.
	Ids                   []string               `pulumi:"ids"`
	IncludeChildExecution *bool                  `pulumi:"includeChildExecution"`
	Mode                  *string                `pulumi:"mode"`
	OutputFile            *string                `pulumi:"outputFile"`
	ParentExecutionId     *string                `pulumi:"parentExecutionId"`
	RamRole               *string                `pulumi:"ramRole"`
	SortField             *string                `pulumi:"sortField"`
	SortOrder             *string                `pulumi:"sortOrder"`
	StartDateAfter        *string                `pulumi:"startDateAfter"`
	StartDateBefore       *string                `pulumi:"startDateBefore"`
	Status                *string                `pulumi:"status"`
	Tags                  map[string]interface{} `pulumi:"tags"`
	TemplateName          *string                `pulumi:"templateName"`
}

A collection of values returned by getExecutions.

func GetExecutions

func GetExecutions(ctx *pulumi.Context, args *GetExecutionsArgs, opts ...pulumi.InvokeOption) (*GetExecutionsResult, error)

This data source provides a list of OOS Executions in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in v1.93.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		example, err := oos.GetExecutions(ctx, &oos.GetExecutionsArgs{
			Ids: []string{
				"execution_id",
			},
			TemplateName: pulumi.StringRef("name"),
			Status:       pulumi.StringRef("Success"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstExecutionId", example.Executions[0].Id)
		return nil
	})
}

```

type GetExecutionsResultOutput added in v3.9.0

type GetExecutionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getExecutions.

func GetExecutionsOutput added in v3.9.0

func GetExecutionsOutput(ctx *pulumi.Context, args GetExecutionsOutputArgs, opts ...pulumi.InvokeOption) GetExecutionsResultOutput

func (GetExecutionsResultOutput) Category added in v3.9.0

func (GetExecutionsResultOutput) ElementType added in v3.9.0

func (GetExecutionsResultOutput) ElementType() reflect.Type

func (GetExecutionsResultOutput) EndDate added in v3.9.0

func (GetExecutionsResultOutput) EndDateAfter added in v3.9.0

func (GetExecutionsResultOutput) ExecutedBy added in v3.9.0

func (GetExecutionsResultOutput) Executions added in v3.9.0

A list of OOS Executions. Each element contains the following attributes:

func (GetExecutionsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetExecutionsResultOutput) Ids added in v3.9.0

A list of OOS Execution ids.

func (GetExecutionsResultOutput) IncludeChildExecution added in v3.9.0

func (o GetExecutionsResultOutput) IncludeChildExecution() pulumi.BoolPtrOutput

func (GetExecutionsResultOutput) Mode added in v3.9.0

func (GetExecutionsResultOutput) OutputFile added in v3.9.0

func (GetExecutionsResultOutput) ParentExecutionId added in v3.9.0

func (o GetExecutionsResultOutput) ParentExecutionId() pulumi.StringPtrOutput

func (GetExecutionsResultOutput) RamRole added in v3.9.0

func (GetExecutionsResultOutput) SortField added in v3.9.0

func (GetExecutionsResultOutput) SortOrder added in v3.9.0

func (GetExecutionsResultOutput) StartDateAfter added in v3.9.0

func (GetExecutionsResultOutput) StartDateBefore added in v3.9.0

func (o GetExecutionsResultOutput) StartDateBefore() pulumi.StringPtrOutput

func (GetExecutionsResultOutput) Status added in v3.9.0

func (GetExecutionsResultOutput) Tags added in v3.9.0

func (GetExecutionsResultOutput) TemplateName added in v3.9.0

func (GetExecutionsResultOutput) ToGetExecutionsResultOutput added in v3.9.0

func (o GetExecutionsResultOutput) ToGetExecutionsResultOutput() GetExecutionsResultOutput

func (GetExecutionsResultOutput) ToGetExecutionsResultOutputWithContext added in v3.9.0

func (o GetExecutionsResultOutput) ToGetExecutionsResultOutputWithContext(ctx context.Context) GetExecutionsResultOutput

type GetParametersArgs added in v3.12.0

type GetParametersArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Parameter IDs. Its element value is same as Parameter Name.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Parameter name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The name of the common parameter.
	ParameterName *string `pulumi:"parameterName"`
	// The ID of the Resource Group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	SortField       *string `pulumi:"sortField"`
	SortOrder       *string `pulumi:"sortOrder"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The data type of the common parameter.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getParameters.

type GetParametersOutputArgs added in v3.12.0

type GetParametersOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Parameter IDs. Its element value is same as Parameter Name.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Parameter name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of the common parameter.
	ParameterName pulumi.StringPtrInput `pulumi:"parameterName"`
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	SortField       pulumi.StringPtrInput `pulumi:"sortField"`
	SortOrder       pulumi.StringPtrInput `pulumi:"sortOrder"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The data type of the common parameter.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getParameters.

func (GetParametersOutputArgs) ElementType added in v3.12.0

func (GetParametersOutputArgs) ElementType() reflect.Type

type GetParametersParameter added in v3.12.0

type GetParametersParameter struct {
	// The constraints of the common parameter.
	Constraints string `pulumi:"constraints"`
	// The time when the common parameter was created.
	CreateTime string `pulumi:"createTime"`
	// The user who created the common parameter.
	CreatedBy string `pulumi:"createdBy"`
	// The description of the common parameter.
	Description string `pulumi:"description"`
	// The ID of the Parameter. Its value is same as `parameterName`.
	Id string `pulumi:"id"`
	// The ID of the common parameter.
	ParameterId string `pulumi:"parameterId"`
	// The name of the common parameter.
	ParameterName string `pulumi:"parameterName"`
	// The version number of the common parameter.
	ParameterVersion int `pulumi:"parameterVersion"`
	// The ID of the Resource Group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The share type of the common parameter.
	ShareType string `pulumi:"shareType"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The data type of the common parameter.
	Type string `pulumi:"type"`
	// The user who updated the common parameter.
	UpdatedBy string `pulumi:"updatedBy"`
	// The time when the common parameter was updated.
	UpdatedDate string `pulumi:"updatedDate"`
	// The value of the common parameter.
	Value string `pulumi:"value"`
}

type GetParametersParameterArgs added in v3.12.0

type GetParametersParameterArgs struct {
	// The constraints of the common parameter.
	Constraints pulumi.StringInput `pulumi:"constraints"`
	// The time when the common parameter was created.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The user who created the common parameter.
	CreatedBy pulumi.StringInput `pulumi:"createdBy"`
	// The description of the common parameter.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Parameter. Its value is same as `parameterName`.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the common parameter.
	ParameterId pulumi.StringInput `pulumi:"parameterId"`
	// The name of the common parameter.
	ParameterName pulumi.StringInput `pulumi:"parameterName"`
	// The version number of the common parameter.
	ParameterVersion pulumi.IntInput `pulumi:"parameterVersion"`
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The share type of the common parameter.
	ShareType pulumi.StringInput `pulumi:"shareType"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The data type of the common parameter.
	Type pulumi.StringInput `pulumi:"type"`
	// The user who updated the common parameter.
	UpdatedBy pulumi.StringInput `pulumi:"updatedBy"`
	// The time when the common parameter was updated.
	UpdatedDate pulumi.StringInput `pulumi:"updatedDate"`
	// The value of the common parameter.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetParametersParameterArgs) ElementType added in v3.12.0

func (GetParametersParameterArgs) ElementType() reflect.Type

func (GetParametersParameterArgs) ToGetParametersParameterOutput added in v3.12.0

func (i GetParametersParameterArgs) ToGetParametersParameterOutput() GetParametersParameterOutput

func (GetParametersParameterArgs) ToGetParametersParameterOutputWithContext added in v3.12.0

func (i GetParametersParameterArgs) ToGetParametersParameterOutputWithContext(ctx context.Context) GetParametersParameterOutput

type GetParametersParameterArray added in v3.12.0

type GetParametersParameterArray []GetParametersParameterInput

func (GetParametersParameterArray) ElementType added in v3.12.0

func (GetParametersParameterArray) ToGetParametersParameterArrayOutput added in v3.12.0

func (i GetParametersParameterArray) ToGetParametersParameterArrayOutput() GetParametersParameterArrayOutput

func (GetParametersParameterArray) ToGetParametersParameterArrayOutputWithContext added in v3.12.0

func (i GetParametersParameterArray) ToGetParametersParameterArrayOutputWithContext(ctx context.Context) GetParametersParameterArrayOutput

type GetParametersParameterArrayInput added in v3.12.0

type GetParametersParameterArrayInput interface {
	pulumi.Input

	ToGetParametersParameterArrayOutput() GetParametersParameterArrayOutput
	ToGetParametersParameterArrayOutputWithContext(context.Context) GetParametersParameterArrayOutput
}

GetParametersParameterArrayInput is an input type that accepts GetParametersParameterArray and GetParametersParameterArrayOutput values. You can construct a concrete instance of `GetParametersParameterArrayInput` via:

GetParametersParameterArray{ GetParametersParameterArgs{...} }

type GetParametersParameterArrayOutput added in v3.12.0

type GetParametersParameterArrayOutput struct{ *pulumi.OutputState }

func (GetParametersParameterArrayOutput) ElementType added in v3.12.0

func (GetParametersParameterArrayOutput) Index added in v3.12.0

func (GetParametersParameterArrayOutput) ToGetParametersParameterArrayOutput added in v3.12.0

func (o GetParametersParameterArrayOutput) ToGetParametersParameterArrayOutput() GetParametersParameterArrayOutput

func (GetParametersParameterArrayOutput) ToGetParametersParameterArrayOutputWithContext added in v3.12.0

func (o GetParametersParameterArrayOutput) ToGetParametersParameterArrayOutputWithContext(ctx context.Context) GetParametersParameterArrayOutput

type GetParametersParameterInput added in v3.12.0

type GetParametersParameterInput interface {
	pulumi.Input

	ToGetParametersParameterOutput() GetParametersParameterOutput
	ToGetParametersParameterOutputWithContext(context.Context) GetParametersParameterOutput
}

GetParametersParameterInput is an input type that accepts GetParametersParameterArgs and GetParametersParameterOutput values. You can construct a concrete instance of `GetParametersParameterInput` via:

GetParametersParameterArgs{...}

type GetParametersParameterOutput added in v3.12.0

type GetParametersParameterOutput struct{ *pulumi.OutputState }

func (GetParametersParameterOutput) Constraints added in v3.12.0

The constraints of the common parameter.

func (GetParametersParameterOutput) CreateTime added in v3.12.0

The time when the common parameter was created.

func (GetParametersParameterOutput) CreatedBy added in v3.12.0

The user who created the common parameter.

func (GetParametersParameterOutput) Description added in v3.12.0

The description of the common parameter.

func (GetParametersParameterOutput) ElementType added in v3.12.0

func (GetParametersParameterOutput) Id added in v3.12.0

The ID of the Parameter. Its value is same as `parameterName`.

func (GetParametersParameterOutput) ParameterId added in v3.12.0

The ID of the common parameter.

func (GetParametersParameterOutput) ParameterName added in v3.12.0

The name of the common parameter.

func (GetParametersParameterOutput) ParameterVersion added in v3.12.0

func (o GetParametersParameterOutput) ParameterVersion() pulumi.IntOutput

The version number of the common parameter.

func (GetParametersParameterOutput) ResourceGroupId added in v3.12.0

func (o GetParametersParameterOutput) ResourceGroupId() pulumi.StringOutput

The ID of the Resource Group.

func (GetParametersParameterOutput) ShareType added in v3.12.0

The share type of the common parameter.

func (GetParametersParameterOutput) Tags added in v3.12.0

The tag of the resource.

func (GetParametersParameterOutput) ToGetParametersParameterOutput added in v3.12.0

func (o GetParametersParameterOutput) ToGetParametersParameterOutput() GetParametersParameterOutput

func (GetParametersParameterOutput) ToGetParametersParameterOutputWithContext added in v3.12.0

func (o GetParametersParameterOutput) ToGetParametersParameterOutputWithContext(ctx context.Context) GetParametersParameterOutput

func (GetParametersParameterOutput) Type added in v3.12.0

The data type of the common parameter.

func (GetParametersParameterOutput) UpdatedBy added in v3.12.0

The user who updated the common parameter.

func (GetParametersParameterOutput) UpdatedDate added in v3.12.0

The time when the common parameter was updated.

func (GetParametersParameterOutput) Value added in v3.12.0

The value of the common parameter.

type GetParametersResult added in v3.12.0

type GetParametersResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id              string                   `pulumi:"id"`
	Ids             []string                 `pulumi:"ids"`
	NameRegex       *string                  `pulumi:"nameRegex"`
	Names           []string                 `pulumi:"names"`
	OutputFile      *string                  `pulumi:"outputFile"`
	ParameterName   *string                  `pulumi:"parameterName"`
	Parameters      []GetParametersParameter `pulumi:"parameters"`
	ResourceGroupId *string                  `pulumi:"resourceGroupId"`
	SortField       *string                  `pulumi:"sortField"`
	SortOrder       *string                  `pulumi:"sortOrder"`
	Tags            map[string]interface{}   `pulumi:"tags"`
	Type            *string                  `pulumi:"type"`
}

A collection of values returned by getParameters.

func GetParameters added in v3.12.0

func GetParameters(ctx *pulumi.Context, args *GetParametersArgs, opts ...pulumi.InvokeOption) (*GetParametersResult, error)

This data source provides the Oos Parameters of the current Alibaba Cloud user.

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := oos.GetParameters(ctx, &oos.GetParametersArgs{
			Ids: []string{
				"my-Parameter",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosParameterId1", ids.Parameters[0].Id)
		nameRegex, err := oos.GetParameters(ctx, &oos.GetParametersArgs{
			NameRegex: pulumi.StringRef("^my-Parameter"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosParameterId2", nameRegex.Parameters[0].Id)
		resourceGroupId, err := oos.GetParameters(ctx, &oos.GetParametersArgs{
			Ids: []string{
				"my-Parameter",
			},
			ResourceGroupId: pulumi.StringRef("example_value"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosParameterId3", resourceGroupId.Parameters[0].Id)
		tags, err := oos.GetParameters(ctx, &oos.GetParametersArgs{
			Ids: []string{
				"my-Parameter",
			},
			Tags: map[string]interface{}{
				"Created": "TF",
				"For":     "OosParameter",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosParameterId4", tags.Parameters[0].Id)
		return nil
	})
}

```

type GetParametersResultOutput added in v3.12.0

type GetParametersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParameters.

func GetParametersOutput added in v3.12.0

func GetParametersOutput(ctx *pulumi.Context, args GetParametersOutputArgs, opts ...pulumi.InvokeOption) GetParametersResultOutput

func (GetParametersResultOutput) ElementType added in v3.12.0

func (GetParametersResultOutput) ElementType() reflect.Type

func (GetParametersResultOutput) EnableDetails added in v3.12.0

func (GetParametersResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetParametersResultOutput) Ids added in v3.12.0

func (GetParametersResultOutput) NameRegex added in v3.12.0

func (GetParametersResultOutput) Names added in v3.12.0

func (GetParametersResultOutput) OutputFile added in v3.12.0

func (GetParametersResultOutput) ParameterName added in v3.12.0

func (GetParametersResultOutput) Parameters added in v3.12.0

func (GetParametersResultOutput) ResourceGroupId added in v3.12.0

func (o GetParametersResultOutput) ResourceGroupId() pulumi.StringPtrOutput

func (GetParametersResultOutput) SortField added in v3.12.0

func (GetParametersResultOutput) SortOrder added in v3.12.0

func (GetParametersResultOutput) Tags added in v3.12.0

func (GetParametersResultOutput) ToGetParametersResultOutput added in v3.12.0

func (o GetParametersResultOutput) ToGetParametersResultOutput() GetParametersResultOutput

func (GetParametersResultOutput) ToGetParametersResultOutputWithContext added in v3.12.0

func (o GetParametersResultOutput) ToGetParametersResultOutputWithContext(ctx context.Context) GetParametersResultOutput

func (GetParametersResultOutput) Type added in v3.12.0

type GetPatchBaselinesArgs added in v3.11.0

type GetPatchBaselinesArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Patch Baseline name.
	NameRegex *string `pulumi:"nameRegex"`
	// Operating system type.
	OperationSystem *string `pulumi:"operationSystem"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Patch baseline sharing type.
	ShareType *string `pulumi:"shareType"`
}

A collection of arguments for invoking getPatchBaselines.

type GetPatchBaselinesBaseline added in v3.11.0

type GetPatchBaselinesBaseline struct {
	// Accept the rules.
	ApprovalRules string `pulumi:"approvalRules"`
	// The create time of patch baselines.
	CreateTime string `pulumi:"createTime"`
	// The user who created the patch baselines.
	CreatedBy string `pulumi:"createdBy"`
	// Patches baseline description information.
	Description string `pulumi:"description"`
	// The ID of the Patch Baseline. Its value is same as `patchBaselineName`.
	Id string `pulumi:"id"`
	// Whether it is the default patch baseline.
	IsDefault bool `pulumi:"isDefault"`
	// Operating system type.
	OperationSystem string `pulumi:"operationSystem"`
	// Patch baseline ID.
	PatchBaselineId string `pulumi:"patchBaselineId"`
	// The name of the patch baseline.
	PatchBaselineName string `pulumi:"patchBaselineName"`
	// Patch baseline sharing type.
	ShareType string `pulumi:"shareType"`
	// The user who updated the patch baselines.
	UpdatedBy string `pulumi:"updatedBy"`
	// The update time of patch baselines.
	UpdatedDate string `pulumi:"updatedDate"`
}

type GetPatchBaselinesBaselineArgs added in v3.11.0

type GetPatchBaselinesBaselineArgs struct {
	// Accept the rules.
	ApprovalRules pulumi.StringInput `pulumi:"approvalRules"`
	// The create time of patch baselines.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The user who created the patch baselines.
	CreatedBy pulumi.StringInput `pulumi:"createdBy"`
	// Patches baseline description information.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Patch Baseline. Its value is same as `patchBaselineName`.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether it is the default patch baseline.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// Operating system type.
	OperationSystem pulumi.StringInput `pulumi:"operationSystem"`
	// Patch baseline ID.
	PatchBaselineId pulumi.StringInput `pulumi:"patchBaselineId"`
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringInput `pulumi:"patchBaselineName"`
	// Patch baseline sharing type.
	ShareType pulumi.StringInput `pulumi:"shareType"`
	// The user who updated the patch baselines.
	UpdatedBy pulumi.StringInput `pulumi:"updatedBy"`
	// The update time of patch baselines.
	UpdatedDate pulumi.StringInput `pulumi:"updatedDate"`
}

func (GetPatchBaselinesBaselineArgs) ElementType added in v3.11.0

func (GetPatchBaselinesBaselineArgs) ToGetPatchBaselinesBaselineOutput added in v3.11.0

func (i GetPatchBaselinesBaselineArgs) ToGetPatchBaselinesBaselineOutput() GetPatchBaselinesBaselineOutput

func (GetPatchBaselinesBaselineArgs) ToGetPatchBaselinesBaselineOutputWithContext added in v3.11.0

func (i GetPatchBaselinesBaselineArgs) ToGetPatchBaselinesBaselineOutputWithContext(ctx context.Context) GetPatchBaselinesBaselineOutput

type GetPatchBaselinesBaselineArray added in v3.11.0

type GetPatchBaselinesBaselineArray []GetPatchBaselinesBaselineInput

func (GetPatchBaselinesBaselineArray) ElementType added in v3.11.0

func (GetPatchBaselinesBaselineArray) ToGetPatchBaselinesBaselineArrayOutput added in v3.11.0

func (i GetPatchBaselinesBaselineArray) ToGetPatchBaselinesBaselineArrayOutput() GetPatchBaselinesBaselineArrayOutput

func (GetPatchBaselinesBaselineArray) ToGetPatchBaselinesBaselineArrayOutputWithContext added in v3.11.0

func (i GetPatchBaselinesBaselineArray) ToGetPatchBaselinesBaselineArrayOutputWithContext(ctx context.Context) GetPatchBaselinesBaselineArrayOutput

type GetPatchBaselinesBaselineArrayInput added in v3.11.0

type GetPatchBaselinesBaselineArrayInput interface {
	pulumi.Input

	ToGetPatchBaselinesBaselineArrayOutput() GetPatchBaselinesBaselineArrayOutput
	ToGetPatchBaselinesBaselineArrayOutputWithContext(context.Context) GetPatchBaselinesBaselineArrayOutput
}

GetPatchBaselinesBaselineArrayInput is an input type that accepts GetPatchBaselinesBaselineArray and GetPatchBaselinesBaselineArrayOutput values. You can construct a concrete instance of `GetPatchBaselinesBaselineArrayInput` via:

GetPatchBaselinesBaselineArray{ GetPatchBaselinesBaselineArgs{...} }

type GetPatchBaselinesBaselineArrayOutput added in v3.11.0

type GetPatchBaselinesBaselineArrayOutput struct{ *pulumi.OutputState }

func (GetPatchBaselinesBaselineArrayOutput) ElementType added in v3.11.0

func (GetPatchBaselinesBaselineArrayOutput) Index added in v3.11.0

func (GetPatchBaselinesBaselineArrayOutput) ToGetPatchBaselinesBaselineArrayOutput added in v3.11.0

func (o GetPatchBaselinesBaselineArrayOutput) ToGetPatchBaselinesBaselineArrayOutput() GetPatchBaselinesBaselineArrayOutput

func (GetPatchBaselinesBaselineArrayOutput) ToGetPatchBaselinesBaselineArrayOutputWithContext added in v3.11.0

func (o GetPatchBaselinesBaselineArrayOutput) ToGetPatchBaselinesBaselineArrayOutputWithContext(ctx context.Context) GetPatchBaselinesBaselineArrayOutput

type GetPatchBaselinesBaselineInput added in v3.11.0

type GetPatchBaselinesBaselineInput interface {
	pulumi.Input

	ToGetPatchBaselinesBaselineOutput() GetPatchBaselinesBaselineOutput
	ToGetPatchBaselinesBaselineOutputWithContext(context.Context) GetPatchBaselinesBaselineOutput
}

GetPatchBaselinesBaselineInput is an input type that accepts GetPatchBaselinesBaselineArgs and GetPatchBaselinesBaselineOutput values. You can construct a concrete instance of `GetPatchBaselinesBaselineInput` via:

GetPatchBaselinesBaselineArgs{...}

type GetPatchBaselinesBaselineOutput added in v3.11.0

type GetPatchBaselinesBaselineOutput struct{ *pulumi.OutputState }

func (GetPatchBaselinesBaselineOutput) ApprovalRules added in v3.11.0

Accept the rules.

func (GetPatchBaselinesBaselineOutput) CreateTime added in v3.11.0

The create time of patch baselines.

func (GetPatchBaselinesBaselineOutput) CreatedBy added in v3.11.0

The user who created the patch baselines.

func (GetPatchBaselinesBaselineOutput) Description added in v3.11.0

Patches baseline description information.

func (GetPatchBaselinesBaselineOutput) ElementType added in v3.11.0

func (GetPatchBaselinesBaselineOutput) Id added in v3.11.0

The ID of the Patch Baseline. Its value is same as `patchBaselineName`.

func (GetPatchBaselinesBaselineOutput) IsDefault added in v3.11.0

Whether it is the default patch baseline.

func (GetPatchBaselinesBaselineOutput) OperationSystem added in v3.11.0

Operating system type.

func (GetPatchBaselinesBaselineOutput) PatchBaselineId added in v3.11.0

Patch baseline ID.

func (GetPatchBaselinesBaselineOutput) PatchBaselineName added in v3.11.0

func (o GetPatchBaselinesBaselineOutput) PatchBaselineName() pulumi.StringOutput

The name of the patch baseline.

func (GetPatchBaselinesBaselineOutput) ShareType added in v3.11.0

Patch baseline sharing type.

func (GetPatchBaselinesBaselineOutput) ToGetPatchBaselinesBaselineOutput added in v3.11.0

func (o GetPatchBaselinesBaselineOutput) ToGetPatchBaselinesBaselineOutput() GetPatchBaselinesBaselineOutput

func (GetPatchBaselinesBaselineOutput) ToGetPatchBaselinesBaselineOutputWithContext added in v3.11.0

func (o GetPatchBaselinesBaselineOutput) ToGetPatchBaselinesBaselineOutputWithContext(ctx context.Context) GetPatchBaselinesBaselineOutput

func (GetPatchBaselinesBaselineOutput) UpdatedBy added in v3.11.0

The user who updated the patch baselines.

func (GetPatchBaselinesBaselineOutput) UpdatedDate added in v3.11.0

The update time of patch baselines.

type GetPatchBaselinesOutputArgs added in v3.11.0

type GetPatchBaselinesOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Patch Baseline name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// Operating system type.
	OperationSystem pulumi.StringPtrInput `pulumi:"operationSystem"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Patch baseline sharing type.
	ShareType pulumi.StringPtrInput `pulumi:"shareType"`
}

A collection of arguments for invoking getPatchBaselines.

func (GetPatchBaselinesOutputArgs) ElementType added in v3.11.0

type GetPatchBaselinesResult added in v3.11.0

type GetPatchBaselinesResult struct {
	Baselines     []GetPatchBaselinesBaseline `pulumi:"baselines"`
	EnableDetails *bool                       `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id              string   `pulumi:"id"`
	Ids             []string `pulumi:"ids"`
	NameRegex       *string  `pulumi:"nameRegex"`
	Names           []string `pulumi:"names"`
	OperationSystem *string  `pulumi:"operationSystem"`
	OutputFile      *string  `pulumi:"outputFile"`
	ShareType       *string  `pulumi:"shareType"`
}

A collection of values returned by getPatchBaselines.

func GetPatchBaselines added in v3.11.0

func GetPatchBaselines(ctx *pulumi.Context, args *GetPatchBaselinesArgs, opts ...pulumi.InvokeOption) (*GetPatchBaselinesResult, error)

This data source provides the Oos Patch Baselines of the current Alibaba Cloud user.

> **NOTE:** Available in v1.146.0+.

type GetPatchBaselinesResultOutput added in v3.11.0

type GetPatchBaselinesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPatchBaselines.

func GetPatchBaselinesOutput added in v3.11.0

func (GetPatchBaselinesResultOutput) Baselines added in v3.11.0

func (GetPatchBaselinesResultOutput) ElementType added in v3.11.0

func (GetPatchBaselinesResultOutput) EnableDetails added in v3.11.0

func (GetPatchBaselinesResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetPatchBaselinesResultOutput) Ids added in v3.11.0

func (GetPatchBaselinesResultOutput) NameRegex added in v3.11.0

func (GetPatchBaselinesResultOutput) Names added in v3.11.0

func (GetPatchBaselinesResultOutput) OperationSystem added in v3.11.0

func (GetPatchBaselinesResultOutput) OutputFile added in v3.11.0

func (GetPatchBaselinesResultOutput) ShareType added in v3.11.0

func (GetPatchBaselinesResultOutput) ToGetPatchBaselinesResultOutput added in v3.11.0

func (o GetPatchBaselinesResultOutput) ToGetPatchBaselinesResultOutput() GetPatchBaselinesResultOutput

func (GetPatchBaselinesResultOutput) ToGetPatchBaselinesResultOutputWithContext added in v3.11.0

func (o GetPatchBaselinesResultOutput) ToGetPatchBaselinesResultOutputWithContext(ctx context.Context) GetPatchBaselinesResultOutput

type GetSecretParametersArgs added in v3.12.0

type GetSecretParametersArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Secret Parameter IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Secret Parameter name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the Resource Group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// The name of the encryption parameter.
	SecretParameterName *string `pulumi:"secretParameterName"`
	SortField           *string `pulumi:"sortField"`
	SortOrder           *string `pulumi:"sortOrder"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getSecretParameters.

type GetSecretParametersOutputArgs added in v3.12.0

type GetSecretParametersOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Secret Parameter IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Secret Parameter name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// The name of the encryption parameter.
	SecretParameterName pulumi.StringPtrInput `pulumi:"secretParameterName"`
	SortField           pulumi.StringPtrInput `pulumi:"sortField"`
	SortOrder           pulumi.StringPtrInput `pulumi:"sortOrder"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getSecretParameters.

func (GetSecretParametersOutputArgs) ElementType added in v3.12.0

type GetSecretParametersParameter added in v3.12.0

type GetSecretParametersParameter struct {
	// The constraints of the encryption parameter.
	Constraints string `pulumi:"constraints"`
	// The time when the encryption parameter was created.
	CreateTime string `pulumi:"createTime"`
	// The user who created the encryption parameter.
	CreatedBy string `pulumi:"createdBy"`
	// The description of the encryption parameter.
	Description string `pulumi:"description"`
	// The ID of the Secret Parameter.
	Id string `pulumi:"id"`
	// KeyId of KMS used for encryption.
	KeyId string `pulumi:"keyId"`
	// The version number of the encryption parameter.
	ParameterVersion int `pulumi:"parameterVersion"`
	// The ID of the Resource Group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The ID of the encryption parameter.
	SecretParameterId string `pulumi:"secretParameterId"`
	// The name of the encryption parameter.
	SecretParameterName string `pulumi:"secretParameterName"`
	// The share type of the encryption parameter.
	ShareType string `pulumi:"shareType"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The data type of the encryption parameter.
	Type string `pulumi:"type"`
	// The user who updated the encryption parameter.
	UpdatedBy string `pulumi:"updatedBy"`
	// The time when the encryption parameter was updated.
	UpdatedDate string `pulumi:"updatedDate"`
}

type GetSecretParametersParameterArgs added in v3.12.0

type GetSecretParametersParameterArgs struct {
	// The constraints of the encryption parameter.
	Constraints pulumi.StringInput `pulumi:"constraints"`
	// The time when the encryption parameter was created.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The user who created the encryption parameter.
	CreatedBy pulumi.StringInput `pulumi:"createdBy"`
	// The description of the encryption parameter.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Secret Parameter.
	Id pulumi.StringInput `pulumi:"id"`
	// KeyId of KMS used for encryption.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// The version number of the encryption parameter.
	ParameterVersion pulumi.IntInput `pulumi:"parameterVersion"`
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The ID of the encryption parameter.
	SecretParameterId pulumi.StringInput `pulumi:"secretParameterId"`
	// The name of the encryption parameter.
	SecretParameterName pulumi.StringInput `pulumi:"secretParameterName"`
	// The share type of the encryption parameter.
	ShareType pulumi.StringInput `pulumi:"shareType"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The data type of the encryption parameter.
	Type pulumi.StringInput `pulumi:"type"`
	// The user who updated the encryption parameter.
	UpdatedBy pulumi.StringInput `pulumi:"updatedBy"`
	// The time when the encryption parameter was updated.
	UpdatedDate pulumi.StringInput `pulumi:"updatedDate"`
}

func (GetSecretParametersParameterArgs) ElementType added in v3.12.0

func (GetSecretParametersParameterArgs) ToGetSecretParametersParameterOutput added in v3.12.0

func (i GetSecretParametersParameterArgs) ToGetSecretParametersParameterOutput() GetSecretParametersParameterOutput

func (GetSecretParametersParameterArgs) ToGetSecretParametersParameterOutputWithContext added in v3.12.0

func (i GetSecretParametersParameterArgs) ToGetSecretParametersParameterOutputWithContext(ctx context.Context) GetSecretParametersParameterOutput

type GetSecretParametersParameterArray added in v3.12.0

type GetSecretParametersParameterArray []GetSecretParametersParameterInput

func (GetSecretParametersParameterArray) ElementType added in v3.12.0

func (GetSecretParametersParameterArray) ToGetSecretParametersParameterArrayOutput added in v3.12.0

func (i GetSecretParametersParameterArray) ToGetSecretParametersParameterArrayOutput() GetSecretParametersParameterArrayOutput

func (GetSecretParametersParameterArray) ToGetSecretParametersParameterArrayOutputWithContext added in v3.12.0

func (i GetSecretParametersParameterArray) ToGetSecretParametersParameterArrayOutputWithContext(ctx context.Context) GetSecretParametersParameterArrayOutput

type GetSecretParametersParameterArrayInput added in v3.12.0

type GetSecretParametersParameterArrayInput interface {
	pulumi.Input

	ToGetSecretParametersParameterArrayOutput() GetSecretParametersParameterArrayOutput
	ToGetSecretParametersParameterArrayOutputWithContext(context.Context) GetSecretParametersParameterArrayOutput
}

GetSecretParametersParameterArrayInput is an input type that accepts GetSecretParametersParameterArray and GetSecretParametersParameterArrayOutput values. You can construct a concrete instance of `GetSecretParametersParameterArrayInput` via:

GetSecretParametersParameterArray{ GetSecretParametersParameterArgs{...} }

type GetSecretParametersParameterArrayOutput added in v3.12.0

type GetSecretParametersParameterArrayOutput struct{ *pulumi.OutputState }

func (GetSecretParametersParameterArrayOutput) ElementType added in v3.12.0

func (GetSecretParametersParameterArrayOutput) Index added in v3.12.0

func (GetSecretParametersParameterArrayOutput) ToGetSecretParametersParameterArrayOutput added in v3.12.0

func (o GetSecretParametersParameterArrayOutput) ToGetSecretParametersParameterArrayOutput() GetSecretParametersParameterArrayOutput

func (GetSecretParametersParameterArrayOutput) ToGetSecretParametersParameterArrayOutputWithContext added in v3.12.0

func (o GetSecretParametersParameterArrayOutput) ToGetSecretParametersParameterArrayOutputWithContext(ctx context.Context) GetSecretParametersParameterArrayOutput

type GetSecretParametersParameterInput added in v3.12.0

type GetSecretParametersParameterInput interface {
	pulumi.Input

	ToGetSecretParametersParameterOutput() GetSecretParametersParameterOutput
	ToGetSecretParametersParameterOutputWithContext(context.Context) GetSecretParametersParameterOutput
}

GetSecretParametersParameterInput is an input type that accepts GetSecretParametersParameterArgs and GetSecretParametersParameterOutput values. You can construct a concrete instance of `GetSecretParametersParameterInput` via:

GetSecretParametersParameterArgs{...}

type GetSecretParametersParameterOutput added in v3.12.0

type GetSecretParametersParameterOutput struct{ *pulumi.OutputState }

func (GetSecretParametersParameterOutput) Constraints added in v3.12.0

The constraints of the encryption parameter.

func (GetSecretParametersParameterOutput) CreateTime added in v3.12.0

The time when the encryption parameter was created.

func (GetSecretParametersParameterOutput) CreatedBy added in v3.12.0

The user who created the encryption parameter.

func (GetSecretParametersParameterOutput) Description added in v3.12.0

The description of the encryption parameter.

func (GetSecretParametersParameterOutput) ElementType added in v3.12.0

func (GetSecretParametersParameterOutput) Id added in v3.12.0

The ID of the Secret Parameter.

func (GetSecretParametersParameterOutput) KeyId added in v3.12.0

KeyId of KMS used for encryption.

func (GetSecretParametersParameterOutput) ParameterVersion added in v3.12.0

The version number of the encryption parameter.

func (GetSecretParametersParameterOutput) ResourceGroupId added in v3.12.0

The ID of the Resource Group.

func (GetSecretParametersParameterOutput) SecretParameterId added in v3.12.0

The ID of the encryption parameter.

func (GetSecretParametersParameterOutput) SecretParameterName added in v3.12.0

func (o GetSecretParametersParameterOutput) SecretParameterName() pulumi.StringOutput

The name of the encryption parameter.

func (GetSecretParametersParameterOutput) ShareType added in v3.12.0

The share type of the encryption parameter.

func (GetSecretParametersParameterOutput) Tags added in v3.12.0

The tag of the resource.

func (GetSecretParametersParameterOutput) ToGetSecretParametersParameterOutput added in v3.12.0

func (o GetSecretParametersParameterOutput) ToGetSecretParametersParameterOutput() GetSecretParametersParameterOutput

func (GetSecretParametersParameterOutput) ToGetSecretParametersParameterOutputWithContext added in v3.12.0

func (o GetSecretParametersParameterOutput) ToGetSecretParametersParameterOutputWithContext(ctx context.Context) GetSecretParametersParameterOutput

func (GetSecretParametersParameterOutput) Type added in v3.12.0

The data type of the encryption parameter.

func (GetSecretParametersParameterOutput) UpdatedBy added in v3.12.0

The user who updated the encryption parameter.

func (GetSecretParametersParameterOutput) UpdatedDate added in v3.12.0

The time when the encryption parameter was updated.

type GetSecretParametersResult added in v3.12.0

type GetSecretParametersResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string                         `pulumi:"id"`
	Ids                 []string                       `pulumi:"ids"`
	NameRegex           *string                        `pulumi:"nameRegex"`
	Names               []string                       `pulumi:"names"`
	OutputFile          *string                        `pulumi:"outputFile"`
	Parameters          []GetSecretParametersParameter `pulumi:"parameters"`
	ResourceGroupId     *string                        `pulumi:"resourceGroupId"`
	SecretParameterName *string                        `pulumi:"secretParameterName"`
	SortField           *string                        `pulumi:"sortField"`
	SortOrder           *string                        `pulumi:"sortOrder"`
	Tags                map[string]interface{}         `pulumi:"tags"`
}

A collection of values returned by getSecretParameters.

func GetSecretParameters added in v3.12.0

func GetSecretParameters(ctx *pulumi.Context, args *GetSecretParametersArgs, opts ...pulumi.InvokeOption) (*GetSecretParametersResult, error)

This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.

> **NOTE:** Available in v1.147.0+.

type GetSecretParametersResultOutput added in v3.12.0

type GetSecretParametersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecretParameters.

func GetSecretParametersOutput added in v3.12.0

func (GetSecretParametersResultOutput) ElementType added in v3.12.0

func (GetSecretParametersResultOutput) EnableDetails added in v3.12.0

func (GetSecretParametersResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetSecretParametersResultOutput) Ids added in v3.12.0

func (GetSecretParametersResultOutput) NameRegex added in v3.12.0

func (GetSecretParametersResultOutput) Names added in v3.12.0

func (GetSecretParametersResultOutput) OutputFile added in v3.12.0

func (GetSecretParametersResultOutput) Parameters added in v3.12.0

func (GetSecretParametersResultOutput) ResourceGroupId added in v3.12.0

func (GetSecretParametersResultOutput) SecretParameterName added in v3.12.0

func (o GetSecretParametersResultOutput) SecretParameterName() pulumi.StringPtrOutput

func (GetSecretParametersResultOutput) SortField added in v3.12.0

func (GetSecretParametersResultOutput) SortOrder added in v3.12.0

func (GetSecretParametersResultOutput) Tags added in v3.12.0

func (GetSecretParametersResultOutput) ToGetSecretParametersResultOutput added in v3.12.0

func (o GetSecretParametersResultOutput) ToGetSecretParametersResultOutput() GetSecretParametersResultOutput

func (GetSecretParametersResultOutput) ToGetSecretParametersResultOutputWithContext added in v3.12.0

func (o GetSecretParametersResultOutput) ToGetSecretParametersResultOutputWithContext(ctx context.Context) GetSecretParametersResultOutput

type GetStateConfigurationsArgs added in v3.12.0

type GetStateConfigurationsArgs struct {
	// A list of State Configuration IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the resource group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getStateConfigurations.

type GetStateConfigurationsConfiguration added in v3.12.0

type GetStateConfigurationsConfiguration struct {
	// The configuration mode.
	ConfigureMode string `pulumi:"configureMode"`
	// The creation time.
	CreateTime string `pulumi:"createTime"`
	// The description.
	Description string `pulumi:"description"`
	// The ID of the State Configuration.
	Id string `pulumi:"id"`
	// The parameters.
	Parameters string `pulumi:"parameters"`
	// The ID of the resource group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The schedule expression.
	ScheduleExpression string `pulumi:"scheduleExpression"`
	// The schedule type.
	ScheduleType string `pulumi:"scheduleType"`
	// The ID of the final state configuration.
	StateConfigurationId string `pulumi:"stateConfigurationId"`
	// The tag of the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The target resource.
	Targets string `pulumi:"targets"`
	// The ID of the template.
	TemplateId string `pulumi:"templateId"`
	// The name of the template.
	TemplateName string `pulumi:"templateName"`
	// The version of the template.
	TemplateVersion string `pulumi:"templateVersion"`
	// The time when the configuration is updated.
	UpdateTime string `pulumi:"updateTime"`
}

type GetStateConfigurationsConfigurationArgs added in v3.12.0

type GetStateConfigurationsConfigurationArgs struct {
	// The configuration mode.
	ConfigureMode pulumi.StringInput `pulumi:"configureMode"`
	// The creation time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the State Configuration.
	Id pulumi.StringInput `pulumi:"id"`
	// The parameters.
	Parameters pulumi.StringInput `pulumi:"parameters"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The schedule expression.
	ScheduleExpression pulumi.StringInput `pulumi:"scheduleExpression"`
	// The schedule type.
	ScheduleType pulumi.StringInput `pulumi:"scheduleType"`
	// The ID of the final state configuration.
	StateConfigurationId pulumi.StringInput `pulumi:"stateConfigurationId"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The target resource.
	Targets pulumi.StringInput `pulumi:"targets"`
	// The ID of the template.
	TemplateId pulumi.StringInput `pulumi:"templateId"`
	// The name of the template.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The version of the template.
	TemplateVersion pulumi.StringInput `pulumi:"templateVersion"`
	// The time when the configuration is updated.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (GetStateConfigurationsConfigurationArgs) ElementType added in v3.12.0

func (GetStateConfigurationsConfigurationArgs) ToGetStateConfigurationsConfigurationOutput added in v3.12.0

func (i GetStateConfigurationsConfigurationArgs) ToGetStateConfigurationsConfigurationOutput() GetStateConfigurationsConfigurationOutput

func (GetStateConfigurationsConfigurationArgs) ToGetStateConfigurationsConfigurationOutputWithContext added in v3.12.0

func (i GetStateConfigurationsConfigurationArgs) ToGetStateConfigurationsConfigurationOutputWithContext(ctx context.Context) GetStateConfigurationsConfigurationOutput

type GetStateConfigurationsConfigurationArray added in v3.12.0

type GetStateConfigurationsConfigurationArray []GetStateConfigurationsConfigurationInput

func (GetStateConfigurationsConfigurationArray) ElementType added in v3.12.0

func (GetStateConfigurationsConfigurationArray) ToGetStateConfigurationsConfigurationArrayOutput added in v3.12.0

func (i GetStateConfigurationsConfigurationArray) ToGetStateConfigurationsConfigurationArrayOutput() GetStateConfigurationsConfigurationArrayOutput

func (GetStateConfigurationsConfigurationArray) ToGetStateConfigurationsConfigurationArrayOutputWithContext added in v3.12.0

func (i GetStateConfigurationsConfigurationArray) ToGetStateConfigurationsConfigurationArrayOutputWithContext(ctx context.Context) GetStateConfigurationsConfigurationArrayOutput

type GetStateConfigurationsConfigurationArrayInput added in v3.12.0

type GetStateConfigurationsConfigurationArrayInput interface {
	pulumi.Input

	ToGetStateConfigurationsConfigurationArrayOutput() GetStateConfigurationsConfigurationArrayOutput
	ToGetStateConfigurationsConfigurationArrayOutputWithContext(context.Context) GetStateConfigurationsConfigurationArrayOutput
}

GetStateConfigurationsConfigurationArrayInput is an input type that accepts GetStateConfigurationsConfigurationArray and GetStateConfigurationsConfigurationArrayOutput values. You can construct a concrete instance of `GetStateConfigurationsConfigurationArrayInput` via:

GetStateConfigurationsConfigurationArray{ GetStateConfigurationsConfigurationArgs{...} }

type GetStateConfigurationsConfigurationArrayOutput added in v3.12.0

type GetStateConfigurationsConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetStateConfigurationsConfigurationArrayOutput) ElementType added in v3.12.0

func (GetStateConfigurationsConfigurationArrayOutput) Index added in v3.12.0

func (GetStateConfigurationsConfigurationArrayOutput) ToGetStateConfigurationsConfigurationArrayOutput added in v3.12.0

func (o GetStateConfigurationsConfigurationArrayOutput) ToGetStateConfigurationsConfigurationArrayOutput() GetStateConfigurationsConfigurationArrayOutput

func (GetStateConfigurationsConfigurationArrayOutput) ToGetStateConfigurationsConfigurationArrayOutputWithContext added in v3.12.0

func (o GetStateConfigurationsConfigurationArrayOutput) ToGetStateConfigurationsConfigurationArrayOutputWithContext(ctx context.Context) GetStateConfigurationsConfigurationArrayOutput

type GetStateConfigurationsConfigurationInput added in v3.12.0

type GetStateConfigurationsConfigurationInput interface {
	pulumi.Input

	ToGetStateConfigurationsConfigurationOutput() GetStateConfigurationsConfigurationOutput
	ToGetStateConfigurationsConfigurationOutputWithContext(context.Context) GetStateConfigurationsConfigurationOutput
}

GetStateConfigurationsConfigurationInput is an input type that accepts GetStateConfigurationsConfigurationArgs and GetStateConfigurationsConfigurationOutput values. You can construct a concrete instance of `GetStateConfigurationsConfigurationInput` via:

GetStateConfigurationsConfigurationArgs{...}

type GetStateConfigurationsConfigurationOutput added in v3.12.0

type GetStateConfigurationsConfigurationOutput struct{ *pulumi.OutputState }

func (GetStateConfigurationsConfigurationOutput) ConfigureMode added in v3.12.0

The configuration mode.

func (GetStateConfigurationsConfigurationOutput) CreateTime added in v3.12.0

The creation time.

func (GetStateConfigurationsConfigurationOutput) Description added in v3.12.0

The description.

func (GetStateConfigurationsConfigurationOutput) ElementType added in v3.12.0

func (GetStateConfigurationsConfigurationOutput) Id added in v3.12.0

The ID of the State Configuration.

func (GetStateConfigurationsConfigurationOutput) Parameters added in v3.12.0

The parameters.

func (GetStateConfigurationsConfigurationOutput) ResourceGroupId added in v3.12.0

The ID of the resource group.

func (GetStateConfigurationsConfigurationOutput) ScheduleExpression added in v3.12.0

The schedule expression.

func (GetStateConfigurationsConfigurationOutput) ScheduleType added in v3.12.0

The schedule type.

func (GetStateConfigurationsConfigurationOutput) StateConfigurationId added in v3.12.0

The ID of the final state configuration.

func (GetStateConfigurationsConfigurationOutput) Tags added in v3.12.0

The tag of the resource.

func (GetStateConfigurationsConfigurationOutput) Targets added in v3.12.0

The target resource.

func (GetStateConfigurationsConfigurationOutput) TemplateId added in v3.12.0

The ID of the template.

func (GetStateConfigurationsConfigurationOutput) TemplateName added in v3.12.0

The name of the template.

func (GetStateConfigurationsConfigurationOutput) TemplateVersion added in v3.12.0

The version of the template.

func (GetStateConfigurationsConfigurationOutput) ToGetStateConfigurationsConfigurationOutput added in v3.12.0

func (o GetStateConfigurationsConfigurationOutput) ToGetStateConfigurationsConfigurationOutput() GetStateConfigurationsConfigurationOutput

func (GetStateConfigurationsConfigurationOutput) ToGetStateConfigurationsConfigurationOutputWithContext added in v3.12.0

func (o GetStateConfigurationsConfigurationOutput) ToGetStateConfigurationsConfigurationOutputWithContext(ctx context.Context) GetStateConfigurationsConfigurationOutput

func (GetStateConfigurationsConfigurationOutput) UpdateTime added in v3.12.0

The time when the configuration is updated.

type GetStateConfigurationsOutputArgs added in v3.12.0

type GetStateConfigurationsOutputArgs struct {
	// A list of State Configuration IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// The tag of the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getStateConfigurations.

func (GetStateConfigurationsOutputArgs) ElementType added in v3.12.0

type GetStateConfigurationsResult added in v3.12.0

type GetStateConfigurationsResult struct {
	Configurations []GetStateConfigurationsConfiguration `pulumi:"configurations"`
	// The provider-assigned unique ID for this managed resource.
	Id              string                 `pulumi:"id"`
	Ids             []string               `pulumi:"ids"`
	OutputFile      *string                `pulumi:"outputFile"`
	ResourceGroupId *string                `pulumi:"resourceGroupId"`
	Tags            map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getStateConfigurations.

func GetStateConfigurations added in v3.12.0

func GetStateConfigurations(ctx *pulumi.Context, args *GetStateConfigurationsArgs, opts ...pulumi.InvokeOption) (*GetStateConfigurationsResult, error)

This data source provides the Oos State Configurations of the current Alibaba Cloud user.

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := oos.GetStateConfigurations(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("oosStateConfigurationId1", ids.Configurations[0].Id)
		return nil
	})
}

```

type GetStateConfigurationsResultOutput added in v3.12.0

type GetStateConfigurationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStateConfigurations.

func GetStateConfigurationsOutput added in v3.12.0

func (GetStateConfigurationsResultOutput) Configurations added in v3.12.0

func (GetStateConfigurationsResultOutput) ElementType added in v3.12.0

func (GetStateConfigurationsResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (GetStateConfigurationsResultOutput) Ids added in v3.12.0

func (GetStateConfigurationsResultOutput) OutputFile added in v3.12.0

func (GetStateConfigurationsResultOutput) ResourceGroupId added in v3.12.0

func (GetStateConfigurationsResultOutput) Tags added in v3.12.0

func (GetStateConfigurationsResultOutput) ToGetStateConfigurationsResultOutput added in v3.12.0

func (o GetStateConfigurationsResultOutput) ToGetStateConfigurationsResultOutput() GetStateConfigurationsResultOutput

func (GetStateConfigurationsResultOutput) ToGetStateConfigurationsResultOutputWithContext added in v3.12.0

func (o GetStateConfigurationsResultOutput) ToGetStateConfigurationsResultOutputWithContext(ctx context.Context) GetStateConfigurationsResultOutput

type GetTemplatesArgs

type GetTemplatesArgs struct {
	// The category of template.
	Category *string `pulumi:"category"`
	// The creator of the template.
	CreatedBy *string `pulumi:"createdBy"`
	// The template whose creation time is less than or equal to the specified time. The format is: YYYY-MM-DDThh:mm::ssZ.
	CreatedDate *string `pulumi:"createdDate"`
	// Create a template whose time is greater than or equal to the specified time. The format is: YYYY-MM-DDThh:mm:ssZ.
	CreatedDateAfter *string `pulumi:"createdDateAfter"`
	// Is it triggered successfully.
	HasTrigger *bool `pulumi:"hasTrigger"`
	// A list of OOS Template ids. Each element in the list is same as template_name.
	Ids []string `pulumi:"ids"`
	// A regex string to filter the results by the template_name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The sharing type of the template. Valid values: `Private`, `Public`.
	ShareType *string `pulumi:"shareType"`
	// Sort field. Valid values: `TotalExecutionCount`, `Popularity`, `TemplateName` and `CreatedDate`. Default to `TotalExecutionCount`.
	SortField *string `pulumi:"sortField"`
	// Sort order. Valid values: `Ascending`, `Descending`. Default to `Descending`
	SortOrder *string `pulumi:"sortOrder"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The format of the template. Valid values: `JSON`, `YAML`.
	TemplateFormat *string `pulumi:"templateFormat"`
	// The type of OOS Template.
	TemplateType *string `pulumi:"templateType"`
}

A collection of arguments for invoking getTemplates.

type GetTemplatesOutputArgs added in v3.9.0

type GetTemplatesOutputArgs struct {
	// The category of template.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// The creator of the template.
	CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"`
	// The template whose creation time is less than or equal to the specified time. The format is: YYYY-MM-DDThh:mm::ssZ.
	CreatedDate pulumi.StringPtrInput `pulumi:"createdDate"`
	// Create a template whose time is greater than or equal to the specified time. The format is: YYYY-MM-DDThh:mm:ssZ.
	CreatedDateAfter pulumi.StringPtrInput `pulumi:"createdDateAfter"`
	// Is it triggered successfully.
	HasTrigger pulumi.BoolPtrInput `pulumi:"hasTrigger"`
	// A list of OOS Template ids. Each element in the list is same as template_name.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter the results by the template_name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The sharing type of the template. Valid values: `Private`, `Public`.
	ShareType pulumi.StringPtrInput `pulumi:"shareType"`
	// Sort field. Valid values: `TotalExecutionCount`, `Popularity`, `TemplateName` and `CreatedDate`. Default to `TotalExecutionCount`.
	SortField pulumi.StringPtrInput `pulumi:"sortField"`
	// Sort order. Valid values: `Ascending`, `Descending`. Default to `Descending`
	SortOrder pulumi.StringPtrInput `pulumi:"sortOrder"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The format of the template. Valid values: `JSON`, `YAML`.
	TemplateFormat pulumi.StringPtrInput `pulumi:"templateFormat"`
	// The type of OOS Template.
	TemplateType pulumi.StringPtrInput `pulumi:"templateType"`
}

A collection of arguments for invoking getTemplates.

func (GetTemplatesOutputArgs) ElementType added in v3.9.0

func (GetTemplatesOutputArgs) ElementType() reflect.Type

type GetTemplatesResult

type GetTemplatesResult struct {
	Category         *string `pulumi:"category"`
	CreatedBy        *string `pulumi:"createdBy"`
	CreatedDate      *string `pulumi:"createdDate"`
	CreatedDateAfter *string `pulumi:"createdDateAfter"`
	HasTrigger       *bool   `pulumi:"hasTrigger"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of OOS Template ids. Each element in the list is same as template_name.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// (Available in v1.114.0+) A list of OOS Template names.
	Names          []string               `pulumi:"names"`
	OutputFile     *string                `pulumi:"outputFile"`
	ShareType      *string                `pulumi:"shareType"`
	SortField      *string                `pulumi:"sortField"`
	SortOrder      *string                `pulumi:"sortOrder"`
	Tags           map[string]interface{} `pulumi:"tags"`
	TemplateFormat *string                `pulumi:"templateFormat"`
	TemplateType   *string                `pulumi:"templateType"`
	// A list of OOS Templates. Each element contains the following attributes:
	Templates []GetTemplatesTemplate `pulumi:"templates"`
}

A collection of values returned by getTemplates.

func GetTemplates

func GetTemplates(ctx *pulumi.Context, args *GetTemplatesArgs, opts ...pulumi.InvokeOption) (*GetTemplatesResult, error)

This data source provides a list of OOS Templates in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in v1.92.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		example, err := oos.GetTemplates(ctx, &oos.GetTemplatesArgs{
			NameRegex: pulumi.StringRef("test"),
			Tags: map[string]interface{}{
				"Created": "TF",
				"For":     "template Test",
			},
			ShareType:  pulumi.StringRef("Private"),
			HasTrigger: pulumi.BoolRef(false),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTemplateName", example.Templates[0].TemplateName)
		return nil
	})
}

```

type GetTemplatesResultOutput added in v3.9.0

type GetTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTemplates.

func GetTemplatesOutput added in v3.9.0

func GetTemplatesOutput(ctx *pulumi.Context, args GetTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetTemplatesResultOutput

func (GetTemplatesResultOutput) Category added in v3.9.0

func (GetTemplatesResultOutput) CreatedBy added in v3.9.0

func (GetTemplatesResultOutput) CreatedDate added in v3.9.0

func (GetTemplatesResultOutput) CreatedDateAfter added in v3.9.0

func (o GetTemplatesResultOutput) CreatedDateAfter() pulumi.StringPtrOutput

func (GetTemplatesResultOutput) ElementType added in v3.9.0

func (GetTemplatesResultOutput) ElementType() reflect.Type

func (GetTemplatesResultOutput) HasTrigger added in v3.9.0

func (GetTemplatesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTemplatesResultOutput) Ids added in v3.9.0

A list of OOS Template ids. Each element in the list is same as template_name.

func (GetTemplatesResultOutput) NameRegex added in v3.9.0

func (GetTemplatesResultOutput) Names added in v3.9.0

(Available in v1.114.0+) A list of OOS Template names.

func (GetTemplatesResultOutput) OutputFile added in v3.9.0

func (GetTemplatesResultOutput) ShareType added in v3.9.0

func (GetTemplatesResultOutput) SortField added in v3.9.0

func (GetTemplatesResultOutput) SortOrder added in v3.9.0

func (GetTemplatesResultOutput) Tags added in v3.9.0

func (GetTemplatesResultOutput) TemplateFormat added in v3.9.0

func (o GetTemplatesResultOutput) TemplateFormat() pulumi.StringPtrOutput

func (GetTemplatesResultOutput) TemplateType added in v3.9.0

func (GetTemplatesResultOutput) Templates added in v3.9.0

A list of OOS Templates. Each element contains the following attributes:

func (GetTemplatesResultOutput) ToGetTemplatesResultOutput added in v3.9.0

func (o GetTemplatesResultOutput) ToGetTemplatesResultOutput() GetTemplatesResultOutput

func (GetTemplatesResultOutput) ToGetTemplatesResultOutputWithContext added in v3.9.0

func (o GetTemplatesResultOutput) ToGetTemplatesResultOutputWithContext(ctx context.Context) GetTemplatesResultOutput

type GetTemplatesTemplate

type GetTemplatesTemplate struct {
	// The category of template.
	Category string `pulumi:"category"`
	// The creator of the template.
	CreatedBy string `pulumi:"createdBy"`
	// The template whose creation time is less than or equal to the specified time. The format is: YYYY-MM-DDThh:mm::ssZ.
	CreatedDate string `pulumi:"createdDate"`
	// Description of the OOS Template.
	Description string `pulumi:"description"`
	// Is it triggered successfully.
	HasTrigger bool `pulumi:"hasTrigger"`
	// ID of the OOS Template. The value is same as template_name.
	Id string `pulumi:"id"`
	// The sharing type of the template. Valid values: `Private`, `Public`.
	ShareType string `pulumi:"shareType"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The format of the template. Valid values: `JSON`, `YAML`.
	TemplateFormat string `pulumi:"templateFormat"`
	// ID of the OOS Template resource.
	TemplateId string `pulumi:"templateId"`
	// Name of the OOS Template.
	TemplateName string `pulumi:"templateName"`
	// The type of OOS Template.
	TemplateType string `pulumi:"templateType"`
	// Version of the OOS Template.
	TemplateVersion string `pulumi:"templateVersion"`
	// The user who updated the template.
	UpdatedBy string `pulumi:"updatedBy"`
	// The time when the template was updated.
	UpdatedDate string `pulumi:"updatedDate"`
}

type GetTemplatesTemplateArgs

type GetTemplatesTemplateArgs struct {
	// The category of template.
	Category pulumi.StringInput `pulumi:"category"`
	// The creator of the template.
	CreatedBy pulumi.StringInput `pulumi:"createdBy"`
	// The template whose creation time is less than or equal to the specified time. The format is: YYYY-MM-DDThh:mm::ssZ.
	CreatedDate pulumi.StringInput `pulumi:"createdDate"`
	// Description of the OOS Template.
	Description pulumi.StringInput `pulumi:"description"`
	// Is it triggered successfully.
	HasTrigger pulumi.BoolInput `pulumi:"hasTrigger"`
	// ID of the OOS Template. The value is same as template_name.
	Id pulumi.StringInput `pulumi:"id"`
	// The sharing type of the template. Valid values: `Private`, `Public`.
	ShareType pulumi.StringInput `pulumi:"shareType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The format of the template. Valid values: `JSON`, `YAML`.
	TemplateFormat pulumi.StringInput `pulumi:"templateFormat"`
	// ID of the OOS Template resource.
	TemplateId pulumi.StringInput `pulumi:"templateId"`
	// Name of the OOS Template.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The type of OOS Template.
	TemplateType pulumi.StringInput `pulumi:"templateType"`
	// Version of the OOS Template.
	TemplateVersion pulumi.StringInput `pulumi:"templateVersion"`
	// The user who updated the template.
	UpdatedBy pulumi.StringInput `pulumi:"updatedBy"`
	// The time when the template was updated.
	UpdatedDate pulumi.StringInput `pulumi:"updatedDate"`
}

func (GetTemplatesTemplateArgs) ElementType

func (GetTemplatesTemplateArgs) ElementType() reflect.Type

func (GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutput

func (i GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput

func (GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutputWithContext

func (i GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutputWithContext(ctx context.Context) GetTemplatesTemplateOutput

type GetTemplatesTemplateArray

type GetTemplatesTemplateArray []GetTemplatesTemplateInput

func (GetTemplatesTemplateArray) ElementType

func (GetTemplatesTemplateArray) ElementType() reflect.Type

func (GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutput

func (i GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput

func (GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutputWithContext

func (i GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetTemplatesTemplateArrayOutput

type GetTemplatesTemplateArrayInput

type GetTemplatesTemplateArrayInput interface {
	pulumi.Input

	ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput
	ToGetTemplatesTemplateArrayOutputWithContext(context.Context) GetTemplatesTemplateArrayOutput
}

GetTemplatesTemplateArrayInput is an input type that accepts GetTemplatesTemplateArray and GetTemplatesTemplateArrayOutput values. You can construct a concrete instance of `GetTemplatesTemplateArrayInput` via:

GetTemplatesTemplateArray{ GetTemplatesTemplateArgs{...} }

type GetTemplatesTemplateArrayOutput

type GetTemplatesTemplateArrayOutput struct{ *pulumi.OutputState }

func (GetTemplatesTemplateArrayOutput) ElementType

func (GetTemplatesTemplateArrayOutput) Index

func (GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutput

func (o GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput

func (GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutputWithContext

func (o GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetTemplatesTemplateArrayOutput

type GetTemplatesTemplateInput

type GetTemplatesTemplateInput interface {
	pulumi.Input

	ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput
	ToGetTemplatesTemplateOutputWithContext(context.Context) GetTemplatesTemplateOutput
}

GetTemplatesTemplateInput is an input type that accepts GetTemplatesTemplateArgs and GetTemplatesTemplateOutput values. You can construct a concrete instance of `GetTemplatesTemplateInput` via:

GetTemplatesTemplateArgs{...}

type GetTemplatesTemplateOutput

type GetTemplatesTemplateOutput struct{ *pulumi.OutputState }

func (GetTemplatesTemplateOutput) Category

The category of template.

func (GetTemplatesTemplateOutput) CreatedBy

The creator of the template.

func (GetTemplatesTemplateOutput) CreatedDate

The template whose creation time is less than or equal to the specified time. The format is: YYYY-MM-DDThh:mm::ssZ.

func (GetTemplatesTemplateOutput) Description

Description of the OOS Template.

func (GetTemplatesTemplateOutput) ElementType

func (GetTemplatesTemplateOutput) ElementType() reflect.Type

func (GetTemplatesTemplateOutput) HasTrigger

Is it triggered successfully.

func (GetTemplatesTemplateOutput) Id

ID of the OOS Template. The value is same as template_name.

func (GetTemplatesTemplateOutput) ShareType

The sharing type of the template. Valid values: `Private`, `Public`.

func (GetTemplatesTemplateOutput) Tags

A mapping of tags to assign to the resource.

func (GetTemplatesTemplateOutput) TemplateFormat

func (o GetTemplatesTemplateOutput) TemplateFormat() pulumi.StringOutput

The format of the template. Valid values: `JSON`, `YAML`.

func (GetTemplatesTemplateOutput) TemplateId

ID of the OOS Template resource.

func (GetTemplatesTemplateOutput) TemplateName

Name of the OOS Template.

func (GetTemplatesTemplateOutput) TemplateType

The type of OOS Template.

func (GetTemplatesTemplateOutput) TemplateVersion

func (o GetTemplatesTemplateOutput) TemplateVersion() pulumi.StringOutput

Version of the OOS Template.

func (GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutput

func (o GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput

func (GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutputWithContext

func (o GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutputWithContext(ctx context.Context) GetTemplatesTemplateOutput

func (GetTemplatesTemplateOutput) UpdatedBy

The user who updated the template.

func (GetTemplatesTemplateOutput) UpdatedDate

The time when the template was updated.

type Parameter added in v3.12.0

type Parameter struct {
	pulumi.CustomResourceState

	// The constraints of the common parameter. This value follows the json format. By default, this parameter is null. Valid values:
	Constraints pulumi.StringPtrOutput `pulumi:"constraints"`
	// The description of the common parameter. The description must be `1` to `200` characters in length.
	Description pulumi.StringOutput `pulumi:"description"`
	// The name of the common parameter. The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.
	ParameterName pulumi.StringOutput `pulumi:"parameterName"`
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The data type of the common parameter. Valid values: `String` and `StringList`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The value of the common parameter. The value must be `1` to `4096` characters in length.
	Value pulumi.StringOutput `pulumi:"value"`
}

Provides a OOS Parameter resource.

For information about OOS Parameter and how to use it, see [What is Parameter](https://www.alibabacloud.com/help/en/doc-detail/183408.html).

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = oos.NewParameter(ctx, "example", &oos.ParameterArgs{
			ParameterName: pulumi.String("my-Parameter"),
			Type:          pulumi.String("String"),
			Value:         pulumi.String("example_value"),
			Description:   pulumi.String("example_value"),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("OosParameter"),
			},
			ResourceGroupId: pulumi.String(_default.Groups[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Parameter can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/parameter:Parameter example <parameter_name> ```

func GetParameter added in v3.12.0

func GetParameter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ParameterState, opts ...pulumi.ResourceOption) (*Parameter, error)

GetParameter gets an existing Parameter 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 NewParameter added in v3.12.0

func NewParameter(ctx *pulumi.Context,
	name string, args *ParameterArgs, opts ...pulumi.ResourceOption) (*Parameter, error)

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

func (*Parameter) ElementType added in v3.12.0

func (*Parameter) ElementType() reflect.Type

func (*Parameter) ToParameterOutput added in v3.12.0

func (i *Parameter) ToParameterOutput() ParameterOutput

func (*Parameter) ToParameterOutputWithContext added in v3.12.0

func (i *Parameter) ToParameterOutputWithContext(ctx context.Context) ParameterOutput

type ParameterArgs added in v3.12.0

type ParameterArgs struct {
	// The constraints of the common parameter. This value follows the json format. By default, this parameter is null. Valid values:
	Constraints pulumi.StringPtrInput
	// The description of the common parameter. The description must be `1` to `200` characters in length.
	Description pulumi.StringPtrInput
	// The name of the common parameter. The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.
	ParameterName pulumi.StringInput
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The data type of the common parameter. Valid values: `String` and `StringList`.
	Type pulumi.StringInput
	// The value of the common parameter. The value must be `1` to `4096` characters in length.
	Value pulumi.StringInput
}

The set of arguments for constructing a Parameter resource.

func (ParameterArgs) ElementType added in v3.12.0

func (ParameterArgs) ElementType() reflect.Type

type ParameterArray added in v3.12.0

type ParameterArray []ParameterInput

func (ParameterArray) ElementType added in v3.12.0

func (ParameterArray) ElementType() reflect.Type

func (ParameterArray) ToParameterArrayOutput added in v3.12.0

func (i ParameterArray) ToParameterArrayOutput() ParameterArrayOutput

func (ParameterArray) ToParameterArrayOutputWithContext added in v3.12.0

func (i ParameterArray) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput

type ParameterArrayInput added in v3.12.0

type ParameterArrayInput interface {
	pulumi.Input

	ToParameterArrayOutput() ParameterArrayOutput
	ToParameterArrayOutputWithContext(context.Context) ParameterArrayOutput
}

ParameterArrayInput is an input type that accepts ParameterArray and ParameterArrayOutput values. You can construct a concrete instance of `ParameterArrayInput` via:

ParameterArray{ ParameterArgs{...} }

type ParameterArrayOutput added in v3.12.0

type ParameterArrayOutput struct{ *pulumi.OutputState }

func (ParameterArrayOutput) ElementType added in v3.12.0

func (ParameterArrayOutput) ElementType() reflect.Type

func (ParameterArrayOutput) Index added in v3.12.0

func (ParameterArrayOutput) ToParameterArrayOutput added in v3.12.0

func (o ParameterArrayOutput) ToParameterArrayOutput() ParameterArrayOutput

func (ParameterArrayOutput) ToParameterArrayOutputWithContext added in v3.12.0

func (o ParameterArrayOutput) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput

type ParameterInput added in v3.12.0

type ParameterInput interface {
	pulumi.Input

	ToParameterOutput() ParameterOutput
	ToParameterOutputWithContext(ctx context.Context) ParameterOutput
}

type ParameterMap added in v3.12.0

type ParameterMap map[string]ParameterInput

func (ParameterMap) ElementType added in v3.12.0

func (ParameterMap) ElementType() reflect.Type

func (ParameterMap) ToParameterMapOutput added in v3.12.0

func (i ParameterMap) ToParameterMapOutput() ParameterMapOutput

func (ParameterMap) ToParameterMapOutputWithContext added in v3.12.0

func (i ParameterMap) ToParameterMapOutputWithContext(ctx context.Context) ParameterMapOutput

type ParameterMapInput added in v3.12.0

type ParameterMapInput interface {
	pulumi.Input

	ToParameterMapOutput() ParameterMapOutput
	ToParameterMapOutputWithContext(context.Context) ParameterMapOutput
}

ParameterMapInput is an input type that accepts ParameterMap and ParameterMapOutput values. You can construct a concrete instance of `ParameterMapInput` via:

ParameterMap{ "key": ParameterArgs{...} }

type ParameterMapOutput added in v3.12.0

type ParameterMapOutput struct{ *pulumi.OutputState }

func (ParameterMapOutput) ElementType added in v3.12.0

func (ParameterMapOutput) ElementType() reflect.Type

func (ParameterMapOutput) MapIndex added in v3.12.0

func (ParameterMapOutput) ToParameterMapOutput added in v3.12.0

func (o ParameterMapOutput) ToParameterMapOutput() ParameterMapOutput

func (ParameterMapOutput) ToParameterMapOutputWithContext added in v3.12.0

func (o ParameterMapOutput) ToParameterMapOutputWithContext(ctx context.Context) ParameterMapOutput

type ParameterOutput added in v3.12.0

type ParameterOutput struct{ *pulumi.OutputState }

func (ParameterOutput) Constraints added in v3.27.0

func (o ParameterOutput) Constraints() pulumi.StringPtrOutput

The constraints of the common parameter. This value follows the json format. By default, this parameter is null. Valid values:

func (ParameterOutput) Description added in v3.27.0

func (o ParameterOutput) Description() pulumi.StringOutput

The description of the common parameter. The description must be `1` to `200` characters in length.

func (ParameterOutput) ElementType added in v3.12.0

func (ParameterOutput) ElementType() reflect.Type

func (ParameterOutput) ParameterName added in v3.27.0

func (o ParameterOutput) ParameterName() pulumi.StringOutput

The name of the common parameter. The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.

func (ParameterOutput) ResourceGroupId added in v3.27.0

func (o ParameterOutput) ResourceGroupId() pulumi.StringOutput

The ID of the Resource Group.

func (ParameterOutput) Tags added in v3.27.0

func (o ParameterOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (ParameterOutput) ToParameterOutput added in v3.12.0

func (o ParameterOutput) ToParameterOutput() ParameterOutput

func (ParameterOutput) ToParameterOutputWithContext added in v3.12.0

func (o ParameterOutput) ToParameterOutputWithContext(ctx context.Context) ParameterOutput

func (ParameterOutput) Type added in v3.27.0

The data type of the common parameter. Valid values: `String` and `StringList`.

func (ParameterOutput) Value added in v3.27.0

The value of the common parameter. The value must be `1` to `4096` characters in length.

type ParameterState added in v3.12.0

type ParameterState struct {
	// The constraints of the common parameter. This value follows the json format. By default, this parameter is null. Valid values:
	Constraints pulumi.StringPtrInput
	// The description of the common parameter. The description must be `1` to `200` characters in length.
	Description pulumi.StringPtrInput
	// The name of the common parameter. The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.
	ParameterName pulumi.StringPtrInput
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The data type of the common parameter. Valid values: `String` and `StringList`.
	Type pulumi.StringPtrInput
	// The value of the common parameter. The value must be `1` to `4096` characters in length.
	Value pulumi.StringPtrInput
}

func (ParameterState) ElementType added in v3.12.0

func (ParameterState) ElementType() reflect.Type

type PatchBaseline added in v3.11.0

type PatchBaseline struct {
	pulumi.CustomResourceState

	// Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
	ApprovalRules pulumi.StringOutput `pulumi:"approvalRules"`
	// Approved Patch.
	ApprovedPatches pulumi.StringArrayOutput `pulumi:"approvedPatches"`
	// ApprovedPatchesEnableNonSecurity.
	ApprovedPatchesEnableNonSecurity pulumi.BoolPtrOutput `pulumi:"approvedPatchesEnableNonSecurity"`
	// Creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Patches baseline description information.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
	OperationSystem pulumi.StringOutput `pulumi:"operationSystem"`
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringOutput `pulumi:"patchBaselineName"`
	// Reject patches.
	RejectedPatches pulumi.StringArrayOutput `pulumi:"rejectedPatches"`
	// Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
	RejectedPatchesAction pulumi.StringOutput `pulumi:"rejectedPatchesAction"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// Source.
	Sources pulumi.StringArrayOutput `pulumi:"sources"`
	// Label.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a OOS Patch Baseline resource.

For information about OOS Patch Baseline and how to use it, see [What is Patch Baseline](https://www.alibabacloud.com/help/en/operation-orchestration-service/latest/patch-manager-overview).

> **NOTE:** Available since v1.146.0.

## Example Usage

Basic Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"PatchRules": []map[string]interface{}{
				map[string]interface{}{
					"EnableNonSecurity": true,
					"PatchFilterGroup": []map[string]interface{}{
						map[string]interface{}{
							"Values": []string{
								"*",
							},
							"Key": "Product",
						},
						map[string]interface{}{
							"Values": []string{
								"Security",
								"Bugfix",
							},
							"Key": "Classification",
						},
						map[string]interface{}{
							"Values": []string{
								"Critical",
								"Important",
							},
							"Key": "Severity",
						},
					},
					"ApproveAfterDays": 7,
					"ComplianceLevel":  "Unspecified",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = oos.NewPatchBaseline(ctx, "default", &oos.PatchBaselineArgs{
			PatchBaselineName: pulumi.String(name),
			OperationSystem:   pulumi.String("Windows"),
			ApprovalRules:     pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Patch Baseline can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/patchBaseline:PatchBaseline example <id> ```

func GetPatchBaseline added in v3.11.0

func GetPatchBaseline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PatchBaselineState, opts ...pulumi.ResourceOption) (*PatchBaseline, error)

GetPatchBaseline gets an existing PatchBaseline 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 NewPatchBaseline added in v3.11.0

func NewPatchBaseline(ctx *pulumi.Context,
	name string, args *PatchBaselineArgs, opts ...pulumi.ResourceOption) (*PatchBaseline, error)

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

func (*PatchBaseline) ElementType added in v3.11.0

func (*PatchBaseline) ElementType() reflect.Type

func (*PatchBaseline) ToPatchBaselineOutput added in v3.11.0

func (i *PatchBaseline) ToPatchBaselineOutput() PatchBaselineOutput

func (*PatchBaseline) ToPatchBaselineOutputWithContext added in v3.11.0

func (i *PatchBaseline) ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput

type PatchBaselineArgs added in v3.11.0

type PatchBaselineArgs struct {
	// Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
	ApprovalRules pulumi.StringInput
	// Approved Patch.
	ApprovedPatches pulumi.StringArrayInput
	// ApprovedPatchesEnableNonSecurity.
	ApprovedPatchesEnableNonSecurity pulumi.BoolPtrInput
	// Patches baseline description information.
	Description pulumi.StringPtrInput
	// Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
	OperationSystem pulumi.StringInput
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringInput
	// Reject patches.
	RejectedPatches pulumi.StringArrayInput
	// Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
	RejectedPatchesAction pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Source.
	Sources pulumi.StringArrayInput
	// Label.
	Tags pulumi.MapInput
}

The set of arguments for constructing a PatchBaseline resource.

func (PatchBaselineArgs) ElementType added in v3.11.0

func (PatchBaselineArgs) ElementType() reflect.Type

type PatchBaselineArray added in v3.11.0

type PatchBaselineArray []PatchBaselineInput

func (PatchBaselineArray) ElementType added in v3.11.0

func (PatchBaselineArray) ElementType() reflect.Type

func (PatchBaselineArray) ToPatchBaselineArrayOutput added in v3.11.0

func (i PatchBaselineArray) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput

func (PatchBaselineArray) ToPatchBaselineArrayOutputWithContext added in v3.11.0

func (i PatchBaselineArray) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput

type PatchBaselineArrayInput added in v3.11.0

type PatchBaselineArrayInput interface {
	pulumi.Input

	ToPatchBaselineArrayOutput() PatchBaselineArrayOutput
	ToPatchBaselineArrayOutputWithContext(context.Context) PatchBaselineArrayOutput
}

PatchBaselineArrayInput is an input type that accepts PatchBaselineArray and PatchBaselineArrayOutput values. You can construct a concrete instance of `PatchBaselineArrayInput` via:

PatchBaselineArray{ PatchBaselineArgs{...} }

type PatchBaselineArrayOutput added in v3.11.0

type PatchBaselineArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineArrayOutput) ElementType added in v3.11.0

func (PatchBaselineArrayOutput) ElementType() reflect.Type

func (PatchBaselineArrayOutput) Index added in v3.11.0

func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutput added in v3.11.0

func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput

func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext added in v3.11.0

func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput

type PatchBaselineInput added in v3.11.0

type PatchBaselineInput interface {
	pulumi.Input

	ToPatchBaselineOutput() PatchBaselineOutput
	ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput
}

type PatchBaselineMap added in v3.11.0

type PatchBaselineMap map[string]PatchBaselineInput

func (PatchBaselineMap) ElementType added in v3.11.0

func (PatchBaselineMap) ElementType() reflect.Type

func (PatchBaselineMap) ToPatchBaselineMapOutput added in v3.11.0

func (i PatchBaselineMap) ToPatchBaselineMapOutput() PatchBaselineMapOutput

func (PatchBaselineMap) ToPatchBaselineMapOutputWithContext added in v3.11.0

func (i PatchBaselineMap) ToPatchBaselineMapOutputWithContext(ctx context.Context) PatchBaselineMapOutput

type PatchBaselineMapInput added in v3.11.0

type PatchBaselineMapInput interface {
	pulumi.Input

	ToPatchBaselineMapOutput() PatchBaselineMapOutput
	ToPatchBaselineMapOutputWithContext(context.Context) PatchBaselineMapOutput
}

PatchBaselineMapInput is an input type that accepts PatchBaselineMap and PatchBaselineMapOutput values. You can construct a concrete instance of `PatchBaselineMapInput` via:

PatchBaselineMap{ "key": PatchBaselineArgs{...} }

type PatchBaselineMapOutput added in v3.11.0

type PatchBaselineMapOutput struct{ *pulumi.OutputState }

func (PatchBaselineMapOutput) ElementType added in v3.11.0

func (PatchBaselineMapOutput) ElementType() reflect.Type

func (PatchBaselineMapOutput) MapIndex added in v3.11.0

func (PatchBaselineMapOutput) ToPatchBaselineMapOutput added in v3.11.0

func (o PatchBaselineMapOutput) ToPatchBaselineMapOutput() PatchBaselineMapOutput

func (PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext added in v3.11.0

func (o PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext(ctx context.Context) PatchBaselineMapOutput

type PatchBaselineOutput added in v3.11.0

type PatchBaselineOutput struct{ *pulumi.OutputState }

func (PatchBaselineOutput) ApprovalRules added in v3.27.0

func (o PatchBaselineOutput) ApprovalRules() pulumi.StringOutput

Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).

func (PatchBaselineOutput) ApprovedPatches added in v3.51.0

func (o PatchBaselineOutput) ApprovedPatches() pulumi.StringArrayOutput

Approved Patch.

func (PatchBaselineOutput) ApprovedPatchesEnableNonSecurity added in v3.51.0

func (o PatchBaselineOutput) ApprovedPatchesEnableNonSecurity() pulumi.BoolPtrOutput

ApprovedPatchesEnableNonSecurity.

func (PatchBaselineOutput) CreateTime added in v3.44.0

func (o PatchBaselineOutput) CreateTime() pulumi.StringOutput

Creation time.

func (PatchBaselineOutput) Description added in v3.27.0

func (o PatchBaselineOutput) Description() pulumi.StringPtrOutput

Patches baseline description information.

func (PatchBaselineOutput) ElementType added in v3.11.0

func (PatchBaselineOutput) ElementType() reflect.Type

func (PatchBaselineOutput) OperationSystem added in v3.27.0

func (o PatchBaselineOutput) OperationSystem() pulumi.StringOutput

Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.

func (PatchBaselineOutput) PatchBaselineName added in v3.27.0

func (o PatchBaselineOutput) PatchBaselineName() pulumi.StringOutput

The name of the patch baseline.

func (PatchBaselineOutput) RejectedPatches added in v3.44.0

func (o PatchBaselineOutput) RejectedPatches() pulumi.StringArrayOutput

Reject patches.

func (PatchBaselineOutput) RejectedPatchesAction added in v3.44.0

func (o PatchBaselineOutput) RejectedPatchesAction() pulumi.StringOutput

Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.

func (PatchBaselineOutput) ResourceGroupId added in v3.51.0

func (o PatchBaselineOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (PatchBaselineOutput) Sources added in v3.51.0

Source.

func (PatchBaselineOutput) Tags added in v3.51.0

Label.

func (PatchBaselineOutput) ToPatchBaselineOutput added in v3.11.0

func (o PatchBaselineOutput) ToPatchBaselineOutput() PatchBaselineOutput

func (PatchBaselineOutput) ToPatchBaselineOutputWithContext added in v3.11.0

func (o PatchBaselineOutput) ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput

type PatchBaselineState added in v3.11.0

type PatchBaselineState struct {
	// Accept the rules. This value follows the json format. For more details, see the description of [ApprovalRules in the Request parameters table for details](https://www.alibabacloud.com/help/zh/operation-orchestration-service/latest/api-oos-2019-06-01-createpatchbaseline).
	ApprovalRules pulumi.StringPtrInput
	// Approved Patch.
	ApprovedPatches pulumi.StringArrayInput
	// ApprovedPatchesEnableNonSecurity.
	ApprovedPatchesEnableNonSecurity pulumi.BoolPtrInput
	// Creation time.
	CreateTime pulumi.StringPtrInput
	// Patches baseline description information.
	Description pulumi.StringPtrInput
	// Operating system type. Valid values: `AliyunLinux`, `Anolis`, `CentOS`, `Debian`, `RedhatEnterpriseLinux`, `Ubuntu`, `Windows`, `AlmaLinux`.
	OperationSystem pulumi.StringPtrInput
	// The name of the patch baseline.
	PatchBaselineName pulumi.StringPtrInput
	// Reject patches.
	RejectedPatches pulumi.StringArrayInput
	// Rejected patches action. Valid values: `ALLOW_AS_DEPENDENCY`, `BLOCK`.
	RejectedPatchesAction pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Source.
	Sources pulumi.StringArrayInput
	// Label.
	Tags pulumi.MapInput
}

func (PatchBaselineState) ElementType added in v3.11.0

func (PatchBaselineState) ElementType() reflect.Type

type SecretParameter added in v3.12.0

type SecretParameter struct {
	pulumi.CustomResourceState

	// The constraints of the encryption parameter. By default, this parameter is null. Valid values:
	Constraints pulumi.StringPtrOutput `pulumi:"constraints"`
	// The description of the encryption parameter. The description must be `1` to `200` characters in length.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
	KeyId pulumi.StringPtrOutput `pulumi:"keyId"`
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The name of the encryption parameter.  The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.
	SecretParameterName pulumi.StringOutput `pulumi:"secretParameterName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The data type of the encryption parameter. Valid values: `Secret`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The value of the encryption parameter. The value must be `1` to `4096` characters in length.
	Value pulumi.StringOutput `pulumi:"value"`
}

Provides a OOS Secret Parameter resource.

For information about OOS Secret Parameter and how to use it, see [What is Secret Parameter](https://www.alibabacloud.com/help/en/doc-detail/183418.html).

> **NOTE:** Available since v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/kms"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleKey, err := kms.NewKey(ctx, "example", &kms.KeyArgs{
			Description:         pulumi.String("terraform-example"),
			Status:              pulumi.String("Enabled"),
			PendingWindowInDays: pulumi.Int(7),
		})
		if err != nil {
			return err
		}
		_, err = oos.NewSecretParameter(ctx, "example", &oos.SecretParameterArgs{
			SecretParameterName: pulumi.String("terraform-example"),
			Value:               pulumi.String("terraform-example"),
			Type:                pulumi.String("Secret"),
			KeyId:               exampleKey.ID(),
			Description:         pulumi.String("terraform-example"),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("OosSecretParameter"),
			},
			ResourceGroupId: pulumi.String(example.Groups[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Secret Parameter can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/secretParameter:SecretParameter example <secret_parameter_name> ```

func GetSecretParameter added in v3.12.0

func GetSecretParameter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretParameterState, opts ...pulumi.ResourceOption) (*SecretParameter, error)

GetSecretParameter gets an existing SecretParameter 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 NewSecretParameter added in v3.12.0

func NewSecretParameter(ctx *pulumi.Context,
	name string, args *SecretParameterArgs, opts ...pulumi.ResourceOption) (*SecretParameter, error)

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

func (*SecretParameter) ElementType added in v3.12.0

func (*SecretParameter) ElementType() reflect.Type

func (*SecretParameter) ToSecretParameterOutput added in v3.12.0

func (i *SecretParameter) ToSecretParameterOutput() SecretParameterOutput

func (*SecretParameter) ToSecretParameterOutputWithContext added in v3.12.0

func (i *SecretParameter) ToSecretParameterOutputWithContext(ctx context.Context) SecretParameterOutput

type SecretParameterArgs added in v3.12.0

type SecretParameterArgs struct {
	// The constraints of the encryption parameter. By default, this parameter is null. Valid values:
	Constraints pulumi.StringPtrInput
	// The description of the encryption parameter. The description must be `1` to `200` characters in length.
	Description pulumi.StringPtrInput
	// The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
	KeyId pulumi.StringPtrInput
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringPtrInput
	// The name of the encryption parameter.  The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.
	SecretParameterName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The data type of the encryption parameter. Valid values: `Secret`.
	Type pulumi.StringPtrInput
	// The value of the encryption parameter. The value must be `1` to `4096` characters in length.
	Value pulumi.StringInput
}

The set of arguments for constructing a SecretParameter resource.

func (SecretParameterArgs) ElementType added in v3.12.0

func (SecretParameterArgs) ElementType() reflect.Type

type SecretParameterArray added in v3.12.0

type SecretParameterArray []SecretParameterInput

func (SecretParameterArray) ElementType added in v3.12.0

func (SecretParameterArray) ElementType() reflect.Type

func (SecretParameterArray) ToSecretParameterArrayOutput added in v3.12.0

func (i SecretParameterArray) ToSecretParameterArrayOutput() SecretParameterArrayOutput

func (SecretParameterArray) ToSecretParameterArrayOutputWithContext added in v3.12.0

func (i SecretParameterArray) ToSecretParameterArrayOutputWithContext(ctx context.Context) SecretParameterArrayOutput

type SecretParameterArrayInput added in v3.12.0

type SecretParameterArrayInput interface {
	pulumi.Input

	ToSecretParameterArrayOutput() SecretParameterArrayOutput
	ToSecretParameterArrayOutputWithContext(context.Context) SecretParameterArrayOutput
}

SecretParameterArrayInput is an input type that accepts SecretParameterArray and SecretParameterArrayOutput values. You can construct a concrete instance of `SecretParameterArrayInput` via:

SecretParameterArray{ SecretParameterArgs{...} }

type SecretParameterArrayOutput added in v3.12.0

type SecretParameterArrayOutput struct{ *pulumi.OutputState }

func (SecretParameterArrayOutput) ElementType added in v3.12.0

func (SecretParameterArrayOutput) ElementType() reflect.Type

func (SecretParameterArrayOutput) Index added in v3.12.0

func (SecretParameterArrayOutput) ToSecretParameterArrayOutput added in v3.12.0

func (o SecretParameterArrayOutput) ToSecretParameterArrayOutput() SecretParameterArrayOutput

func (SecretParameterArrayOutput) ToSecretParameterArrayOutputWithContext added in v3.12.0

func (o SecretParameterArrayOutput) ToSecretParameterArrayOutputWithContext(ctx context.Context) SecretParameterArrayOutput

type SecretParameterInput added in v3.12.0

type SecretParameterInput interface {
	pulumi.Input

	ToSecretParameterOutput() SecretParameterOutput
	ToSecretParameterOutputWithContext(ctx context.Context) SecretParameterOutput
}

type SecretParameterMap added in v3.12.0

type SecretParameterMap map[string]SecretParameterInput

func (SecretParameterMap) ElementType added in v3.12.0

func (SecretParameterMap) ElementType() reflect.Type

func (SecretParameterMap) ToSecretParameterMapOutput added in v3.12.0

func (i SecretParameterMap) ToSecretParameterMapOutput() SecretParameterMapOutput

func (SecretParameterMap) ToSecretParameterMapOutputWithContext added in v3.12.0

func (i SecretParameterMap) ToSecretParameterMapOutputWithContext(ctx context.Context) SecretParameterMapOutput

type SecretParameterMapInput added in v3.12.0

type SecretParameterMapInput interface {
	pulumi.Input

	ToSecretParameterMapOutput() SecretParameterMapOutput
	ToSecretParameterMapOutputWithContext(context.Context) SecretParameterMapOutput
}

SecretParameterMapInput is an input type that accepts SecretParameterMap and SecretParameterMapOutput values. You can construct a concrete instance of `SecretParameterMapInput` via:

SecretParameterMap{ "key": SecretParameterArgs{...} }

type SecretParameterMapOutput added in v3.12.0

type SecretParameterMapOutput struct{ *pulumi.OutputState }

func (SecretParameterMapOutput) ElementType added in v3.12.0

func (SecretParameterMapOutput) ElementType() reflect.Type

func (SecretParameterMapOutput) MapIndex added in v3.12.0

func (SecretParameterMapOutput) ToSecretParameterMapOutput added in v3.12.0

func (o SecretParameterMapOutput) ToSecretParameterMapOutput() SecretParameterMapOutput

func (SecretParameterMapOutput) ToSecretParameterMapOutputWithContext added in v3.12.0

func (o SecretParameterMapOutput) ToSecretParameterMapOutputWithContext(ctx context.Context) SecretParameterMapOutput

type SecretParameterOutput added in v3.12.0

type SecretParameterOutput struct{ *pulumi.OutputState }

func (SecretParameterOutput) Constraints added in v3.27.0

The constraints of the encryption parameter. By default, this parameter is null. Valid values:

func (SecretParameterOutput) Description added in v3.27.0

The description of the encryption parameter. The description must be `1` to `200` characters in length.

func (SecretParameterOutput) ElementType added in v3.12.0

func (SecretParameterOutput) ElementType() reflect.Type

func (SecretParameterOutput) KeyId added in v3.27.0

The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.

func (SecretParameterOutput) ResourceGroupId added in v3.27.0

func (o SecretParameterOutput) ResourceGroupId() pulumi.StringOutput

The ID of the Resource Group.

func (SecretParameterOutput) SecretParameterName added in v3.27.0

func (o SecretParameterOutput) SecretParameterName() pulumi.StringOutput

The name of the encryption parameter. The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.

func (SecretParameterOutput) Tags added in v3.27.0

A mapping of tags to assign to the resource.

func (SecretParameterOutput) ToSecretParameterOutput added in v3.12.0

func (o SecretParameterOutput) ToSecretParameterOutput() SecretParameterOutput

func (SecretParameterOutput) ToSecretParameterOutputWithContext added in v3.12.0

func (o SecretParameterOutput) ToSecretParameterOutputWithContext(ctx context.Context) SecretParameterOutput

func (SecretParameterOutput) Type added in v3.27.0

The data type of the encryption parameter. Valid values: `Secret`.

func (SecretParameterOutput) Value added in v3.27.0

The value of the encryption parameter. The value must be `1` to `4096` characters in length.

type SecretParameterState added in v3.12.0

type SecretParameterState struct {
	// The constraints of the encryption parameter. By default, this parameter is null. Valid values:
	Constraints pulumi.StringPtrInput
	// The description of the encryption parameter. The description must be `1` to `200` characters in length.
	Description pulumi.StringPtrInput
	// The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
	KeyId pulumi.StringPtrInput
	// The ID of the Resource Group.
	ResourceGroupId pulumi.StringPtrInput
	// The name of the encryption parameter.  The name must be `2` to `180` characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, `ALICLOUD`, or `OOS`.
	SecretParameterName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The data type of the encryption parameter. Valid values: `Secret`.
	Type pulumi.StringPtrInput
	// The value of the encryption parameter. The value must be `1` to `4096` characters in length.
	Value pulumi.StringPtrInput
}

func (SecretParameterState) ElementType added in v3.12.0

func (SecretParameterState) ElementType() reflect.Type

type ServiceSetting added in v3.12.0

type ServiceSetting struct {
	pulumi.CustomResourceState

	// The name of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.
	DeliveryOssBucketName pulumi.StringPtrOutput `pulumi:"deliveryOssBucketName"`
	// Is the recording function for the OSS delivery template enabled.
	DeliveryOssEnabled pulumi.BoolPtrOutput `pulumi:"deliveryOssEnabled"`
	// The Directory of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.
	DeliveryOssKeyPrefix pulumi.StringPtrOutput `pulumi:"deliveryOssKeyPrefix"`
	// Is the execution record function to SLS delivery Template turned on.
	DeliverySlsEnabled pulumi.BoolPtrOutput `pulumi:"deliverySlsEnabled"`
	// The name of SLS  Project. **NOTE:** When the `deliverySlsEnabled` is `true`, The `deliverySlsProjectName` is valid.
	DeliverySlsProjectName pulumi.StringPtrOutput `pulumi:"deliverySlsProjectName"`
}

Provides a OOS Service Setting resource.

For information about OOS Service Setting and how to use it, see [What is Service Setting](https://www.alibabacloud.com/help/en/doc-detail/268700.html).

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-testaccoossetting"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := oss.NewBucket(ctx, "default", &oss.BucketArgs{
			Bucket: pulumi.String(name),
			Acl:    pulumi.String("public-read-write"),
		})
		if err != nil {
			return err
		}
		defaultProject, err := log.NewProject(ctx, "default", &log.ProjectArgs{
			Name: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = oos.NewServiceSetting(ctx, "default", &oos.ServiceSettingArgs{
			DeliveryOssEnabled:     pulumi.Bool(true),
			DeliveryOssKeyPrefix:   pulumi.String("path1/"),
			DeliveryOssBucketName:  _default.Bucket,
			DeliverySlsEnabled:     pulumi.Bool(true),
			DeliverySlsProjectName: defaultProject.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Service Setting can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/serviceSetting:ServiceSetting example <id> ```

func GetServiceSetting added in v3.12.0

func GetServiceSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceSettingState, opts ...pulumi.ResourceOption) (*ServiceSetting, error)

GetServiceSetting gets an existing ServiceSetting 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 NewServiceSetting added in v3.12.0

func NewServiceSetting(ctx *pulumi.Context,
	name string, args *ServiceSettingArgs, opts ...pulumi.ResourceOption) (*ServiceSetting, error)

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

func (*ServiceSetting) ElementType added in v3.12.0

func (*ServiceSetting) ElementType() reflect.Type

func (*ServiceSetting) ToServiceSettingOutput added in v3.12.0

func (i *ServiceSetting) ToServiceSettingOutput() ServiceSettingOutput

func (*ServiceSetting) ToServiceSettingOutputWithContext added in v3.12.0

func (i *ServiceSetting) ToServiceSettingOutputWithContext(ctx context.Context) ServiceSettingOutput

type ServiceSettingArgs added in v3.12.0

type ServiceSettingArgs struct {
	// The name of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.
	DeliveryOssBucketName pulumi.StringPtrInput
	// Is the recording function for the OSS delivery template enabled.
	DeliveryOssEnabled pulumi.BoolPtrInput
	// The Directory of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.
	DeliveryOssKeyPrefix pulumi.StringPtrInput
	// Is the execution record function to SLS delivery Template turned on.
	DeliverySlsEnabled pulumi.BoolPtrInput
	// The name of SLS  Project. **NOTE:** When the `deliverySlsEnabled` is `true`, The `deliverySlsProjectName` is valid.
	DeliverySlsProjectName pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceSetting resource.

func (ServiceSettingArgs) ElementType added in v3.12.0

func (ServiceSettingArgs) ElementType() reflect.Type

type ServiceSettingArray added in v3.12.0

type ServiceSettingArray []ServiceSettingInput

func (ServiceSettingArray) ElementType added in v3.12.0

func (ServiceSettingArray) ElementType() reflect.Type

func (ServiceSettingArray) ToServiceSettingArrayOutput added in v3.12.0

func (i ServiceSettingArray) ToServiceSettingArrayOutput() ServiceSettingArrayOutput

func (ServiceSettingArray) ToServiceSettingArrayOutputWithContext added in v3.12.0

func (i ServiceSettingArray) ToServiceSettingArrayOutputWithContext(ctx context.Context) ServiceSettingArrayOutput

type ServiceSettingArrayInput added in v3.12.0

type ServiceSettingArrayInput interface {
	pulumi.Input

	ToServiceSettingArrayOutput() ServiceSettingArrayOutput
	ToServiceSettingArrayOutputWithContext(context.Context) ServiceSettingArrayOutput
}

ServiceSettingArrayInput is an input type that accepts ServiceSettingArray and ServiceSettingArrayOutput values. You can construct a concrete instance of `ServiceSettingArrayInput` via:

ServiceSettingArray{ ServiceSettingArgs{...} }

type ServiceSettingArrayOutput added in v3.12.0

type ServiceSettingArrayOutput struct{ *pulumi.OutputState }

func (ServiceSettingArrayOutput) ElementType added in v3.12.0

func (ServiceSettingArrayOutput) ElementType() reflect.Type

func (ServiceSettingArrayOutput) Index added in v3.12.0

func (ServiceSettingArrayOutput) ToServiceSettingArrayOutput added in v3.12.0

func (o ServiceSettingArrayOutput) ToServiceSettingArrayOutput() ServiceSettingArrayOutput

func (ServiceSettingArrayOutput) ToServiceSettingArrayOutputWithContext added in v3.12.0

func (o ServiceSettingArrayOutput) ToServiceSettingArrayOutputWithContext(ctx context.Context) ServiceSettingArrayOutput

type ServiceSettingInput added in v3.12.0

type ServiceSettingInput interface {
	pulumi.Input

	ToServiceSettingOutput() ServiceSettingOutput
	ToServiceSettingOutputWithContext(ctx context.Context) ServiceSettingOutput
}

type ServiceSettingMap added in v3.12.0

type ServiceSettingMap map[string]ServiceSettingInput

func (ServiceSettingMap) ElementType added in v3.12.0

func (ServiceSettingMap) ElementType() reflect.Type

func (ServiceSettingMap) ToServiceSettingMapOutput added in v3.12.0

func (i ServiceSettingMap) ToServiceSettingMapOutput() ServiceSettingMapOutput

func (ServiceSettingMap) ToServiceSettingMapOutputWithContext added in v3.12.0

func (i ServiceSettingMap) ToServiceSettingMapOutputWithContext(ctx context.Context) ServiceSettingMapOutput

type ServiceSettingMapInput added in v3.12.0

type ServiceSettingMapInput interface {
	pulumi.Input

	ToServiceSettingMapOutput() ServiceSettingMapOutput
	ToServiceSettingMapOutputWithContext(context.Context) ServiceSettingMapOutput
}

ServiceSettingMapInput is an input type that accepts ServiceSettingMap and ServiceSettingMapOutput values. You can construct a concrete instance of `ServiceSettingMapInput` via:

ServiceSettingMap{ "key": ServiceSettingArgs{...} }

type ServiceSettingMapOutput added in v3.12.0

type ServiceSettingMapOutput struct{ *pulumi.OutputState }

func (ServiceSettingMapOutput) ElementType added in v3.12.0

func (ServiceSettingMapOutput) ElementType() reflect.Type

func (ServiceSettingMapOutput) MapIndex added in v3.12.0

func (ServiceSettingMapOutput) ToServiceSettingMapOutput added in v3.12.0

func (o ServiceSettingMapOutput) ToServiceSettingMapOutput() ServiceSettingMapOutput

func (ServiceSettingMapOutput) ToServiceSettingMapOutputWithContext added in v3.12.0

func (o ServiceSettingMapOutput) ToServiceSettingMapOutputWithContext(ctx context.Context) ServiceSettingMapOutput

type ServiceSettingOutput added in v3.12.0

type ServiceSettingOutput struct{ *pulumi.OutputState }

func (ServiceSettingOutput) DeliveryOssBucketName added in v3.27.0

func (o ServiceSettingOutput) DeliveryOssBucketName() pulumi.StringPtrOutput

The name of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.

func (ServiceSettingOutput) DeliveryOssEnabled added in v3.27.0

func (o ServiceSettingOutput) DeliveryOssEnabled() pulumi.BoolPtrOutput

Is the recording function for the OSS delivery template enabled.

func (ServiceSettingOutput) DeliveryOssKeyPrefix added in v3.27.0

func (o ServiceSettingOutput) DeliveryOssKeyPrefix() pulumi.StringPtrOutput

The Directory of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.

func (ServiceSettingOutput) DeliverySlsEnabled added in v3.27.0

func (o ServiceSettingOutput) DeliverySlsEnabled() pulumi.BoolPtrOutput

Is the execution record function to SLS delivery Template turned on.

func (ServiceSettingOutput) DeliverySlsProjectName added in v3.27.0

func (o ServiceSettingOutput) DeliverySlsProjectName() pulumi.StringPtrOutput

The name of SLS Project. **NOTE:** When the `deliverySlsEnabled` is `true`, The `deliverySlsProjectName` is valid.

func (ServiceSettingOutput) ElementType added in v3.12.0

func (ServiceSettingOutput) ElementType() reflect.Type

func (ServiceSettingOutput) ToServiceSettingOutput added in v3.12.0

func (o ServiceSettingOutput) ToServiceSettingOutput() ServiceSettingOutput

func (ServiceSettingOutput) ToServiceSettingOutputWithContext added in v3.12.0

func (o ServiceSettingOutput) ToServiceSettingOutputWithContext(ctx context.Context) ServiceSettingOutput

type ServiceSettingState added in v3.12.0

type ServiceSettingState struct {
	// The name of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.
	DeliveryOssBucketName pulumi.StringPtrInput
	// Is the recording function for the OSS delivery template enabled.
	DeliveryOssEnabled pulumi.BoolPtrInput
	// The Directory of the OSS bucket. **NOTE:** When the `deliveryOssEnabled` is `true`, The `deliveryOssBucketName` is valid.
	DeliveryOssKeyPrefix pulumi.StringPtrInput
	// Is the execution record function to SLS delivery Template turned on.
	DeliverySlsEnabled pulumi.BoolPtrInput
	// The name of SLS  Project. **NOTE:** When the `deliverySlsEnabled` is `true`, The `deliverySlsProjectName` is valid.
	DeliverySlsProjectName pulumi.StringPtrInput
}

func (ServiceSettingState) ElementType added in v3.12.0

func (ServiceSettingState) ElementType() reflect.Type

type StateConfiguration added in v3.12.0

type StateConfiguration struct {
	pulumi.CustomResourceState

	// Configuration mode. Valid values: `ApplyAndAutoCorrect`, `ApplyAndMonitor`, `ApplyOnly`.
	ConfigureMode pulumi.StringOutput `pulumi:"configureMode"`
	// The description of the resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The parameter of the Template. This field is in the format of JSON strings. For detailed definition instructions, please refer to [Metadata types that are supported by a configuration list](https://www.alibabacloud.com/help/en/doc-detail/208276.html).
	Parameters pulumi.StringPtrOutput `pulumi:"parameters"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// Timing expression.
	ScheduleExpression pulumi.StringOutput `pulumi:"scheduleExpression"`
	// Timing type. Valid values: `rate`.
	ScheduleType pulumi.StringOutput `pulumi:"scheduleType"`
	// The tag of the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The Target resources.  This field is in the format of JSON strings. For detailed definition instructions, please refer to [Parameter](https://www.alibabacloud.com/help/en/doc-detail/120674.html).
	Targets pulumi.StringOutput `pulumi:"targets"`
	// The name of the template.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// The version number. If you do not specify this parameter, the system uses the latest version.
	TemplateVersion pulumi.StringOutput `pulumi:"templateVersion"`
}

Provides a OOS State Configuration resource.

For information about OOS State Configuration and how to use it, see [What is State Configuration](https://www.alibabacloud.com/help/en/doc-detail/208728.html).

> **NOTE:** Available in v1.147.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = oos.NewStateConfiguration(ctx, "default", &oos.StateConfigurationArgs{
			TemplateName:       pulumi.String("ACS-ECS-InventoryDataCollection"),
			ConfigureMode:      pulumi.String("ApplyOnly"),
			Description:        pulumi.String("terraform-example"),
			ScheduleType:       pulumi.String("rate"),
			ScheduleExpression: pulumi.String("1 hour"),
			ResourceGroupId:    pulumi.String(_default.Ids[0]),
			Targets:            pulumi.String("{\"Filters\": [{\"Type\": \"All\", \"Parameters\": {\"InstanceChargeType\": \"PrePaid\"}}], \"ResourceType\": \"ALIYUN::ECS::Instance\"}"),
			Parameters:         pulumi.String("{\"policy\": {\"ACS:Application\": {\"Collection\": \"Enabled\"}}}"),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS State Configuration can be imported using the id, e.g.

```sh $ pulumi import alicloud:oos/stateConfiguration:StateConfiguration example <id> ```

func GetStateConfiguration added in v3.12.0

func GetStateConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StateConfigurationState, opts ...pulumi.ResourceOption) (*StateConfiguration, error)

GetStateConfiguration gets an existing StateConfiguration 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 NewStateConfiguration added in v3.12.0

func NewStateConfiguration(ctx *pulumi.Context,
	name string, args *StateConfigurationArgs, opts ...pulumi.ResourceOption) (*StateConfiguration, error)

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

func (*StateConfiguration) ElementType added in v3.12.0

func (*StateConfiguration) ElementType() reflect.Type

func (*StateConfiguration) ToStateConfigurationOutput added in v3.12.0

func (i *StateConfiguration) ToStateConfigurationOutput() StateConfigurationOutput

func (*StateConfiguration) ToStateConfigurationOutputWithContext added in v3.12.0

func (i *StateConfiguration) ToStateConfigurationOutputWithContext(ctx context.Context) StateConfigurationOutput

type StateConfigurationArgs added in v3.12.0

type StateConfigurationArgs struct {
	// Configuration mode. Valid values: `ApplyAndAutoCorrect`, `ApplyAndMonitor`, `ApplyOnly`.
	ConfigureMode pulumi.StringPtrInput
	// The description of the resource.
	Description pulumi.StringPtrInput
	// The parameter of the Template. This field is in the format of JSON strings. For detailed definition instructions, please refer to [Metadata types that are supported by a configuration list](https://www.alibabacloud.com/help/en/doc-detail/208276.html).
	Parameters pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Timing expression.
	ScheduleExpression pulumi.StringInput
	// Timing type. Valid values: `rate`.
	ScheduleType pulumi.StringInput
	// The tag of the resource.
	Tags pulumi.MapInput
	// The Target resources.  This field is in the format of JSON strings. For detailed definition instructions, please refer to [Parameter](https://www.alibabacloud.com/help/en/doc-detail/120674.html).
	Targets pulumi.StringInput
	// The name of the template.
	TemplateName pulumi.StringInput
	// The version number. If you do not specify this parameter, the system uses the latest version.
	TemplateVersion pulumi.StringPtrInput
}

The set of arguments for constructing a StateConfiguration resource.

func (StateConfigurationArgs) ElementType added in v3.12.0

func (StateConfigurationArgs) ElementType() reflect.Type

type StateConfigurationArray added in v3.12.0

type StateConfigurationArray []StateConfigurationInput

func (StateConfigurationArray) ElementType added in v3.12.0

func (StateConfigurationArray) ElementType() reflect.Type

func (StateConfigurationArray) ToStateConfigurationArrayOutput added in v3.12.0

func (i StateConfigurationArray) ToStateConfigurationArrayOutput() StateConfigurationArrayOutput

func (StateConfigurationArray) ToStateConfigurationArrayOutputWithContext added in v3.12.0

func (i StateConfigurationArray) ToStateConfigurationArrayOutputWithContext(ctx context.Context) StateConfigurationArrayOutput

type StateConfigurationArrayInput added in v3.12.0

type StateConfigurationArrayInput interface {
	pulumi.Input

	ToStateConfigurationArrayOutput() StateConfigurationArrayOutput
	ToStateConfigurationArrayOutputWithContext(context.Context) StateConfigurationArrayOutput
}

StateConfigurationArrayInput is an input type that accepts StateConfigurationArray and StateConfigurationArrayOutput values. You can construct a concrete instance of `StateConfigurationArrayInput` via:

StateConfigurationArray{ StateConfigurationArgs{...} }

type StateConfigurationArrayOutput added in v3.12.0

type StateConfigurationArrayOutput struct{ *pulumi.OutputState }

func (StateConfigurationArrayOutput) ElementType added in v3.12.0

func (StateConfigurationArrayOutput) Index added in v3.12.0

func (StateConfigurationArrayOutput) ToStateConfigurationArrayOutput added in v3.12.0

func (o StateConfigurationArrayOutput) ToStateConfigurationArrayOutput() StateConfigurationArrayOutput

func (StateConfigurationArrayOutput) ToStateConfigurationArrayOutputWithContext added in v3.12.0

func (o StateConfigurationArrayOutput) ToStateConfigurationArrayOutputWithContext(ctx context.Context) StateConfigurationArrayOutput

type StateConfigurationInput added in v3.12.0

type StateConfigurationInput interface {
	pulumi.Input

	ToStateConfigurationOutput() StateConfigurationOutput
	ToStateConfigurationOutputWithContext(ctx context.Context) StateConfigurationOutput
}

type StateConfigurationMap added in v3.12.0

type StateConfigurationMap map[string]StateConfigurationInput

func (StateConfigurationMap) ElementType added in v3.12.0

func (StateConfigurationMap) ElementType() reflect.Type

func (StateConfigurationMap) ToStateConfigurationMapOutput added in v3.12.0

func (i StateConfigurationMap) ToStateConfigurationMapOutput() StateConfigurationMapOutput

func (StateConfigurationMap) ToStateConfigurationMapOutputWithContext added in v3.12.0

func (i StateConfigurationMap) ToStateConfigurationMapOutputWithContext(ctx context.Context) StateConfigurationMapOutput

type StateConfigurationMapInput added in v3.12.0

type StateConfigurationMapInput interface {
	pulumi.Input

	ToStateConfigurationMapOutput() StateConfigurationMapOutput
	ToStateConfigurationMapOutputWithContext(context.Context) StateConfigurationMapOutput
}

StateConfigurationMapInput is an input type that accepts StateConfigurationMap and StateConfigurationMapOutput values. You can construct a concrete instance of `StateConfigurationMapInput` via:

StateConfigurationMap{ "key": StateConfigurationArgs{...} }

type StateConfigurationMapOutput added in v3.12.0

type StateConfigurationMapOutput struct{ *pulumi.OutputState }

func (StateConfigurationMapOutput) ElementType added in v3.12.0

func (StateConfigurationMapOutput) MapIndex added in v3.12.0

func (StateConfigurationMapOutput) ToStateConfigurationMapOutput added in v3.12.0

func (o StateConfigurationMapOutput) ToStateConfigurationMapOutput() StateConfigurationMapOutput

func (StateConfigurationMapOutput) ToStateConfigurationMapOutputWithContext added in v3.12.0

func (o StateConfigurationMapOutput) ToStateConfigurationMapOutputWithContext(ctx context.Context) StateConfigurationMapOutput

type StateConfigurationOutput added in v3.12.0

type StateConfigurationOutput struct{ *pulumi.OutputState }

func (StateConfigurationOutput) ConfigureMode added in v3.27.0

func (o StateConfigurationOutput) ConfigureMode() pulumi.StringOutput

Configuration mode. Valid values: `ApplyAndAutoCorrect`, `ApplyAndMonitor`, `ApplyOnly`.

func (StateConfigurationOutput) Description added in v3.27.0

The description of the resource.

func (StateConfigurationOutput) ElementType added in v3.12.0

func (StateConfigurationOutput) ElementType() reflect.Type

func (StateConfigurationOutput) Parameters added in v3.27.0

The parameter of the Template. This field is in the format of JSON strings. For detailed definition instructions, please refer to [Metadata types that are supported by a configuration list](https://www.alibabacloud.com/help/en/doc-detail/208276.html).

func (StateConfigurationOutput) ResourceGroupId added in v3.27.0

func (o StateConfigurationOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (StateConfigurationOutput) ScheduleExpression added in v3.27.0

func (o StateConfigurationOutput) ScheduleExpression() pulumi.StringOutput

Timing expression.

func (StateConfigurationOutput) ScheduleType added in v3.27.0

func (o StateConfigurationOutput) ScheduleType() pulumi.StringOutput

Timing type. Valid values: `rate`.

func (StateConfigurationOutput) Tags added in v3.27.0

The tag of the resource.

func (StateConfigurationOutput) Targets added in v3.27.0

The Target resources. This field is in the format of JSON strings. For detailed definition instructions, please refer to Parameter(https://www.alibabacloud.com/help/en/doc-detail/120674.html).

func (StateConfigurationOutput) TemplateName added in v3.27.0

func (o StateConfigurationOutput) TemplateName() pulumi.StringOutput

The name of the template.

func (StateConfigurationOutput) TemplateVersion added in v3.27.0

func (o StateConfigurationOutput) TemplateVersion() pulumi.StringOutput

The version number. If you do not specify this parameter, the system uses the latest version.

func (StateConfigurationOutput) ToStateConfigurationOutput added in v3.12.0

func (o StateConfigurationOutput) ToStateConfigurationOutput() StateConfigurationOutput

func (StateConfigurationOutput) ToStateConfigurationOutputWithContext added in v3.12.0

func (o StateConfigurationOutput) ToStateConfigurationOutputWithContext(ctx context.Context) StateConfigurationOutput

type StateConfigurationState added in v3.12.0

type StateConfigurationState struct {
	// Configuration mode. Valid values: `ApplyAndAutoCorrect`, `ApplyAndMonitor`, `ApplyOnly`.
	ConfigureMode pulumi.StringPtrInput
	// The description of the resource.
	Description pulumi.StringPtrInput
	// The parameter of the Template. This field is in the format of JSON strings. For detailed definition instructions, please refer to [Metadata types that are supported by a configuration list](https://www.alibabacloud.com/help/en/doc-detail/208276.html).
	Parameters pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Timing expression.
	ScheduleExpression pulumi.StringPtrInput
	// Timing type. Valid values: `rate`.
	ScheduleType pulumi.StringPtrInput
	// The tag of the resource.
	Tags pulumi.MapInput
	// The Target resources.  This field is in the format of JSON strings. For detailed definition instructions, please refer to [Parameter](https://www.alibabacloud.com/help/en/doc-detail/120674.html).
	Targets pulumi.StringPtrInput
	// The name of the template.
	TemplateName pulumi.StringPtrInput
	// The version number. If you do not specify this parameter, the system uses the latest version.
	TemplateVersion pulumi.StringPtrInput
}

func (StateConfigurationState) ElementType added in v3.12.0

func (StateConfigurationState) ElementType() reflect.Type

type Template

type Template struct {
	pulumi.CustomResourceState

	// When deleting a template, whether to delete its related executions. Default to `false`.
	AutoDeleteExecutions pulumi.BoolPtrOutput `pulumi:"autoDeleteExecutions"`
	// The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
	Content pulumi.StringOutput `pulumi:"content"`
	// The creator of the template.
	CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
	// The time when the template is created.
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// The description of the template.
	Description pulumi.StringOutput `pulumi:"description"`
	// Is it triggered successfully.
	HasTrigger pulumi.BoolOutput `pulumi:"hasTrigger"`
	// The ID of resource group which the template belongs.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
	ShareType pulumi.StringOutput `pulumi:"shareType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
	TemplateFormat pulumi.StringOutput `pulumi:"templateFormat"`
	// The id of OOS Template.
	TemplateId pulumi.StringOutput `pulumi:"templateId"`
	// The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, or `ALICLOUD`.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// The type of OOS Template. `Automation` means the implementation of Alibaba Cloud API template, `Package` means represents a template for installing software.
	TemplateType pulumi.StringOutput `pulumi:"templateType"`
	// The version of OOS Template.
	TemplateVersion pulumi.StringOutput `pulumi:"templateVersion"`
	// The user who updated the template.
	UpdatedBy pulumi.StringOutput `pulumi:"updatedBy"`
	// The time when the template was updated.
	UpdatedDate pulumi.StringOutput `pulumi:"updatedDate"`
	// The name of template version.
	VersionName pulumi.StringPtrOutput `pulumi:"versionName"`
}

Provides a OOS Template resource. For information about Alicloud OOS Template and how to use it, see [What is Resource Alicloud OOS Template](https://www.alibabacloud.com/help/doc-detail/120761.htm).

> **NOTE:** Available in 1.92.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oos.NewTemplate(ctx, "example", &oos.TemplateArgs{
			Content: pulumi.String(`  {
    "FormatVersion": "OOS-2019-06-01",
    "Description": "Update Describe instances of given status",
    "Parameters":{
      "Status":{
        "Type": "String",
        "Description": "(Required) The status of the Ecs instance."
      }
    },
    "Tasks": [
      {
        "Properties" :{
          "Parameters":{
            "Status": "{{ Status }}"
          },
          "API": "DescribeInstances",
          "Service": "Ecs"
        },
        "Name": "foo",
        "Action": "ACS::ExecuteApi"
      }]
  }

`),

			TemplateName: pulumi.String("test-name"),
			VersionName:  pulumi.String("test"),
			Tags: pulumi.Map{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("acceptance Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OOS Template can be imported using the id or template_name, e.g.

```sh $ pulumi import alicloud:oos/template:Template example template_name ```

func GetTemplate

func GetTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TemplateState, opts ...pulumi.ResourceOption) (*Template, error)

GetTemplate gets an existing Template 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 NewTemplate

func NewTemplate(ctx *pulumi.Context,
	name string, args *TemplateArgs, opts ...pulumi.ResourceOption) (*Template, error)

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

func (*Template) ElementType

func (*Template) ElementType() reflect.Type

func (*Template) ToTemplateOutput

func (i *Template) ToTemplateOutput() TemplateOutput

func (*Template) ToTemplateOutputWithContext

func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

type TemplateArgs

type TemplateArgs struct {
	// When deleting a template, whether to delete its related executions. Default to `false`.
	AutoDeleteExecutions pulumi.BoolPtrInput
	// The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
	Content pulumi.StringInput
	// The ID of resource group which the template belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, or `ALICLOUD`.
	TemplateName pulumi.StringInput
	// The name of template version.
	VersionName pulumi.StringPtrInput
}

The set of arguments for constructing a Template resource.

func (TemplateArgs) ElementType

func (TemplateArgs) ElementType() reflect.Type

type TemplateArray

type TemplateArray []TemplateInput

func (TemplateArray) ElementType

func (TemplateArray) ElementType() reflect.Type

func (TemplateArray) ToTemplateArrayOutput

func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArray) ToTemplateArrayOutputWithContext

func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateArrayInput

type TemplateArrayInput interface {
	pulumi.Input

	ToTemplateArrayOutput() TemplateArrayOutput
	ToTemplateArrayOutputWithContext(context.Context) TemplateArrayOutput
}

TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. You can construct a concrete instance of `TemplateArrayInput` via:

TemplateArray{ TemplateArgs{...} }

type TemplateArrayOutput

type TemplateArrayOutput struct{ *pulumi.OutputState }

func (TemplateArrayOutput) ElementType

func (TemplateArrayOutput) ElementType() reflect.Type

func (TemplateArrayOutput) Index

func (TemplateArrayOutput) ToTemplateArrayOutput

func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArrayOutput) ToTemplateArrayOutputWithContext

func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateInput

type TemplateInput interface {
	pulumi.Input

	ToTemplateOutput() TemplateOutput
	ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
}

type TemplateMap

type TemplateMap map[string]TemplateInput

func (TemplateMap) ElementType

func (TemplateMap) ElementType() reflect.Type

func (TemplateMap) ToTemplateMapOutput

func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMap) ToTemplateMapOutputWithContext

func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateMapInput

type TemplateMapInput interface {
	pulumi.Input

	ToTemplateMapOutput() TemplateMapOutput
	ToTemplateMapOutputWithContext(context.Context) TemplateMapOutput
}

TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. You can construct a concrete instance of `TemplateMapInput` via:

TemplateMap{ "key": TemplateArgs{...} }

type TemplateMapOutput

type TemplateMapOutput struct{ *pulumi.OutputState }

func (TemplateMapOutput) ElementType

func (TemplateMapOutput) ElementType() reflect.Type

func (TemplateMapOutput) MapIndex

func (TemplateMapOutput) ToTemplateMapOutput

func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMapOutput) ToTemplateMapOutputWithContext

func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateOutput

type TemplateOutput struct{ *pulumi.OutputState }

func (TemplateOutput) AutoDeleteExecutions added in v3.27.0

func (o TemplateOutput) AutoDeleteExecutions() pulumi.BoolPtrOutput

When deleting a template, whether to delete its related executions. Default to `false`.

func (TemplateOutput) Content added in v3.27.0

func (o TemplateOutput) Content() pulumi.StringOutput

The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.

func (TemplateOutput) CreatedBy added in v3.27.0

func (o TemplateOutput) CreatedBy() pulumi.StringOutput

The creator of the template.

func (TemplateOutput) CreatedDate added in v3.27.0

func (o TemplateOutput) CreatedDate() pulumi.StringOutput

The time when the template is created.

func (TemplateOutput) Description added in v3.27.0

func (o TemplateOutput) Description() pulumi.StringOutput

The description of the template.

func (TemplateOutput) ElementType

func (TemplateOutput) ElementType() reflect.Type

func (TemplateOutput) HasTrigger added in v3.27.0

func (o TemplateOutput) HasTrigger() pulumi.BoolOutput

Is it triggered successfully.

func (TemplateOutput) ResourceGroupId added in v3.27.0

func (o TemplateOutput) ResourceGroupId() pulumi.StringOutput

The ID of resource group which the template belongs.

func (TemplateOutput) ShareType added in v3.27.0

func (o TemplateOutput) ShareType() pulumi.StringOutput

The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.

func (TemplateOutput) Tags added in v3.27.0

func (o TemplateOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (TemplateOutput) TemplateFormat added in v3.27.0

func (o TemplateOutput) TemplateFormat() pulumi.StringOutput

The format of the template. The format can be JSON or YAML. The system automatically identifies the format.

func (TemplateOutput) TemplateId added in v3.27.0

func (o TemplateOutput) TemplateId() pulumi.StringOutput

The id of OOS Template.

func (TemplateOutput) TemplateName added in v3.27.0

func (o TemplateOutput) TemplateName() pulumi.StringOutput

The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, or `ALICLOUD`.

func (TemplateOutput) TemplateType added in v3.27.0

func (o TemplateOutput) TemplateType() pulumi.StringOutput

The type of OOS Template. `Automation` means the implementation of Alibaba Cloud API template, `Package` means represents a template for installing software.

func (TemplateOutput) TemplateVersion added in v3.27.0

func (o TemplateOutput) TemplateVersion() pulumi.StringOutput

The version of OOS Template.

func (TemplateOutput) ToTemplateOutput

func (o TemplateOutput) ToTemplateOutput() TemplateOutput

func (TemplateOutput) ToTemplateOutputWithContext

func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

func (TemplateOutput) UpdatedBy added in v3.27.0

func (o TemplateOutput) UpdatedBy() pulumi.StringOutput

The user who updated the template.

func (TemplateOutput) UpdatedDate added in v3.27.0

func (o TemplateOutput) UpdatedDate() pulumi.StringOutput

The time when the template was updated.

func (TemplateOutput) VersionName added in v3.27.0

func (o TemplateOutput) VersionName() pulumi.StringPtrOutput

The name of template version.

type TemplateState

type TemplateState struct {
	// When deleting a template, whether to delete its related executions. Default to `false`.
	AutoDeleteExecutions pulumi.BoolPtrInput
	// The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
	Content pulumi.StringPtrInput
	// The creator of the template.
	CreatedBy pulumi.StringPtrInput
	// The time when the template is created.
	CreatedDate pulumi.StringPtrInput
	// The description of the template.
	Description pulumi.StringPtrInput
	// Is it triggered successfully.
	HasTrigger pulumi.BoolPtrInput
	// The ID of resource group which the template belongs.
	ResourceGroupId pulumi.StringPtrInput
	// The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
	ShareType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
	TemplateFormat pulumi.StringPtrInput
	// The id of OOS Template.
	TemplateId pulumi.StringPtrInput
	// The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with `ALIYUN`, `ACS`, `ALIBABA`, or `ALICLOUD`.
	TemplateName pulumi.StringPtrInput
	// The type of OOS Template. `Automation` means the implementation of Alibaba Cloud API template, `Package` means represents a template for installing software.
	TemplateType pulumi.StringPtrInput
	// The version of OOS Template.
	TemplateVersion pulumi.StringPtrInput
	// The user who updated the template.
	UpdatedBy pulumi.StringPtrInput
	// The time when the template was updated.
	UpdatedDate pulumi.StringPtrInput
	// The name of template version.
	VersionName pulumi.StringPtrInput
}

func (TemplateState) ElementType

func (TemplateState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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