def __init__(__self__, *, accelerator_type: Optional[pulumi.Input[str]]=None, amount: Optional[pulumi.Input[str]]=None, type: Optional[pulumi.Input['ResourceCommitmentType']]=None):
    "\n        Commitment for a particular resource (a Commitment is composed of one or more of these).\n        :param pulumi.Input[str] accelerator_type: Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.\n        :param pulumi.Input[str] amount: The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.\n        :param pulumi.Input['ResourceCommitmentType'] type: Type of resource for which this commitment applies. Possible values are VCPU and MEMORY\n        "
    if (accelerator_type is not None):
        pulumi.set(__self__, 'accelerator_type', accelerator_type)
    if (amount is not None):
        pulumi.set(__self__, 'amount', amount)
    if (type is not None):
        pulumi.set(__self__, 'type', type)
Commitment for a particular resource (a Commitment is composed of one or more of these).
:param pulumi.Input[str] accelerator_type: Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
:param pulumi.Input[str] amount: The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
:param pulumi.Input['ResourceCommitmentType'] type: Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
def __init__(__self__, *, accelerator_type: Optional[pulumi.Input[str]]=None, amount: Optional[pulumi.Input[str]]=None, type: Optional[pulumi.Input['ResourceCommitmentType']]=None):
    "\n        Commitment for a particular resource (a Commitment is composed of one or more of these).\n        :param pulumi.Input[str] accelerator_type: Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.\n        :param pulumi.Input[str] amount: The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.\n        :param pulumi.Input['ResourceCommitmentType'] type: Type of resource for which this commitment applies. Possible values are VCPU and MEMORY\n        "
    if (accelerator_type is not None):
        pulumi.set(__self__, 'accelerator_type', accelerator_type)
    if (amount is not None):
        pulumi.set(__self__, 'amount', amount)
    if (type is not None):
        pulumi.set(__self__, 'type', type)