Alibaba Cloud v3.63.0 published on Monday, Sep 30, 2024 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 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", "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=[alicloud.quotas.ApplicationInfoDimensionArgs(
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
The ApplicationInfo resource accepts the following input properties:
- Desire
Value double - Product
Code string - Quota
Action stringCode - Reason string
- Audit
Mode string - Dimensions
List<Pulumi.
Ali Cloud. Quotas. Inputs. Application Info Dimension> - Effective
Time string - Env
Language string - Expire
Time string - Notice
Type int - Quota
Category string
- Desire
Value float64 - Product
Code string - Quota
Action stringCode - Reason string
- Audit
Mode string - Dimensions
[]Application
Info Dimension Args - Effective
Time string - Env
Language string - Expire
Time string - Notice
Type int - Quota
Category string
- desire
Value Double - product
Code String - quota
Action StringCode - reason String
- audit
Mode String - dimensions
List<Application
Info Dimension> - effective
Time String - env
Language String - expire
Time String - notice
Type Integer - quota
Category String
- desire
Value number - product
Code string - quota
Action stringCode - reason string
- audit
Mode string - dimensions
Application
Info Dimension[] - effective
Time string - env
Language string - expire
Time string - notice
Type number - quota
Category string
- desire_
value float - product_
code str - quota_
action_ strcode - reason str
- audit_
mode str - dimensions
Sequence[Application
Info Dimension Args] - effective_
time str - env_
language str - expire_
time str - notice_
type int - quota_
category str
- desire
Value Number - product
Code String - quota
Action StringCode - reason String
- audit
Mode String - dimensions List<Property Map>
- effective
Time String - env
Language String - expire
Time String - notice
Type Number - quota
Category String
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)
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.
- Approve
Value string - Audit
Mode string - Audit
Reason string - Create
Time string - Desire
Value double - Dimensions
List<Pulumi.
Ali Cloud. Quotas. Inputs. Application Info Dimension> - Effective
Time string - Env
Language string - Expire
Time string - Notice
Type int - Product
Code string - Quota
Action stringCode - Quota
Category string - Quota
Description string - Quota
Name string - Quota
Unit string - Reason string
- Status string
- Approve
Value string - Audit
Mode string - Audit
Reason string - Create
Time string - Desire
Value float64 - Dimensions
[]Application
Info Dimension Args - Effective
Time string - Env
Language string - Expire
Time string - Notice
Type int - Product
Code string - Quota
Action stringCode - Quota
Category string - Quota
Description string - Quota
Name string - Quota
Unit string - Reason string
- Status string
- approve
Value String - audit
Mode String - audit
Reason String - create
Time String - desire
Value Double - dimensions
List<Application
Info Dimension> - effective
Time String - env
Language String - expire
Time String - notice
Type Integer - product
Code String - quota
Action StringCode - quota
Category String - quota
Description String - quota
Name String - quota
Unit String - reason String
- status String
- approve
Value string - audit
Mode string - audit
Reason string - create
Time string - desire
Value number - dimensions
Application
Info Dimension[] - effective
Time string - env
Language string - expire
Time string - notice
Type number - product
Code string - quota
Action stringCode - quota
Category string - quota
Description string - quota
Name string - quota
Unit string - reason string
- status string
- approve_
value str - audit_
mode str - audit_
reason str - create_
time str - desire_
value float - dimensions
Sequence[Application
Info Dimension Args] - effective_
time str - env_
language str - expire_
time str - notice_
type int - product_
code str - quota_
action_ strcode - quota_
category str - quota_
description str - quota_
name str - quota_
unit str - reason str
- status str
- approve
Value String - audit
Mode String - audit
Reason String - create
Time String - desire
Value Number - dimensions List<Property Map>
- effective
Time String - env
Language String - expire
Time String - notice
Type Number - product
Code String - quota
Action StringCode - quota
Category String - quota
Description String - quota
Name String - quota
Unit String - reason String
- 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.