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.
yundun¶
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.
- class
pulumi_alicloud.yundun.AwaitableGetBastionHostInstancesResult(description_regex=None, descriptions=None, id=None, ids=None, instances=None, output_file=None, tags=None)¶
- class
pulumi_alicloud.yundun.AwaitableGetDBAuditInstanceResult(description_regex=None, descriptions=None, id=None, ids=None, instances=None, output_file=None, tags=None)¶
- class
pulumi_alicloud.yundun.BastionHostInstance(resource_name, opts=None, description=None, license_code=None, period=None, resource_group_id=None, security_group_ids=None, tags=None, vswitch_id=None, __props__=None, __name__=None, __opts__=None)¶ Create a BastionHostInstance resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] description: Description of the instance. This name can have a string of 1 to 63 characters. :param pulumi.Input[float] period: 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”. :param pulumi.Input[str] resource_group_id: The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group. :param pulumi.Input[list] security_group_ids: security group IDs configured to bastionhost :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] vswitch_id: vSwtich ID configured to bastionhost
description: pulumi.Output[str] = None¶Description of the instance. This name can have a string of 1 to 63 characters.
period: pulumi.Output[float] = None¶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”.
resource_group_id: pulumi.Output[str] = None¶The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
security_group_ids: pulumi.Output[list] = None¶security group IDs configured to bastionhost
A mapping of tags to assign to the resource.
vswitch_id: pulumi.Output[str] = None¶vSwtich ID configured to bastionhost
- static
get(resource_name, id, opts=None, description=None, license_code=None, period=None, resource_group_id=None, security_group_ids=None, tags=None, vswitch_id=None)¶ Get an existing BastionHostInstance resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – Description of the instance. This name can have a string of 1 to 63 characters.
period (pulumi.Input[float]) – 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”.
resource_group_id (pulumi.Input[str]) – The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
security_group_ids (pulumi.Input[list]) – security group IDs configured to bastionhost
tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
vswitch_id (pulumi.Input[str]) – vSwtich ID configured to bastionhost
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_alicloud.yundun.DBAuditInstance(resource_name, opts=None, description=None, period=None, plan_code=None, resource_group_id=None, tags=None, vswitch_id=None, __props__=None, __name__=None, __opts__=None)¶ Create a DBAuditInstance resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] description: Description of the instance. This name can have a string of 1 to 63 characters. :param pulumi.Input[float] period: 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”. :param pulumi.Input[str] plan_code: Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium) :param pulumi.Input[str] resource_group_id: The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] vswitch_id: vSwtich ID configured to audit
description: pulumi.Output[str] = None¶Description of the instance. This name can have a string of 1 to 63 characters.
period: pulumi.Output[float] = None¶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”.
plan_code: pulumi.Output[str] = None¶Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
resource_group_id: pulumi.Output[str] = None¶The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
A mapping of tags to assign to the resource.
vswitch_id: pulumi.Output[str] = None¶vSwtich ID configured to audit
- static
get(resource_name, id, opts=None, description=None, period=None, plan_code=None, resource_group_id=None, tags=None, vswitch_id=None)¶ Get an existing DBAuditInstance resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – Description of the instance. This name can have a string of 1 to 63 characters.
period (pulumi.Input[float]) – 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”.
plan_code (pulumi.Input[str]) – Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
resource_group_id (pulumi.Input[str]) – The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
vswitch_id (pulumi.Input[str]) – vSwtich ID configured to audit
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_alicloud.yundun.GetBastionHostInstancesResult(description_regex=None, descriptions=None, id=None, ids=None, instances=None, output_file=None, tags=None)¶ A collection of values returned by getBastionHostInstances.
id= None¶The provider-assigned unique ID for this managed resource.
instances= None¶A list of apis. Each element contains the following attributes:
A map of tags assigned to the bastionhost instance.
- class
pulumi_alicloud.yundun.GetDBAuditInstanceResult(description_regex=None, descriptions=None, id=None, ids=None, instances=None, output_file=None, tags=None)¶ A collection of values returned by getDBAuditInstance.
id= None¶The provider-assigned unique ID for this managed resource.
pulumi_alicloud.yundun.get_bastion_host_instances(description_regex=None, ids=None, output_file=None, tags=None, opts=None)¶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+ .
import pulumi import pulumi_alicloud as alicloud instance_bastion_host_instances = alicloud.yundun.get_bastion_host_instances(name_regex="^bastionhost") pulumi.export("instance", [__item["id"] for __item in alicloud_yundun_bastionhost_instances["instance"]])
- Parameters
description_regex (str) – A regex string to filter results by the instance description.
ids (list) – Matched instance IDs to filter data source result.
output_file (str) – File name to persist data source output.
tags (dict) – A map of tags assigned to the bastionhost instance. It must be in the format:
``` data "yundun.getBastionHostInstances" "instance" { tags = { tagKey1 = "tagValue1" } } ```
pulumi_alicloud.yundun.get_db_audit_instance(description_regex=None, ids=None, output_file=None, tags=None, opts=None)¶Use this data source to access information about an existing resource.