1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. quotas
  5. ApplicationInfo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.quotas.ApplicationInfo

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Create ApplicationInfo Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApplicationInfo(name: string, args: ApplicationInfoArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationInfo(resource_name: str,
                        args: ApplicationInfoArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationInfo(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        desire_value: Optional[float] = None,
                        product_code: Optional[str] = None,
                        quota_action_code: Optional[str] = None,
                        reason: Optional[str] = None,
                        audit_mode: Optional[str] = None,
                        dimensions: Optional[Sequence[ApplicationInfoDimensionArgs]] = None,
                        effective_time: Optional[str] = None,
                        env_language: Optional[str] = None,
                        expire_time: Optional[str] = None,
                        notice_type: Optional[int] = None,
                        quota_category: Optional[str] = None)
    func NewApplicationInfo(ctx *Context, name string, args ApplicationInfoArgs, opts ...ResourceOption) (*ApplicationInfo, error)
    public ApplicationInfo(string name, ApplicationInfoArgs args, CustomResourceOptions? opts = null)
    public ApplicationInfo(String name, ApplicationInfoArgs args)
    public ApplicationInfo(String name, ApplicationInfoArgs args, CustomResourceOptions options)
    
    type: alicloud:quotas:ApplicationInfo
    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 ApplicationInfoArgs
    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 ApplicationInfoArgs
    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 ApplicationInfoArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationInfoArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationInfoArgs
    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 applicationInfoResource = new AliCloud.Quotas.ApplicationInfo("applicationInfoResource", new()
    {
        DesireValue = 0,
        ProductCode = "string",
        QuotaActionCode = "string",
        Reason = "string",
        AuditMode = "string",
        Dimensions = new[]
        {
            new AliCloud.Quotas.Inputs.ApplicationInfoDimensionArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        EffectiveTime = "string",
        EnvLanguage = "string",
        ExpireTime = "string",
        NoticeType = 0,
        QuotaCategory = "string",
    });
    
    example, err := quotas.NewApplicationInfo(ctx, "applicationInfoResource", &quotas.ApplicationInfoArgs{
    	DesireValue:     pulumi.Float64(0),
    	ProductCode:     pulumi.String("string"),
    	QuotaActionCode: pulumi.String("string"),
    	Reason:          pulumi.String("string"),
    	AuditMode:       pulumi.String("string"),
    	Dimensions: quotas.ApplicationInfoDimensionArray{
    		&quotas.ApplicationInfoDimensionArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	EffectiveTime: pulumi.String("string"),
    	EnvLanguage:   pulumi.String("string"),
    	ExpireTime:    pulumi.String("string"),
    	NoticeType:    pulumi.Int(0),
    	QuotaCategory: pulumi.String("string"),
    })
    
    var applicationInfoResource = new ApplicationInfo("applicationInfoResource", ApplicationInfoArgs.builder()
        .desireValue(0)
        .productCode("string")
        .quotaActionCode("string")
        .reason("string")
        .auditMode("string")
        .dimensions(ApplicationInfoDimensionArgs.builder()
            .key("string")
            .value("string")
            .build())
        .effectiveTime("string")
        .envLanguage("string")
        .expireTime("string")
        .noticeType(0)
        .quotaCategory("string")
        .build());
    
    application_info_resource = alicloud.quotas.ApplicationInfo("applicationInfoResource",
        desire_value=0,
        product_code="string",
        quota_action_code="string",
        reason="string",
        audit_mode="string",
        dimensions=[{
            "key": "string",
            "value": "string",
        }],
        effective_time="string",
        env_language="string",
        expire_time="string",
        notice_type=0,
        quota_category="string")
    
    const applicationInfoResource = new alicloud.quotas.ApplicationInfo("applicationInfoResource", {
        desireValue: 0,
        productCode: "string",
        quotaActionCode: "string",
        reason: "string",
        auditMode: "string",
        dimensions: [{
            key: "string",
            value: "string",
        }],
        effectiveTime: "string",
        envLanguage: "string",
        expireTime: "string",
        noticeType: 0,
        quotaCategory: "string",
    });
    
    type: alicloud:quotas:ApplicationInfo
    properties:
        auditMode: string
        desireValue: 0
        dimensions:
            - key: string
              value: string
        effectiveTime: string
        envLanguage: string
        expireTime: string
        noticeType: 0
        productCode: string
        quotaActionCode: string
        quotaCategory: string
        reason: string
    

    ApplicationInfo 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 ApplicationInfo resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApplicationInfo resource produces the following output properties:

    ApproveValue string
    AuditReason string
    CreateTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    QuotaDescription string
    QuotaName string
    QuotaUnit string
    Status string
    ApproveValue string
    AuditReason string
    CreateTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    QuotaDescription string
    QuotaName string
    QuotaUnit string
    Status string
    approveValue String
    auditReason String
    createTime String
    id String
    The provider-assigned unique ID for this managed resource.
    quotaDescription String
    quotaName String
    quotaUnit String
    status String
    approveValue string
    auditReason string
    createTime string
    id string
    The provider-assigned unique ID for this managed resource.
    quotaDescription string
    quotaName string
    quotaUnit string
    status string
    approve_value str
    audit_reason str
    create_time str
    id str
    The provider-assigned unique ID for this managed resource.
    quota_description str
    quota_name str
    quota_unit str
    status str
    approveValue String
    auditReason String
    createTime String
    id String
    The provider-assigned unique ID for this managed resource.
    quotaDescription String
    quotaName String
    quotaUnit String
    status String

    Look up Existing ApplicationInfo Resource

    Get an existing ApplicationInfo 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?: ApplicationInfoState, opts?: CustomResourceOptions): ApplicationInfo
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            approve_value: Optional[str] = None,
            audit_mode: Optional[str] = None,
            audit_reason: Optional[str] = None,
            create_time: Optional[str] = None,
            desire_value: Optional[float] = None,
            dimensions: Optional[Sequence[ApplicationInfoDimensionArgs]] = None,
            effective_time: Optional[str] = None,
            env_language: Optional[str] = None,
            expire_time: Optional[str] = None,
            notice_type: Optional[int] = None,
            product_code: Optional[str] = None,
            quota_action_code: Optional[str] = None,
            quota_category: Optional[str] = None,
            quota_description: Optional[str] = None,
            quota_name: Optional[str] = None,
            quota_unit: Optional[str] = None,
            reason: Optional[str] = None,
            status: Optional[str] = None) -> ApplicationInfo
    func GetApplicationInfo(ctx *Context, name string, id IDInput, state *ApplicationInfoState, opts ...ResourceOption) (*ApplicationInfo, error)
    public static ApplicationInfo Get(string name, Input<string> id, ApplicationInfoState? state, CustomResourceOptions? opts = null)
    public static ApplicationInfo get(String name, Output<String> id, ApplicationInfoState 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:

    Supporting Types

    ApplicationInfoDimension, ApplicationInfoDimensionArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    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.66.0 published on Friday, Nov 15, 2024 by Pulumi