body
stringlengths
26
98.2k
body_hash
int64
-9,222,864,604,528,158,000
9,221,803,474B
docstring
stringlengths
1
16.8k
path
stringlengths
5
230
name
stringlengths
1
96
repository_name
stringlengths
7
89
lang
stringclasses
1 value
body_without_docstring
stringlengths
20
98.2k
@property @pulumi.getter(name='maintenanceFreezeDurationHours') def maintenance_freeze_duration_hours(self) -> Optional[pulumi.Input[int]]: "\n Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.\n " return pulumi.get(self, 'maintenance_freeze_duration_hours')
-8,785,896,776,139,444,000
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
maintenance_freeze_duration_hours
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='maintenanceFreezeDurationHours') def maintenance_freeze_duration_hours(self) -> Optional[pulumi.Input[int]]: "\n \n " return pulumi.get(self, 'maintenance_freeze_duration_hours')
@property @pulumi.getter(name='maintenanceInterval') def maintenance_interval(self) -> Optional[pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval']]: '\n For more information about maintenance intervals, see Setting maintenance intervals.\n ' return pulumi.get(self, 'maintenance_interval')
-3,593,736,045,560,747,500
For more information about maintenance intervals, see Setting maintenance intervals.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
maintenance_interval
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='maintenanceInterval') def maintenance_interval(self) -> Optional[pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval']]: '\n \n ' return pulumi.get(self, 'maintenance_interval')
@property @pulumi.getter(name='minCpuPlatform') def min_cpu_platform(self) -> Optional[pulumi.Input[str]]: '\n Minimum cpu platform the reservation.\n ' return pulumi.get(self, 'min_cpu_platform')
-6,780,756,621,292,905,000
Minimum cpu platform the reservation.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
min_cpu_platform
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='minCpuPlatform') def min_cpu_platform(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'min_cpu_platform')
def __init__(__self__, *, count: Optional[pulumi.Input[str]]=None, instance_properties: Optional[pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs']]=None): "\n This reservation type allows to pre allocate specific instance configuration. Next ID: 5\n :param pulumi.Input[str] count: Specifies the number of resources that are allocated.\n :param pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs'] instance_properties: The instance properties for the reservation.\n " if (count is not None): pulumi.set(__self__, 'count', count) if (instance_properties is not None): pulumi.set(__self__, 'instance_properties', instance_properties)
-2,367,951,998,346,066,000
This reservation type allows to pre allocate specific instance configuration. Next ID: 5 :param pulumi.Input[str] count: Specifies the number of resources that are allocated. :param pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs'] instance_properties: The instance properties for the reservation.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, count: Optional[pulumi.Input[str]]=None, instance_properties: Optional[pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs']]=None): "\n This reservation type allows to pre allocate specific instance configuration. Next ID: 5\n :param pulumi.Input[str] count: Specifies the number of resources that are allocated.\n :param pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs'] instance_properties: The instance properties for the reservation.\n " if (count is not None): pulumi.set(__self__, 'count', count) if (instance_properties is not None): pulumi.set(__self__, 'instance_properties', instance_properties)
@property @pulumi.getter def count(self) -> Optional[pulumi.Input[str]]: '\n Specifies the number of resources that are allocated.\n ' return pulumi.get(self, 'count')
-67,865,439,674,791,624
Specifies the number of resources that are allocated.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
count
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def count(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'count')
@property @pulumi.getter(name='instanceProperties') def instance_properties(self) -> Optional[pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs']]: '\n The instance properties for the reservation.\n ' return pulumi.get(self, 'instance_properties')
472,487,032,986,687,600
The instance properties for the reservation.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
instance_properties
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='instanceProperties') def instance_properties(self) -> Optional[pulumi.Input['AllocationSpecificSKUAllocationReservedInstancePropertiesArgs']]: '\n \n ' return pulumi.get(self, 'instance_properties')
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)
-2,989,597,510,178,098,700
[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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
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)
@property @pulumi.getter def architecture(self) -> Optional[pulumi.Input['AttachedDiskInitializeParamsArchitecture']]: '\n The architecture of the attached disk. Valid values are arm64 or x86_64.\n ' return pulumi.get(self, 'architecture')
-2,830,809,977,031,088,600
The architecture of the attached disk. Valid values are arm64 or x86_64.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
architecture
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def architecture(self) -> Optional[pulumi.Input['AttachedDiskInitializeParamsArchitecture']]: '\n \n ' return pulumi.get(self, 'architecture')
@property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: '\n An optional description. Provide this property when creating the disk.\n ' return pulumi.get(self, 'description')
-1,975,856,756,709,482,500
An optional description. Provide this property when creating the disk.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
description
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'description')
@property @pulumi.getter(name='diskName') def disk_name(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'disk_name')
1,895,019,287,646,497,800
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskName') def disk_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'disk_name')
@property @pulumi.getter(name='diskSizeGb') def disk_size_gb(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'disk_size_gb')
8,576,527,403,122,961,000
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_size_gb
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskSizeGb') def disk_size_gb(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'disk_size_gb')
@property @pulumi.getter(name='diskType') def disk_type(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'disk_type')
6,507,515,003,519,712,000
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskType') def disk_type(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'disk_type')
@property @pulumi.getter(name='guestOsFeatures') def guest_os_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]: '\n 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 ' return pulumi.get(self, 'guest_os_features')
5,785,771,608,359,518,000
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
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
guest_os_features
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='guestOsFeatures') def guest_os_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]: '\n \n ' return pulumi.get(self, 'guest_os_features')
@property @pulumi.getter def labels(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n 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 ' return pulumi.get(self, 'labels')
-3,791,929,875,367,696,000
Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
labels
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def labels(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n \n ' return pulumi.get(self, 'labels')
@property @pulumi.getter(name='licenseCodes') def license_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n Integer license codes indicating which licenses are attached to this disk.\n ' return pulumi.get(self, 'license_codes')
-7,365,156,291,600,101,000
Integer license codes indicating which licenses are attached to this disk.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
license_codes
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='licenseCodes') def license_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'license_codes')
@property @pulumi.getter def licenses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n A list of publicly visible licenses. Reserved for Google's use.\n " return pulumi.get(self, 'licenses')
-1,876,027,476,224,073,200
A list of publicly visible licenses. Reserved for Google's use.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
licenses
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def licenses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n \n " return pulumi.get(self, 'licenses')
@property @pulumi.getter(name='multiWriter') def multi_writer(self) -> Optional[pulumi.Input[bool]]: '\n Indicates whether or not the disk can be read/write attached to more than one instance.\n ' return pulumi.get(self, 'multi_writer')
-6,138,426,451,149,375,000
Indicates whether or not the disk can be read/write attached to more than one instance.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
multi_writer
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='multiWriter') def multi_writer(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'multi_writer')
@property @pulumi.getter(name='onUpdateAction') def on_update_action(self) -> Optional[pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction']]: '\n Specifies which action to take on instance update with this disk. Default is to use the existing disk.\n ' return pulumi.get(self, 'on_update_action')
5,709,124,628,607,286,000
Specifies which action to take on instance update with this disk. Default is to use the existing disk.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
on_update_action
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='onUpdateAction') def on_update_action(self) -> Optional[pulumi.Input['AttachedDiskInitializeParamsOnUpdateAction']]: '\n \n ' return pulumi.get(self, 'on_update_action')
@property @pulumi.getter(name='provisionedIops') def provisioned_iops(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'provisioned_iops')
983,890,956,266,040,300
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
provisioned_iops
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='provisionedIops') def provisioned_iops(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'provisioned_iops')
@property @pulumi.getter(name='replicaZones') def replica_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n URLs of the zones where the disk should be replicated to. Only applicable for regional resources.\n ' return pulumi.get(self, 'replica_zones')
753,489,122,435,564,400
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
replica_zones
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='replicaZones') def replica_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'replica_zones')
@property @pulumi.getter(name='resourcePolicies') def resource_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n 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 ' return pulumi.get(self, 'resource_policies')
-2,772,950,537,847,343,600
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
resource_policies
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='resourcePolicies') def resource_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'resource_policies')
@property @pulumi.getter(name='sourceImage') def source_image(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'source_image')
-820,461,863,655,895,900
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source_image
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sourceImage') def source_image(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'source_image')
@property @pulumi.getter(name='sourceImageEncryptionKey') def source_image_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n 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 ' return pulumi.get(self, 'source_image_encryption_key')
369,010,855,132,676,500
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source_image_encryption_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sourceImageEncryptionKey') def source_image_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n \n ' return pulumi.get(self, 'source_image_encryption_key')
@property @pulumi.getter(name='sourceInstantSnapshot') def source_instant_snapshot(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'source_instant_snapshot')
-446,692,259,791,963,840
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source_instant_snapshot
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sourceInstantSnapshot') def source_instant_snapshot(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'source_instant_snapshot')
@property @pulumi.getter(name='sourceSnapshot') def source_snapshot(self) -> Optional[pulumi.Input[str]]: '\n 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 ' return pulumi.get(self, 'source_snapshot')
2,471,081,294,210,290,000
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source_snapshot
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sourceSnapshot') def source_snapshot(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'source_snapshot')
@property @pulumi.getter(name='sourceSnapshotEncryptionKey') def source_snapshot_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n The customer-supplied encryption key of the source snapshot.\n ' return pulumi.get(self, 'source_snapshot_encryption_key')
7,892,094,077,170,448,000
The customer-supplied encryption key of the source snapshot.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source_snapshot_encryption_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sourceSnapshotEncryptionKey') def source_snapshot_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n \n ' return pulumi.get(self, 'source_snapshot_encryption_key')
def __init__(__self__, *, auto_delete: Optional[pulumi.Input[bool]]=None, boot: Optional[pulumi.Input[bool]]=None, device_name: Optional[pulumi.Input[str]]=None, disk_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None, disk_size_gb: Optional[pulumi.Input[str]]=None, force_attach: Optional[pulumi.Input[bool]]=None, guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]=None, initialize_params: Optional[pulumi.Input['AttachedDiskInitializeParamsArgs']]=None, interface: Optional[pulumi.Input['AttachedDiskInterface']]=None, mode: Optional[pulumi.Input['AttachedDiskMode']]=None, saved_state: Optional[pulumi.Input['AttachedDiskSavedState']]=None, source: Optional[pulumi.Input[str]]=None, type: Optional[pulumi.Input['AttachedDiskType']]=None): "\n An instance-attached disk resource.\n :param pulumi.Input[bool] auto_delete: Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).\n :param pulumi.Input[bool] boot: Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.\n :param pulumi.Input[str] device_name: Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.\n :param pulumi.Input['CustomerEncryptionKeyArgs'] disk_encryption_key: Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group.\n :param pulumi.Input[str] disk_size_gb: The size of the disk in GB.\n :param pulumi.Input[bool] force_attach: [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.\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.\n :param pulumi.Input['AttachedDiskInitializeParamsArgs'] initialize_params: [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['AttachedDiskInterface'] interface: Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.\n :param pulumi.Input['AttachedDiskMode'] mode: The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.\n :param pulumi.Input['AttachedDiskSavedState'] saved_state: For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.\n :param pulumi.Input[str] source: Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.\n :param pulumi.Input['AttachedDiskType'] type: Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.\n " if (auto_delete is not None): pulumi.set(__self__, 'auto_delete', auto_delete) if (boot is not None): pulumi.set(__self__, 'boot', boot) if (device_name is not None): pulumi.set(__self__, 'device_name', device_name) if (disk_encryption_key is not None): pulumi.set(__self__, 'disk_encryption_key', disk_encryption_key) if (disk_size_gb is not None): pulumi.set(__self__, 'disk_size_gb', disk_size_gb) if (force_attach is not None): pulumi.set(__self__, 'force_attach', force_attach) if (guest_os_features is not None): pulumi.set(__self__, 'guest_os_features', guest_os_features) if (initialize_params is not None): pulumi.set(__self__, 'initialize_params', initialize_params) if (interface is not None): pulumi.set(__self__, 'interface', interface) if (mode is not None): pulumi.set(__self__, 'mode', mode) if (saved_state is not None): pulumi.set(__self__, 'saved_state', saved_state) if (source is not None): pulumi.set(__self__, 'source', source) if (type is not None): pulumi.set(__self__, 'type', type)
7,443,327,647,963,741,000
An instance-attached disk resource. :param pulumi.Input[bool] auto_delete: Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). :param pulumi.Input[bool] boot: Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. :param pulumi.Input[str] device_name: Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. :param pulumi.Input['CustomerEncryptionKeyArgs'] disk_encryption_key: Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. :param pulumi.Input[str] disk_size_gb: The size of the disk in GB. :param pulumi.Input[bool] force_attach: [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. :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. :param pulumi.Input['AttachedDiskInitializeParamsArgs'] initialize_params: [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['AttachedDiskInterface'] interface: Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. :param pulumi.Input['AttachedDiskMode'] mode: The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. :param pulumi.Input['AttachedDiskSavedState'] saved_state: For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api. :param pulumi.Input[str] source: Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. :param pulumi.Input['AttachedDiskType'] type: Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, auto_delete: Optional[pulumi.Input[bool]]=None, boot: Optional[pulumi.Input[bool]]=None, device_name: Optional[pulumi.Input[str]]=None, disk_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None, disk_size_gb: Optional[pulumi.Input[str]]=None, force_attach: Optional[pulumi.Input[bool]]=None, guest_os_features: Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]=None, initialize_params: Optional[pulumi.Input['AttachedDiskInitializeParamsArgs']]=None, interface: Optional[pulumi.Input['AttachedDiskInterface']]=None, mode: Optional[pulumi.Input['AttachedDiskMode']]=None, saved_state: Optional[pulumi.Input['AttachedDiskSavedState']]=None, source: Optional[pulumi.Input[str]]=None, type: Optional[pulumi.Input['AttachedDiskType']]=None): "\n An instance-attached disk resource.\n :param pulumi.Input[bool] auto_delete: Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).\n :param pulumi.Input[bool] boot: Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.\n :param pulumi.Input[str] device_name: Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.\n :param pulumi.Input['CustomerEncryptionKeyArgs'] disk_encryption_key: Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group.\n :param pulumi.Input[str] disk_size_gb: The size of the disk in GB.\n :param pulumi.Input[bool] force_attach: [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.\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.\n :param pulumi.Input['AttachedDiskInitializeParamsArgs'] initialize_params: [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['AttachedDiskInterface'] interface: Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.\n :param pulumi.Input['AttachedDiskMode'] mode: The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.\n :param pulumi.Input['AttachedDiskSavedState'] saved_state: For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.\n :param pulumi.Input[str] source: Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.\n :param pulumi.Input['AttachedDiskType'] type: Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.\n " if (auto_delete is not None): pulumi.set(__self__, 'auto_delete', auto_delete) if (boot is not None): pulumi.set(__self__, 'boot', boot) if (device_name is not None): pulumi.set(__self__, 'device_name', device_name) if (disk_encryption_key is not None): pulumi.set(__self__, 'disk_encryption_key', disk_encryption_key) if (disk_size_gb is not None): pulumi.set(__self__, 'disk_size_gb', disk_size_gb) if (force_attach is not None): pulumi.set(__self__, 'force_attach', force_attach) if (guest_os_features is not None): pulumi.set(__self__, 'guest_os_features', guest_os_features) if (initialize_params is not None): pulumi.set(__self__, 'initialize_params', initialize_params) if (interface is not None): pulumi.set(__self__, 'interface', interface) if (mode is not None): pulumi.set(__self__, 'mode', mode) if (saved_state is not None): pulumi.set(__self__, 'saved_state', saved_state) if (source is not None): pulumi.set(__self__, 'source', source) if (type is not None): pulumi.set(__self__, 'type', type)
@property @pulumi.getter(name='autoDelete') def auto_delete(self) -> Optional[pulumi.Input[bool]]: '\n Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).\n ' return pulumi.get(self, 'auto_delete')
-1,492,375,801,573,916,000
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
auto_delete
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='autoDelete') def auto_delete(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'auto_delete')
@property @pulumi.getter def boot(self) -> Optional[pulumi.Input[bool]]: '\n Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.\n ' return pulumi.get(self, 'boot')
5,852,416,602,595,024,000
Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
boot
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def boot(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'boot')
@property @pulumi.getter(name='deviceName') def device_name(self) -> Optional[pulumi.Input[str]]: '\n Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.\n ' return pulumi.get(self, 'device_name')
-6,785,112,457,991,560,000
Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
device_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='deviceName') def device_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'device_name')
@property @pulumi.getter(name='diskEncryptionKey') def disk_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group.\n ' return pulumi.get(self, 'disk_encryption_key')
5,579,880,017,967,335,000
Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_encryption_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskEncryptionKey') def disk_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n \n ' return pulumi.get(self, 'disk_encryption_key')
@property @pulumi.getter(name='diskSizeGb') def disk_size_gb(self) -> Optional[pulumi.Input[str]]: '\n The size of the disk in GB.\n ' return pulumi.get(self, 'disk_size_gb')
6,761,457,928,668,865,000
The size of the disk in GB.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_size_gb
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskSizeGb') def disk_size_gb(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'disk_size_gb')
@property @pulumi.getter(name='forceAttach') def force_attach(self) -> Optional[pulumi.Input[bool]]: "\n [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.\n " return pulumi.get(self, 'force_attach')
572,286,748,785,256,900
[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
force_attach
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='forceAttach') def force_attach(self) -> Optional[pulumi.Input[bool]]: "\n \n " return pulumi.get(self, 'force_attach')
@property @pulumi.getter(name='guestOsFeatures') def guest_os_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]: '\n 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.\n ' return pulumi.get(self, 'guest_os_features')
-8,845,860,967,848,889,000
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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
guest_os_features
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='guestOsFeatures') def guest_os_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GuestOsFeatureArgs']]]]: '\n \n ' return pulumi.get(self, 'guest_os_features')
@property @pulumi.getter(name='initializeParams') def initialize_params(self) -> Optional[pulumi.Input['AttachedDiskInitializeParamsArgs']]: '\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 ' return pulumi.get(self, 'initialize_params')
5,487,332,331,535,763,000
[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.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
initialize_params
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='initializeParams') def initialize_params(self) -> Optional[pulumi.Input['AttachedDiskInitializeParamsArgs']]: '\n \n ' return pulumi.get(self, 'initialize_params')
@property @pulumi.getter def interface(self) -> Optional[pulumi.Input['AttachedDiskInterface']]: '\n Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.\n ' return pulumi.get(self, 'interface')
-2,969,496,403,025,359,000
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
interface
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def interface(self) -> Optional[pulumi.Input['AttachedDiskInterface']]: '\n \n ' return pulumi.get(self, 'interface')
@property @pulumi.getter def mode(self) -> Optional[pulumi.Input['AttachedDiskMode']]: '\n The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.\n ' return pulumi.get(self, 'mode')
5,155,237,075,576,072,000
The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
mode
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def mode(self) -> Optional[pulumi.Input['AttachedDiskMode']]: '\n \n ' return pulumi.get(self, 'mode')
@property @pulumi.getter(name='savedState') def saved_state(self) -> Optional[pulumi.Input['AttachedDiskSavedState']]: '\n For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.\n ' return pulumi.get(self, 'saved_state')
-2,739,606,538,020,949,500
For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
saved_state
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='savedState') def saved_state(self) -> Optional[pulumi.Input['AttachedDiskSavedState']]: '\n \n ' return pulumi.get(self, 'saved_state')
@property @pulumi.getter def source(self) -> Optional[pulumi.Input[str]]: '\n Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.\n ' return pulumi.get(self, 'source')
4,374,022,846,637,528,000
Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def source(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'source')
@property @pulumi.getter def type(self) -> Optional[pulumi.Input['AttachedDiskType']]: '\n Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.\n ' return pulumi.get(self, 'type')
8,629,557,243,433,626,000
Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def type(self) -> Optional[pulumi.Input['AttachedDiskType']]: '\n \n ' return pulumi.get(self, 'type')
def __init__(__self__, *, audit_log_configs: Optional[pulumi.Input[Sequence[pulumi.Input['AuditLogConfigArgs']]]]=None, exempted_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, service: Optional[pulumi.Input[str]]=None): '\n Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:example@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:example@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts example@example.com from DATA_READ logging, and example@example.com from DATA_WRITE logging.\n :param pulumi.Input[Sequence[pulumi.Input[\'AuditLogConfigArgs\']]] audit_log_configs: The configuration for logging of each type of permission.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] exempted_members: This is deprecated and has no effect. Do not use.\n :param pulumi.Input[str] service: Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.\n ' if (audit_log_configs is not None): pulumi.set(__self__, 'audit_log_configs', audit_log_configs) if (exempted_members is not None): pulumi.set(__self__, 'exempted_members', exempted_members) if (service is not None): pulumi.set(__self__, 'service', service)
-3,861,304,765,189,347,000
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:example@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:example@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts example@example.com from DATA_READ logging, and example@example.com from DATA_WRITE logging. :param pulumi.Input[Sequence[pulumi.Input['AuditLogConfigArgs']]] audit_log_configs: The configuration for logging of each type of permission. :param pulumi.Input[Sequence[pulumi.Input[str]]] exempted_members: This is deprecated and has no effect. Do not use. :param pulumi.Input[str] service: Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, audit_log_configs: Optional[pulumi.Input[Sequence[pulumi.Input['AuditLogConfigArgs']]]]=None, exempted_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, service: Optional[pulumi.Input[str]]=None): '\n Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:example@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:example@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts example@example.com from DATA_READ logging, and example@example.com from DATA_WRITE logging.\n :param pulumi.Input[Sequence[pulumi.Input[\'AuditLogConfigArgs\']]] audit_log_configs: The configuration for logging of each type of permission.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] exempted_members: This is deprecated and has no effect. Do not use.\n :param pulumi.Input[str] service: Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.\n ' if (audit_log_configs is not None): pulumi.set(__self__, 'audit_log_configs', audit_log_configs) if (exempted_members is not None): pulumi.set(__self__, 'exempted_members', exempted_members) if (service is not None): pulumi.set(__self__, 'service', service)
@property @pulumi.getter(name='auditLogConfigs') def audit_log_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditLogConfigArgs']]]]: '\n The configuration for logging of each type of permission.\n ' return pulumi.get(self, 'audit_log_configs')
-5,205,070,220,599,512,000
The configuration for logging of each type of permission.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
audit_log_configs
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='auditLogConfigs') def audit_log_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditLogConfigArgs']]]]: '\n \n ' return pulumi.get(self, 'audit_log_configs')
@property @pulumi.getter(name='exemptedMembers') def exempted_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n This is deprecated and has no effect. Do not use.\n ' return pulumi.get(self, 'exempted_members')
6,591,501,070,448,840,000
This is deprecated and has no effect. Do not use.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
exempted_members
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='exemptedMembers') def exempted_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'exempted_members')
@property @pulumi.getter def service(self) -> Optional[pulumi.Input[str]]: '\n Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.\n ' return pulumi.get(self, 'service')
5,184,574,503,035,810,000
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
service
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def service(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'service')
def __init__(__self__, *, exempted_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, ignore_child_exemptions: Optional[pulumi.Input[bool]]=None, log_type: Optional[pulumi.Input['AuditLogConfigLogType']]=None): '\n Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:example@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables \'DATA_READ\' and \'DATA_WRITE\' logging, while exempting example@example.com from DATA_READ logging.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] exempted_members: Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.\n :param pulumi.Input[bool] ignore_child_exemptions: This is deprecated and has no effect. Do not use.\n :param pulumi.Input[\'AuditLogConfigLogType\'] log_type: The log type that this config enables.\n ' if (exempted_members is not None): pulumi.set(__self__, 'exempted_members', exempted_members) if (ignore_child_exemptions is not None): pulumi.set(__self__, 'ignore_child_exemptions', ignore_child_exemptions) if (log_type is not None): pulumi.set(__self__, 'log_type', log_type)
-6,417,642,284,919,367,000
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:example@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting example@example.com from DATA_READ logging. :param pulumi.Input[Sequence[pulumi.Input[str]]] exempted_members: Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. :param pulumi.Input[bool] ignore_child_exemptions: This is deprecated and has no effect. Do not use. :param pulumi.Input['AuditLogConfigLogType'] log_type: The log type that this config enables.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, exempted_members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, ignore_child_exemptions: Optional[pulumi.Input[bool]]=None, log_type: Optional[pulumi.Input['AuditLogConfigLogType']]=None): '\n Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:example@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables \'DATA_READ\' and \'DATA_WRITE\' logging, while exempting example@example.com from DATA_READ logging.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] exempted_members: Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.\n :param pulumi.Input[bool] ignore_child_exemptions: This is deprecated and has no effect. Do not use.\n :param pulumi.Input[\'AuditLogConfigLogType\'] log_type: The log type that this config enables.\n ' if (exempted_members is not None): pulumi.set(__self__, 'exempted_members', exempted_members) if (ignore_child_exemptions is not None): pulumi.set(__self__, 'ignore_child_exemptions', ignore_child_exemptions) if (log_type is not None): pulumi.set(__self__, 'log_type', log_type)
@property @pulumi.getter(name='exemptedMembers') def exempted_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.\n ' return pulumi.get(self, 'exempted_members')
8,553,525,000,698,125,000
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
exempted_members
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='exemptedMembers') def exempted_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'exempted_members')
@property @pulumi.getter(name='ignoreChildExemptions') def ignore_child_exemptions(self) -> Optional[pulumi.Input[bool]]: '\n This is deprecated and has no effect. Do not use.\n ' return pulumi.get(self, 'ignore_child_exemptions')
-3,214,344,639,700,949,500
This is deprecated and has no effect. Do not use.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ignore_child_exemptions
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='ignoreChildExemptions') def ignore_child_exemptions(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'ignore_child_exemptions')
@property @pulumi.getter(name='logType') def log_type(self) -> Optional[pulumi.Input['AuditLogConfigLogType']]: '\n The log type that this config enables.\n ' return pulumi.get(self, 'log_type')
8,821,975,712,911,055,000
The log type that this config enables.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
log_type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='logType') def log_type(self) -> Optional[pulumi.Input['AuditLogConfigLogType']]: '\n \n ' return pulumi.get(self, 'log_type')
def __init__(__self__, *, permission_type: Optional[pulumi.Input['AuthorizationLoggingOptionsPermissionType']]=None): "\n This is deprecated and has no effect. Do not use.\n :param pulumi.Input['AuthorizationLoggingOptionsPermissionType'] permission_type: This is deprecated and has no effect. Do not use.\n " if (permission_type is not None): pulumi.set(__self__, 'permission_type', permission_type)
-8,864,215,441,454,288,000
This is deprecated and has no effect. Do not use. :param pulumi.Input['AuthorizationLoggingOptionsPermissionType'] permission_type: This is deprecated and has no effect. Do not use.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, permission_type: Optional[pulumi.Input['AuthorizationLoggingOptionsPermissionType']]=None): "\n This is deprecated and has no effect. Do not use.\n :param pulumi.Input['AuthorizationLoggingOptionsPermissionType'] permission_type: This is deprecated and has no effect. Do not use.\n " if (permission_type is not None): pulumi.set(__self__, 'permission_type', permission_type)
@property @pulumi.getter(name='permissionType') def permission_type(self) -> Optional[pulumi.Input['AuthorizationLoggingOptionsPermissionType']]: '\n This is deprecated and has no effect. Do not use.\n ' return pulumi.get(self, 'permission_type')
-7,736,601,324,296,611,000
This is deprecated and has no effect. Do not use.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
permission_type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='permissionType') def permission_type(self) -> Optional[pulumi.Input['AuthorizationLoggingOptionsPermissionType']]: '\n \n ' return pulumi.get(self, 'permission_type')
def __init__(__self__, *, predictive_method: Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod']]=None, utilization_target: Optional[pulumi.Input[float]]=None): "\n CPU utilization policy.\n :param pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod'] predictive_method: Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.\n :param pulumi.Input[float] utilization_target: The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.\n " if (predictive_method is not None): pulumi.set(__self__, 'predictive_method', predictive_method) if (utilization_target is not None): pulumi.set(__self__, 'utilization_target', utilization_target)
-4,860,592,920,722,315,000
CPU utilization policy. :param pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod'] predictive_method: Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. :param pulumi.Input[float] utilization_target: The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, predictive_method: Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod']]=None, utilization_target: Optional[pulumi.Input[float]]=None): "\n CPU utilization policy.\n :param pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod'] predictive_method: Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.\n :param pulumi.Input[float] utilization_target: The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.\n " if (predictive_method is not None): pulumi.set(__self__, 'predictive_method', predictive_method) if (utilization_target is not None): pulumi.set(__self__, 'utilization_target', utilization_target)
@property @pulumi.getter(name='predictiveMethod') def predictive_method(self) -> Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod']]: '\n Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.\n ' return pulumi.get(self, 'predictive_method')
-156,285,194,799,283,600
Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
predictive_method
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='predictiveMethod') def predictive_method(self) -> Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationPredictiveMethod']]: '\n \n ' return pulumi.get(self, 'predictive_method')
@property @pulumi.getter(name='utilizationTarget') def utilization_target(self) -> Optional[pulumi.Input[float]]: '\n The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.\n ' return pulumi.get(self, 'utilization_target')
1,951,646,479,376,099,300
The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
utilization_target
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='utilizationTarget') def utilization_target(self) -> Optional[pulumi.Input[float]]: '\n \n ' return pulumi.get(self, 'utilization_target')
def __init__(__self__, *, filter: Optional[pulumi.Input[str]]=None, metric: Optional[pulumi.Input[str]]=None, single_instance_assignment: Optional[pulumi.Input[float]]=None, utilization_target: Optional[pulumi.Input[float]]=None, utilization_target_type: Optional[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType']]=None): "\n Custom utilization metric policy.\n :param pulumi.Input[str] filter: A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.\n :param pulumi.Input[str] metric: The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.\n :param pulumi.Input[float] single_instance_assignment: If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.\n :param pulumi.Input[float] utilization_target: The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.\n :param pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType'] utilization_target_type: Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.\n " if (filter is not None): pulumi.set(__self__, 'filter', filter) if (metric is not None): pulumi.set(__self__, 'metric', metric) if (single_instance_assignment is not None): pulumi.set(__self__, 'single_instance_assignment', single_instance_assignment) if (utilization_target is not None): pulumi.set(__self__, 'utilization_target', utilization_target) if (utilization_target_type is not None): pulumi.set(__self__, 'utilization_target_type', utilization_target_type)
2,759,557,603,975,153,700
Custom utilization metric policy. :param pulumi.Input[str] filter: A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. :param pulumi.Input[str] metric: The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE. :param pulumi.Input[float] single_instance_assignment: If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead. :param pulumi.Input[float] utilization_target: The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances. :param pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType'] utilization_target_type: Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, filter: Optional[pulumi.Input[str]]=None, metric: Optional[pulumi.Input[str]]=None, single_instance_assignment: Optional[pulumi.Input[float]]=None, utilization_target: Optional[pulumi.Input[float]]=None, utilization_target_type: Optional[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType']]=None): "\n Custom utilization metric policy.\n :param pulumi.Input[str] filter: A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.\n :param pulumi.Input[str] metric: The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.\n :param pulumi.Input[float] single_instance_assignment: If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.\n :param pulumi.Input[float] utilization_target: The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.\n :param pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType'] utilization_target_type: Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.\n " if (filter is not None): pulumi.set(__self__, 'filter', filter) if (metric is not None): pulumi.set(__self__, 'metric', metric) if (single_instance_assignment is not None): pulumi.set(__self__, 'single_instance_assignment', single_instance_assignment) if (utilization_target is not None): pulumi.set(__self__, 'utilization_target', utilization_target) if (utilization_target_type is not None): pulumi.set(__self__, 'utilization_target_type', utilization_target_type)
@property @pulumi.getter def filter(self) -> Optional[pulumi.Input[str]]: '\n A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.\n ' return pulumi.get(self, 'filter')
8,745,030,514,970,856,000
A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
filter
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def filter(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'filter')
@property @pulumi.getter def metric(self) -> Optional[pulumi.Input[str]]: '\n The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.\n ' return pulumi.get(self, 'metric')
3,358,743,665,661,854,000
The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
metric
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def metric(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'metric')
@property @pulumi.getter(name='singleInstanceAssignment') def single_instance_assignment(self) -> Optional[pulumi.Input[float]]: "\n If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.\n " return pulumi.get(self, 'single_instance_assignment')
473,324,219,425,643,900
If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
single_instance_assignment
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='singleInstanceAssignment') def single_instance_assignment(self) -> Optional[pulumi.Input[float]]: "\n \n " return pulumi.get(self, 'single_instance_assignment')
@property @pulumi.getter(name='utilizationTarget') def utilization_target(self) -> Optional[pulumi.Input[float]]: '\n The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.\n ' return pulumi.get(self, 'utilization_target')
1,449,414,568,754,732,500
The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
utilization_target
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='utilizationTarget') def utilization_target(self) -> Optional[pulumi.Input[float]]: '\n \n ' return pulumi.get(self, 'utilization_target')
@property @pulumi.getter(name='utilizationTargetType') def utilization_target_type(self) -> Optional[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType']]: '\n Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.\n ' return pulumi.get(self, 'utilization_target_type')
-214,039,797,351,675,800
Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
utilization_target_type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='utilizationTargetType') def utilization_target_type(self) -> Optional[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType']]: '\n \n ' return pulumi.get(self, 'utilization_target_type')
def __init__(__self__, *, utilization_target: Optional[pulumi.Input[float]]=None): '\n Configuration parameters of autoscaling based on load balancing.\n :param pulumi.Input[float] utilization_target: Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.\n ' if (utilization_target is not None): pulumi.set(__self__, 'utilization_target', utilization_target)
652,489,131,874,012,500
Configuration parameters of autoscaling based on load balancing. :param pulumi.Input[float] utilization_target: Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, utilization_target: Optional[pulumi.Input[float]]=None): '\n Configuration parameters of autoscaling based on load balancing.\n :param pulumi.Input[float] utilization_target: Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.\n ' if (utilization_target is not None): pulumi.set(__self__, 'utilization_target', utilization_target)
@property @pulumi.getter(name='utilizationTarget') def utilization_target(self) -> Optional[pulumi.Input[float]]: '\n Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.\n ' return pulumi.get(self, 'utilization_target')
2,194,761,281,484,321,500
Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
utilization_target
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='utilizationTarget') def utilization_target(self) -> Optional[pulumi.Input[float]]: '\n \n ' return pulumi.get(self, 'utilization_target')
def __init__(__self__, *, max_scaled_down_replicas: Optional[pulumi.Input['FixedOrPercentArgs']]=None, time_window_sec: Optional[pulumi.Input[int]]=None): "\n Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.\n :param pulumi.Input['FixedOrPercentArgs'] max_scaled_down_replicas: Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.\n :param pulumi.Input[int] time_window_sec: How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.\n " if (max_scaled_down_replicas is not None): pulumi.set(__self__, 'max_scaled_down_replicas', max_scaled_down_replicas) if (time_window_sec is not None): pulumi.set(__self__, 'time_window_sec', time_window_sec)
5,798,736,466,509,607,000
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. :param pulumi.Input['FixedOrPercentArgs'] max_scaled_down_replicas: Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. :param pulumi.Input[int] time_window_sec: How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, max_scaled_down_replicas: Optional[pulumi.Input['FixedOrPercentArgs']]=None, time_window_sec: Optional[pulumi.Input[int]]=None): "\n Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.\n :param pulumi.Input['FixedOrPercentArgs'] max_scaled_down_replicas: Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.\n :param pulumi.Input[int] time_window_sec: How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.\n " if (max_scaled_down_replicas is not None): pulumi.set(__self__, 'max_scaled_down_replicas', max_scaled_down_replicas) if (time_window_sec is not None): pulumi.set(__self__, 'time_window_sec', time_window_sec)
@property @pulumi.getter(name='maxScaledDownReplicas') def max_scaled_down_replicas(self) -> Optional[pulumi.Input['FixedOrPercentArgs']]: '\n Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.\n ' return pulumi.get(self, 'max_scaled_down_replicas')
7,814,259,435,108,339,000
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
max_scaled_down_replicas
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='maxScaledDownReplicas') def max_scaled_down_replicas(self) -> Optional[pulumi.Input['FixedOrPercentArgs']]: '\n \n ' return pulumi.get(self, 'max_scaled_down_replicas')
@property @pulumi.getter(name='timeWindowSec') def time_window_sec(self) -> Optional[pulumi.Input[int]]: '\n How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.\n ' return pulumi.get(self, 'time_window_sec')
3,869,844,396,332,421,000
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
time_window_sec
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='timeWindowSec') def time_window_sec(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'time_window_sec')
def __init__(__self__, *, max_scaled_in_replicas: Optional[pulumi.Input['FixedOrPercentArgs']]=None, time_window_sec: Optional[pulumi.Input[int]]=None): "\n Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.\n :param pulumi.Input['FixedOrPercentArgs'] max_scaled_in_replicas: Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.\n :param pulumi.Input[int] time_window_sec: How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.\n " if (max_scaled_in_replicas is not None): pulumi.set(__self__, 'max_scaled_in_replicas', max_scaled_in_replicas) if (time_window_sec is not None): pulumi.set(__self__, 'time_window_sec', time_window_sec)
5,799,452,653,476,138,000
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. :param pulumi.Input['FixedOrPercentArgs'] max_scaled_in_replicas: Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. :param pulumi.Input[int] time_window_sec: How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, max_scaled_in_replicas: Optional[pulumi.Input['FixedOrPercentArgs']]=None, time_window_sec: Optional[pulumi.Input[int]]=None): "\n Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.\n :param pulumi.Input['FixedOrPercentArgs'] max_scaled_in_replicas: Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.\n :param pulumi.Input[int] time_window_sec: How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.\n " if (max_scaled_in_replicas is not None): pulumi.set(__self__, 'max_scaled_in_replicas', max_scaled_in_replicas) if (time_window_sec is not None): pulumi.set(__self__, 'time_window_sec', time_window_sec)
@property @pulumi.getter(name='maxScaledInReplicas') def max_scaled_in_replicas(self) -> Optional[pulumi.Input['FixedOrPercentArgs']]: '\n Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.\n ' return pulumi.get(self, 'max_scaled_in_replicas')
6,270,986,127,577,563,000
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
max_scaled_in_replicas
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='maxScaledInReplicas') def max_scaled_in_replicas(self) -> Optional[pulumi.Input['FixedOrPercentArgs']]: '\n \n ' return pulumi.get(self, 'max_scaled_in_replicas')
@property @pulumi.getter(name='timeWindowSec') def time_window_sec(self) -> Optional[pulumi.Input[int]]: '\n How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.\n ' return pulumi.get(self, 'time_window_sec')
3,869,844,396,332,421,000
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
time_window_sec
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='timeWindowSec') def time_window_sec(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'time_window_sec')
def __init__(__self__, *, cool_down_period_sec: Optional[pulumi.Input[int]]=None, cpu_utilization: Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationArgs']]=None, custom_metric_utilizations: Optional[pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]]]=None, load_balancing_utilization: Optional[pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs']]=None, max_num_replicas: Optional[pulumi.Input[int]]=None, min_num_replicas: Optional[pulumi.Input[int]]=None, mode: Optional[pulumi.Input['AutoscalingPolicyMode']]=None, scale_down_control: Optional[pulumi.Input['AutoscalingPolicyScaleDownControlArgs']]=None, scale_in_control: Optional[pulumi.Input['AutoscalingPolicyScaleInControlArgs']]=None, scaling_schedules: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None): "\n Cloud Autoscaler policy.\n :param pulumi.Input[int] cool_down_period_sec: The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.\n :param pulumi.Input['AutoscalingPolicyCpuUtilizationArgs'] cpu_utilization: Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.\n :param pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]] custom_metric_utilizations: Configuration parameters of autoscaling based on a custom metric.\n :param pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs'] load_balancing_utilization: Configuration parameters of autoscaling based on load balancer.\n :param pulumi.Input[int] max_num_replicas: The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.\n :param pulumi.Input[int] min_num_replicas: The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.\n :param pulumi.Input['AutoscalingPolicyMode'] mode: Defines operating mode for this policy.\n :param pulumi.Input[Mapping[str, pulumi.Input[str]]] scaling_schedules: Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.\n " if (cool_down_period_sec is not None): pulumi.set(__self__, 'cool_down_period_sec', cool_down_period_sec) if (cpu_utilization is not None): pulumi.set(__self__, 'cpu_utilization', cpu_utilization) if (custom_metric_utilizations is not None): pulumi.set(__self__, 'custom_metric_utilizations', custom_metric_utilizations) if (load_balancing_utilization is not None): pulumi.set(__self__, 'load_balancing_utilization', load_balancing_utilization) if (max_num_replicas is not None): pulumi.set(__self__, 'max_num_replicas', max_num_replicas) if (min_num_replicas is not None): pulumi.set(__self__, 'min_num_replicas', min_num_replicas) if (mode is not None): pulumi.set(__self__, 'mode', mode) if (scale_down_control is not None): pulumi.set(__self__, 'scale_down_control', scale_down_control) if (scale_in_control is not None): pulumi.set(__self__, 'scale_in_control', scale_in_control) if (scaling_schedules is not None): pulumi.set(__self__, 'scaling_schedules', scaling_schedules)
313,835,667,168,424,200
Cloud Autoscaler policy. :param pulumi.Input[int] cool_down_period_sec: The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. :param pulumi.Input['AutoscalingPolicyCpuUtilizationArgs'] cpu_utilization: Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group. :param pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]] custom_metric_utilizations: Configuration parameters of autoscaling based on a custom metric. :param pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs'] load_balancing_utilization: Configuration parameters of autoscaling based on load balancer. :param pulumi.Input[int] max_num_replicas: The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas. :param pulumi.Input[int] min_num_replicas: The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed. :param pulumi.Input['AutoscalingPolicyMode'] mode: Defines operating mode for this policy. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] scaling_schedules: Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, cool_down_period_sec: Optional[pulumi.Input[int]]=None, cpu_utilization: Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationArgs']]=None, custom_metric_utilizations: Optional[pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]]]=None, load_balancing_utilization: Optional[pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs']]=None, max_num_replicas: Optional[pulumi.Input[int]]=None, min_num_replicas: Optional[pulumi.Input[int]]=None, mode: Optional[pulumi.Input['AutoscalingPolicyMode']]=None, scale_down_control: Optional[pulumi.Input['AutoscalingPolicyScaleDownControlArgs']]=None, scale_in_control: Optional[pulumi.Input['AutoscalingPolicyScaleInControlArgs']]=None, scaling_schedules: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None): "\n Cloud Autoscaler policy.\n :param pulumi.Input[int] cool_down_period_sec: The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.\n :param pulumi.Input['AutoscalingPolicyCpuUtilizationArgs'] cpu_utilization: Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.\n :param pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]] custom_metric_utilizations: Configuration parameters of autoscaling based on a custom metric.\n :param pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs'] load_balancing_utilization: Configuration parameters of autoscaling based on load balancer.\n :param pulumi.Input[int] max_num_replicas: The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.\n :param pulumi.Input[int] min_num_replicas: The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.\n :param pulumi.Input['AutoscalingPolicyMode'] mode: Defines operating mode for this policy.\n :param pulumi.Input[Mapping[str, pulumi.Input[str]]] scaling_schedules: Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.\n " if (cool_down_period_sec is not None): pulumi.set(__self__, 'cool_down_period_sec', cool_down_period_sec) if (cpu_utilization is not None): pulumi.set(__self__, 'cpu_utilization', cpu_utilization) if (custom_metric_utilizations is not None): pulumi.set(__self__, 'custom_metric_utilizations', custom_metric_utilizations) if (load_balancing_utilization is not None): pulumi.set(__self__, 'load_balancing_utilization', load_balancing_utilization) if (max_num_replicas is not None): pulumi.set(__self__, 'max_num_replicas', max_num_replicas) if (min_num_replicas is not None): pulumi.set(__self__, 'min_num_replicas', min_num_replicas) if (mode is not None): pulumi.set(__self__, 'mode', mode) if (scale_down_control is not None): pulumi.set(__self__, 'scale_down_control', scale_down_control) if (scale_in_control is not None): pulumi.set(__self__, 'scale_in_control', scale_in_control) if (scaling_schedules is not None): pulumi.set(__self__, 'scaling_schedules', scaling_schedules)
@property @pulumi.getter(name='coolDownPeriodSec') def cool_down_period_sec(self) -> Optional[pulumi.Input[int]]: '\n The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.\n ' return pulumi.get(self, 'cool_down_period_sec')
4,268,788,513,669,482,000
The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
cool_down_period_sec
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='coolDownPeriodSec') def cool_down_period_sec(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'cool_down_period_sec')
@property @pulumi.getter(name='cpuUtilization') def cpu_utilization(self) -> Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationArgs']]: '\n Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.\n ' return pulumi.get(self, 'cpu_utilization')
7,235,023,684,424,177,000
Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
cpu_utilization
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='cpuUtilization') def cpu_utilization(self) -> Optional[pulumi.Input['AutoscalingPolicyCpuUtilizationArgs']]: '\n \n ' return pulumi.get(self, 'cpu_utilization')
@property @pulumi.getter(name='customMetricUtilizations') def custom_metric_utilizations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]]]: '\n Configuration parameters of autoscaling based on a custom metric.\n ' return pulumi.get(self, 'custom_metric_utilizations')
-8,425,046,823,309,393,000
Configuration parameters of autoscaling based on a custom metric.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
custom_metric_utilizations
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='customMetricUtilizations') def custom_metric_utilizations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutoscalingPolicyCustomMetricUtilizationArgs']]]]: '\n \n ' return pulumi.get(self, 'custom_metric_utilizations')
@property @pulumi.getter(name='loadBalancingUtilization') def load_balancing_utilization(self) -> Optional[pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs']]: '\n Configuration parameters of autoscaling based on load balancer.\n ' return pulumi.get(self, 'load_balancing_utilization')
-9,201,321,762,308,680,000
Configuration parameters of autoscaling based on load balancer.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
load_balancing_utilization
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='loadBalancingUtilization') def load_balancing_utilization(self) -> Optional[pulumi.Input['AutoscalingPolicyLoadBalancingUtilizationArgs']]: '\n \n ' return pulumi.get(self, 'load_balancing_utilization')
@property @pulumi.getter(name='maxNumReplicas') def max_num_replicas(self) -> Optional[pulumi.Input[int]]: '\n The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.\n ' return pulumi.get(self, 'max_num_replicas')
7,649,136,461,859,215,000
The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
max_num_replicas
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='maxNumReplicas') def max_num_replicas(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'max_num_replicas')
@property @pulumi.getter(name='minNumReplicas') def min_num_replicas(self) -> Optional[pulumi.Input[int]]: '\n The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.\n ' return pulumi.get(self, 'min_num_replicas')
-5,913,286,434,718,688,000
The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
min_num_replicas
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='minNumReplicas') def min_num_replicas(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'min_num_replicas')
@property @pulumi.getter def mode(self) -> Optional[pulumi.Input['AutoscalingPolicyMode']]: '\n Defines operating mode for this policy.\n ' return pulumi.get(self, 'mode')
-8,381,361,528,846,734,000
Defines operating mode for this policy.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
mode
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def mode(self) -> Optional[pulumi.Input['AutoscalingPolicyMode']]: '\n \n ' return pulumi.get(self, 'mode')
@property @pulumi.getter(name='scalingSchedules') def scaling_schedules(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.\n ' return pulumi.get(self, 'scaling_schedules')
7,452,249,980,741,658,000
Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
scaling_schedules
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='scalingSchedules') def scaling_schedules(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n \n ' return pulumi.get(self, 'scaling_schedules')
def __init__(__self__, *, header_name: Optional[pulumi.Input[str]]=None): '\n Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.\n :param pulumi.Input[str] header_name: The header field name to match on when bypassing cache. Values are case-insensitive.\n ' if (header_name is not None): pulumi.set(__self__, 'header_name', header_name)
3,458,832,322,505,676,000
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. :param pulumi.Input[str] header_name: The header field name to match on when bypassing cache. Values are case-insensitive.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, header_name: Optional[pulumi.Input[str]]=None): '\n Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.\n :param pulumi.Input[str] header_name: The header field name to match on when bypassing cache. Values are case-insensitive.\n ' if (header_name is not None): pulumi.set(__self__, 'header_name', header_name)
@property @pulumi.getter(name='headerName') def header_name(self) -> Optional[pulumi.Input[str]]: '\n The header field name to match on when bypassing cache. Values are case-insensitive.\n ' return pulumi.get(self, 'header_name')
-5,887,330,554,763,729,000
The header field name to match on when bypassing cache. Values are case-insensitive.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
header_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='headerName') def header_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'header_name')
def __init__(__self__, *, include_http_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, query_string_whitelist: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): "\n Message containing what to include in the cache key for a request for Cloud CDN.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] include_http_headers: Allows HTTP request headers (by name) to be used in the cache key.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] query_string_whitelist: Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.\n " if (include_http_headers is not None): pulumi.set(__self__, 'include_http_headers', include_http_headers) if (query_string_whitelist is not None): pulumi.set(__self__, 'query_string_whitelist', query_string_whitelist)
3,862,070,114,794,049,500
Message containing what to include in the cache key for a request for Cloud CDN. :param pulumi.Input[Sequence[pulumi.Input[str]]] include_http_headers: Allows HTTP request headers (by name) to be used in the cache key. :param pulumi.Input[Sequence[pulumi.Input[str]]] query_string_whitelist: Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, include_http_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, query_string_whitelist: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): "\n Message containing what to include in the cache key for a request for Cloud CDN.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] include_http_headers: Allows HTTP request headers (by name) to be used in the cache key.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] query_string_whitelist: Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.\n " if (include_http_headers is not None): pulumi.set(__self__, 'include_http_headers', include_http_headers) if (query_string_whitelist is not None): pulumi.set(__self__, 'query_string_whitelist', query_string_whitelist)
@property @pulumi.getter(name='includeHttpHeaders') def include_http_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n Allows HTTP request headers (by name) to be used in the cache key.\n ' return pulumi.get(self, 'include_http_headers')
68,200,754,198,893,220
Allows HTTP request headers (by name) to be used in the cache key.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
include_http_headers
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='includeHttpHeaders') def include_http_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'include_http_headers')
@property @pulumi.getter(name='queryStringWhitelist') def query_string_whitelist(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.\n " return pulumi.get(self, 'query_string_whitelist')
5,656,823,350,691,230,000
Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
query_string_whitelist
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='queryStringWhitelist') def query_string_whitelist(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n \n " return pulumi.get(self, 'query_string_whitelist')
def __init__(__self__, *, code: Optional[pulumi.Input[int]]=None, ttl: Optional[pulumi.Input[int]]=None): '\n Specify CDN TTLs for response error codes.\n :param pulumi.Input[int] code: The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.\n :param pulumi.Input[int] ttl: The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' if (code is not None): pulumi.set(__self__, 'code', code) if (ttl is not None): pulumi.set(__self__, 'ttl', ttl)
921,416,134,097,063,000
Specify CDN TTLs for response error codes. :param pulumi.Input[int] code: The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. :param pulumi.Input[int] ttl: The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, code: Optional[pulumi.Input[int]]=None, ttl: Optional[pulumi.Input[int]]=None): '\n Specify CDN TTLs for response error codes.\n :param pulumi.Input[int] code: The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.\n :param pulumi.Input[int] ttl: The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' if (code is not None): pulumi.set(__self__, 'code', code) if (ttl is not None): pulumi.set(__self__, 'ttl', ttl)
@property @pulumi.getter def code(self) -> Optional[pulumi.Input[int]]: '\n The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.\n ' return pulumi.get(self, 'code')
-1,282,367,446,895,061,500
The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
code
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def code(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'code')
@property @pulumi.getter def ttl(self) -> Optional[pulumi.Input[int]]: '\n The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' return pulumi.get(self, 'ttl')
7,303,850,336,050,947,000
The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ttl
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def ttl(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'ttl')
def __init__(__self__, *, bypass_cache_on_request_headers: Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs']]]]=None, cache_key_policy: Optional[pulumi.Input['BackendBucketCdnPolicyCacheKeyPolicyArgs']]=None, cache_mode: Optional[pulumi.Input['BackendBucketCdnPolicyCacheMode']]=None, client_ttl: Optional[pulumi.Input[int]]=None, default_ttl: Optional[pulumi.Input[int]]=None, max_ttl: Optional[pulumi.Input[int]]=None, negative_caching: Optional[pulumi.Input[bool]]=None, negative_caching_policy: Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyNegativeCachingPolicyArgs']]]]=None, request_coalescing: Optional[pulumi.Input[bool]]=None, serve_while_stale: Optional[pulumi.Input[int]]=None, signed_url_cache_max_age_sec: Optional[pulumi.Input[str]]=None): '\n Message containing Cloud CDN configuration for a backend bucket.\n :param pulumi.Input[Sequence[pulumi.Input[\'BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs\']]] bypass_cache_on_request_headers: Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings.\n :param pulumi.Input[\'BackendBucketCdnPolicyCacheKeyPolicyArgs\'] cache_key_policy: The CacheKeyPolicy for this CdnPolicy.\n :param pulumi.Input[\'BackendBucketCdnPolicyCacheMode\'] cache_mode: Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google\'s edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.\n :param pulumi.Input[int] client_ttl: Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).\n :param pulumi.Input[int] default_ttl: Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n :param pulumi.Input[int] max_ttl: Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n :param pulumi.Input[bool] negative_caching: Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.\n :param pulumi.Input[Sequence[pulumi.Input[\'BackendBucketCdnPolicyNegativeCachingPolicyArgs\']]] negative_caching_policy: Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN\'s default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.\n :param pulumi.Input[bool] request_coalescing: If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.\n :param pulumi.Input[int] serve_while_stale: Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.\n :param pulumi.Input[str] signed_url_cache_max_age_sec: Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.\n ' if (bypass_cache_on_request_headers is not None): pulumi.set(__self__, 'bypass_cache_on_request_headers', bypass_cache_on_request_headers) if (cache_key_policy is not None): pulumi.set(__self__, 'cache_key_policy', cache_key_policy) if (cache_mode is not None): pulumi.set(__self__, 'cache_mode', cache_mode) if (client_ttl is not None): pulumi.set(__self__, 'client_ttl', client_ttl) if (default_ttl is not None): pulumi.set(__self__, 'default_ttl', default_ttl) if (max_ttl is not None): pulumi.set(__self__, 'max_ttl', max_ttl) if (negative_caching is not None): pulumi.set(__self__, 'negative_caching', negative_caching) if (negative_caching_policy is not None): pulumi.set(__self__, 'negative_caching_policy', negative_caching_policy) if (request_coalescing is not None): pulumi.set(__self__, 'request_coalescing', request_coalescing) if (serve_while_stale is not None): pulumi.set(__self__, 'serve_while_stale', serve_while_stale) if (signed_url_cache_max_age_sec is not None): pulumi.set(__self__, 'signed_url_cache_max_age_sec', signed_url_cache_max_age_sec)
2,287,111,809,155,082,200
Message containing Cloud CDN configuration for a backend bucket. :param pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs']]] bypass_cache_on_request_headers: Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. :param pulumi.Input['BackendBucketCdnPolicyCacheKeyPolicyArgs'] cache_key_policy: The CacheKeyPolicy for this CdnPolicy. :param pulumi.Input['BackendBucketCdnPolicyCacheMode'] cache_mode: Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. :param pulumi.Input[int] client_ttl: Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). :param pulumi.Input[int] default_ttl: Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. :param pulumi.Input[int] max_ttl: Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. :param pulumi.Input[bool] negative_caching: Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. :param pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyNegativeCachingPolicyArgs']]] negative_caching_policy: Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. :param pulumi.Input[bool] request_coalescing: If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin. :param pulumi.Input[int] serve_while_stale: Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale. :param pulumi.Input[str] signed_url_cache_max_age_sec: Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, bypass_cache_on_request_headers: Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs']]]]=None, cache_key_policy: Optional[pulumi.Input['BackendBucketCdnPolicyCacheKeyPolicyArgs']]=None, cache_mode: Optional[pulumi.Input['BackendBucketCdnPolicyCacheMode']]=None, client_ttl: Optional[pulumi.Input[int]]=None, default_ttl: Optional[pulumi.Input[int]]=None, max_ttl: Optional[pulumi.Input[int]]=None, negative_caching: Optional[pulumi.Input[bool]]=None, negative_caching_policy: Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyNegativeCachingPolicyArgs']]]]=None, request_coalescing: Optional[pulumi.Input[bool]]=None, serve_while_stale: Optional[pulumi.Input[int]]=None, signed_url_cache_max_age_sec: Optional[pulumi.Input[str]]=None): '\n Message containing Cloud CDN configuration for a backend bucket.\n :param pulumi.Input[Sequence[pulumi.Input[\'BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs\']]] bypass_cache_on_request_headers: Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings.\n :param pulumi.Input[\'BackendBucketCdnPolicyCacheKeyPolicyArgs\'] cache_key_policy: The CacheKeyPolicy for this CdnPolicy.\n :param pulumi.Input[\'BackendBucketCdnPolicyCacheMode\'] cache_mode: Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google\'s edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.\n :param pulumi.Input[int] client_ttl: Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).\n :param pulumi.Input[int] default_ttl: Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n :param pulumi.Input[int] max_ttl: Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n :param pulumi.Input[bool] negative_caching: Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.\n :param pulumi.Input[Sequence[pulumi.Input[\'BackendBucketCdnPolicyNegativeCachingPolicyArgs\']]] negative_caching_policy: Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN\'s default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.\n :param pulumi.Input[bool] request_coalescing: If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.\n :param pulumi.Input[int] serve_while_stale: Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.\n :param pulumi.Input[str] signed_url_cache_max_age_sec: Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.\n ' if (bypass_cache_on_request_headers is not None): pulumi.set(__self__, 'bypass_cache_on_request_headers', bypass_cache_on_request_headers) if (cache_key_policy is not None): pulumi.set(__self__, 'cache_key_policy', cache_key_policy) if (cache_mode is not None): pulumi.set(__self__, 'cache_mode', cache_mode) if (client_ttl is not None): pulumi.set(__self__, 'client_ttl', client_ttl) if (default_ttl is not None): pulumi.set(__self__, 'default_ttl', default_ttl) if (max_ttl is not None): pulumi.set(__self__, 'max_ttl', max_ttl) if (negative_caching is not None): pulumi.set(__self__, 'negative_caching', negative_caching) if (negative_caching_policy is not None): pulumi.set(__self__, 'negative_caching_policy', negative_caching_policy) if (request_coalescing is not None): pulumi.set(__self__, 'request_coalescing', request_coalescing) if (serve_while_stale is not None): pulumi.set(__self__, 'serve_while_stale', serve_while_stale) if (signed_url_cache_max_age_sec is not None): pulumi.set(__self__, 'signed_url_cache_max_age_sec', signed_url_cache_max_age_sec)
@property @pulumi.getter(name='bypassCacheOnRequestHeaders') def bypass_cache_on_request_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs']]]]: '\n Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings.\n ' return pulumi.get(self, 'bypass_cache_on_request_headers')
7,122,347,570,439,956,000
Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
bypass_cache_on_request_headers
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='bypassCacheOnRequestHeaders') def bypass_cache_on_request_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs']]]]: '\n \n ' return pulumi.get(self, 'bypass_cache_on_request_headers')
@property @pulumi.getter(name='cacheKeyPolicy') def cache_key_policy(self) -> Optional[pulumi.Input['BackendBucketCdnPolicyCacheKeyPolicyArgs']]: '\n The CacheKeyPolicy for this CdnPolicy.\n ' return pulumi.get(self, 'cache_key_policy')
-6,192,571,662,332,369,000
The CacheKeyPolicy for this CdnPolicy.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
cache_key_policy
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='cacheKeyPolicy') def cache_key_policy(self) -> Optional[pulumi.Input['BackendBucketCdnPolicyCacheKeyPolicyArgs']]: '\n \n ' return pulumi.get(self, 'cache_key_policy')
@property @pulumi.getter(name='cacheMode') def cache_mode(self) -> Optional[pulumi.Input['BackendBucketCdnPolicyCacheMode']]: '\n Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google\'s edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.\n ' return pulumi.get(self, 'cache_mode')
437,694,186,843,877,500
Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
cache_mode
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='cacheMode') def cache_mode(self) -> Optional[pulumi.Input['BackendBucketCdnPolicyCacheMode']]: '\n Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google\'s edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.\n ' return pulumi.get(self, 'cache_mode')
@property @pulumi.getter(name='clientTtl') def client_ttl(self) -> Optional[pulumi.Input[int]]: '\n Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).\n ' return pulumi.get(self, 'client_ttl')
1,891,707,978,725,079,600
Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
client_ttl
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='clientTtl') def client_ttl(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'client_ttl')
@property @pulumi.getter(name='defaultTtl') def default_ttl(self) -> Optional[pulumi.Input[int]]: '\n Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' return pulumi.get(self, 'default_ttl')
1,646,866,982,074,518,800
Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
default_ttl
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='defaultTtl') def default_ttl(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'default_ttl')
@property @pulumi.getter(name='maxTtl') def max_ttl(self) -> Optional[pulumi.Input[int]]: '\n Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' return pulumi.get(self, 'max_ttl')
287,892,752,124,727,070
Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
max_ttl
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='maxTtl') def max_ttl(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'max_ttl')
@property @pulumi.getter(name='negativeCaching') def negative_caching(self) -> Optional[pulumi.Input[bool]]: '\n Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.\n ' return pulumi.get(self, 'negative_caching')
-8,970,266,672,833,103,000
Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
negative_caching
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='negativeCaching') def negative_caching(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'negative_caching')
@property @pulumi.getter(name='negativeCachingPolicy') def negative_caching_policy(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyNegativeCachingPolicyArgs']]]]: "\n Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.\n " return pulumi.get(self, 'negative_caching_policy')
-3,273,345,787,700,025,300
Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
negative_caching_policy
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='negativeCachingPolicy') def negative_caching_policy(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyNegativeCachingPolicyArgs']]]]: "\n \n " return pulumi.get(self, 'negative_caching_policy')
@property @pulumi.getter(name='requestCoalescing') def request_coalescing(self) -> Optional[pulumi.Input[bool]]: '\n If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.\n ' return pulumi.get(self, 'request_coalescing')
-3,131,061,561,102,181,000
If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
request_coalescing
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='requestCoalescing') def request_coalescing(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'request_coalescing')
@property @pulumi.getter(name='serveWhileStale') def serve_while_stale(self) -> Optional[pulumi.Input[int]]: '\n Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.\n ' return pulumi.get(self, 'serve_while_stale')
-2,761,373,988,786,550,000
Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
serve_while_stale
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='serveWhileStale') def serve_while_stale(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'serve_while_stale')
@property @pulumi.getter(name='signedUrlCacheMaxAgeSec') def signed_url_cache_max_age_sec(self) -> Optional[pulumi.Input[str]]: '\n Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.\n ' return pulumi.get(self, 'signed_url_cache_max_age_sec')
7,089,128,830,377,634,000
Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
signed_url_cache_max_age_sec
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='signedUrlCacheMaxAgeSec') def signed_url_cache_max_age_sec(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'signed_url_cache_max_age_sec')
def __init__(__self__, *, header_name: Optional[pulumi.Input[str]]=None): '\n Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.\n :param pulumi.Input[str] header_name: The header field name to match on when bypassing cache. Values are case-insensitive.\n ' if (header_name is not None): pulumi.set(__self__, 'header_name', header_name)
3,458,832,322,505,676,000
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. :param pulumi.Input[str] header_name: The header field name to match on when bypassing cache. Values are case-insensitive.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, header_name: Optional[pulumi.Input[str]]=None): '\n Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.\n :param pulumi.Input[str] header_name: The header field name to match on when bypassing cache. Values are case-insensitive.\n ' if (header_name is not None): pulumi.set(__self__, 'header_name', header_name)
@property @pulumi.getter(name='headerName') def header_name(self) -> Optional[pulumi.Input[str]]: '\n The header field name to match on when bypassing cache. Values are case-insensitive.\n ' return pulumi.get(self, 'header_name')
-5,887,330,554,763,729,000
The header field name to match on when bypassing cache. Values are case-insensitive.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
header_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='headerName') def header_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'header_name')
def __init__(__self__, *, code: Optional[pulumi.Input[int]]=None, ttl: Optional[pulumi.Input[int]]=None): '\n Specify CDN TTLs for response error codes.\n :param pulumi.Input[int] code: The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.\n :param pulumi.Input[int] ttl: The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' if (code is not None): pulumi.set(__self__, 'code', code) if (ttl is not None): pulumi.set(__self__, 'ttl', ttl)
921,416,134,097,063,000
Specify CDN TTLs for response error codes. :param pulumi.Input[int] code: The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. :param pulumi.Input[int] ttl: The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, code: Optional[pulumi.Input[int]]=None, ttl: Optional[pulumi.Input[int]]=None): '\n Specify CDN TTLs for response error codes.\n :param pulumi.Input[int] code: The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.\n :param pulumi.Input[int] ttl: The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.\n ' if (code is not None): pulumi.set(__self__, 'code', code) if (ttl is not None): pulumi.set(__self__, 'ttl', ttl)
@property @pulumi.getter def code(self) -> Optional[pulumi.Input[int]]: '\n The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.\n ' return pulumi.get(self, 'code')
-1,282,367,446,895,061,500
The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
code
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def code(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'code')