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-alicloudrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-alicloudrepo.
Resources
Functions
Others
- BastionHostInstanceArgs
- BastionHostInstanceState
- DBAuditInstanceArgs
- DBAuditInstanceState
- GetBastionHostInstancesArgs
- GetBastionHostInstancesResult
- GetDBAuditInstanceArgs
- GetDBAuditInstanceResult
Resources
Resource BastionHostInstance
class BastionHostInstance extends CustomResourceconstructor
new BastionHostInstance(name: string, args: BastionHostInstanceArgs, opts?: pulumi.CustomResourceOptions)Create a BastionHostInstance resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA 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): BastionHostInstanceGet 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is BastionHostInstanceReturns 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 CustomResourceconstructor
new DBAuditInstance(name: string, args: DBAuditInstanceArgs, opts?: pulumi.CustomResourceOptions)Create a DBAuditInstance resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA 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): DBAuditInstanceGet 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is DBAuditInstanceReturns 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 BastionHostInstanceArgsThe 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 BastionHostInstanceStateInput 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 DBAuditInstanceArgsThe 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 DBAuditInstanceStateInput 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 GetBastionHostInstancesArgsA 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 GetBastionHostInstancesResultA 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 GetDBAuditInstanceArgsA 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 GetDBAuditInstanceResultA 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};