Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.bigqueryreservation/v1.CapacityCommitment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new capacity commitment resource. Auto-naming is currently not supported for this resource.
Create CapacityCommitment Resource
new CapacityCommitment(name: string, args?: CapacityCommitmentArgs, opts?: CustomResourceOptions);
@overload
def CapacityCommitment(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_commitment_id: Optional[str] = None,
edition: Optional[CapacityCommitmentEdition] = None,
enforce_single_admin_project_per_org: Optional[bool] = None,
location: Optional[str] = None,
multi_region_auxiliary: Optional[bool] = None,
plan: Optional[CapacityCommitmentPlan] = None,
project: Optional[str] = None,
renewal_plan: Optional[CapacityCommitmentRenewalPlan] = None,
slot_count: Optional[str] = None)
@overload
def CapacityCommitment(resource_name: str,
args: Optional[CapacityCommitmentArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewCapacityCommitment(ctx *Context, name string, args *CapacityCommitmentArgs, opts ...ResourceOption) (*CapacityCommitment, error)
public CapacityCommitment(string name, CapacityCommitmentArgs? args = null, CustomResourceOptions? opts = null)
public CapacityCommitment(String name, CapacityCommitmentArgs args)
public CapacityCommitment(String name, CapacityCommitmentArgs args, CustomResourceOptions options)
type: google-native:bigqueryreservation/v1:CapacityCommitment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityCommitmentArgs
- 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 CapacityCommitmentArgs
- 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 CapacityCommitmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapacityCommitment 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 CapacityCommitment resource accepts the following input properties:
- Capacity
Commitment stringId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- Edition
Pulumi.
Google Native. Big Query Reservation. V1. Capacity Commitment Edition Edition of the capacity commitment.
- Enforce
Single boolAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- Location string
- Multi
Region boolAuxiliary Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- Plan
Pulumi.
Google Native. Big Query Reservation. V1. Capacity Commitment Plan Capacity commitment commitment plan.
- Project string
- Renewal
Plan Pulumi.Google Native. Big Query Reservation. V1. Capacity Commitment Renewal Plan The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- Slot
Count string Number of slots in this commitment.
- Capacity
Commitment stringId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- Edition
Capacity
Commitment Edition Edition of the capacity commitment.
- Enforce
Single boolAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- Location string
- Multi
Region boolAuxiliary Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- Plan
Capacity
Commitment Plan Capacity commitment commitment plan.
- Project string
- Renewal
Plan CapacityCommitment Renewal Plan The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- Slot
Count string Number of slots in this commitment.
- capacity
Commitment StringId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition
Capacity
Commitment Edition Edition of the capacity commitment.
- enforce
Single BooleanAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location String
- multi
Region BooleanAuxiliary Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan
Capacity
Commitment Plan Capacity commitment commitment plan.
- project String
- renewal
Plan CapacityCommitment Renewal Plan The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slot
Count String Number of slots in this commitment.
- capacity
Commitment stringId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition
Capacity
Commitment Edition Edition of the capacity commitment.
- enforce
Single booleanAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location string
- multi
Region booleanAuxiliary Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan
Capacity
Commitment Plan Capacity commitment commitment plan.
- project string
- renewal
Plan CapacityCommitment Renewal Plan The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slot
Count string Number of slots in this commitment.
- capacity_
commitment_ strid The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition
Capacity
Commitment Edition Edition of the capacity commitment.
- enforce_
single_ booladmin_ project_ per_ org If true, fail the request if another project in the organization has a capacity commitment.
- location str
- multi_
region_ boolauxiliary Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan
Capacity
Commitment Plan Capacity commitment commitment plan.
- project str
- renewal_
plan CapacityCommitment Renewal Plan The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slot_
count str Number of slots in this commitment.
- capacity
Commitment StringId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
- edition "EDITION_UNSPECIFIED" | "STANDARD" | "ENTERPRISE" | "ENTERPRISE_PLUS"
Edition of the capacity commitment.
- enforce
Single BooleanAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location String
- multi
Region BooleanAuxiliary Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
- plan "COMMITMENT_PLAN_UNSPECIFIED" | "FLEX" | "FLEX_FLAT_RATE" | "TRIAL" | "MONTHLY" | "MONTHLY_FLAT_RATE" | "ANNUAL" | "ANNUAL_FLAT_RATE" | "THREE_YEAR" | "NONE"
Capacity commitment commitment plan.
- project String
- renewal
Plan "COMMITMENT_PLAN_UNSPECIFIED" | "FLEX" | "FLEX_FLAT_RATE" | "TRIAL" | "MONTHLY" | "MONTHLY_FLAT_RATE" | "ANNUAL" | "ANNUAL_FLAT_RATE" | "THREE_YEAR" | "NONE" The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
- slot
Count String Number of slots in this commitment.
Outputs
All input properties are implicitly available as output properties. Additionally, the CapacityCommitment resource produces the following output properties:
- Commitment
End stringTime The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Failure
Status Pulumi.Google Native. Big Query Reservation. V1. Outputs. Status Response For FAILED commitment plan, provides the reason of failure.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.- State string
State of the commitment.
- Commitment
End stringTime The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Failure
Status StatusResponse For FAILED commitment plan, provides the reason of failure.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.- State string
State of the commitment.
- commitment
End StringTime The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failure
Status StatusResponse For FAILED commitment plan, provides the reason of failure.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.- state String
State of the commitment.
- commitment
End stringTime The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failure
Status StatusResponse For FAILED commitment plan, provides the reason of failure.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.- state string
State of the commitment.
- commitment_
end_ strtime The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment_
start_ strtime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failure_
status StatusResponse For FAILED commitment plan, provides the reason of failure.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.- state str
State of the commitment.
- commitment
End StringTime The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- failure
Status Property Map For FAILED commitment plan, provides the reason of failure.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.- state String
State of the commitment.
Supporting Types
CapacityCommitmentEdition, CapacityCommitmentEditionArgs
- Edition
Unspecified - EDITION_UNSPECIFIED
Default value, which will be treated as ENTERPRISE.
- Standard
- STANDARD
Standard edition.
- Enterprise
- ENTERPRISE
Enterprise edition.
- Enterprise
Plus - ENTERPRISE_PLUS
Enterprise plus edition.
- Capacity
Commitment Edition Edition Unspecified - EDITION_UNSPECIFIED
Default value, which will be treated as ENTERPRISE.
- Capacity
Commitment Edition Standard - STANDARD
Standard edition.
- Capacity
Commitment Edition Enterprise - ENTERPRISE
Enterprise edition.
- Capacity
Commitment Edition Enterprise Plus - ENTERPRISE_PLUS
Enterprise plus edition.
- Edition
Unspecified - EDITION_UNSPECIFIED
Default value, which will be treated as ENTERPRISE.
- Standard
- STANDARD
Standard edition.
- Enterprise
- ENTERPRISE
Enterprise edition.
- Enterprise
Plus - ENTERPRISE_PLUS
Enterprise plus edition.
- Edition
Unspecified - EDITION_UNSPECIFIED
Default value, which will be treated as ENTERPRISE.
- Standard
- STANDARD
Standard edition.
- Enterprise
- ENTERPRISE
Enterprise edition.
- Enterprise
Plus - ENTERPRISE_PLUS
Enterprise plus edition.
- EDITION_UNSPECIFIED
- EDITION_UNSPECIFIED
Default value, which will be treated as ENTERPRISE.
- STANDARD
- STANDARD
Standard edition.
- ENTERPRISE
- ENTERPRISE
Enterprise edition.
- ENTERPRISE_PLUS
- ENTERPRISE_PLUS
Enterprise plus edition.
- "EDITION_UNSPECIFIED"
- EDITION_UNSPECIFIED
Default value, which will be treated as ENTERPRISE.
- "STANDARD"
- STANDARD
Standard edition.
- "ENTERPRISE"
- ENTERPRISE
Enterprise edition.
- "ENTERPRISE_PLUS"
- ENTERPRISE_PLUS
Enterprise plus edition.
CapacityCommitmentPlan, CapacityCommitmentPlanArgs
- Commitment
Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Flex
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Flex
Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Trial
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Monthly
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Monthly
Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Annual
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Annual
Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Three
Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- None
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- Capacity
Commitment Plan Commitment Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Capacity
Commitment Plan Flex - FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Capacity
Commitment Plan Flex Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Capacity
Commitment Plan Trial - TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Capacity
Commitment Plan Monthly - MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Capacity
Commitment Plan Monthly Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Capacity
Commitment Plan Annual - ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Capacity
Commitment Plan Annual Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Capacity
Commitment Plan Three Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Capacity
Commitment Plan None - NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- Commitment
Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Flex
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Flex
Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Trial
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Monthly
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Monthly
Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Annual
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Annual
Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Three
Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- None
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- Commitment
Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Flex
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Flex
Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Trial
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Monthly
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Monthly
Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Annual
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Annual
Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Three
Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- None
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- COMMITMENT_PLAN_UNSPECIFIED
- COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - FLEX
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- FLEX_FLAT_RATE
- FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- TRIAL
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - MONTHLY
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- MONTHLY_FLAT_RATE
- MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- ANNUAL
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- ANNUAL_FLAT_RATE
- ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- THREE_YEAR
- THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- NONE
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- "COMMITMENT_PLAN_UNSPECIFIED"
- COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - "FLEX"
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- "FLEX_FLAT_RATE"
- FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- "TRIAL"
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - "MONTHLY"
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- "MONTHLY_FLAT_RATE"
- MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- "ANNUAL"
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- "ANNUAL_FLAT_RATE"
- ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- "THREE_YEAR"
- THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- "NONE"
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
CapacityCommitmentRenewalPlan, CapacityCommitmentRenewalPlanArgs
- Commitment
Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Flex
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Flex
Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Trial
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Monthly
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Monthly
Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Annual
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Annual
Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Three
Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- None
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- Capacity
Commitment Renewal Plan Commitment Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Capacity
Commitment Renewal Plan Flex - FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Capacity
Commitment Renewal Plan Flex Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Capacity
Commitment Renewal Plan Trial - TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Capacity
Commitment Renewal Plan Monthly - MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Capacity
Commitment Renewal Plan Monthly Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Capacity
Commitment Renewal Plan Annual - ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Capacity
Commitment Renewal Plan Annual Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Capacity
Commitment Renewal Plan Three Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Capacity
Commitment Renewal Plan None - NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- Commitment
Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Flex
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Flex
Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Trial
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Monthly
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Monthly
Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Annual
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Annual
Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Three
Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- None
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- Commitment
Plan Unspecified - COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - Flex
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Flex
Flat Rate - FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- Trial
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - Monthly
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- Monthly
Flat Rate - MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- Annual
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- Annual
Flat Rate - ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- Three
Year - THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- None
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- COMMITMENT_PLAN_UNSPECIFIED
- COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - FLEX
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- FLEX_FLAT_RATE
- FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- TRIAL
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - MONTHLY
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- MONTHLY_FLAT_RATE
- MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- ANNUAL
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- ANNUAL_FLAT_RATE
- ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- THREE_YEAR
- THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- NONE
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
- "COMMITMENT_PLAN_UNSPECIFIED"
- COMMITMENT_PLAN_UNSPECIFIED
Invalid plan value. Requests with this value will be rejected with error code
google.rpc.Code.INVALID_ARGUMENT
. - "FLEX"
- FLEX
Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- "FLEX_FLAT_RATE"
- FLEX_FLAT_RATE
Same as FLEX, should only be used if flat-rate commitments are still available.
- "TRIAL"
- TRIAL
Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the
renewal_plan
. Defaultrenewal_plan
for Trial commitment is Flex so that it can be deleted right after committed period ends. - "MONTHLY"
- MONTHLY
Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.
- "MONTHLY_FLAT_RATE"
- MONTHLY_FLAT_RATE
Same as MONTHLY, should only be used if flat-rate commitments are still available.
- "ANNUAL"
- ANNUAL
Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- "ANNUAL_FLAT_RATE"
- ANNUAL_FLAT_RATE
Same as ANNUAL, should only be used if flat-rate commitments are still available.
- "THREE_YEAR"
- THREE_YEAR
3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.
- "NONE"
- NONE
Should only be used for
renewal_plan
and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error codegoogle.rpc.Code.INVALID_ARGUMENT
. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.
StatusResponse, StatusResponseArgs
- Code int
The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<string, string>> A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.