Module yundun

This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-alicloud repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-alicloud repo.

Resources

Functions

Others

Resources

Resource BastionHostInstance

class BastionHostInstance extends CustomResource

constructor

new BastionHostInstance(name: string, args: BastionHostInstanceArgs, opts?: pulumi.CustomResourceOptions)

Create a BastionHostInstance resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BastionHostInstanceState, opts?: pulumi.CustomResourceOptions): BastionHostInstance

Get an existing BastionHostInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is BastionHostInstance

Returns true if the given object is an instance of BastionHostInstance. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string>;

Description of the instance. This name can have a string of 1 to 63 characters.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property licenseCode

public licenseCode: pulumi.Output<string>;

property period

public period: pulumi.Output<number | undefined>;

Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify “period”.

property securityGroupIds

public securityGroupIds: pulumi.Output<string[]>;

security group IDs configured to bastionhost

property tags

public tags: pulumi.Output<{[key: string]: any} | undefined>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vswitchId

public vswitchId: pulumi.Output<string>;

vSwtich ID configured to bastionhost

Resource DBAuditInstance

class DBAuditInstance extends CustomResource

constructor

new DBAuditInstance(name: string, args: DBAuditInstanceArgs, opts?: pulumi.CustomResourceOptions)

Create a DBAuditInstance resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DBAuditInstanceState, opts?: pulumi.CustomResourceOptions): DBAuditInstance

Get an existing DBAuditInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is DBAuditInstance

Returns true if the given object is an instance of DBAuditInstance. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string>;

Description of the instance. This name can have a string of 1 to 63 characters.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property period

public period: pulumi.Output<number | undefined>;

Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify “period”.

property planCode

public planCode: pulumi.Output<string>;

Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)

property tags

public tags: pulumi.Output<{[key: string]: any} | undefined>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vswitchId

public vswitchId: pulumi.Output<string>;

vSwtich ID configured to audit

Functions

Function getBastionHostInstances

getBastionHostInstances(args?: GetBastionHostInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetBastionHostInstancesResult>

This data source provides a list of cloud Bastionhost instances in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.63.0+ .

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const instanceBastionHostInstances = pulumi.output(alicloud.yundun.getBastionHostInstances({
    nameRegex: "^bastionhost",
}, { async: true }));

export const instance = alicloud_yundun_bastionhost_instances_instance.map(v => v.id);

Function getDBAuditInstance

getDBAuditInstance(args?: GetDBAuditInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetDBAuditInstanceResult>

Others

interface BastionHostInstanceArgs

interface BastionHostInstanceArgs

The set of arguments for constructing a BastionHostInstance resource.

property description

description: pulumi.Input<string>;

Description of the instance. This name can have a string of 1 to 63 characters.

property licenseCode

licenseCode: pulumi.Input<string>;

property period

period?: pulumi.Input<number>;

Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify “period”.

property securityGroupIds

securityGroupIds: pulumi.Input<pulumi.Input<string>[]>;

security group IDs configured to bastionhost

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

property vswitchId

vswitchId: pulumi.Input<string>;

vSwtich ID configured to bastionhost

interface BastionHostInstanceState

interface BastionHostInstanceState

Input properties used for looking up and filtering BastionHostInstance resources.

property description

description?: pulumi.Input<string>;

Description of the instance. This name can have a string of 1 to 63 characters.

property licenseCode

licenseCode?: pulumi.Input<string>;

property period

period?: pulumi.Input<number>;

Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify “period”.

property securityGroupIds

securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;

security group IDs configured to bastionhost

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

property vswitchId

vswitchId?: pulumi.Input<string>;

vSwtich ID configured to bastionhost

interface DBAuditInstanceArgs

interface DBAuditInstanceArgs

The set of arguments for constructing a DBAuditInstance resource.

property description

description: pulumi.Input<string>;

Description of the instance. This name can have a string of 1 to 63 characters.

property period

period?: pulumi.Input<number>;

Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify “period”.

property planCode

planCode: pulumi.Input<string>;

Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

property vswitchId

vswitchId: pulumi.Input<string>;

vSwtich ID configured to audit

interface DBAuditInstanceState

interface DBAuditInstanceState

Input properties used for looking up and filtering DBAuditInstance resources.

property description

description?: pulumi.Input<string>;

Description of the instance. This name can have a string of 1 to 63 characters.

property period

period?: pulumi.Input<number>;

Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify “period”.

property planCode

planCode?: pulumi.Input<string>;

Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

property vswitchId

vswitchId?: pulumi.Input<string>;

vSwtich ID configured to audit

interface GetBastionHostInstancesArgs

interface GetBastionHostInstancesArgs

A collection of arguments for invoking getBastionHostInstances.

property descriptionRegex

descriptionRegex?: undefined | string;

A regex string to filter results by the instance description.

property ids

ids?: string[];

Matched instance IDs to filter data source result.

property outputFile

outputFile?: undefined | string;

File name to persist data source output.

property tags

tags?: undefined | {[key: string]: any};

A map of tags assigned to the bastionhost instance. It must be in the format:

data "alicloud.yundun.getBastionHostInstances" "instance" {
tags = {
tagKey1 = "tagValue1"
}
}

interface GetBastionHostInstancesResult

interface GetBastionHostInstancesResult

A collection of values returned by getBastionHostInstances.

property descriptionRegex

descriptionRegex?: undefined | string;

property descriptions

descriptions: string[];

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

property instances

instances: GetBastionHostInstancesInstance[];

A list of apis. Each element contains the following attributes:

property outputFile

outputFile?: undefined | string;

property tags

tags?: undefined | {[key: string]: any};

A map of tags assigned to the bastionhost instance.

interface GetDBAuditInstanceArgs

interface GetDBAuditInstanceArgs

A collection of arguments for invoking getDBAuditInstance.

property descriptionRegex

descriptionRegex?: undefined | string;

property ids

ids?: string[];

property outputFile

outputFile?: undefined | string;

property tags

tags?: undefined | {[key: string]: any};

interface GetDBAuditInstanceResult

interface GetDBAuditInstanceResult

A collection of values returned by getDBAuditInstance.

property descriptionRegex

descriptionRegex?: undefined | string;

property descriptions

descriptions: string[];

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

property instances

instances: GetDBAuditInstanceInstance[];

property outputFile

outputFile?: undefined | string;

property tags

tags?: undefined | {[key: string]: any};