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",
});
example, err := quotas.NewApplicationInfo(ctx, "applicationInfoResource", "as.ApplicationInfoArgs{
DesireValue: pulumi.Float64(0),
ProductCode: pulumi.String("string"),
QuotaActionCode: pulumi.String("string"),
Reason: pulumi.String("string"),
AuditMode: pulumi.String("string"),
Dimensions: quotas.ApplicationInfoDimensionArray{
"as.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:
- Desire
Value This property is required. Changes to this property will trigger replacement.
- Product
Code This property is required. Changes to this property will trigger replacement.
- Quota
Action Code This property is required. Changes to this property will trigger replacement.
- Reason
This property is required. Changes to this property will trigger replacement.
- Audit
Mode Changes to this property will trigger replacement.
- Dimensions
Changes to this property will trigger replacement.
Ali Cloud. Quotas. Inputs. Application Info Dimension> - Effective
Time Changes to this property will trigger replacement.
- Env
Language Changes to this property will trigger replacement.
- Expire
Time Changes to this property will trigger replacement.
- Notice
Type Changes to this property will trigger replacement.
- Quota
Category Changes to this property will trigger replacement.
- Desire
Value This property is required. Changes to this property will trigger replacement.
- Product
Code This property is required. Changes to this property will trigger replacement.
- Quota
Action Code This property is required. Changes to this property will trigger replacement.
- Reason
This property is required. Changes to this property will trigger replacement.
- Audit
Mode Changes to this property will trigger replacement.
- Dimensions
Changes to this property will trigger replacement.
Info Dimension Args - Effective
Time Changes to this property will trigger replacement.
- Env
Language Changes to this property will trigger replacement.
- Expire
Time Changes to this property will trigger replacement.
- Notice
Type Changes to this property will trigger replacement.
- Quota
Category Changes to this property will trigger replacement.
- desire
Value This property is required. Changes to this property will trigger replacement.
- product
Code This property is required. Changes to this property will trigger replacement.
- quota
Action Code This property is required. Changes to this property will trigger replacement.
- reason
This property is required. Changes to this property will trigger replacement.
- audit
Mode Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
Info Dimension> - effective
Time Changes to this property will trigger replacement.
- env
Language Changes to this property will trigger replacement.
- expire
Time Changes to this property will trigger replacement.
- notice
Type Changes to this property will trigger replacement.
- quota
Category Changes to this property will trigger replacement.
- desire
Value This property is required. Changes to this property will trigger replacement.
- product
Code This property is required. Changes to this property will trigger replacement.
- quota
Action Code This property is required. Changes to this property will trigger replacement.
- reason
This property is required. Changes to this property will trigger replacement.
- audit
Mode Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
Info Dimension[] - effective
Time Changes to this property will trigger replacement.
- env
Language Changes to this property will trigger replacement.
- expire
Time Changes to this property will trigger replacement.
- notice
Type Changes to this property will trigger replacement.
- quota
Category Changes to this property will trigger replacement.
- desire_
value This property is required. Changes to this property will trigger replacement.
- product_
code This property is required. Changes to this property will trigger replacement.
- quota_
action_ code This property is required. Changes to this property will trigger replacement.
- reason
This property is required. Changes to this property will trigger replacement.
- audit_
mode Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
Info Dimension Args] - effective_
time Changes to this property will trigger replacement.
- env_
language Changes to this property will trigger replacement.
- expire_
time Changes to this property will trigger replacement.
- notice_
type Changes to this property will trigger replacement.
- quota_
category Changes to this property will trigger replacement.
- desire
Value This property is required. Changes to this property will trigger replacement.
- product
Code This property is required. Changes to this property will trigger replacement.
- quota
Action Code This property is required. Changes to this property will trigger replacement.
- reason
This property is required. Changes to this property will trigger replacement.
- audit
Mode Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
- effective
Time Changes to this property will trigger replacement.
- env
Language Changes to this property will trigger replacement.
- expire
Time Changes to this property will trigger replacement.
- notice
Type Changes to this property will trigger replacement.
- quota
Category Changes to this property will trigger replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationInfo resource produces the following output properties:
- Approve
Value string - Audit
Reason string - Create
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Quota
Description string - Quota
Name string - Quota
Unit string - Status string
- Approve
Value string - Audit
Reason string - Create
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Quota
Description string - Quota
Name string - Quota
Unit string - Status string
- approve
Value String - audit
Reason String - create
Time String - id String
- The provider-assigned unique ID for this managed resource.
- quota
Description String - quota
Name String - quota
Unit String - status String
- approve
Value string - audit
Reason string - create
Time string - id string
- The provider-assigned unique ID for this managed resource.
- quota
Description string - quota
Name string - quota
Unit 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
- approve
Value String - audit
Reason String - create
Time String - id String
- The provider-assigned unique ID for this managed resource.
- quota
Description String - quota
Name String - quota
Unit 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.
- Approve
Value string - Audit
Mode Changes to this property will trigger replacement.
- Audit
Reason string - Create
Time string - Desire
Value Changes to this property will trigger replacement.
- Dimensions
Changes to this property will trigger replacement.
Ali Cloud. Quotas. Inputs. Application Info Dimension> - Effective
Time Changes to this property will trigger replacement.
- Env
Language Changes to this property will trigger replacement.
- Expire
Time Changes to this property will trigger replacement.
- Notice
Type Changes to this property will trigger replacement.
- Product
Code Changes to this property will trigger replacement.
- Quota
Action Code Changes to this property will trigger replacement.
- Quota
Category Changes to this property will trigger replacement.
- Quota
Description string - Quota
Name string - Quota
Unit string - Reason
Changes to this property will trigger replacement.
- Status string
- Approve
Value string - Audit
Mode Changes to this property will trigger replacement.
- Audit
Reason string - Create
Time string - Desire
Value Changes to this property will trigger replacement.
- Dimensions
Changes to this property will trigger replacement.
Info Dimension Args - Effective
Time Changes to this property will trigger replacement.
- Env
Language Changes to this property will trigger replacement.
- Expire
Time Changes to this property will trigger replacement.
- Notice
Type Changes to this property will trigger replacement.
- Product
Code Changes to this property will trigger replacement.
- Quota
Action Code Changes to this property will trigger replacement.
- Quota
Category Changes to this property will trigger replacement.
- Quota
Description string - Quota
Name string - Quota
Unit string - Reason
Changes to this property will trigger replacement.
- Status string
- approve
Value String - audit
Mode Changes to this property will trigger replacement.
- audit
Reason String - create
Time String - desire
Value Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
Info Dimension> - effective
Time Changes to this property will trigger replacement.
- env
Language Changes to this property will trigger replacement.
- expire
Time Changes to this property will trigger replacement.
- notice
Type Changes to this property will trigger replacement.
- product
Code Changes to this property will trigger replacement.
- quota
Action Code Changes to this property will trigger replacement.
- quota
Category Changes to this property will trigger replacement.
- quota
Description String - quota
Name String - quota
Unit String - reason
Changes to this property will trigger replacement.
- status String
- approve
Value string - audit
Mode Changes to this property will trigger replacement.
- audit
Reason string - create
Time string - desire
Value Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
Info Dimension[] - effective
Time Changes to this property will trigger replacement.
- env
Language Changes to this property will trigger replacement.
- expire
Time Changes to this property will trigger replacement.
- notice
Type Changes to this property will trigger replacement.
- product
Code Changes to this property will trigger replacement.
- quota
Action Code Changes to this property will trigger replacement.
- quota
Category Changes to this property will trigger replacement.
- quota
Description string - quota
Name string - quota
Unit string - reason
Changes to this property will trigger replacement.
- status string
- approve_
value str - audit_
mode Changes to this property will trigger replacement.
- audit_
reason str - create_
time str - desire_
value Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
Info Dimension Args] - effective_
time Changes to this property will trigger replacement.
- env_
language Changes to this property will trigger replacement.
- expire_
time Changes to this property will trigger replacement.
- notice_
type Changes to this property will trigger replacement.
- product_
code Changes to this property will trigger replacement.
- quota_
action_ code Changes to this property will trigger replacement.
- quota_
category Changes to this property will trigger replacement.
- quota_
description str - quota_
name str - quota_
unit str - reason
Changes to this property will trigger replacement.
- status str
- approve
Value String - audit
Mode Changes to this property will trigger replacement.
- audit
Reason String - create
Time String - desire
Value Changes to this property will trigger replacement.
- dimensions
Changes to this property will trigger replacement.
- effective
Time Changes to this property will trigger replacement.
- env
Language Changes to this property will trigger replacement.
- expire
Time Changes to this property will trigger replacement.
- notice
Type Changes to this property will trigger replacement.
- product
Code Changes to this property will trigger replacement.
- quota
Action Code Changes to this property will trigger replacement.
- quota
Category Changes to this property will trigger replacement.
- quota
Description String - quota
Name String - quota
Unit String - reason
Changes to this property will trigger replacement.
- status String
Supporting Types
ApplicationInfoDimension, ApplicationInfoDimensionArgs
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.