1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. arms
  5. AddonRelease
Alibaba Cloud v3.68.0 published on Monday, Dec 2, 2024 by Pulumi

alicloud.arms.AddonRelease

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.68.0 published on Monday, Dec 2, 2024 by Pulumi

    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:

    AddonName string
    Addon Name.
    AddonVersion string
    Version number of Addon. Addon information can be obtained through ListAddons.
    EnvironmentId string
    Environment id.
    AddonReleaseName string
    The name of the resource.
    AliyunLang 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"}.
    AddonName string
    Addon Name.
    AddonVersion string
    Version number of Addon. Addon information can be obtained through ListAddons.
    EnvironmentId string
    Environment id.
    AddonReleaseName string
    The name of the resource.
    AliyunLang 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"}.
    addonName String
    Addon Name.
    addonVersion String
    Version number of Addon. Addon information can be obtained through ListAddons.
    environmentId String
    Environment id.
    addonReleaseName String
    The name of the resource.
    aliyunLang 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"}.
    addonName string
    Addon Name.
    addonVersion string
    Version number of Addon. Addon information can be obtained through ListAddons.
    environmentId string
    Environment id.
    addonReleaseName string
    The name of the resource.
    aliyunLang 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_name str
    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"}.
    addonName String
    Addon Name.
    addonVersion String
    Version number of Addon. Addon information can be obtained through ListAddons.
    environmentId String
    Environment id.
    addonReleaseName String
    The name of the resource.
    aliyunLang 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:

    CreateTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreateTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    createTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    createTime 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.
    createTime 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.
    The following state arguments are supported:
    AddonName string
    Addon Name.
    AddonReleaseName string
    The name of the resource.
    AddonVersion string
    Version number of Addon. Addon information can be obtained through ListAddons.
    AliyunLang string
    The installed locale.
    CreateTime string
    Creation time.
    EnvironmentId 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"}.
    AddonName string
    Addon Name.
    AddonReleaseName string
    The name of the resource.
    AddonVersion string
    Version number of Addon. Addon information can be obtained through ListAddons.
    AliyunLang string
    The installed locale.
    CreateTime string
    Creation time.
    EnvironmentId 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"}.
    addonName String
    Addon Name.
    addonReleaseName String
    The name of the resource.
    addonVersion String
    Version number of Addon. Addon information can be obtained through ListAddons.
    aliyunLang String
    The installed locale.
    createTime String
    Creation time.
    environmentId 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"}.
    addonName string
    Addon Name.
    addonReleaseName string
    The name of the resource.
    addonVersion string
    Version number of Addon. Addon information can be obtained through ListAddons.
    aliyunLang string
    The installed locale.
    createTime string
    Creation time.
    environmentId 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_name str
    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"}.
    addonName String
    Addon Name.
    addonReleaseName String
    The name of the resource.
    addonVersion String
    Version number of Addon. Addon information can be obtained through ListAddons.
    aliyunLang String
    The installed locale.
    createTime String
    Creation time.
    environmentId 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.
    alicloud logo
    Alibaba Cloud v3.68.0 published on Monday, Dec 2, 2024 by Pulumi