Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/alpha.getResourcePolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves all information of the specified resource policy.
Using getResourcePolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getResourcePolicy(args: GetResourcePolicyArgs, opts?: InvokeOptions): Promise<GetResourcePolicyResult>
function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: InvokeOptions): Output<GetResourcePolicyResult>
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/alpha:getResourcePolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Region
This property is required. string - Resource
Policy This property is required. string - Project string
- Region
This property is required. string - Resource
Policy This property is required. string - Project string
- region
This property is required. String - resource
Policy This property is required. String - project String
- region
This property is required. string - resource
Policy This property is required. string - project string
- region
This property is required. str - resource_
policy This property is required. str - project str
- region
This property is required. String - resource
Policy This property is required. 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. Alpha. Outputs. Resource Policy Disk Consistency Group Policy Response - Resource policy for disk consistency groups.
- Group
Placement Pulumi.Policy Google Native. Compute. Alpha. Outputs. Resource Policy Group Placement Policy Response - Resource policy for instances for placement configuration.
- Instance
Schedule Pulumi.Policy Google Native. Compute. Alpha. 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. Alpha. Outputs. Resource Policy Resource Status Response - The system status of the resource policy.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Snapshot
Schedule Pulumi.Policy Google Native. Compute. Alpha. Outputs. Resource Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- Status string
- The status of resource policy creation.
- Vm
Maintenance Pulumi.Policy Google Native. Compute. Alpha. Outputs. Resource Policy Vm Maintenance Policy Response - Resource policy applicable to VMs for infrastructure maintenance.
- 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.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Snapshot
Schedule ResourcePolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- Status string
- The status of resource policy creation.
- Vm
Maintenance ResourcePolicy Policy Vm Maintenance Policy Response - Resource policy applicable to VMs for infrastructure maintenance.
- 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.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- snapshot
Schedule ResourcePolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- status String
- The status of resource policy creation.
- vm
Maintenance ResourcePolicy Policy Vm Maintenance Policy Response - Resource policy applicable to VMs for infrastructure maintenance.
- 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.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- snapshot
Schedule ResourcePolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- status string
- The status of resource policy creation.
- vm
Maintenance ResourcePolicy Policy Vm Maintenance Policy Response - Resource policy applicable to VMs for infrastructure maintenance.
- 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.
- self_
link_ strwith_ id - Server-defined URL for this resource with the resource id.
- snapshot_
schedule_ Resourcepolicy Policy Snapshot Schedule Policy Response - Resource policy for persistent disks for creating snapshots.
- status str
- The status of resource policy creation.
- vm_
maintenance_ Resourcepolicy Policy Vm Maintenance Policy Response - Resource policy applicable to VMs for infrastructure maintenance.
- 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.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- snapshot
Schedule Property MapPolicy - Resource policy for persistent disks for creating snapshots.
- status String
- The status of resource policy creation.
- vm
Maintenance Property MapPolicy - Resource policy applicable to VMs for infrastructure maintenance.
Supporting Types
ResourcePolicyDailyCycleResponse
- Days
In Cycle This property is required. int - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- Duration
This property is required. string - [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- Start
Time This property is required. string - Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- Days
In Cycle This property is required. int - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- Duration
This property is required. string - [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- Start
Time This property is required. string - Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- days
In Cycle This property is required. Integer - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration
This property is required. String - [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start
Time This property is required. String - Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- days
In Cycle This property is required. number - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration
This property is required. string - [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start
Time This property is required. string - Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- days_
in_ cycle This property is required. int - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration
This property is required. str - [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start_
time This property is required. str - Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
- days
In Cycle This property is required. Number - Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
- duration
This property is required. String - [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
- start
Time This property is required. String - Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
ResourcePolicyGroupPlacementPolicyResponse
- Availability
Domain Count This property is required. int - The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
- Collocation
This property is required. string - Specifies network collocation
- Locality
This property is required. string - Specifies network locality
- Max
Distance This property is required. int - Specifies the number of max logical switches.
- Scope
This property is required. string - Scope specifies the availability domain to which the VMs should be spread.
- Slice
Count This property is required. int - Specifies the number of slices in a multislice workload.
- Style
This property is required. string - Specifies instances to hosts placement relationship
- Tpu
Topology This property is required. string - Specifies the shape of the TPU slice
- Vm
Count This property is required. int - Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
- Availability
Domain Count This property is required. int - The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
- Collocation
This property is required. string - Specifies network collocation
- Locality
This property is required. string - Specifies network locality
- Max
Distance This property is required. int - Specifies the number of max logical switches.
- Scope
This property is required. string - Scope specifies the availability domain to which the VMs should be spread.
- Slice
Count This property is required. int - Specifies the number of slices in a multislice workload.
- Style
This property is required. string - Specifies instances to hosts placement relationship
- Tpu
Topology This property is required. string - Specifies the shape of the TPU slice
- Vm
Count This property is required. int - Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
- availability
Domain Count This property is required. Integer - The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
- collocation
This property is required. String - Specifies network collocation
- locality
This property is required. String - Specifies network locality
- max
Distance This property is required. Integer - Specifies the number of max logical switches.
- scope
This property is required. String - Scope specifies the availability domain to which the VMs should be spread.
- slice
Count This property is required. Integer - Specifies the number of slices in a multislice workload.
- style
This property is required. String - Specifies instances to hosts placement relationship
- tpu
Topology This property is required. String - Specifies the shape of the TPU slice
- vm
Count This property is required. Integer - Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
- availability
Domain Count This property is required. number - The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
- collocation
This property is required. string - Specifies network collocation
- locality
This property is required. string - Specifies network locality
- max
Distance This property is required. number - Specifies the number of max logical switches.
- scope
This property is required. string - Scope specifies the availability domain to which the VMs should be spread.
- slice
Count This property is required. number - Specifies the number of slices in a multislice workload.
- style
This property is required. string - Specifies instances to hosts placement relationship
- tpu
Topology This property is required. string - Specifies the shape of the TPU slice
- vm
Count This property is required. number - Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
- availability_
domain_ count This property is required. int - The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
- collocation
This property is required. str - Specifies network collocation
- locality
This property is required. str - Specifies network locality
- max_
distance This property is required. int - Specifies the number of max logical switches.
- scope
This property is required. str - Scope specifies the availability domain to which the VMs should be spread.
- slice_
count This property is required. int - Specifies the number of slices in a multislice workload.
- style
This property is required. str - Specifies instances to hosts placement relationship
- tpu_
topology This property is required. str - Specifies the shape of the TPU slice
- vm_
count This property is required. int - Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
- availability
Domain Count This property is required. Number - The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
- collocation
This property is required. String - Specifies network collocation
- locality
This property is required. String - Specifies network locality
- max
Distance This property is required. Number - Specifies the number of max logical switches.
- scope
This property is required. String - Scope specifies the availability domain to which the VMs should be spread.
- slice
Count This property is required. Number - Specifies the number of slices in a multislice workload.
- style
This property is required. String - Specifies instances to hosts placement relationship
- tpu
Topology This property is required. String - Specifies the shape of the TPU slice
- vm
Count This property is required. Number - Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
ResourcePolicyHourlyCycleResponse
- Duration
This property is required. string - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Hours
In Cycle This property is required. int - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- Start
Time This property is required. string - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- Duration
This property is required. string - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Hours
In Cycle This property is required. int - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- Start
Time This property is required. string - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- duration
This property is required. String - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours
In Cycle This property is required. Integer - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start
Time This property is required. String - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- duration
This property is required. string - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours
In Cycle This property is required. number - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start
Time This property is required. string - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- duration
This property is required. str - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours_
in_ cycle This property is required. int - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start_
time This property is required. str - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- duration
This property is required. String - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- hours
In Cycle This property is required. Number - Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
- start
Time This property is required. String - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
ResourcePolicyInstanceSchedulePolicyResponse
- Expiration
Time This property is required. string - The expiration time of the schedule. The timestamp is an RFC3339 string.
- Start
Time This property is required. string - The start time of the schedule. The timestamp is an RFC3339 string.
- Time
Zone This property is required. string - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
- Vm
Start Schedule This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- Vm
Stop Schedule This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- Expiration
Time This property is required. string - The expiration time of the schedule. The timestamp is an RFC3339 string.
- Start
Time This property is required. string - The start time of the schedule. The timestamp is an RFC3339 string.
- Time
Zone This property is required. string - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
- Vm
Start Schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- Vm
Stop Schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration
Time This property is required. String - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start
Time This property is required. String - The start time of the schedule. The timestamp is an RFC3339 string.
- time
Zone This property is required. String - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
- vm
Start Schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- vm
Stop Schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration
Time This property is required. string - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start
Time This property is required. string - The start time of the schedule. The timestamp is an RFC3339 string.
- time
Zone This property is required. string - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
- vm
Start Schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- vm
Stop Schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration_
time This property is required. str - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start_
time This property is required. str - The start time of the schedule. The timestamp is an RFC3339 string.
- time_
zone This property is required. str - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
- vm_
start_ schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for starting instances.
- vm_
stop_ schedule This property is required. ResourcePolicy Instance Schedule Policy Schedule Response - Specifies the schedule for stopping instances.
- expiration
Time This property is required. String - The expiration time of the schedule. The timestamp is an RFC3339 string.
- start
Time This property is required. String - The start time of the schedule. The timestamp is an RFC3339 string.
- time
Zone This property is required. String - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
- vm
Start Schedule This property is required. Property Map - Specifies the schedule for starting instances.
- vm
Stop Schedule This property is required. Property Map - Specifies the schedule for stopping instances.
ResourcePolicyInstanceSchedulePolicyScheduleResponse
- Schedule
This property is required. string - Specifies the frequency for the operation, using the unix-cron format.
- Schedule
This property is required. string - Specifies the frequency for the operation, using the unix-cron format.
- schedule
This property is required. String - Specifies the frequency for the operation, using the unix-cron format.
- schedule
This property is required. string - Specifies the frequency for the operation, using the unix-cron format.
- schedule
This property is required. str - Specifies the frequency for the operation, using the unix-cron format.
- schedule
This property is required. String - Specifies the frequency for the operation, using the unix-cron format.
ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse
- Last
Run Start Time This property is required. string - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- Next
Run Start Time This property is required. string - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- Last
Run Start Time This property is required. string - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- Next
Run Start Time This property is required. string - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last
Run Start Time This property is required. String - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next
Run Start Time This property is required. String - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last
Run Start Time This property is required. string - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next
Run Start Time This property is required. string - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last_
run_ start_ time This property is required. str - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next_
run_ start_ time This property is required. str - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
- last
Run Start Time This property is required. String - The last time the schedule successfully ran. The timestamp is an RFC3339 string.
- next
Run Start Time This property is required. String - The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
ResourcePolicyResourceStatusResponse
- Instance
Schedule Policy This property is required. Pulumi.Google Native. Compute. Alpha. 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 Policy This property is required. ResourcePolicy 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 Policy This property is required. ResourcePolicy 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 Policy This property is required. ResourcePolicy 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_ policy This property is required. ResourcePolicy 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 Policy This property is required. Property Map - Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.
ResourcePolicySnapshotSchedulePolicyResponse
- Retention
Policy This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- Schedule
This property is required. Pulumi.Google Native. Compute. Alpha. 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 This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- Retention
Policy This property is required. ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- Schedule
This property is required. 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 This property is required. ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention
Policy This property is required. ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- schedule
This property is required. 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 This property is required. ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention
Policy This property is required. ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- schedule
This property is required. 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 This property is required. ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention_
policy This property is required. ResourcePolicy Snapshot Schedule Policy Retention Policy Response - Retention policy applied to snapshots created by this resource policy.
- schedule
This property is required. 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 This property is required. ResourcePolicy Snapshot Schedule Policy Snapshot Properties Response - Properties with which snapshots are created such as labels, encryption keys.
- retention
Policy This property is required. Property Map - Retention policy applied to snapshots created by this resource policy.
- schedule
This property is required. Property Map - A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
- snapshot
Properties This property is required. Property Map - Properties with which snapshots are created such as labels, encryption keys.
ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
- Max
Retention Days This property is required. int - Maximum age of the snapshot that is allowed to be kept.
- On
Policy Switch This property is required. string - On
Source Disk Delete This property is required. string - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- Max
Retention Days This property is required. int - Maximum age of the snapshot that is allowed to be kept.
- On
Policy Switch This property is required. string - On
Source Disk Delete This property is required. string - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max
Retention Days This property is required. Integer - Maximum age of the snapshot that is allowed to be kept.
- on
Policy Switch This property is required. String - on
Source Disk Delete This property is required. String - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max
Retention Days This property is required. number - Maximum age of the snapshot that is allowed to be kept.
- on
Policy Switch This property is required. string - on
Source Disk Delete This property is required. string - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max_
retention_ days This property is required. int - Maximum age of the snapshot that is allowed to be kept.
- on_
policy_ switch This property is required. str - on_
source_ disk_ delete This property is required. str - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
- max
Retention Days This property is required. Number - Maximum age of the snapshot that is allowed to be kept.
- on
Policy Switch This property is required. String - on
Source Disk Delete This property is required. String - Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
ResourcePolicySnapshotSchedulePolicyScheduleResponse
- Daily
Schedule This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Daily Cycle Response - Hourly
Schedule This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Hourly Cycle Response - Weekly
Schedule This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Weekly Cycle Response
- Daily
Schedule This property is required. ResourcePolicy Daily Cycle Response - Hourly
Schedule This property is required. ResourcePolicy Hourly Cycle Response - Weekly
Schedule This property is required. ResourcePolicy Weekly Cycle Response
- daily
Schedule This property is required. ResourcePolicy Daily Cycle Response - hourly
Schedule This property is required. ResourcePolicy Hourly Cycle Response - weekly
Schedule This property is required. ResourcePolicy Weekly Cycle Response
- daily
Schedule This property is required. ResourcePolicy Daily Cycle Response - hourly
Schedule This property is required. ResourcePolicy Hourly Cycle Response - weekly
Schedule This property is required. ResourcePolicy Weekly Cycle Response
- daily_
schedule This property is required. ResourcePolicy Daily Cycle Response - hourly_
schedule This property is required. ResourcePolicy Hourly Cycle Response - weekly_
schedule This property is required. ResourcePolicy Weekly Cycle Response
- daily
Schedule This property is required. Property Map - hourly
Schedule This property is required. Property Map - weekly
Schedule This property is required. Property Map
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse
- Chain
Name This property is required. string - Chain name that the snapshot is created in.
- Guest
Flush This property is required. bool - Indication to perform a 'guest aware' snapshot.
- Labels
This property is required. 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 This property is required. List<string> - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- Chain
Name This property is required. string - Chain name that the snapshot is created in.
- Guest
Flush This property is required. bool - Indication to perform a 'guest aware' snapshot.
- Labels
This property is required. 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 This property is required. []string - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain
Name This property is required. String - Chain name that the snapshot is created in.
- guest
Flush This property is required. Boolean - Indication to perform a 'guest aware' snapshot.
- labels
This property is required. Map<String,String> - Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage
Locations This property is required. List<String> - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain
Name This property is required. string - Chain name that the snapshot is created in.
- guest
Flush This property is required. boolean - Indication to perform a 'guest aware' snapshot.
- labels
This property is required. {[key: string]: string} - Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage
Locations This property is required. string[] - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain_
name This property is required. str - Chain name that the snapshot is created in.
- guest_
flush This property is required. bool - Indication to perform a 'guest aware' snapshot.
- labels
This property is required. Mapping[str, str] - Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage_
locations This property is required. Sequence[str] - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
- chain
Name This property is required. String - Chain name that the snapshot is created in.
- guest
Flush This property is required. Boolean - Indication to perform a 'guest aware' snapshot.
- labels
This property is required. Map<String> - Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.
- storage
Locations This property is required. List<String> - Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).
ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse
- Concurrency
Limit This property is required. int
- Concurrency
Limit This property is required. int
- concurrency
Limit This property is required. Integer
- concurrency
Limit This property is required. number
- concurrency_
limit This property is required. int
- concurrency
Limit This property is required. Number
ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse
- Daily
Maintenance Window This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Daily Cycle Response
- Daily
Maintenance Window This property is required. ResourcePolicy Daily Cycle Response
- daily
Maintenance Window This property is required. ResourcePolicy Daily Cycle Response
- daily
Maintenance Window This property is required. ResourcePolicy Daily Cycle Response
- daily_
maintenance_ window This property is required. ResourcePolicy Daily Cycle Response
- daily
Maintenance Window This property is required. Property Map
ResourcePolicyVmMaintenancePolicyResponse
- Concurrency
Control Group This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Vm Maintenance Policy Concurrency Control Response - Maintenance
Window This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Vm Maintenance Policy Maintenance Window Response - Maintenance windows that are applied to VMs covered by this policy.
- Concurrency
Control Group This property is required. ResourcePolicy Vm Maintenance Policy Concurrency Control Response - Maintenance
Window This property is required. ResourcePolicy Vm Maintenance Policy Maintenance Window Response - Maintenance windows that are applied to VMs covered by this policy.
- concurrency
Control Group This property is required. ResourcePolicy Vm Maintenance Policy Concurrency Control Response - maintenance
Window This property is required. ResourcePolicy Vm Maintenance Policy Maintenance Window Response - Maintenance windows that are applied to VMs covered by this policy.
- concurrency
Control Group This property is required. ResourcePolicy Vm Maintenance Policy Concurrency Control Response - maintenance
Window This property is required. ResourcePolicy Vm Maintenance Policy Maintenance Window Response - Maintenance windows that are applied to VMs covered by this policy.
- concurrency_
control_ group This property is required. ResourcePolicy Vm Maintenance Policy Concurrency Control Response - maintenance_
window This property is required. ResourcePolicy Vm Maintenance Policy Maintenance Window Response - Maintenance windows that are applied to VMs covered by this policy.
- concurrency
Control Group This property is required. Property Map - maintenance
Window This property is required. Property Map - Maintenance windows that are applied to VMs covered by this policy.
ResourcePolicyWeeklyCycleDayOfWeekResponse
- Day
This property is required. string - Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
- Duration
This property is required. string - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Start
Time This property is required. string - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- Day
This property is required. string - Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
- Duration
This property is required. string - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- Start
Time This property is required. string - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- day
This property is required. String - Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
- duration
This property is required. String - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start
Time This property is required. String - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- day
This property is required. string - Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
- duration
This property is required. string - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start
Time This property is required. string - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- day
This property is required. str - Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
- duration
This property is required. str - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start_
time This property is required. str - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
- day
This property is required. String - Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
- duration
This property is required. String - [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
- start
Time This property is required. String - Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
ResourcePolicyWeeklyCycleResponse
- Day
Of Weeks This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Resource Policy Weekly Cycle Day Of Week Response> - Up to 7 intervals/windows, one for each day of the week.
- Day
Of Weeks This property is required. []ResourcePolicy Weekly Cycle Day Of Week Response - Up to 7 intervals/windows, one for each day of the week.
- day
Of Weeks This property is required. List<ResourcePolicy Weekly Cycle Day Of Week Response> - Up to 7 intervals/windows, one for each day of the week.
- day
Of Weeks This property is required. ResourcePolicy Weekly Cycle Day Of Week Response[] - Up to 7 intervals/windows, one for each day of the week.
- day_
of_ weeks This property is required. Sequence[ResourcePolicy Weekly Cycle Day Of Week Response] - Up to 7 intervals/windows, one for each day of the week.
- day
Of Weeks This property is required. List<Property Map> - Up to 7 intervals/windows, one for each day of the week.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi