alicloud.arms.AddonRelease
Explore with Pulumi AI
Provides a ARMS Addon Release resource. Release package of observability addon.
For information about ARMS Addon Release and how to use it, see What is Addon Release.
NOTE: Available since v1.212.0.
Create AddonRelease Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AddonRelease(name: string, args: AddonReleaseArgs, opts?: CustomResourceOptions);
@overload
def AddonRelease(resource_name: str,
args: AddonReleaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AddonRelease(resource_name: str,
opts: Optional[ResourceOptions] = None,
addon_name: Optional[str] = None,
addon_version: Optional[str] = None,
environment_id: Optional[str] = None,
addon_release_name: Optional[str] = None,
aliyun_lang: Optional[str] = None,
values: Optional[str] = None)
func NewAddonRelease(ctx *Context, name string, args AddonReleaseArgs, opts ...ResourceOption) (*AddonRelease, error)
public AddonRelease(string name, AddonReleaseArgs args, CustomResourceOptions? opts = null)
public AddonRelease(String name, AddonReleaseArgs args)
public AddonRelease(String name, AddonReleaseArgs args, CustomResourceOptions options)
type: alicloud:arms:AddonRelease
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AddonReleaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AddonReleaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AddonReleaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AddonReleaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AddonReleaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var addonReleaseResource = new AliCloud.Arms.AddonRelease("addonReleaseResource", new()
{
AddonName = "string",
AddonVersion = "string",
EnvironmentId = "string",
AddonReleaseName = "string",
AliyunLang = "string",
Values = "string",
});
example, err := arms.NewAddonRelease(ctx, "addonReleaseResource", &arms.AddonReleaseArgs{
AddonName: pulumi.String("string"),
AddonVersion: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
AddonReleaseName: pulumi.String("string"),
AliyunLang: pulumi.String("string"),
Values: pulumi.String("string"),
})
var addonReleaseResource = new AddonRelease("addonReleaseResource", AddonReleaseArgs.builder()
.addonName("string")
.addonVersion("string")
.environmentId("string")
.addonReleaseName("string")
.aliyunLang("string")
.values("string")
.build());
addon_release_resource = alicloud.arms.AddonRelease("addonReleaseResource",
addon_name="string",
addon_version="string",
environment_id="string",
addon_release_name="string",
aliyun_lang="string",
values="string")
const addonReleaseResource = new alicloud.arms.AddonRelease("addonReleaseResource", {
addonName: "string",
addonVersion: "string",
environmentId: "string",
addonReleaseName: "string",
aliyunLang: "string",
values: "string",
});
type: alicloud:arms:AddonRelease
properties:
addonName: string
addonReleaseName: string
addonVersion: string
aliyunLang: string
environmentId: string
values: string
AddonRelease Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AddonRelease resource accepts the following input properties:
- Addon
Name string - Addon Name.
- Addon
Version string - Version number of Addon. Addon information can be obtained through ListAddons.
- Environment
Id string - Environment id.
- Addon
Release stringName - The name of the resource.
- Aliyun
Lang string - The installed locale.
- Values string
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- Addon
Name string - Addon Name.
- Addon
Version string - Version number of Addon. Addon information can be obtained through ListAddons.
- Environment
Id string - Environment id.
- Addon
Release stringName - The name of the resource.
- Aliyun
Lang string - The installed locale.
- Values string
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon
Name String - Addon Name.
- addon
Version String - Version number of Addon. Addon information can be obtained through ListAddons.
- environment
Id String - Environment id.
- addon
Release StringName - The name of the resource.
- aliyun
Lang String - The installed locale.
- values String
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon
Name string - Addon Name.
- addon
Version string - Version number of Addon. Addon information can be obtained through ListAddons.
- environment
Id string - Environment id.
- addon
Release stringName - The name of the resource.
- aliyun
Lang string - The installed locale.
- values string
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon_
name str - Addon Name.
- addon_
version str - Version number of Addon. Addon information can be obtained through ListAddons.
- environment_
id str - Environment id.
- addon_
release_ strname - The name of the resource.
- aliyun_
lang str - The installed locale.
- values str
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon
Name String - Addon Name.
- addon
Version String - Version number of Addon. Addon information can be obtained through ListAddons.
- environment
Id String - Environment id.
- addon
Release StringName - The name of the resource.
- aliyun
Lang String - The installed locale.
- values String
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
Outputs
All input properties are implicitly available as output properties. Additionally, the AddonRelease resource produces the following output properties:
- Create
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Create
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- create
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- create
Time string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- create_
time str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- create
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AddonRelease Resource
Get an existing AddonRelease resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AddonReleaseState, opts?: CustomResourceOptions): AddonRelease
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addon_name: Optional[str] = None,
addon_release_name: Optional[str] = None,
addon_version: Optional[str] = None,
aliyun_lang: Optional[str] = None,
create_time: Optional[str] = None,
environment_id: Optional[str] = None,
values: Optional[str] = None) -> AddonRelease
func GetAddonRelease(ctx *Context, name string, id IDInput, state *AddonReleaseState, opts ...ResourceOption) (*AddonRelease, error)
public static AddonRelease Get(string name, Input<string> id, AddonReleaseState? state, CustomResourceOptions? opts = null)
public static AddonRelease get(String name, Output<String> id, AddonReleaseState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addon
Name string - Addon Name.
- Addon
Release stringName - The name of the resource.
- Addon
Version string - Version number of Addon. Addon information can be obtained through ListAddons.
- Aliyun
Lang string - The installed locale.
- Create
Time string - Creation time.
- Environment
Id string - Environment id.
- Values string
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- Addon
Name string - Addon Name.
- Addon
Release stringName - The name of the resource.
- Addon
Version string - Version number of Addon. Addon information can be obtained through ListAddons.
- Aliyun
Lang string - The installed locale.
- Create
Time string - Creation time.
- Environment
Id string - Environment id.
- Values string
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon
Name String - Addon Name.
- addon
Release StringName - The name of the resource.
- addon
Version String - Version number of Addon. Addon information can be obtained through ListAddons.
- aliyun
Lang String - The installed locale.
- create
Time String - Creation time.
- environment
Id String - Environment id.
- values String
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon
Name string - Addon Name.
- addon
Release stringName - The name of the resource.
- addon
Version string - Version number of Addon. Addon information can be obtained through ListAddons.
- aliyun
Lang string - The installed locale.
- create
Time string - Creation time.
- environment
Id string - Environment id.
- values string
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon_
name str - Addon Name.
- addon_
release_ strname - The name of the resource.
- addon_
version str - Version number of Addon. Addon information can be obtained through ListAddons.
- aliyun_
lang str - The installed locale.
- create_
time str - Creation time.
- environment_
id str - Environment id.
- values str
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
- addon
Name String - Addon Name.
- addon
Release StringName - The name of the resource.
- addon
Version String - Version number of Addon. Addon information can be obtained through ListAddons.
- aliyun
Lang String - The installed locale.
- create
Time String - Creation time.
- environment
Id String - Environment id.
- values String
- Configuration information for installing Addon. Obtain the configuration template from ListAddonSchema, for example, {"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}.
Import
ARMS Addon Release can be imported using the id, e.g.
$ pulumi import alicloud:arms/addonRelease:AddonRelease example <environment_id>:<addon_release_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.