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/beta.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)
public static Output<GetResourcePolicyResult> getResourcePolicy(GetResourcePolicyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/beta:getResourcePolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Region string
- ResourcePolicy string
- Project string
- Region string
- ResourcePolicy string
- Project string
- region String
- resourcePolicy String
- project String
- region string
- resourcePolicy string
- project string
- region str
- resource_policy str
- project str
- region String
- resourcePolicy String
- project String
getResourcePolicy Result
The following output properties are available:
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- DiskConsistency Pulumi.Group Policy Google Native. Compute. Beta. Outputs. Resource Policy Disk Consistency Group Policy Response 
- Resource policy for disk consistency groups.
- GroupPlacement Pulumi.Policy Google Native. Compute. Beta. Outputs. Resource Policy Group Placement Policy Response 
- Resource policy for instances for placement configuration.
- InstanceSchedule Pulumi.Policy Google Native. Compute. Beta. 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
- ResourceStatus Pulumi.Google Native. Compute. Beta. Outputs. Resource Policy Resource Status Response 
- The system status of the resource policy.
- SelfLink string
- Server-defined fully-qualified URL for this resource.
- SnapshotSchedule Pulumi.Policy Google Native. Compute. Beta. Outputs. Resource Policy Snapshot Schedule Policy Response 
- Resource policy for persistent disks for creating snapshots.
- Status string
- The status of resource policy creation.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- DiskConsistency ResourceGroup Policy Policy Disk Consistency Group Policy Response 
- Resource policy for disk consistency groups.
- GroupPlacement ResourcePolicy Policy Group Placement Policy Response 
- Resource policy for instances for placement configuration.
- InstanceSchedule 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
- ResourceStatus ResourcePolicy Resource Status Response 
- The system status of the resource policy.
- SelfLink string
- Server-defined fully-qualified URL for this resource.
- SnapshotSchedule ResourcePolicy Policy Snapshot Schedule Policy Response 
- Resource policy for persistent disks for creating snapshots.
- Status string
- The status of resource policy creation.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- diskConsistency ResourceGroup Policy Policy Disk Consistency Group Policy Response 
- Resource policy for disk consistency groups.
- groupPlacement ResourcePolicy Policy Group Placement Policy Response 
- Resource policy for instances for placement configuration.
- instanceSchedule 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
- resourceStatus ResourcePolicy Resource Status Response 
- The system status of the resource policy.
- selfLink String
- Server-defined fully-qualified URL for this resource.
- snapshotSchedule ResourcePolicy Policy Snapshot Schedule Policy Response 
- Resource policy for persistent disks for creating snapshots.
- status String
- The status of resource policy creation.
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- description string
- diskConsistency ResourceGroup Policy Policy Disk Consistency Group Policy Response 
- Resource policy for disk consistency groups.
- groupPlacement ResourcePolicy Policy Group Placement Policy Response 
- Resource policy for instances for placement configuration.
- instanceSchedule 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
- resourceStatus ResourcePolicy Resource Status Response 
- The system status of the resource policy.
- selfLink string
- Server-defined fully-qualified URL for this resource.
- snapshotSchedule 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.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- diskConsistency Property MapGroup Policy 
- Resource policy for disk consistency groups.
- groupPlacement Property MapPolicy 
- Resource policy for instances for placement configuration.
- instanceSchedule 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
- resourceStatus Property Map
- The system status of the resource policy.
- selfLink String
- Server-defined fully-qualified URL for this resource.
- snapshotSchedule Property MapPolicy 
- Resource policy for persistent disks for creating snapshots.
- status String
- The status of resource policy creation.
Supporting Types
ResourcePolicyDailyCycleResponse    
- DaysIn 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.
- StartTime 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.
- DaysIn 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.
- StartTime 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.
- daysIn 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.
- startTime 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.
- daysIn 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.
- startTime 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.
- daysIn 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.
- startTime 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     
- AvailabilityDomain 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
- MaxDistance int
- Specifies the number of max logical switches.
- SliceCount int
- Specifies the number of slices in a multislice workload.
- TpuTopology string
- Specifies the shape of the TPU slice
- VmCount 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.
- AvailabilityDomain 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
- MaxDistance int
- Specifies the number of max logical switches.
- SliceCount int
- Specifies the number of slices in a multislice workload.
- TpuTopology string
- Specifies the shape of the TPU slice
- VmCount 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.
- availabilityDomain 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
- maxDistance Integer
- Specifies the number of max logical switches.
- sliceCount Integer
- Specifies the number of slices in a multislice workload.
- tpuTopology String
- Specifies the shape of the TPU slice
- vmCount 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.
- availabilityDomain 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
- maxDistance number
- Specifies the number of max logical switches.
- sliceCount number
- Specifies the number of slices in a multislice workload.
- tpuTopology string
- Specifies the shape of the TPU slice
- vmCount 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
- max_distance int
- Specifies the number of max logical switches.
- slice_count int
- Specifies the number of slices in a multislice workload.
- tpu_topology str
- Specifies the shape of the TPU slice
- 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.
- availabilityDomain 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
- maxDistance Number
- Specifies the number of max logical switches.
- sliceCount Number
- Specifies the number of slices in a multislice workload.
- tpuTopology String
- Specifies the shape of the TPU slice
- vmCount 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.
- HoursIn intCycle 
- Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- StartTime 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.
- HoursIn intCycle 
- Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- StartTime 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.
- hoursIn IntegerCycle 
- Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- startTime 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.
- hoursIn numberCycle 
- Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- startTime 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.
- hoursIn NumberCycle 
- Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- startTime 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 string
- The expiration time of the schedule. The timestamp is an RFC3339 string.
- StartTime string
- The start time of the schedule. The timestamp is an RFC3339 string.
- TimeZone 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.
- VmStart Pulumi.Schedule Google Native. Compute. Beta. Inputs. Resource Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for starting instances.
- VmStop Pulumi.Schedule Google Native. Compute. Beta. Inputs. Resource Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for stopping instances.
- ExpirationTime string
- The expiration time of the schedule. The timestamp is an RFC3339 string.
- StartTime string
- The start time of the schedule. The timestamp is an RFC3339 string.
- TimeZone 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.
- VmStart ResourceSchedule Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for starting instances.
- VmStop ResourceSchedule Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for stopping instances.
- expirationTime String
- The expiration time of the schedule. The timestamp is an RFC3339 string.
- startTime String
- The start time of the schedule. The timestamp is an RFC3339 string.
- timeZone 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.
- vmStart ResourceSchedule Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for starting instances.
- vmStop ResourceSchedule Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for stopping instances.
- expirationTime string
- The expiration time of the schedule. The timestamp is an RFC3339 string.
- startTime string
- The start time of the schedule. The timestamp is an RFC3339 string.
- timeZone 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.
- vmStart ResourceSchedule Policy Instance Schedule Policy Schedule Response 
- Specifies the schedule for starting instances.
- vmStop 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.
- expirationTime String
- The expiration time of the schedule. The timestamp is an RFC3339 string.
- startTime String
- The start time of the schedule. The timestamp is an RFC3339 string.
- timeZone 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.
- vmStart Property MapSchedule 
- Specifies the schedule for starting instances.
- vmStop 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        
- LastRun stringStart Time 
- The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- NextRun stringStart Time 
- The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- LastRun stringStart Time 
- The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- NextRun stringStart Time 
- The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- lastRun StringStart Time 
- The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- nextRun StringStart Time 
- The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- lastRun stringStart Time 
- The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- nextRun 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.
- lastRun StringStart Time 
- The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- nextRun 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    
- InstanceSchedule Pulumi.Policy Google Native. Compute. Beta. 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.
- InstanceSchedule 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.
- instanceSchedule 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.
- instanceSchedule 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.
- instanceSchedule 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     
- RetentionPolicy Pulumi.Google Native. Compute. Beta. Inputs. Resource Policy Snapshot Schedule Policy Retention Policy Response 
- Retention policy applied to snapshots created by this resource policy.
- Schedule
Pulumi.Google Native. Compute. Beta. 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.
- SnapshotProperties Pulumi.Google Native. Compute. Beta. Inputs. Resource Policy Snapshot Schedule Policy Snapshot Properties Response 
- Properties with which snapshots are created such as labels, encryption keys.
- RetentionPolicy ResourcePolicy Snapshot Schedule Policy Retention Policy Response 
- Retention policy applied to snapshots created by this resource policy.
- Schedule
ResourcePolicy 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.
- SnapshotProperties ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response 
- Properties with which snapshots are created such as labels, encryption keys.
- retentionPolicy ResourcePolicy Snapshot Schedule Policy Retention Policy Response 
- Retention policy applied to snapshots created by this resource policy.
- schedule
ResourcePolicy 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.
- snapshotProperties ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response 
- Properties with which snapshots are created such as labels, encryption keys.
- retentionPolicy ResourcePolicy Snapshot Schedule Policy Retention Policy Response 
- Retention policy applied to snapshots created by this resource policy.
- schedule
ResourcePolicy 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.
- snapshotProperties 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
ResourcePolicy 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.
- retentionPolicy 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.
- snapshotProperties Property Map
- Properties with which snapshots are created such as labels, encryption keys.
ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse       
- MaxRetention intDays 
- Maximum age of the snapshot that is allowed to be kept.
- OnSource stringDisk Delete 
- Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- MaxRetention intDays 
- Maximum age of the snapshot that is allowed to be kept.
- OnSource stringDisk Delete 
- Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- maxRetention IntegerDays 
- Maximum age of the snapshot that is allowed to be kept.
- onSource StringDisk Delete 
- Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- maxRetention numberDays 
- Maximum age of the snapshot that is allowed to be kept.
- onSource 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.
- maxRetention NumberDays 
- Maximum age of the snapshot that is allowed to be kept.
- onSource StringDisk Delete 
- Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
ResourcePolicySnapshotSchedulePolicyScheduleResponse      
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse       
- ChainName string
- Chain name that the snapshot is created in.
- GuestFlush 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.
- StorageLocations List<string>
- Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- ChainName string
- Chain name that the snapshot is created in.
- GuestFlush 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.
- StorageLocations []string
- Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chainName String
- Chain name that the snapshot is created in.
- guestFlush 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.
- storageLocations List<String>
- Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chainName string
- Chain name that the snapshot is created in.
- guestFlush 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.
- storageLocations 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).
- chainName String
- Chain name that the snapshot is created in.
- guestFlush 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.
- storageLocations 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.
- StartTime 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.
- StartTime 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.
- startTime 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.
- startTime 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.
- startTime 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    
- DayOf List<Pulumi.Weeks Google Native. Compute. Beta. Inputs. Resource Policy Weekly Cycle Day Of Week Response> 
- Up to 7 intervals/windows, one for each day of the week.
- DayOf []ResourceWeeks Policy Weekly Cycle Day Of Week Response 
- Up to 7 intervals/windows, one for each day of the week.
- dayOf List<ResourceWeeks Policy Weekly Cycle Day Of Week Response> 
- Up to 7 intervals/windows, one for each day of the week.
- dayOf 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.
- dayOf 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