Google Native

v0.26.0 published on Friday, Sep 16, 2022 by Pulumi

getResourcePolicy

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/alpha:getResourcePolicy
  Arguments:
    # Arguments dictionary

The 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 String
resourcePolicy 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 int

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.

DaysInCycle int

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.

daysInCycle Integer

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.

daysInCycle number

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_cycle int

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.

daysInCycle Number

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

AvailabilityDomainCount 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 string

Specifies network collocation

Locality string

Specifies network locality

Scope string

Scope specifies the availability domain to which the VMs should be spread.

Style string

Specifies instances to hosts placement relationship

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.

AvailabilityDomainCount 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 string

Specifies network collocation

Locality string

Specifies network locality

Scope string

Scope specifies the availability domain to which the VMs should be spread.

Style string

Specifies instances to hosts placement relationship

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.

availabilityDomainCount 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 String

Specifies network collocation

locality String

Specifies network locality

scope String

Scope specifies the availability domain to which the VMs should be spread.

style String

Specifies instances to hosts placement relationship

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.

availabilityDomainCount 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 string

Specifies network collocation

locality string

Specifies network locality

scope string

Scope specifies the availability domain to which the VMs should be spread.

style string

Specifies instances to hosts placement relationship

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_count 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 str

Specifies network collocation

locality str

Specifies network locality

scope str

Scope specifies the availability domain to which the VMs should be spread.

style str

Specifies instances to hosts placement relationship

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.

availabilityDomainCount 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 String

Specifies network collocation

locality String

Specifies network locality

scope String

Scope specifies the availability domain to which the VMs should be spread.

style String

Specifies instances to hosts placement relationship

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.

HoursInCycle int

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.

HoursInCycle int

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.

hoursInCycle Integer

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.

hoursInCycle number

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_cycle int

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.

hoursInCycle Number

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: http://en.wikipedia.org/wiki/Tz_database.

VmStartSchedule Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleResponse

Specifies the schedule for starting instances.

VmStopSchedule Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleResponse

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: http://en.wikipedia.org/wiki/Tz_database.

VmStartSchedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

Specifies the schedule for starting instances.

VmStopSchedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

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: http://en.wikipedia.org/wiki/Tz_database.

vmStartSchedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

Specifies the schedule for starting instances.

vmStopSchedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

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: http://en.wikipedia.org/wiki/Tz_database.

vmStartSchedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

Specifies the schedule for starting instances.

vmStopSchedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

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: http://en.wikipedia.org/wiki/Tz_database.

vm_start_schedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

Specifies the schedule for starting instances.

vm_stop_schedule ResourcePolicyInstanceSchedulePolicyScheduleResponse

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: http://en.wikipedia.org/wiki/Tz_database.

vmStartSchedule Property Map

Specifies the schedule for starting instances.

vmStopSchedule Property Map

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

LastRunStartTime string

The last time the schedule successfully ran. The timestamp is an RFC3339 string.

NextRunStartTime string

The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

LastRunStartTime string

The last time the schedule successfully ran. The timestamp is an RFC3339 string.

NextRunStartTime string

The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

lastRunStartTime String

The last time the schedule successfully ran. The timestamp is an RFC3339 string.

nextRunStartTime String

The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

lastRunStartTime string

The last time the schedule successfully ran. The timestamp is an RFC3339 string.

nextRunStartTime 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 str

The last time the schedule successfully ran. The timestamp is an RFC3339 string.

next_run_start_time str

The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

lastRunStartTime String

The last time the schedule successfully ran. The timestamp is an RFC3339 string.

nextRunStartTime 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 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 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 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 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 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 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 Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse

Retention policy applied to snapshots created by this resource policy.

Schedule 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 Pulumi.GoogleNative.Compute.Alpha.Inputs.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse

Properties with which snapshots are created such as labels, encryption keys.

RetentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse

Retention policy applied to snapshots created by this resource policy.

Schedule 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 ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse

Properties with which snapshots are created such as labels, encryption keys.

retentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse

Retention policy applied to snapshots created by this resource policy.

schedule 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 ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse

Properties with which snapshots are created such as labels, encryption keys.

retentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse

Retention policy applied to snapshots created by this resource policy.

schedule 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 ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse

Properties with which snapshots are created such as labels, encryption keys.

retention_policy ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse

Retention policy applied to snapshots created by this resource policy.

schedule 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 ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse

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

MaxRetentionDays int

Maximum age of the snapshot that is allowed to be kept.

OnPolicySwitch string
OnSourceDiskDelete string

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

MaxRetentionDays int

Maximum age of the snapshot that is allowed to be kept.

OnPolicySwitch string
OnSourceDiskDelete string

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

maxRetentionDays Integer

Maximum age of the snapshot that is allowed to be kept.

onPolicySwitch String
onSourceDiskDelete String

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

maxRetentionDays number

Maximum age of the snapshot that is allowed to be kept.

onPolicySwitch string
onSourceDiskDelete string

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

max_retention_days int

Maximum age of the snapshot that is allowed to be kept.

on_policy_switch str
on_source_disk_delete str

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

maxRetentionDays Number

Maximum age of the snapshot that is allowed to be kept.

onPolicySwitch String
onSourceDiskDelete String

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).

ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse

ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse

ResourcePolicyVmMaintenancePolicyResponse

concurrencyControlGroup Property Map
maintenanceWindow Property Map

Maintenance windows that are applied to VMs covered by this policy.

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

DayOfWeeks []ResourcePolicyWeeklyCycleDayOfWeekResponse

Up to 7 intervals/windows, one for each day of the week.

dayOfWeeks List<ResourcePolicyWeeklyCycleDayOfWeekResponse>

Up to 7 intervals/windows, one for each day of the week.

dayOfWeeks ResourcePolicyWeeklyCycleDayOfWeekResponse[]

Up to 7 intervals/windows, one for each day of the week.

day_of_weeks Sequence[ResourcePolicyWeeklyCycleDayOfWeekResponse]

Up to 7 intervals/windows, one for each day of the week.

dayOfWeeks List<Property Map>

Up to 7 intervals/windows, one for each day of the week.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0