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/v1.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>
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]
func LookupResourcePolicy(ctx *Context, args *LookupResourcePolicyArgs, opts ...InvokeOption) (*LookupResourcePolicyResult, error)
func LookupResourcePolicyOutput(ctx *Context, args *LookupResourcePolicyOutputArgs, opts ...InvokeOption) LookupResourcePolicyResultOutput
> 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)
}
public static CompletableFuture<GetResourcePolicyResult> getResourcePolicy(GetResourcePolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/v1:getResourcePolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Region string
- Resource
Policy string - Project string
- Region string
- Resource
Policy string - Project string
- region String
- resource
Policy String - project String
- region string
- resource
Policy string - project string
- region str
- resource_
policy str - project str
- region String
- resource
Policy String - project String
getResourcePolicy Result
The following output properties are available:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- Disk
Consistency Pulumi.Group Policy Google Native. Compute. V1. Outputs. Resource Policy Disk Consistency Group Policy Response - Resource policy for disk consistency groups.
- Group
Placement Pulumi.Policy Google Native. Compute. V1. Outputs. Resource Policy Group Placement Policy Response - Resource policy for instances for placement configuration.
- Instance
Schedule Pulumi.Policy Google Native. Compute. V1. Outputs. Resource Policy Instance Schedule Policy Response - 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
- Resource
Status Pulumi.Google Native. Compute. V1. Outputs. Resource Policy Resource Status Response - The system status of the resource policy.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Snapshot
Schedule Pulumi.Policy Google Native. Compute. V1. Outputs. Resource Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- Status string
- The status of resource policy creation.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- Disk
Consistency ResourceGroup Policy Policy Disk Consistency Group Policy Response - Resource policy for disk consistency groups.
- Group
Placement ResourcePolicy Policy Group Placement Policy Response - Resource policy for instances for placement configuration.
- Instance
Schedule ResourcePolicy Policy Instance Schedule Policy Response - 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
- Resource
Status ResourcePolicy Resource Status Response - The system status of the resource policy.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Snapshot
Schedule ResourcePolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- Status string
- The status of resource policy creation.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- disk
Consistency ResourceGroup Policy Policy Disk Consistency Group Policy Response - Resource policy for disk consistency groups.
- group
Placement ResourcePolicy Policy Group Placement Policy Response - Resource policy for instances for placement configuration.
- instance
Schedule ResourcePolicy Policy Instance Schedule Policy Response - 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
- resource
Status ResourcePolicy Resource Status Response - The system status of the resource policy.
- self
Link String - Server-defined fully-qualified URL for this resource.
- snapshot
Schedule ResourcePolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- status String
- The status of resource policy creation.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- disk
Consistency ResourceGroup Policy Policy Disk Consistency Group Policy Response - Resource policy for disk consistency groups.
- group
Placement ResourcePolicy Policy Group Placement Policy Response - Resource policy for instances for placement configuration.
- instance
Schedule ResourcePolicy Policy Instance Schedule Policy Response - 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
- resource
Status ResourcePolicy Resource Status Response - The system status of the resource policy.
- self
Link string - Server-defined fully-qualified URL for this resource.
- snapshot
Schedule ResourcePolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- status string
- The status of resource policy creation.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- description str
- disk_
consistency_ Resourcegroup_ policy Policy Disk Consistency Group Policy Response - Resource policy for disk consistency groups.
- group_
placement_ Resourcepolicy Policy Group Placement Policy Response - Resource policy for instances for placement configuration.
- instance_
schedule_ Resourcepolicy Policy Instance Schedule Policy Response - 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 ResourcePolicy Resource Status Response - The system status of the resource policy.
- self_
link str - Server-defined fully-qualified URL for this resource.
- snapshot_
schedule_ Resourcepolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- status str
- The status of resource policy creation.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- disk
Consistency Property MapGroup Policy - Resource policy for disk consistency groups.
- group
Placement Property MapPolicy - Resource policy for instances for placement configuration.
- instance
Schedule Property MapPolicy - 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
- resource
Status Property Map - The system status of the resource policy.
- self
Link String - Server-defined fully-qualified URL for this resource.
- snapshot
Schedule Property MapPolicy - Resource policy for persistent disks for creating snapshots.
- status String
- The status of resource policy creation.
Supporting Types
ResourcePolicyDailyCycleResponse
- Days
In intCycle - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- Duration string
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- Start
Time 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 intCycle - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- Duration string
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- Start
Time 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 IntegerCycle - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration String
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start
Time 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 numberCycle - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration string
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start
Time 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_ intcycle - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration str
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start_
time 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.
- days
In NumberCycle - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration String
- [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start
Time 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
- Availability
Domain intCount - 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 string
- Specifies network collocation
- Vm
Count 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.
- Availability
Domain intCount - 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 string
- Specifies network collocation
- Vm
Count 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.
- availability
Domain IntegerCount - 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 String
- Specifies network collocation
- vm
Count 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.
- availability
Domain numberCount - 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 string
- Specifies network collocation
- vm
Count 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_ intcount - 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 str
- Specifies network collocation
- vm_
count 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.
- availability
Domain NumberCount - 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 String
- Specifies network collocation
- vm
Count 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 string
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Hours
In intCycle - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- Start
Time 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 string
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Hours
In intCycle - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- Start
Time 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 String
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours
In IntegerCycle - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start
Time 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 string
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours
In numberCycle - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start
Time 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 str
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours_
in_ intcycle - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start_
time 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 String
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours
In NumberCycle - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start
Time 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
- Expiration
Time string - The expiration time of the schedule. The timestamp is an RFC3339 string.
- Start
Time string - The start time of the schedule. The timestamp is an RFC3339 string.
- Time
Zone 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.
- Vm
Start Pulumi.Schedule Google Native. Compute. V1. Inputs. Resource Policy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- Vm
Stop Pulumi.Schedule Google Native. Compute. V1. Inputs. Resource Policy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- Expiration
Time string - The expiration time of the schedule. The timestamp is an RFC3339 string.
- Start
Time string - The start time of the schedule. The timestamp is an RFC3339 string.
- Time
Zone 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.
- Vm
Start ResourceSchedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- Vm
Stop ResourceSchedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration
Time String - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start
Time String - The start time of the schedule. The timestamp is an RFC3339 string.
- time
Zone 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.
- vm
Start ResourceSchedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- vm
Stop ResourceSchedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration
Time string - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start
Time string - The start time of the schedule. The timestamp is an RFC3339 string.
- time
Zone 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.
- vm
Start ResourceSchedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- vm
Stop ResourceSchedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration_
time str - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start_
time str - The start time of the schedule. The timestamp is an RFC3339 string.
- time_
zone 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_ Resourceschedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- vm_
stop_ Resourceschedule Policy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration
Time String - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start
Time String - The start time of the schedule. The timestamp is an RFC3339 string.
- time
Zone 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.
- vm
Start Property MapSchedule - Specifies the schedule for starting instances.
- vm
Stop Property MapSchedule - Specifies the schedule for stopping instances.
ResourcePolicyInstanceSchedulePolicyScheduleResponse
- Schedule string
- Specifies the frequency for the operation, using the unix-cron format.
- Schedule string
- Specifies the frequency for the operation, using the unix-cron format.
- schedule String
- Specifies the frequency for the operation, using the unix-cron format.
- schedule string
- Specifies the frequency for the operation, using the unix-cron format.
- schedule str
- Specifies the frequency for the operation, using the unix-cron format.
- schedule String
- Specifies the frequency for the operation, using the unix-cron format.
ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
- Last
Run stringStart Time - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- Next
Run stringStart Time - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- Last
Run stringStart Time - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- Next
Run stringStart Time - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last
Run StringStart Time - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next
Run StringStart Time - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last
Run stringStart Time - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next
Run stringStart Time - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last_
run_ strstart_ time - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next_
run_ strstart_ time - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last
Run StringStart Time - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next
Run StringStart Time - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
ResourcePolicyResourceStatusResponse
- Instance
Schedule Pulumi.Policy Google Native. Compute. V1. Inputs. Resource Policy Resource Status Instance Schedule Policy Status Response - 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 ResourcePolicy Policy Resource Status Instance Schedule Policy Status Response - 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 ResourcePolicy Policy Resource Status Instance Schedule Policy Status Response - 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 ResourcePolicy Policy Resource Status Instance Schedule Policy Status Response - 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_ Resourcepolicy Policy Resource Status Instance Schedule Policy Status Response - 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 Property MapPolicy - 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
- Retention
Policy Pulumi.Google Native. Compute. V1. Inputs. Resource Policy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- Schedule
Pulumi.
Google Native. Compute. V1. Inputs. Resource Policy Snapshot Schedule Policy Schedule Response - 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 Pulumi.Google Native. Compute. V1. Inputs. Resource Policy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- Retention
Policy ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- Schedule
Resource
Policy Snapshot Schedule Policy Schedule Response - 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 ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention
Policy ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- schedule
Resource
Policy Snapshot Schedule Policy Schedule Response - 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 ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention
Policy ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- schedule
Resource
Policy Snapshot Schedule Policy Schedule Response - 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 ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention_
policy ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- schedule
Resource
Policy Snapshot Schedule Policy Schedule Response - 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 ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention
Policy Property Map - Retention policy applied to snapshots created by this resource policy.
- schedule 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.
- snapshot
Properties Property Map - Properties with which snapshots are created such as labels, encryption keys.
ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
- Max
Retention intDays - Maximum age of the snapshot that is allowed to be kept.
- On
Source stringDisk Delete - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- Max
Retention intDays - Maximum age of the snapshot that is allowed to be kept.
- On
Source stringDisk Delete - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max
Retention IntegerDays - Maximum age of the snapshot that is allowed to be kept.
- on
Source StringDisk Delete - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max
Retention numberDays - Maximum age of the snapshot that is allowed to be kept.
- on
Source stringDisk Delete - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max_
retention_ intdays - Maximum age of the snapshot that is allowed to be kept.
- on_
source_ strdisk_ delete - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max
Retention NumberDays - Maximum age of the snapshot that is allowed to be kept.
- on
Source StringDisk Delete - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
ResourcePolicySnapshotSchedulePolicyScheduleResponse
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
- Chain
Name string - Chain name that the snapshot is created in.
- Guest
Flush bool - Indication to perform a 'guest aware' snapshot.
- Labels Dictionary<string, string>
- Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- Storage
Locations List<string> - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- Chain
Name string - Chain name that the snapshot is created in.
- Guest
Flush bool - Indication to perform a 'guest aware' snapshot.
- Labels map[string]string
- Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- Storage
Locations []string - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain
Name String - Chain name that the snapshot is created in.
- guest
Flush Boolean - Indication to perform a 'guest aware' snapshot.
- labels Map<String,String>
- Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage
Locations List<String> - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain
Name string - Chain name that the snapshot is created in.
- guest
Flush boolean - Indication to perform a 'guest aware' snapshot.
- labels {[key: string]: string}
- Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage
Locations string[] - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain_
name str - Chain name that the snapshot is created in.
- guest_
flush bool - Indication to perform a 'guest aware' snapshot.
- labels 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 Sequence[str] - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain
Name String - Chain name that the snapshot is created in.
- guest
Flush Boolean - Indication to perform a 'guest aware' snapshot.
- labels Map<String>
- Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage
Locations List<String> - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
ResourcePolicyWeeklyCycleDayOfWeekResponse
- Day 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 string
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Start
Time 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 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 string
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Start
Time 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 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 String
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start
Time 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 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 string
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start
Time 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 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 str
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start_
time 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 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 String
- [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start
Time 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
- Day
Of List<Pulumi.Weeks Google Native. Compute. V1. Inputs. Resource Policy Weekly Cycle Day Of Week Response> - Up to 7 intervals/windows, one for each day of the week.
- Day
Of []ResourceWeeks Policy Weekly Cycle Day Of Week Response - Up to 7 intervals/windows, one for each day of the week.
- day
Of List<ResourceWeeks Policy Weekly Cycle Day Of Week Response> - Up to 7 intervals/windows, one for each day of the week.
- day
Of ResourceWeeks Policy Weekly Cycle Day Of Week Response[] - Up to 7 intervals/windows, one for each day of the week.
- day_
of_ Sequence[Resourceweeks Policy Weekly Cycle Day Of Week Response] - Up to 7 intervals/windows, one for each day of the week.
- day
Of List<Property Map>Weeks - 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