1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. quotas
  5. ApplicationInfo
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.quotas.ApplicationInfo

Explore with Pulumi AI

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 This property is required. string
The unique name of the resource.
args This property is required. ApplicationInfoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ApplicationInfoArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationInfoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
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());
Copy
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")
Copy
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",
});
Copy
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
Copy

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:

DesireValue
This property is required.
Changes to this property will trigger replacement.
double
ProductCode
This property is required.
Changes to this property will trigger replacement.
string
QuotaActionCode
This property is required.
Changes to this property will trigger replacement.
string
Reason
This property is required.
Changes to this property will trigger replacement.
string
AuditMode Changes to this property will trigger replacement. string
Dimensions Changes to this property will trigger replacement. List<Pulumi.AliCloud.Quotas.Inputs.ApplicationInfoDimension>
EffectiveTime Changes to this property will trigger replacement. string
EnvLanguage Changes to this property will trigger replacement. string
ExpireTime Changes to this property will trigger replacement. string
NoticeType Changes to this property will trigger replacement. int
QuotaCategory Changes to this property will trigger replacement. string
DesireValue
This property is required.
Changes to this property will trigger replacement.
float64
ProductCode
This property is required.
Changes to this property will trigger replacement.
string
QuotaActionCode
This property is required.
Changes to this property will trigger replacement.
string
Reason
This property is required.
Changes to this property will trigger replacement.
string
AuditMode Changes to this property will trigger replacement. string
Dimensions Changes to this property will trigger replacement. []ApplicationInfoDimensionArgs
EffectiveTime Changes to this property will trigger replacement. string
EnvLanguage Changes to this property will trigger replacement. string
ExpireTime Changes to this property will trigger replacement. string
NoticeType Changes to this property will trigger replacement. int
QuotaCategory Changes to this property will trigger replacement. string
desireValue
This property is required.
Changes to this property will trigger replacement.
Double
productCode
This property is required.
Changes to this property will trigger replacement.
String
quotaActionCode
This property is required.
Changes to this property will trigger replacement.
String
reason
This property is required.
Changes to this property will trigger replacement.
String
auditMode Changes to this property will trigger replacement. String
dimensions Changes to this property will trigger replacement. List<ApplicationInfoDimension>
effectiveTime Changes to this property will trigger replacement. String
envLanguage Changes to this property will trigger replacement. String
expireTime Changes to this property will trigger replacement. String
noticeType Changes to this property will trigger replacement. Integer
quotaCategory Changes to this property will trigger replacement. String
desireValue
This property is required.
Changes to this property will trigger replacement.
number
productCode
This property is required.
Changes to this property will trigger replacement.
string
quotaActionCode
This property is required.
Changes to this property will trigger replacement.
string
reason
This property is required.
Changes to this property will trigger replacement.
string
auditMode Changes to this property will trigger replacement. string
dimensions Changes to this property will trigger replacement. ApplicationInfoDimension[]
effectiveTime Changes to this property will trigger replacement. string
envLanguage Changes to this property will trigger replacement. string
expireTime Changes to this property will trigger replacement. string
noticeType Changes to this property will trigger replacement. number
quotaCategory Changes to this property will trigger replacement. string
desire_value
This property is required.
Changes to this property will trigger replacement.
float
product_code
This property is required.
Changes to this property will trigger replacement.
str
quota_action_code
This property is required.
Changes to this property will trigger replacement.
str
reason
This property is required.
Changes to this property will trigger replacement.
str
audit_mode Changes to this property will trigger replacement. str
dimensions Changes to this property will trigger replacement. Sequence[ApplicationInfoDimensionArgs]
effective_time Changes to this property will trigger replacement. str
env_language Changes to this property will trigger replacement. str
expire_time Changes to this property will trigger replacement. str
notice_type Changes to this property will trigger replacement. int
quota_category Changes to this property will trigger replacement. str
desireValue
This property is required.
Changes to this property will trigger replacement.
Number
productCode
This property is required.
Changes to this property will trigger replacement.
String
quotaActionCode
This property is required.
Changes to this property will trigger replacement.
String
reason
This property is required.
Changes to this property will trigger replacement.
String
auditMode Changes to this property will trigger replacement. String
dimensions Changes to this property will trigger replacement. List<Property Map>
effectiveTime Changes to this property will trigger replacement. String
envLanguage Changes to this property will trigger replacement. String
expireTime Changes to this property will trigger replacement. String
noticeType Changes to this property will trigger replacement. Number
quotaCategory Changes to this property will trigger replacement. String

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)
resources:  _:    type: alicloud:quotas:ApplicationInfo    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApproveValue string
AuditMode Changes to this property will trigger replacement. string
AuditReason string
CreateTime string
DesireValue Changes to this property will trigger replacement. double
Dimensions Changes to this property will trigger replacement. List<Pulumi.AliCloud.Quotas.Inputs.ApplicationInfoDimension>
EffectiveTime Changes to this property will trigger replacement. string
EnvLanguage Changes to this property will trigger replacement. string
ExpireTime Changes to this property will trigger replacement. string
NoticeType Changes to this property will trigger replacement. int
ProductCode Changes to this property will trigger replacement. string
QuotaActionCode Changes to this property will trigger replacement. string
QuotaCategory Changes to this property will trigger replacement. string
QuotaDescription string
QuotaName string
QuotaUnit string
Reason Changes to this property will trigger replacement. string
Status string
ApproveValue string
AuditMode Changes to this property will trigger replacement. string
AuditReason string
CreateTime string
DesireValue Changes to this property will trigger replacement. float64
Dimensions Changes to this property will trigger replacement. []ApplicationInfoDimensionArgs
EffectiveTime Changes to this property will trigger replacement. string
EnvLanguage Changes to this property will trigger replacement. string
ExpireTime Changes to this property will trigger replacement. string
NoticeType Changes to this property will trigger replacement. int
ProductCode Changes to this property will trigger replacement. string
QuotaActionCode Changes to this property will trigger replacement. string
QuotaCategory Changes to this property will trigger replacement. string
QuotaDescription string
QuotaName string
QuotaUnit string
Reason Changes to this property will trigger replacement. string
Status string
approveValue String
auditMode Changes to this property will trigger replacement. String
auditReason String
createTime String
desireValue Changes to this property will trigger replacement. Double
dimensions Changes to this property will trigger replacement. List<ApplicationInfoDimension>
effectiveTime Changes to this property will trigger replacement. String
envLanguage Changes to this property will trigger replacement. String
expireTime Changes to this property will trigger replacement. String
noticeType Changes to this property will trigger replacement. Integer
productCode Changes to this property will trigger replacement. String
quotaActionCode Changes to this property will trigger replacement. String
quotaCategory Changes to this property will trigger replacement. String
quotaDescription String
quotaName String
quotaUnit String
reason Changes to this property will trigger replacement. String
status String
approveValue string
auditMode Changes to this property will trigger replacement. string
auditReason string
createTime string
desireValue Changes to this property will trigger replacement. number
dimensions Changes to this property will trigger replacement. ApplicationInfoDimension[]
effectiveTime Changes to this property will trigger replacement. string
envLanguage Changes to this property will trigger replacement. string
expireTime Changes to this property will trigger replacement. string
noticeType Changes to this property will trigger replacement. number
productCode Changes to this property will trigger replacement. string
quotaActionCode Changes to this property will trigger replacement. string
quotaCategory Changes to this property will trigger replacement. string
quotaDescription string
quotaName string
quotaUnit string
reason Changes to this property will trigger replacement. string
status string
approve_value str
audit_mode Changes to this property will trigger replacement. str
audit_reason str
create_time str
desire_value Changes to this property will trigger replacement. float
dimensions Changes to this property will trigger replacement. Sequence[ApplicationInfoDimensionArgs]
effective_time Changes to this property will trigger replacement. str
env_language Changes to this property will trigger replacement. str
expire_time Changes to this property will trigger replacement. str
notice_type Changes to this property will trigger replacement. int
product_code Changes to this property will trigger replacement. str
quota_action_code Changes to this property will trigger replacement. str
quota_category Changes to this property will trigger replacement. str
quota_description str
quota_name str
quota_unit str
reason Changes to this property will trigger replacement. str
status str
approveValue String
auditMode Changes to this property will trigger replacement. String
auditReason String
createTime String
desireValue Changes to this property will trigger replacement. Number
dimensions Changes to this property will trigger replacement. List<Property Map>
effectiveTime Changes to this property will trigger replacement. String
envLanguage Changes to this property will trigger replacement. String
expireTime Changes to this property will trigger replacement. String
noticeType Changes to this property will trigger replacement. Number
productCode Changes to this property will trigger replacement. String
quotaActionCode Changes to this property will trigger replacement. String
quotaCategory Changes to this property will trigger replacement. String
quotaDescription String
quotaName String
quotaUnit String
reason Changes to this property will trigger replacement. String
status String

Supporting Types

ApplicationInfoDimension
, ApplicationInfoDimensionArgs

Key Changes to this property will trigger replacement. string
Value Changes to this property will trigger replacement. string
Key Changes to this property will trigger replacement. string
Value Changes to this property will trigger replacement. string
key Changes to this property will trigger replacement. String
value Changes to this property will trigger replacement. String
key Changes to this property will trigger replacement. string
value Changes to this property will trigger replacement. string
key Changes to this property will trigger replacement. str
value Changes to this property will trigger replacement. str
key Changes to this property will trigger replacement. String
value Changes to this property will trigger replacement. String

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.