1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. getResourcePolicy

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.getResourcePolicy

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Retrieves all information of the specified resource policy.

Using getResourcePolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getResourcePolicy(args: GetResourcePolicyArgs, opts?: InvokeOptions): Promise<GetResourcePolicyResult>
function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: InvokeOptions): Output<GetResourcePolicyResult>
Copy
def get_resource_policy(project: Optional[str] = None,
                        region: Optional[str] = None,
                        resource_policy: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetResourcePolicyResult
def get_resource_policy_output(project: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        resource_policy: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetResourcePolicyResult]
Copy
func LookupResourcePolicy(ctx *Context, args *LookupResourcePolicyArgs, opts ...InvokeOption) (*LookupResourcePolicyResult, error)
func LookupResourcePolicyOutput(ctx *Context, args *LookupResourcePolicyOutputArgs, opts ...InvokeOption) LookupResourcePolicyResultOutput
Copy

> Note: This function is named LookupResourcePolicy in the Go SDK.

public static class GetResourcePolicy 
{
    public static Task<GetResourcePolicyResult> InvokeAsync(GetResourcePolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetResourcePolicyResult> Invoke(GetResourcePolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetResourcePolicyResult> getResourcePolicy(GetResourcePolicyArgs args, InvokeOptions options)
public static Output<GetResourcePolicyResult> getResourcePolicy(GetResourcePolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:compute/alpha:getResourcePolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Region This property is required. string
ResourcePolicy This property is required. string
Project string
Region This property is required. string
ResourcePolicy This property is required. string
Project string
region This property is required. String
resourcePolicy This property is required. String
project String
region This property is required. string
resourcePolicy This property is required. string
project string
region This property is required. str
resource_policy This property is required. str
project str
region This property is required. String
resourcePolicy This property is required. String
project String

getResourcePolicy Result

The following output properties are available:

CreationTimestamp string
Creation timestamp in RFC3339 text format.
Description string
DiskConsistencyGroupPolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourcePolicyDiskConsistencyGroupPolicyResponse
Resource policy for disk consistency groups.
GroupPlacementPolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourcePolicyGroupPlacementPolicyResponse
Resource policy for instances for placement configuration.
InstanceSchedulePolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourcePolicyInstanceSchedulePolicyResponse
Resource policy for scheduling instance operations.
Kind string
Type of the resource. Always compute#resource_policies for resource policies.
Name string
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Region string
ResourceStatus Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourcePolicyResourceStatusResponse
The system status of the resource policy.
SelfLink string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
SnapshotSchedulePolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourcePolicySnapshotSchedulePolicyResponse
Resource policy for persistent disks for creating snapshots.
Status string
The status of resource policy creation.
VmMaintenancePolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourcePolicyVmMaintenancePolicyResponse
Resource policy applicable to VMs for infrastructure maintenance.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Description string
DiskConsistencyGroupPolicy ResourcePolicyDiskConsistencyGroupPolicyResponse
Resource policy for disk consistency groups.
GroupPlacementPolicy ResourcePolicyGroupPlacementPolicyResponse
Resource policy for instances for placement configuration.
InstanceSchedulePolicy ResourcePolicyInstanceSchedulePolicyResponse
Resource policy for scheduling instance operations.
Kind string
Type of the resource. Always compute#resource_policies for resource policies.
Name string
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Region string
ResourceStatus ResourcePolicyResourceStatusResponse
The system status of the resource policy.
SelfLink string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
SnapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicyResponse
Resource policy for persistent disks for creating snapshots.
Status string
The status of resource policy creation.
VmMaintenancePolicy ResourcePolicyVmMaintenancePolicyResponse
Resource policy applicable to VMs for infrastructure maintenance.
creationTimestamp String
Creation timestamp in RFC3339 text format.
description String
diskConsistencyGroupPolicy ResourcePolicyDiskConsistencyGroupPolicyResponse
Resource policy for disk consistency groups.
groupPlacementPolicy ResourcePolicyGroupPlacementPolicyResponse
Resource policy for instances for placement configuration.
instanceSchedulePolicy ResourcePolicyInstanceSchedulePolicyResponse
Resource policy for scheduling instance operations.
kind String
Type of the resource. Always compute#resource_policies for resource policies.
name String
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region String
resourceStatus ResourcePolicyResourceStatusResponse
The system status of the resource policy.
selfLink String
Server-defined fully-qualified URL for this resource.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
snapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicyResponse
Resource policy for persistent disks for creating snapshots.
status String
The status of resource policy creation.
vmMaintenancePolicy ResourcePolicyVmMaintenancePolicyResponse
Resource policy applicable to VMs for infrastructure maintenance.
creationTimestamp string
Creation timestamp in RFC3339 text format.
description string
diskConsistencyGroupPolicy ResourcePolicyDiskConsistencyGroupPolicyResponse
Resource policy for disk consistency groups.
groupPlacementPolicy ResourcePolicyGroupPlacementPolicyResponse
Resource policy for instances for placement configuration.
instanceSchedulePolicy ResourcePolicyInstanceSchedulePolicyResponse
Resource policy for scheduling instance operations.
kind string
Type of the resource. Always compute#resource_policies for resource policies.
name string
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region string
resourceStatus ResourcePolicyResourceStatusResponse
The system status of the resource policy.
selfLink string
Server-defined fully-qualified URL for this resource.
selfLinkWithId string
Server-defined URL for this resource with the resource id.
snapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicyResponse
Resource policy for persistent disks for creating snapshots.
status string
The status of resource policy creation.
vmMaintenancePolicy ResourcePolicyVmMaintenancePolicyResponse
Resource policy applicable to VMs for infrastructure maintenance.
creation_timestamp str
Creation timestamp in RFC3339 text format.
description str
disk_consistency_group_policy ResourcePolicyDiskConsistencyGroupPolicyResponse
Resource policy for disk consistency groups.
group_placement_policy ResourcePolicyGroupPlacementPolicyResponse
Resource policy for instances for placement configuration.
instance_schedule_policy ResourcePolicyInstanceSchedulePolicyResponse
Resource policy for scheduling instance operations.
kind str
Type of the resource. Always compute#resource_policies for resource policies.
name str
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region str
resource_status ResourcePolicyResourceStatusResponse
The system status of the resource policy.
self_link str
Server-defined fully-qualified URL for this resource.
self_link_with_id str
Server-defined URL for this resource with the resource id.
snapshot_schedule_policy ResourcePolicySnapshotSchedulePolicyResponse
Resource policy for persistent disks for creating snapshots.
status str
The status of resource policy creation.
vm_maintenance_policy ResourcePolicyVmMaintenancePolicyResponse
Resource policy applicable to VMs for infrastructure maintenance.
creationTimestamp String
Creation timestamp in RFC3339 text format.
description String
diskConsistencyGroupPolicy Property Map
Resource policy for disk consistency groups.
groupPlacementPolicy Property Map
Resource policy for instances for placement configuration.
instanceSchedulePolicy Property Map
Resource policy for scheduling instance operations.
kind String
Type of the resource. Always compute#resource_policies for resource policies.
name String
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region String
resourceStatus Property Map
The system status of the resource policy.
selfLink String
Server-defined fully-qualified URL for this resource.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
snapshotSchedulePolicy Property Map
Resource policy for persistent disks for creating snapshots.
status String
The status of resource policy creation.
vmMaintenancePolicy Property Map
Resource policy applicable to VMs for infrastructure maintenance.

Supporting Types

ResourcePolicyDailyCycleResponse

DaysInCycle This property is required. int
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
Duration This property is required. string
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
StartTime This property is required. string
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
DaysInCycle This property is required. int
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
Duration This property is required. string
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
StartTime This property is required. string
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
daysInCycle This property is required. Integer
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
duration This property is required. String
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
startTime This property is required. String
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
daysInCycle This property is required. number
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
duration This property is required. string
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
startTime This property is required. string
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
days_in_cycle This property is required. int
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
duration This property is required. str
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
start_time This property is required. str
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
daysInCycle This property is required. Number
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
duration This property is required. String
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
startTime This property is required. String
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.

ResourcePolicyGroupPlacementPolicyResponse

AvailabilityDomainCount This property is required. int
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
Collocation This property is required. string
Specifies network collocation
Locality This property is required. string
Specifies network locality
MaxDistance This property is required. int
Specifies the number of max logical switches.
Scope This property is required. string
Scope specifies the availability domain to which the VMs should be spread.
SliceCount This property is required. int
Specifies the number of slices in a multislice workload.
Style This property is required. string
Specifies instances to hosts placement relationship
TpuTopology This property is required. string
Specifies the shape of the TPU slice
VmCount This property is required. int
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
AvailabilityDomainCount This property is required. int
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
Collocation This property is required. string
Specifies network collocation
Locality This property is required. string
Specifies network locality
MaxDistance This property is required. int
Specifies the number of max logical switches.
Scope This property is required. string
Scope specifies the availability domain to which the VMs should be spread.
SliceCount This property is required. int
Specifies the number of slices in a multislice workload.
Style This property is required. string
Specifies instances to hosts placement relationship
TpuTopology This property is required. string
Specifies the shape of the TPU slice
VmCount This property is required. int
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
availabilityDomainCount This property is required. Integer
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
collocation This property is required. String
Specifies network collocation
locality This property is required. String
Specifies network locality
maxDistance This property is required. Integer
Specifies the number of max logical switches.
scope This property is required. String
Scope specifies the availability domain to which the VMs should be spread.
sliceCount This property is required. Integer
Specifies the number of slices in a multislice workload.
style This property is required. String
Specifies instances to hosts placement relationship
tpuTopology This property is required. String
Specifies the shape of the TPU slice
vmCount This property is required. Integer
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
availabilityDomainCount This property is required. number
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
collocation This property is required. string
Specifies network collocation
locality This property is required. string
Specifies network locality
maxDistance This property is required. number
Specifies the number of max logical switches.
scope This property is required. string
Scope specifies the availability domain to which the VMs should be spread.
sliceCount This property is required. number
Specifies the number of slices in a multislice workload.
style This property is required. string
Specifies instances to hosts placement relationship
tpuTopology This property is required. string
Specifies the shape of the TPU slice
vmCount This property is required. number
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
availability_domain_count This property is required. int
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
collocation This property is required. str
Specifies network collocation
locality This property is required. str
Specifies network locality
max_distance This property is required. int
Specifies the number of max logical switches.
scope This property is required. str
Scope specifies the availability domain to which the VMs should be spread.
slice_count This property is required. int
Specifies the number of slices in a multislice workload.
style This property is required. str
Specifies instances to hosts placement relationship
tpu_topology This property is required. str
Specifies the shape of the TPU slice
vm_count This property is required. int
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
availabilityDomainCount This property is required. Number
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
collocation This property is required. String
Specifies network collocation
locality This property is required. String
Specifies network locality
maxDistance This property is required. Number
Specifies the number of max logical switches.
scope This property is required. String
Scope specifies the availability domain to which the VMs should be spread.
sliceCount This property is required. Number
Specifies the number of slices in a multislice workload.
style This property is required. String
Specifies instances to hosts placement relationship
tpuTopology This property is required. String
Specifies the shape of the TPU slice
vmCount This property is required. Number
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.

ResourcePolicyHourlyCycleResponse

Duration This property is required. string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
HoursInCycle This property is required. int
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
StartTime This property is required. string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
Duration This property is required. string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
HoursInCycle This property is required. int
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
StartTime This property is required. string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
duration This property is required. String
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
hoursInCycle This property is required. Integer
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
startTime This property is required. String
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
duration This property is required. string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
hoursInCycle This property is required. number
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
startTime This property is required. string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
duration This property is required. str
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
hours_in_cycle This property is required. int
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
start_time This property is required. str
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
duration This property is required. String
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
hoursInCycle This property is required. Number
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
startTime This property is required. String
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.

ResourcePolicyInstanceSchedulePolicyResponse

ExpirationTime This property is required. string
The expiration time of the schedule. The timestamp is an RFC3339 string.
StartTime This property is required. string
The start time of the schedule. The timestamp is an RFC3339 string.
TimeZone This property is required. string
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
VmStartSchedule This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for starting instances.
VmStopSchedule This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for stopping instances.
ExpirationTime This property is required. string
The expiration time of the schedule. The timestamp is an RFC3339 string.
StartTime This property is required. string
The start time of the schedule. The timestamp is an RFC3339 string.
TimeZone This property is required. string
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
VmStartSchedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for starting instances.
VmStopSchedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for stopping instances.
expirationTime This property is required. String
The expiration time of the schedule. The timestamp is an RFC3339 string.
startTime This property is required. String
The start time of the schedule. The timestamp is an RFC3339 string.
timeZone This property is required. String
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
vmStartSchedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for starting instances.
vmStopSchedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for stopping instances.
expirationTime This property is required. string
The expiration time of the schedule. The timestamp is an RFC3339 string.
startTime This property is required. string
The start time of the schedule. The timestamp is an RFC3339 string.
timeZone This property is required. string
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
vmStartSchedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for starting instances.
vmStopSchedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for stopping instances.
expiration_time This property is required. str
The expiration time of the schedule. The timestamp is an RFC3339 string.
start_time This property is required. str
The start time of the schedule. The timestamp is an RFC3339 string.
time_zone This property is required. str
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
vm_start_schedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for starting instances.
vm_stop_schedule This property is required. ResourcePolicyInstanceSchedulePolicyScheduleResponse
Specifies the schedule for stopping instances.
expirationTime This property is required. String
The expiration time of the schedule. The timestamp is an RFC3339 string.
startTime This property is required. String
The start time of the schedule. The timestamp is an RFC3339 string.
timeZone This property is required. String
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
vmStartSchedule This property is required. Property Map
Specifies the schedule for starting instances.
vmStopSchedule This property is required. Property Map
Specifies the schedule for stopping instances.

ResourcePolicyInstanceSchedulePolicyScheduleResponse

Schedule This property is required. string
Specifies the frequency for the operation, using the unix-cron format.
Schedule This property is required. string
Specifies the frequency for the operation, using the unix-cron format.
schedule This property is required. String
Specifies the frequency for the operation, using the unix-cron format.
schedule This property is required. string
Specifies the frequency for the operation, using the unix-cron format.
schedule This property is required. str
Specifies the frequency for the operation, using the unix-cron format.
schedule This property is required. String
Specifies the frequency for the operation, using the unix-cron format.

ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse

LastRunStartTime This property is required. string
The last time the schedule successfully ran. The timestamp is an RFC3339 string.
NextRunStartTime This property is required. string
The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
LastRunStartTime This property is required. string
The last time the schedule successfully ran. The timestamp is an RFC3339 string.
NextRunStartTime This property is required. string
The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
lastRunStartTime This property is required. String
The last time the schedule successfully ran. The timestamp is an RFC3339 string.
nextRunStartTime This property is required. String
The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
lastRunStartTime This property is required. string
The last time the schedule successfully ran. The timestamp is an RFC3339 string.
nextRunStartTime This property is required. string
The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
last_run_start_time This property is required. str
The last time the schedule successfully ran. The timestamp is an RFC3339 string.
next_run_start_time This property is required. str
The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
lastRunStartTime This property is required. String
The last time the schedule successfully ran. The timestamp is an RFC3339 string.
nextRunStartTime This property is required. String
The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

ResourcePolicyResourceStatusResponse

InstanceSchedulePolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.
InstanceSchedulePolicy This property is required. ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.
instanceSchedulePolicy This property is required. ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.
instanceSchedulePolicy This property is required. ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.
instance_schedule_policy This property is required. ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.
instanceSchedulePolicy This property is required. Property Map
Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

ResourcePolicySnapshotSchedulePolicyResponse

RetentionPolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
Retention policy applied to snapshots created by this resource policy.
Schedule This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicySnapshotSchedulePolicyScheduleResponse
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
SnapshotProperties This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
Properties with which snapshots are created such as labels, encryption keys.
RetentionPolicy This property is required. ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
Retention policy applied to snapshots created by this resource policy.
Schedule This property is required. ResourcePolicySnapshotSchedulePolicyScheduleResponse
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
SnapshotProperties This property is required. ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
Properties with which snapshots are created such as labels, encryption keys.
retentionPolicy This property is required. ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
Retention policy applied to snapshots created by this resource policy.
schedule This property is required. ResourcePolicySnapshotSchedulePolicyScheduleResponse
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
snapshotProperties This property is required. ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
Properties with which snapshots are created such as labels, encryption keys.
retentionPolicy This property is required. ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
Retention policy applied to snapshots created by this resource policy.
schedule This property is required. ResourcePolicySnapshotSchedulePolicyScheduleResponse
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
snapshotProperties This property is required. ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
Properties with which snapshots are created such as labels, encryption keys.
retention_policy This property is required. ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
Retention policy applied to snapshots created by this resource policy.
schedule This property is required. ResourcePolicySnapshotSchedulePolicyScheduleResponse
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
snapshot_properties This property is required. ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
Properties with which snapshots are created such as labels, encryption keys.
retentionPolicy This property is required. Property Map
Retention policy applied to snapshots created by this resource policy.
schedule This property is required. Property Map
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
snapshotProperties This property is required. Property Map
Properties with which snapshots are created such as labels, encryption keys.

ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse

MaxRetentionDays This property is required. int
Maximum age of the snapshot that is allowed to be kept.
OnPolicySwitch This property is required. string
OnSourceDiskDelete This property is required. string
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
MaxRetentionDays This property is required. int
Maximum age of the snapshot that is allowed to be kept.
OnPolicySwitch This property is required. string
OnSourceDiskDelete This property is required. string
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
maxRetentionDays This property is required. Integer
Maximum age of the snapshot that is allowed to be kept.
onPolicySwitch This property is required. String
onSourceDiskDelete This property is required. String
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
maxRetentionDays This property is required. number
Maximum age of the snapshot that is allowed to be kept.
onPolicySwitch This property is required. string
onSourceDiskDelete This property is required. string
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
max_retention_days This property is required. int
Maximum age of the snapshot that is allowed to be kept.
on_policy_switch This property is required. str
on_source_disk_delete This property is required. str
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
maxRetentionDays This property is required. Number
Maximum age of the snapshot that is allowed to be kept.
onPolicySwitch This property is required. String
onSourceDiskDelete This property is required. String
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

ResourcePolicySnapshotSchedulePolicyScheduleResponse

dailySchedule This property is required. Property Map
hourlySchedule This property is required. Property Map
weeklySchedule This property is required. Property Map

ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse

ChainName This property is required. string
Chain name that the snapshot is created in.
GuestFlush This property is required. bool
Indication to perform a 'guest aware' snapshot.
Labels This property is required. Dictionary<string, string>
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
StorageLocations This property is required. List<string>
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
ChainName This property is required. string
Chain name that the snapshot is created in.
GuestFlush This property is required. bool
Indication to perform a 'guest aware' snapshot.
Labels This property is required. map[string]string
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
StorageLocations This property is required. []string
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
chainName This property is required. String
Chain name that the snapshot is created in.
guestFlush This property is required. Boolean
Indication to perform a 'guest aware' snapshot.
labels This property is required. Map<String,String>
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
storageLocations This property is required. List<String>
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
chainName This property is required. string
Chain name that the snapshot is created in.
guestFlush This property is required. boolean
Indication to perform a 'guest aware' snapshot.
labels This property is required. {[key: string]: string}
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
storageLocations This property is required. string[]
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
chain_name This property is required. str
Chain name that the snapshot is created in.
guest_flush This property is required. bool
Indication to perform a 'guest aware' snapshot.
labels This property is required. Mapping[str, str]
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
storage_locations This property is required. Sequence[str]
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
chainName This property is required. String
Chain name that the snapshot is created in.
guestFlush This property is required. Boolean
Indication to perform a 'guest aware' snapshot.
labels This property is required. Map<String>
Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
storageLocations This property is required. List<String>
Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse

ConcurrencyLimit This property is required. int
ConcurrencyLimit This property is required. int
concurrencyLimit This property is required. Integer
concurrencyLimit This property is required. number
concurrency_limit This property is required. int
concurrencyLimit This property is required. Number

ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse

dailyMaintenanceWindow This property is required. Property Map

ResourcePolicyVmMaintenancePolicyResponse

ConcurrencyControlGroup This property is required. ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse
MaintenanceWindow This property is required. ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse
Maintenance windows that are applied to VMs covered by this policy.
concurrencyControlGroup This property is required. ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse
maintenanceWindow This property is required. ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse
Maintenance windows that are applied to VMs covered by this policy.
concurrencyControlGroup This property is required. ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse
maintenanceWindow This property is required. ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse
Maintenance windows that are applied to VMs covered by this policy.
concurrency_control_group This property is required. ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse
maintenance_window This property is required. ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse
Maintenance windows that are applied to VMs covered by this policy.
concurrencyControlGroup This property is required. Property Map
maintenanceWindow This property is required. Property Map
Maintenance windows that are applied to VMs covered by this policy.

ResourcePolicyWeeklyCycleDayOfWeekResponse

Day This property is required. string
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
Duration This property is required. string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
StartTime This property is required. string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
Day This property is required. string
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
Duration This property is required. string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
StartTime This property is required. string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
day This property is required. String
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
duration This property is required. String
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
startTime This property is required. String
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
day This property is required. string
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
duration This property is required. string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
startTime This property is required. string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
day This property is required. str
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
duration This property is required. str
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
start_time This property is required. str
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
day This property is required. String
Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
duration This property is required. String
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
startTime This property is required. String
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.

ResourcePolicyWeeklyCycleResponse

DayOfWeeks This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicyWeeklyCycleDayOfWeekResponse>
Up to 7 intervals/windows, one for each day of the week.
DayOfWeeks This property is required. []ResourcePolicyWeeklyCycleDayOfWeekResponse
Up to 7 intervals/windows, one for each day of the week.
dayOfWeeks This property is required. List<ResourcePolicyWeeklyCycleDayOfWeekResponse>
Up to 7 intervals/windows, one for each day of the week.
dayOfWeeks This property is required. ResourcePolicyWeeklyCycleDayOfWeekResponse[]
Up to 7 intervals/windows, one for each day of the week.
day_of_weeks This property is required. Sequence[ResourcePolicyWeeklyCycleDayOfWeekResponse]
Up to 7 intervals/windows, one for each day of the week.
dayOfWeeks This property is required. List<Property Map>
Up to 7 intervals/windows, one for each day of the week.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi