def __init__(__self__, *, architecture: Optional[pulumi.Input['AttachedDiskInitializeParamsArchitecture']]=None, description: Optional[pulumi.Input[str]]=None, disk_name: Optional[pulumi.Input[str]]=None, disk_size_gb: Optional[pulumi.Input[str]]=None, disk_type: Optional[pulumi.Input[str]]=None, guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]=None, labels: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, license_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, licenses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, multi_writer: Optional[pulumi.Input[bool]]=None, on_update_action: Optional[pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction']]=None, provisioned_iops: Optional[pulumi.Input[str]]=None, replica_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, resource_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, source_image: Optional[pulumi.Input[str]]=None, source_image_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None, source_instant_snapshot: Optional[pulumi.Input[str]]=None, source_snapshot: Optional[pulumi.Input[str]]=None, source_snapshot_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None):
    "\n        [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.\n        :param pulumi.Input['AttachedDiskInitializeParamsArchitecture'] architecture: The architecture of the attached disk. Valid values are arm64 or x86_64.\n        :param pulumi.Input[str] description: An optional description. Provide this property when creating the disk.\n        :param pulumi.Input[str] disk_name: Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created.\n        :param pulumi.Input[str] disk_size_gb: Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB.\n        :param pulumi.Input[str] disk_type: Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL.\n        :param pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]] guest_os_features: A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. Guest OS features are applied by merging initializeParams.guestOsFeatures and disks.guestOsFeatures\n        :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] license_codes: Integer license codes indicating which licenses are attached to this disk.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] licenses: A list of publicly visible licenses. Reserved for Google's use.\n        :param pulumi.Input[bool] multi_writer: Indicates whether or not the disk can be read/write attached to more than one instance.\n        :param pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction'] on_update_action: Specifies which action to take on instance update with this disk. Default is to use the existing disk.\n        :param pulumi.Input[str] provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] replica_zones: URLs of the zones where the disk should be replicated to. Only applicable for regional resources.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_policies: Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name.\n        :param pulumi.Input[str] source_image: The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.\n        :param pulumi.Input['CustomerEncryptionKeyArgs'] source_image_encryption_key: The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.\n        :param pulumi.Input[str] source_instant_snapshot: The source instant-snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set.\n        :param pulumi.Input[str] source_snapshot: The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.\n        :param pulumi.Input['CustomerEncryptionKeyArgs'] source_snapshot_encryption_key: The customer-supplied encryption key of the source snapshot.\n        "
    if (architecture is not None):
        pulumi.set(__self__, 'architecture', architecture)
    if (description is not None):
        pulumi.set(__self__, 'description', description)
    if (disk_name is not None):
        pulumi.set(__self__, 'disk_name', disk_name)
    if (disk_size_gb is not None):
        pulumi.set(__self__, 'disk_size_gb', disk_size_gb)
    if (disk_type is not None):
        pulumi.set(__self__, 'disk_type', disk_type)
    if (guest_os_features is not None):
        pulumi.set(__self__, 'guest_os_features', guest_os_features)
    if (labels is not None):
        pulumi.set(__self__, 'labels', labels)
    if (license_codes is not None):
        pulumi.set(__self__, 'license_codes', license_codes)
    if (licenses is not None):
        pulumi.set(__self__, 'licenses', licenses)
    if (multi_writer is not None):
        pulumi.set(__self__, 'multi_writer', multi_writer)
    if (on_update_action is not None):
        pulumi.set(__self__, 'on_update_action', on_update_action)
    if (provisioned_iops is not None):
        pulumi.set(__self__, 'provisioned_iops', provisioned_iops)
    if (replica_zones is not None):
        pulumi.set(__self__, 'replica_zones', replica_zones)
    if (resource_policies is not None):
        pulumi.set(__self__, 'resource_policies', resource_policies)
    if (source_image is not None):
        pulumi.set(__self__, 'source_image', source_image)
    if (source_image_encryption_key is not None):
        pulumi.set(__self__, 'source_image_encryption_key', source_image_encryption_key)
    if (source_instant_snapshot is not None):
        pulumi.set(__self__, 'source_instant_snapshot', source_instant_snapshot)
    if (source_snapshot is not None):
        pulumi.set(__self__, 'source_snapshot', source_snapshot)
    if (source_snapshot_encryption_key is not None):
        pulumi.set(__self__, 'source_snapshot_encryption_key', source_snapshot_encryption_key)
[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.
:param pulumi.Input['AttachedDiskInitializeParamsArchitecture'] architecture: The architecture of the attached disk. Valid values are arm64 or x86_64.
:param pulumi.Input[str] description: An optional description. Provide this property when creating the disk.
:param pulumi.Input[str] disk_name: Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created.
:param pulumi.Input[str] disk_size_gb: Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB.
:param pulumi.Input[str] disk_type: Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL.
:param pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]] guest_os_features: A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. Guest OS features are applied by merging initializeParams.guestOsFeatures and disks.guestOsFeatures
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
:param pulumi.Input[Sequence[pulumi.Input[str]]] license_codes: Integer license codes indicating which licenses are attached to this disk.
:param pulumi.Input[Sequence[pulumi.Input[str]]] licenses: A list of publicly visible licenses. Reserved for Google's use.
:param pulumi.Input[bool] multi_writer: Indicates whether or not the disk can be read/write attached to more than one instance.
:param pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction'] on_update_action: Specifies which action to take on instance update with this disk. Default is to use the existing disk.
:param pulumi.Input[str] provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
:param pulumi.Input[Sequence[pulumi.Input[str]]] replica_zones: URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_policies: Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name.
:param pulumi.Input[str] source_image: The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.
:param pulumi.Input['CustomerEncryptionKeyArgs'] source_image_encryption_key: The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.
:param pulumi.Input[str] source_instant_snapshot: The source instant-snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set.
:param pulumi.Input[str] source_snapshot: The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.
:param pulumi.Input['CustomerEncryptionKeyArgs'] source_snapshot_encryption_key: The customer-supplied encryption key of the source snapshot.
def __init__(__self__, *, architecture: Optional[pulumi.Input['AttachedDiskInitializeParamsArchitecture']]=None, description: Optional[pulumi.Input[str]]=None, disk_name: Optional[pulumi.Input[str]]=None, disk_size_gb: Optional[pulumi.Input[str]]=None, disk_type: Optional[pulumi.Input[str]]=None, guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]=None, labels: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, license_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, licenses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, multi_writer: Optional[pulumi.Input[bool]]=None, on_update_action: Optional[pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction']]=None, provisioned_iops: Optional[pulumi.Input[str]]=None, replica_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, resource_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, source_image: Optional[pulumi.Input[str]]=None, source_image_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None, source_instant_snapshot: Optional[pulumi.Input[str]]=None, source_snapshot: Optional[pulumi.Input[str]]=None, source_snapshot_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None):
    "\n        [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.\n        :param pulumi.Input['AttachedDiskInitializeParamsArchitecture'] architecture: The architecture of the attached disk. Valid values are arm64 or x86_64.\n        :param pulumi.Input[str] description: An optional description. Provide this property when creating the disk.\n        :param pulumi.Input[str] disk_name: Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created.\n        :param pulumi.Input[str] disk_size_gb: Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB.\n        :param pulumi.Input[str] disk_type: Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL.\n        :param pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]] guest_os_features: A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. Guest OS features are applied by merging initializeParams.guestOsFeatures and disks.guestOsFeatures\n        :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] license_codes: Integer license codes indicating which licenses are attached to this disk.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] licenses: A list of publicly visible licenses. Reserved for Google's use.\n        :param pulumi.Input[bool] multi_writer: Indicates whether or not the disk can be read/write attached to more than one instance.\n        :param pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction'] on_update_action: Specifies which action to take on instance update with this disk. Default is to use the existing disk.\n        :param pulumi.Input[str] provisioned_iops: Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] replica_zones: URLs of the zones where the disk should be replicated to. Only applicable for regional resources.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_policies: Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name.\n        :param pulumi.Input[str] source_image: The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.\n        :param pulumi.Input['CustomerEncryptionKeyArgs'] source_image_encryption_key: The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.\n        :param pulumi.Input[str] source_instant_snapshot: The source instant-snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set.\n        :param pulumi.Input[str] source_snapshot: The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.\n        :param pulumi.Input['CustomerEncryptionKeyArgs'] source_snapshot_encryption_key: The customer-supplied encryption key of the source snapshot.\n        "
    if (architecture is not None):
        pulumi.set(__self__, 'architecture', architecture)
    if (description is not None):
        pulumi.set(__self__, 'description', description)
    if (disk_name is not None):
        pulumi.set(__self__, 'disk_name', disk_name)
    if (disk_size_gb is not None):
        pulumi.set(__self__, 'disk_size_gb', disk_size_gb)
    if (disk_type is not None):
        pulumi.set(__self__, 'disk_type', disk_type)
    if (guest_os_features is not None):
        pulumi.set(__self__, 'guest_os_features', guest_os_features)
    if (labels is not None):
        pulumi.set(__self__, 'labels', labels)
    if (license_codes is not None):
        pulumi.set(__self__, 'license_codes', license_codes)
    if (licenses is not None):
        pulumi.set(__self__, 'licenses', licenses)
    if (multi_writer is not None):
        pulumi.set(__self__, 'multi_writer', multi_writer)
    if (on_update_action is not None):
        pulumi.set(__self__, 'on_update_action', on_update_action)
    if (provisioned_iops is not None):
        pulumi.set(__self__, 'provisioned_iops', provisioned_iops)
    if (replica_zones is not None):
        pulumi.set(__self__, 'replica_zones', replica_zones)
    if (resource_policies is not None):
        pulumi.set(__self__, 'resource_policies', resource_policies)
    if (source_image is not None):
        pulumi.set(__self__, 'source_image', source_image)
    if (source_image_encryption_key is not None):
        pulumi.set(__self__, 'source_image_encryption_key', source_image_encryption_key)
    if (source_instant_snapshot is not None):
        pulumi.set(__self__, 'source_instant_snapshot', source_instant_snapshot)
    if (source_snapshot is not None):
        pulumi.set(__self__, 'source_snapshot', source_snapshot)
    if (source_snapshot_encryption_key is not None):
        pulumi.set(__self__, 'source_snapshot_encryption_key', source_snapshot_encryption_key)