oci.Limits.Quota
Explore with Pulumi AI
This resource provides the Quota resource in Oracle Cloud Infrastructure Limits service.
Creates a new quota with the details supplied.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testQuota = new oci.limits.Quota("test_quota", {
compartmentId: tenancyOcid,
description: quotaDescription,
name: quotaName,
statements: quotaStatements,
definedTags: {
"Operations.CostCenter": "42",
},
freeformTags: {
Department: "Finance",
},
locks: [{
type: quotaLocksType,
message: quotaLocksMessage,
relatedResourceId: testRelatedResource.id,
}],
});
import pulumi
import pulumi_oci as oci
test_quota = oci.limits.Quota("test_quota",
compartment_id=tenancy_ocid,
description=quota_description,
name=quota_name,
statements=quota_statements,
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
locks=[oci.limits.QuotaLockArgs(
type=quota_locks_type,
message=quota_locks_message,
related_resource_id=test_related_resource["id"],
)])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Limits"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Limits.NewQuota(ctx, "test_quota", &Limits.QuotaArgs{
CompartmentId: pulumi.Any(tenancyOcid),
Description: pulumi.Any(quotaDescription),
Name: pulumi.Any(quotaName),
Statements: pulumi.Any(quotaStatements),
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
Locks: limits.QuotaLockArray{
&limits.QuotaLockArgs{
Type: pulumi.Any(quotaLocksType),
Message: pulumi.Any(quotaLocksMessage),
RelatedResourceId: pulumi.Any(testRelatedResource.Id),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testQuota = new Oci.Limits.Quota("test_quota", new()
{
CompartmentId = tenancyOcid,
Description = quotaDescription,
Name = quotaName,
Statements = quotaStatements,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
Locks = new[]
{
new Oci.Limits.Inputs.QuotaLockArgs
{
Type = quotaLocksType,
Message = quotaLocksMessage,
RelatedResourceId = testRelatedResource.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Limits.Quota;
import com.pulumi.oci.Limits.QuotaArgs;
import com.pulumi.oci.Limits.inputs.QuotaLockArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testQuota = new Quota("testQuota", QuotaArgs.builder()
.compartmentId(tenancyOcid)
.description(quotaDescription)
.name(quotaName)
.statements(quotaStatements)
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.locks(QuotaLockArgs.builder()
.type(quotaLocksType)
.message(quotaLocksMessage)
.relatedResourceId(testRelatedResource.id())
.build())
.build());
}
}
resources:
testQuota:
type: oci:Limits:Quota
name: test_quota
properties:
compartmentId: ${tenancyOcid}
description: ${quotaDescription}
name: ${quotaName}
statements: ${quotaStatements}
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
locks:
- type: ${quotaLocksType}
message: ${quotaLocksMessage}
relatedResourceId: ${testRelatedResource.id}
Create Quota Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Quota(name: string, args: QuotaArgs, opts?: CustomResourceOptions);
@overload
def Quota(resource_name: str,
args: QuotaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Quota(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
description: Optional[str] = None,
statements: Optional[Sequence[str]] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
locks: Optional[Sequence[_limits.QuotaLockArgs]] = None,
name: Optional[str] = None)
func NewQuota(ctx *Context, name string, args QuotaArgs, opts ...ResourceOption) (*Quota, error)
public Quota(string name, QuotaArgs args, CustomResourceOptions? opts = null)
type: oci:Limits:Quota
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 QuotaArgs
- 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 QuotaArgs
- 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 QuotaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuotaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QuotaArgs
- 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 quotaResource = new Oci.Limits.Quota("quotaResource", new()
{
CompartmentId = "string",
Description = "string",
Statements = new[]
{
"string",
},
DefinedTags =
{
{ "string", "any" },
},
FreeformTags =
{
{ "string", "any" },
},
Locks = new[]
{
new Oci.Limits.Inputs.QuotaLockArgs
{
Type = "string",
Message = "string",
RelatedResourceId = "string",
TimeCreated = "string",
},
},
Name = "string",
});
example, err := Limits.NewQuota(ctx, "quotaResource", &Limits.QuotaArgs{
CompartmentId: pulumi.String("string"),
Description: pulumi.String("string"),
Statements: pulumi.StringArray{
pulumi.String("string"),
},
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Locks: limits.QuotaLockArray{
&limits.QuotaLockArgs{
Type: pulumi.String("string"),
Message: pulumi.String("string"),
RelatedResourceId: pulumi.String("string"),
TimeCreated: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
var quotaResource = new Quota("quotaResource", QuotaArgs.builder()
.compartmentId("string")
.description("string")
.statements("string")
.definedTags(Map.of("string", "any"))
.freeformTags(Map.of("string", "any"))
.locks(QuotaLockArgs.builder()
.type("string")
.message("string")
.relatedResourceId("string")
.timeCreated("string")
.build())
.name("string")
.build());
quota_resource = oci.limits.Quota("quotaResource",
compartment_id="string",
description="string",
statements=["string"],
defined_tags={
"string": "any",
},
freeform_tags={
"string": "any",
},
locks=[oci.limits.QuotaLockArgs(
type="string",
message="string",
related_resource_id="string",
time_created="string",
)],
name="string")
const quotaResource = new oci.limits.Quota("quotaResource", {
compartmentId: "string",
description: "string",
statements: ["string"],
definedTags: {
string: "any",
},
freeformTags: {
string: "any",
},
locks: [{
type: "string",
message: "string",
relatedResourceId: "string",
timeCreated: "string",
}],
name: "string",
});
type: oci:Limits:Quota
properties:
compartmentId: string
definedTags:
string: any
description: string
freeformTags:
string: any
locks:
- message: string
relatedResourceId: string
timeCreated: string
type: string
name: string
statements:
- string
Quota 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 Quota resource accepts the following input properties:
- Compartment
Id string - The OCID of the compartment containing the resource this quota applies to.
- Description string
- (Updatable) The description you assign to the quota.
- Statements List<string>
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Locks
List<Quota
Lock> - Locks associated with this resource.
- Name string
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- Compartment
Id string - The OCID of the compartment containing the resource this quota applies to.
- Description string
- (Updatable) The description you assign to the quota.
- Statements []string
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Locks
[]Quota
Lock Args - Locks associated with this resource.
- Name string
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- compartment
Id String - The OCID of the compartment containing the resource this quota applies to.
- description String
- (Updatable) The description you assign to the quota.
- statements List<String>
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- locks
List<Quota
Lock> - Locks associated with this resource.
- name String
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- compartment
Id string - The OCID of the compartment containing the resource this quota applies to.
- description string
- (Updatable) The description you assign to the quota.
- statements string[]
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- locks
Quota
Lock[] - Locks associated with this resource.
- name string
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- compartment_
id str - The OCID of the compartment containing the resource this quota applies to.
- description str
- (Updatable) The description you assign to the quota.
- statements Sequence[str]
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- locks
Sequence[limits.
Quota Lock Args] - Locks associated with this resource.
- name str
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- compartment
Id String - The OCID of the compartment containing the resource this quota applies to.
- description String
- (Updatable) The description you assign to the quota.
- statements List<String>
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- locks List<Property Map>
- Locks associated with this resource.
- name String
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
Outputs
All input properties are implicitly available as output properties. Additionally, the Quota resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Lock boolOverride - this is a computed field which is set to true if any lock is present`
- State string
- The quota's current state.
- Time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Lock boolOverride - this is a computed field which is set to true if any lock is present`
- State string
- The quota's current state.
- Time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- is
Lock BooleanOverride - this is a computed field which is set to true if any lock is present`
- state String
- The quota's current state.
- time
Created String - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id string
- The provider-assigned unique ID for this managed resource.
- is
Lock booleanOverride - this is a computed field which is set to true if any lock is present`
- state string
- The quota's current state.
- time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id str
- The provider-assigned unique ID for this managed resource.
- is_
lock_ booloverride - this is a computed field which is set to true if any lock is present`
- state str
- The quota's current state.
- time_
created str - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- is
Lock BooleanOverride - this is a computed field which is set to true if any lock is present`
- state String
- The quota's current state.
- time
Created String - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Look up Existing Quota Resource
Get an existing Quota 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?: QuotaState, opts?: CustomResourceOptions): Quota
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_lock_override: Optional[bool] = None,
locks: Optional[Sequence[_limits.QuotaLockArgs]] = None,
name: Optional[str] = None,
state: Optional[str] = None,
statements: Optional[Sequence[str]] = None,
time_created: Optional[str] = None) -> Quota
func GetQuota(ctx *Context, name string, id IDInput, state *QuotaState, opts ...ResourceOption) (*Quota, error)
public static Quota Get(string name, Input<string> id, QuotaState? state, CustomResourceOptions? opts = null)
public static Quota get(String name, Output<String> id, QuotaState 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.
- Compartment
Id string - The OCID of the compartment containing the resource this quota applies to.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) The description you assign to the quota.
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Lock boolOverride - this is a computed field which is set to true if any lock is present`
- Locks
List<Quota
Lock> - Locks associated with this resource.
- Name string
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- State string
- The quota's current state.
- Statements List<string>
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment containing the resource this quota applies to.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- (Updatable) The description you assign to the quota.
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Lock boolOverride - this is a computed field which is set to true if any lock is present`
- Locks
[]Quota
Lock Args - Locks associated with this resource.
- Name string
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- State string
- The quota's current state.
- Statements []string
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment containing the resource this quota applies to.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) The description you assign to the quota.
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Lock BooleanOverride - this is a computed field which is set to true if any lock is present`
- locks
List<Quota
Lock> - Locks associated with this resource.
- name String
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- state String
- The quota's current state.
- statements List<String>
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment containing the resource this quota applies to.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description string
- (Updatable) The description you assign to the quota.
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Lock booleanOverride - this is a computed field which is set to true if any lock is present`
- locks
Quota
Lock[] - Locks associated with this resource.
- name string
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- state string
- The quota's current state.
- statements string[]
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment containing the resource this quota applies to.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description str
- (Updatable) The description you assign to the quota.
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
lock_ booloverride - this is a computed field which is set to true if any lock is present`
- locks
Sequence[limits.
Quota Lock Args] - Locks associated with this resource.
- name str
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- state str
- The quota's current state.
- statements Sequence[str]
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time_
created str - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment containing the resource this quota applies to.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- (Updatable) The description you assign to the quota.
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Lock BooleanOverride - this is a computed field which is set to true if any lock is present`
- locks List<Property Map>
- Locks associated with this resource.
- name String
- The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
- state String
- The quota's current state.
- statements List<String>
(Updatable) An array of quota statements written in the declarative quota statement language.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
QuotaLock, QuotaLockArgs
- Type string
- Lock type.
- Message string
- A message added by the lock creator. The message typically gives an indication of why the resource is locked.
- string
- The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
- Time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Type string
- Lock type.
- Message string
- A message added by the lock creator. The message typically gives an indication of why the resource is locked.
- string
- The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
- Time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- type String
- Lock type.
- message String
- A message added by the lock creator. The message typically gives an indication of why the resource is locked.
- String
- The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
- time
Created String - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- type string
- Lock type.
- message string
- A message added by the lock creator. The message typically gives an indication of why the resource is locked.
- string
- The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
- time
Created string - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- type str
- Lock type.
- message str
- A message added by the lock creator. The message typically gives an indication of why the resource is locked.
- str
- The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
- time_
created str - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- type String
- Lock type.
- message String
- A message added by the lock creator. The message typically gives an indication of why the resource is locked.
- String
- The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
- time
Created String - Date and time the quota was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Import
Quotas can be imported using the id
, e.g.
$ pulumi import oci:Limits/quota:Quota test_quota "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.