1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/beta
  6. ResourcePolicy

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

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

google-native.compute/beta.ResourcePolicy

Explore with Pulumi AI

google-native logo

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

    Creates a new resource policy.

    Create ResourcePolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourcePolicy(name: string, args: ResourcePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ResourcePolicy(resource_name: str,
                       args: ResourcePolicyArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourcePolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       region: Optional[str] = None,
                       description: Optional[str] = None,
                       disk_consistency_group_policy: Optional[ResourcePolicyDiskConsistencyGroupPolicyArgs] = None,
                       group_placement_policy: Optional[ResourcePolicyGroupPlacementPolicyArgs] = None,
                       instance_schedule_policy: Optional[ResourcePolicyInstanceSchedulePolicyArgs] = None,
                       name: Optional[str] = None,
                       project: Optional[str] = None,
                       request_id: Optional[str] = None,
                       snapshot_schedule_policy: Optional[ResourcePolicySnapshotSchedulePolicyArgs] = None)
    func NewResourcePolicy(ctx *Context, name string, args ResourcePolicyArgs, opts ...ResourceOption) (*ResourcePolicy, error)
    public ResourcePolicy(string name, ResourcePolicyArgs args, CustomResourceOptions? opts = null)
    public ResourcePolicy(String name, ResourcePolicyArgs args)
    public ResourcePolicy(String name, ResourcePolicyArgs args, CustomResourceOptions options)
    
    type: google-native:compute/beta:ResourcePolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ResourcePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResourcePolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResourcePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourcePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourcePolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var google_nativeResourcePolicyResource = new GoogleNative.Compute.Beta.ResourcePolicy("google-nativeResourcePolicyResource", new()
    {
        Region = "string",
        Description = "string",
        DiskConsistencyGroupPolicy = null,
        GroupPlacementPolicy = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyGroupPlacementPolicyArgs
        {
            AvailabilityDomainCount = 0,
            Collocation = GoogleNative.Compute.Beta.ResourcePolicyGroupPlacementPolicyCollocation.Collocated,
            MaxDistance = 0,
            SliceCount = 0,
            TpuTopology = "string",
            VmCount = 0,
        },
        InstanceSchedulePolicy = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyInstanceSchedulePolicyArgs
        {
            ExpirationTime = "string",
            StartTime = "string",
            TimeZone = "string",
            VmStartSchedule = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleArgs
            {
                Schedule = "string",
            },
            VmStopSchedule = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleArgs
            {
                Schedule = "string",
            },
        },
        Name = "string",
        Project = "string",
        RequestId = "string",
        SnapshotSchedulePolicy = new GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicyArgs
        {
            RetentionPolicy = new GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs
            {
                MaxRetentionDays = 0,
                OnSourceDiskDelete = GoogleNative.Compute.Beta.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete.ApplyRetentionPolicy,
            },
            Schedule = new GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicyScheduleArgs
            {
                DailySchedule = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyDailyCycleArgs
                {
                    DaysInCycle = 0,
                    StartTime = "string",
                },
                HourlySchedule = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyHourlyCycleArgs
                {
                    HoursInCycle = 0,
                    StartTime = "string",
                },
                WeeklySchedule = new GoogleNative.Compute.Beta.Inputs.ResourcePolicyWeeklyCycleArgs
                {
                    DayOfWeeks = new[]
                    {
                        new GoogleNative.Compute.Beta.Inputs.ResourcePolicyWeeklyCycleDayOfWeekArgs
                        {
                            Day = GoogleNative.Compute.Beta.ResourcePolicyWeeklyCycleDayOfWeekDay.Friday,
                            StartTime = "string",
                        },
                    },
                },
            },
            SnapshotProperties = new GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs
            {
                ChainName = "string",
                GuestFlush = false,
                Labels = 
                {
                    { "string", "string" },
                },
                StorageLocations = new[]
                {
                    "string",
                },
            },
        },
    });
    
    example, err := computebeta.NewResourcePolicy(ctx, "google-nativeResourcePolicyResource", &computebeta.ResourcePolicyArgs{
    Region: pulumi.String("string"),
    Description: pulumi.String("string"),
    DiskConsistencyGroupPolicy: nil,
    GroupPlacementPolicy: &compute.ResourcePolicyGroupPlacementPolicyArgs{
    AvailabilityDomainCount: pulumi.Int(0),
    Collocation: computebeta.ResourcePolicyGroupPlacementPolicyCollocationCollocated,
    MaxDistance: pulumi.Int(0),
    SliceCount: pulumi.Int(0),
    TpuTopology: pulumi.String("string"),
    VmCount: pulumi.Int(0),
    },
    InstanceSchedulePolicy: &compute.ResourcePolicyInstanceSchedulePolicyArgs{
    ExpirationTime: pulumi.String("string"),
    StartTime: pulumi.String("string"),
    TimeZone: pulumi.String("string"),
    VmStartSchedule: &compute.ResourcePolicyInstanceSchedulePolicyScheduleArgs{
    Schedule: pulumi.String("string"),
    },
    VmStopSchedule: &compute.ResourcePolicyInstanceSchedulePolicyScheduleArgs{
    Schedule: pulumi.String("string"),
    },
    },
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    RequestId: pulumi.String("string"),
    SnapshotSchedulePolicy: &compute.ResourcePolicySnapshotSchedulePolicyArgs{
    RetentionPolicy: &compute.ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs{
    MaxRetentionDays: pulumi.Int(0),
    OnSourceDiskDelete: computebeta.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteApplyRetentionPolicy,
    },
    Schedule: &compute.ResourcePolicySnapshotSchedulePolicyScheduleArgs{
    DailySchedule: &compute.ResourcePolicyDailyCycleArgs{
    DaysInCycle: pulumi.Int(0),
    StartTime: pulumi.String("string"),
    },
    HourlySchedule: &compute.ResourcePolicyHourlyCycleArgs{
    HoursInCycle: pulumi.Int(0),
    StartTime: pulumi.String("string"),
    },
    WeeklySchedule: &compute.ResourcePolicyWeeklyCycleArgs{
    DayOfWeeks: compute.ResourcePolicyWeeklyCycleDayOfWeekArray{
    &compute.ResourcePolicyWeeklyCycleDayOfWeekArgs{
    Day: computebeta.ResourcePolicyWeeklyCycleDayOfWeekDayFriday,
    StartTime: pulumi.String("string"),
    },
    },
    },
    },
    SnapshotProperties: &compute.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs{
    ChainName: pulumi.String("string"),
    GuestFlush: pulumi.Bool(false),
    Labels: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    StorageLocations: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    },
    })
    
    var google_nativeResourcePolicyResource = new ResourcePolicy("google-nativeResourcePolicyResource", ResourcePolicyArgs.builder()
        .region("string")
        .description("string")
        .diskConsistencyGroupPolicy()
        .groupPlacementPolicy(ResourcePolicyGroupPlacementPolicyArgs.builder()
            .availabilityDomainCount(0)
            .collocation("COLLOCATED")
            .maxDistance(0)
            .sliceCount(0)
            .tpuTopology("string")
            .vmCount(0)
            .build())
        .instanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicyArgs.builder()
            .expirationTime("string")
            .startTime("string")
            .timeZone("string")
            .vmStartSchedule(ResourcePolicyInstanceSchedulePolicyScheduleArgs.builder()
                .schedule("string")
                .build())
            .vmStopSchedule(ResourcePolicyInstanceSchedulePolicyScheduleArgs.builder()
                .schedule("string")
                .build())
            .build())
        .name("string")
        .project("string")
        .requestId("string")
        .snapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicyArgs.builder()
            .retentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs.builder()
                .maxRetentionDays(0)
                .onSourceDiskDelete("APPLY_RETENTION_POLICY")
                .build())
            .schedule(ResourcePolicySnapshotSchedulePolicyScheduleArgs.builder()
                .dailySchedule(ResourcePolicyDailyCycleArgs.builder()
                    .daysInCycle(0)
                    .startTime("string")
                    .build())
                .hourlySchedule(ResourcePolicyHourlyCycleArgs.builder()
                    .hoursInCycle(0)
                    .startTime("string")
                    .build())
                .weeklySchedule(ResourcePolicyWeeklyCycleArgs.builder()
                    .dayOfWeeks(ResourcePolicyWeeklyCycleDayOfWeekArgs.builder()
                        .day("FRIDAY")
                        .startTime("string")
                        .build())
                    .build())
                .build())
            .snapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs.builder()
                .chainName("string")
                .guestFlush(false)
                .labels(Map.of("string", "string"))
                .storageLocations("string")
                .build())
            .build())
        .build());
    
    google_native_resource_policy_resource = google_native.compute.beta.ResourcePolicy("google-nativeResourcePolicyResource",
        region="string",
        description="string",
        disk_consistency_group_policy=google_native.compute.beta.ResourcePolicyDiskConsistencyGroupPolicyArgs(),
        group_placement_policy=google_native.compute.beta.ResourcePolicyGroupPlacementPolicyArgs(
            availability_domain_count=0,
            collocation=google_native.compute.beta.ResourcePolicyGroupPlacementPolicyCollocation.COLLOCATED,
            max_distance=0,
            slice_count=0,
            tpu_topology="string",
            vm_count=0,
        ),
        instance_schedule_policy=google_native.compute.beta.ResourcePolicyInstanceSchedulePolicyArgs(
            expiration_time="string",
            start_time="string",
            time_zone="string",
            vm_start_schedule=google_native.compute.beta.ResourcePolicyInstanceSchedulePolicyScheduleArgs(
                schedule="string",
            ),
            vm_stop_schedule=google_native.compute.beta.ResourcePolicyInstanceSchedulePolicyScheduleArgs(
                schedule="string",
            ),
        ),
        name="string",
        project="string",
        request_id="string",
        snapshot_schedule_policy=google_native.compute.beta.ResourcePolicySnapshotSchedulePolicyArgs(
            retention_policy=google_native.compute.beta.ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs(
                max_retention_days=0,
                on_source_disk_delete=google_native.compute.beta.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete.APPLY_RETENTION_POLICY,
            ),
            schedule=google_native.compute.beta.ResourcePolicySnapshotSchedulePolicyScheduleArgs(
                daily_schedule=google_native.compute.beta.ResourcePolicyDailyCycleArgs(
                    days_in_cycle=0,
                    start_time="string",
                ),
                hourly_schedule=google_native.compute.beta.ResourcePolicyHourlyCycleArgs(
                    hours_in_cycle=0,
                    start_time="string",
                ),
                weekly_schedule=google_native.compute.beta.ResourcePolicyWeeklyCycleArgs(
                    day_of_weeks=[google_native.compute.beta.ResourcePolicyWeeklyCycleDayOfWeekArgs(
                        day=google_native.compute.beta.ResourcePolicyWeeklyCycleDayOfWeekDay.FRIDAY,
                        start_time="string",
                    )],
                ),
            ),
            snapshot_properties=google_native.compute.beta.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs(
                chain_name="string",
                guest_flush=False,
                labels={
                    "string": "string",
                },
                storage_locations=["string"],
            ),
        ))
    
    const google_nativeResourcePolicyResource = new google_native.compute.beta.ResourcePolicy("google-nativeResourcePolicyResource", {
        region: "string",
        description: "string",
        diskConsistencyGroupPolicy: {},
        groupPlacementPolicy: {
            availabilityDomainCount: 0,
            collocation: google_native.compute.beta.ResourcePolicyGroupPlacementPolicyCollocation.Collocated,
            maxDistance: 0,
            sliceCount: 0,
            tpuTopology: "string",
            vmCount: 0,
        },
        instanceSchedulePolicy: {
            expirationTime: "string",
            startTime: "string",
            timeZone: "string",
            vmStartSchedule: {
                schedule: "string",
            },
            vmStopSchedule: {
                schedule: "string",
            },
        },
        name: "string",
        project: "string",
        requestId: "string",
        snapshotSchedulePolicy: {
            retentionPolicy: {
                maxRetentionDays: 0,
                onSourceDiskDelete: google_native.compute.beta.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete.ApplyRetentionPolicy,
            },
            schedule: {
                dailySchedule: {
                    daysInCycle: 0,
                    startTime: "string",
                },
                hourlySchedule: {
                    hoursInCycle: 0,
                    startTime: "string",
                },
                weeklySchedule: {
                    dayOfWeeks: [{
                        day: google_native.compute.beta.ResourcePolicyWeeklyCycleDayOfWeekDay.Friday,
                        startTime: "string",
                    }],
                },
            },
            snapshotProperties: {
                chainName: "string",
                guestFlush: false,
                labels: {
                    string: "string",
                },
                storageLocations: ["string"],
            },
        },
    });
    
    type: google-native:compute/beta:ResourcePolicy
    properties:
        description: string
        diskConsistencyGroupPolicy: {}
        groupPlacementPolicy:
            availabilityDomainCount: 0
            collocation: COLLOCATED
            maxDistance: 0
            sliceCount: 0
            tpuTopology: string
            vmCount: 0
        instanceSchedulePolicy:
            expirationTime: string
            startTime: string
            timeZone: string
            vmStartSchedule:
                schedule: string
            vmStopSchedule:
                schedule: string
        name: string
        project: string
        region: string
        requestId: string
        snapshotSchedulePolicy:
            retentionPolicy:
                maxRetentionDays: 0
                onSourceDiskDelete: APPLY_RETENTION_POLICY
            schedule:
                dailySchedule:
                    daysInCycle: 0
                    startTime: string
                hourlySchedule:
                    hoursInCycle: 0
                    startTime: string
                weeklySchedule:
                    dayOfWeeks:
                        - day: FRIDAY
                          startTime: string
            snapshotProperties:
                chainName: string
                guestFlush: false
                labels:
                    string: string
                storageLocations:
                    - string
    

    ResourcePolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ResourcePolicy resource accepts the following input properties:

    Region string
    Description string
    DiskConsistencyGroupPolicy Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicyDiskConsistencyGroupPolicy
    Resource policy for disk consistency groups.
    GroupPlacementPolicy Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicyGroupPlacementPolicy
    Resource policy for instances for placement configuration.
    InstanceSchedulePolicy Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicyInstanceSchedulePolicy
    Resource policy for scheduling instance operations.
    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.
    Project string
    RequestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    SnapshotSchedulePolicy Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicy
    Resource policy for persistent disks for creating snapshots.
    Region string
    Description string
    DiskConsistencyGroupPolicy ResourcePolicyDiskConsistencyGroupPolicyArgs
    Resource policy for disk consistency groups.
    GroupPlacementPolicy ResourcePolicyGroupPlacementPolicyArgs
    Resource policy for instances for placement configuration.
    InstanceSchedulePolicy ResourcePolicyInstanceSchedulePolicyArgs
    Resource policy for scheduling instance operations.
    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.
    Project string
    RequestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    SnapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicyArgs
    Resource policy for persistent disks for creating snapshots.
    region String
    description String
    diskConsistencyGroupPolicy ResourcePolicyDiskConsistencyGroupPolicy
    Resource policy for disk consistency groups.
    groupPlacementPolicy ResourcePolicyGroupPlacementPolicy
    Resource policy for instances for placement configuration.
    instanceSchedulePolicy ResourcePolicyInstanceSchedulePolicy
    Resource policy for scheduling instance operations.
    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.
    project String
    requestId String
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    snapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicy
    Resource policy for persistent disks for creating snapshots.
    region string
    description string
    diskConsistencyGroupPolicy ResourcePolicyDiskConsistencyGroupPolicy
    Resource policy for disk consistency groups.
    groupPlacementPolicy ResourcePolicyGroupPlacementPolicy
    Resource policy for instances for placement configuration.
    instanceSchedulePolicy ResourcePolicyInstanceSchedulePolicy
    Resource policy for scheduling instance operations.
    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.
    project string
    requestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    snapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicy
    Resource policy for persistent disks for creating snapshots.
    region str
    description str
    disk_consistency_group_policy ResourcePolicyDiskConsistencyGroupPolicyArgs
    Resource policy for disk consistency groups.
    group_placement_policy ResourcePolicyGroupPlacementPolicyArgs
    Resource policy for instances for placement configuration.
    instance_schedule_policy ResourcePolicyInstanceSchedulePolicyArgs
    Resource policy for scheduling instance operations.
    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.
    project str
    request_id str
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    snapshot_schedule_policy ResourcePolicySnapshotSchedulePolicyArgs
    Resource policy for persistent disks for creating snapshots.
    region String
    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.
    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.
    project String
    requestId String
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    snapshotSchedulePolicy Property Map
    Resource policy for persistent disks for creating snapshots.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourcePolicy resource produces the following output properties:

    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource. Always compute#resource_policies for resource policies.
    ResourceStatus Pulumi.GoogleNative.Compute.Beta.Outputs.ResourcePolicyResourceStatusResponse
    The system status of the resource policy.
    SelfLink string
    Server-defined fully-qualified URL for this resource.
    Status string
    The status of resource policy creation.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource. Always compute#resource_policies for resource policies.
    ResourceStatus ResourcePolicyResourceStatusResponse
    The system status of the resource policy.
    SelfLink string
    Server-defined fully-qualified URL for this resource.
    Status string
    The status of resource policy creation.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource. Always compute#resource_policies for resource policies.
    resourceStatus ResourcePolicyResourceStatusResponse
    The system status of the resource policy.
    selfLink String
    Server-defined fully-qualified URL for this resource.
    status String
    The status of resource policy creation.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    Type of the resource. Always compute#resource_policies for resource policies.
    resourceStatus ResourcePolicyResourceStatusResponse
    The system status of the resource policy.
    selfLink string
    Server-defined fully-qualified URL for this resource.
    status string
    The status of resource policy creation.
    creation_timestamp str
    Creation timestamp in RFC3339 text format.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    Type of the resource. Always compute#resource_policies for resource policies.
    resource_status ResourcePolicyResourceStatusResponse
    The system status of the resource policy.
    self_link str
    Server-defined fully-qualified URL for this resource.
    status str
    The status of resource policy creation.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource. Always compute#resource_policies for resource policies.
    resourceStatus Property Map
    The system status of the resource policy.
    selfLink String
    Server-defined fully-qualified URL for this resource.
    status String
    The status of resource policy creation.

    Supporting Types

    ResourcePolicyDailyCycle, ResourcePolicyDailyCycleArgs

    DaysInCycle int
    Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
    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.
    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.
    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.
    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.
    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.
    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.

    ResourcePolicyDailyCycleResponse, ResourcePolicyDailyCycleResponseArgs

    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.

    ResourcePolicyGroupPlacementPolicy, ResourcePolicyGroupPlacementPolicyArgs

    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 Pulumi.GoogleNative.Compute.Beta.ResourcePolicyGroupPlacementPolicyCollocation
    Specifies network collocation
    MaxDistance int
    Specifies the number of max logical switches.
    SliceCount int
    Specifies the number of slices in a multislice workload.
    TpuTopology string
    Specifies the shape of the TPU slice
    VmCount int
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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 ResourcePolicyGroupPlacementPolicyCollocation
    Specifies network collocation
    MaxDistance int
    Specifies the number of max logical switches.
    SliceCount int
    Specifies the number of slices in a multislice workload.
    TpuTopology string
    Specifies the shape of the TPU slice
    VmCount int
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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 ResourcePolicyGroupPlacementPolicyCollocation
    Specifies network collocation
    maxDistance Integer
    Specifies the number of max logical switches.
    sliceCount Integer
    Specifies the number of slices in a multislice workload.
    tpuTopology String
    Specifies the shape of the TPU slice
    vmCount Integer
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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 ResourcePolicyGroupPlacementPolicyCollocation
    Specifies network collocation
    maxDistance number
    Specifies the number of max logical switches.
    sliceCount number
    Specifies the number of slices in a multislice workload.
    tpuTopology string
    Specifies the shape of the TPU slice
    vmCount number
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    availability_domain_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 ResourcePolicyGroupPlacementPolicyCollocation
    Specifies network collocation
    max_distance int
    Specifies the number of max logical switches.
    slice_count int
    Specifies the number of slices in a multislice workload.
    tpu_topology str
    Specifies the shape of the TPU slice
    vm_count int
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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 "COLLOCATED" | "UNSPECIFIED_COLLOCATION"
    Specifies network collocation
    maxDistance Number
    Specifies the number of max logical switches.
    sliceCount Number
    Specifies the number of slices in a multislice workload.
    tpuTopology String
    Specifies the shape of the TPU slice
    vmCount Number
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.

    ResourcePolicyGroupPlacementPolicyCollocation, ResourcePolicyGroupPlacementPolicyCollocationArgs

    Collocated
    COLLOCATED
    UnspecifiedCollocation
    UNSPECIFIED_COLLOCATION
    ResourcePolicyGroupPlacementPolicyCollocationCollocated
    COLLOCATED
    ResourcePolicyGroupPlacementPolicyCollocationUnspecifiedCollocation
    UNSPECIFIED_COLLOCATION
    Collocated
    COLLOCATED
    UnspecifiedCollocation
    UNSPECIFIED_COLLOCATION
    Collocated
    COLLOCATED
    UnspecifiedCollocation
    UNSPECIFIED_COLLOCATION
    COLLOCATED
    COLLOCATED
    UNSPECIFIED_COLLOCATION
    UNSPECIFIED_COLLOCATION
    "COLLOCATED"
    COLLOCATED
    "UNSPECIFIED_COLLOCATION"
    UNSPECIFIED_COLLOCATION

    ResourcePolicyGroupPlacementPolicyResponse, ResourcePolicyGroupPlacementPolicyResponseArgs

    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
    MaxDistance int
    Specifies the number of max logical switches.
    SliceCount int
    Specifies the number of slices in a multislice workload.
    TpuTopology string
    Specifies the shape of the TPU slice
    VmCount int
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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
    MaxDistance int
    Specifies the number of max logical switches.
    SliceCount int
    Specifies the number of slices in a multislice workload.
    TpuTopology string
    Specifies the shape of the TPU slice
    VmCount int
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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
    maxDistance Integer
    Specifies the number of max logical switches.
    sliceCount Integer
    Specifies the number of slices in a multislice workload.
    tpuTopology String
    Specifies the shape of the TPU slice
    vmCount Integer
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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
    maxDistance number
    Specifies the number of max logical switches.
    sliceCount number
    Specifies the number of slices in a multislice workload.
    tpuTopology string
    Specifies the shape of the TPU slice
    vmCount number
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    availability_domain_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
    max_distance int
    Specifies the number of max logical switches.
    slice_count int
    Specifies the number of slices in a multislice workload.
    tpu_topology str
    Specifies the shape of the TPU slice
    vm_count int
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
    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
    maxDistance Number
    Specifies the number of max logical switches.
    sliceCount Number
    Specifies the number of slices in a multislice workload.
    tpuTopology String
    Specifies the shape of the TPU slice
    vmCount Number
    Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.

    ResourcePolicyHourlyCycle, ResourcePolicyHourlyCycleArgs

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

    ResourcePolicyHourlyCycleResponse, ResourcePolicyHourlyCycleResponseArgs

    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.

    ResourcePolicyInstanceSchedulePolicy, ResourcePolicyInstanceSchedulePolicyArgs

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

    ResourcePolicyInstanceSchedulePolicyResponse, ResourcePolicyInstanceSchedulePolicyResponseArgs

    ExpirationTime string
    The expiration time of the schedule. The timestamp is an RFC3339 string.
    StartTime string
    The start time of the schedule. The timestamp is an RFC3339 string.
    TimeZone string
    Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
    VmStartSchedule Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicyInstanceSchedulePolicyScheduleResponse
    Specifies the schedule for starting instances.
    VmStopSchedule Pulumi.GoogleNative.Compute.Beta.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: https://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: https://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: https://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: https://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: https://wikipedia.org/wiki/Tz_database.
    vmStartSchedule Property Map
    Specifies the schedule for starting instances.
    vmStopSchedule Property Map
    Specifies the schedule for stopping instances.

    ResourcePolicyInstanceSchedulePolicySchedule, ResourcePolicyInstanceSchedulePolicyScheduleArgs

    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.

    ResourcePolicyInstanceSchedulePolicyScheduleResponse, ResourcePolicyInstanceSchedulePolicyScheduleResponseArgs

    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, ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseArgs

    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, ResourcePolicyResourceStatusResponseArgs

    InstanceSchedulePolicy Pulumi.GoogleNative.Compute.Beta.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.

    ResourcePolicySnapshotSchedulePolicy, ResourcePolicySnapshotSchedulePolicyArgs

    RetentionPolicy Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicyRetentionPolicy
    Retention policy applied to snapshots created by this resource policy.
    Schedule Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicySchedule
    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.Beta.Inputs.ResourcePolicySnapshotSchedulePolicySnapshotProperties
    Properties with which snapshots are created such as labels, encryption keys.
    RetentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicy
    Retention policy applied to snapshots created by this resource policy.
    Schedule ResourcePolicySnapshotSchedulePolicySchedule
    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 ResourcePolicySnapshotSchedulePolicySnapshotProperties
    Properties with which snapshots are created such as labels, encryption keys.
    retentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicy
    Retention policy applied to snapshots created by this resource policy.
    schedule ResourcePolicySnapshotSchedulePolicySchedule
    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 ResourcePolicySnapshotSchedulePolicySnapshotProperties
    Properties with which snapshots are created such as labels, encryption keys.
    retentionPolicy ResourcePolicySnapshotSchedulePolicyRetentionPolicy
    Retention policy applied to snapshots created by this resource policy.
    schedule ResourcePolicySnapshotSchedulePolicySchedule
    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 ResourcePolicySnapshotSchedulePolicySnapshotProperties
    Properties with which snapshots are created such as labels, encryption keys.
    retention_policy ResourcePolicySnapshotSchedulePolicyRetentionPolicy
    Retention policy applied to snapshots created by this resource policy.
    schedule ResourcePolicySnapshotSchedulePolicySchedule
    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 ResourcePolicySnapshotSchedulePolicySnapshotProperties
    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.

    ResourcePolicySnapshotSchedulePolicyResponse, ResourcePolicySnapshotSchedulePolicyResponseArgs

    RetentionPolicy Pulumi.GoogleNative.Compute.Beta.Inputs.ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse
    Retention policy applied to snapshots created by this resource policy.
    Schedule Pulumi.GoogleNative.Compute.Beta.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.Beta.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.

    ResourcePolicySnapshotSchedulePolicyRetentionPolicy, ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs

    MaxRetentionDays int
    Maximum age of the snapshot that is allowed to be kept.
    OnSourceDiskDelete Pulumi.GoogleNative.Compute.Beta.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete
    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.
    OnSourceDiskDelete ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete
    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.
    onSourceDiskDelete ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete
    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.
    onSourceDiskDelete ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete
    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_source_disk_delete ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete
    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.
    onSourceDiskDelete "APPLY_RETENTION_POLICY" | "KEEP_AUTO_SNAPSHOTS" | "UNSPECIFIED_ON_SOURCE_DISK_DELETE"
    Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

    ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete, ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteArgs

    ApplyRetentionPolicy
    APPLY_RETENTION_POLICY
    KeepAutoSnapshots
    KEEP_AUTO_SNAPSHOTS
    UnspecifiedOnSourceDiskDelete
    UNSPECIFIED_ON_SOURCE_DISK_DELETE
    ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteApplyRetentionPolicy
    APPLY_RETENTION_POLICY
    ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteKeepAutoSnapshots
    KEEP_AUTO_SNAPSHOTS
    ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteUnspecifiedOnSourceDiskDelete
    UNSPECIFIED_ON_SOURCE_DISK_DELETE
    ApplyRetentionPolicy
    APPLY_RETENTION_POLICY
    KeepAutoSnapshots
    KEEP_AUTO_SNAPSHOTS
    UnspecifiedOnSourceDiskDelete
    UNSPECIFIED_ON_SOURCE_DISK_DELETE
    ApplyRetentionPolicy
    APPLY_RETENTION_POLICY
    KeepAutoSnapshots
    KEEP_AUTO_SNAPSHOTS
    UnspecifiedOnSourceDiskDelete
    UNSPECIFIED_ON_SOURCE_DISK_DELETE
    APPLY_RETENTION_POLICY
    APPLY_RETENTION_POLICY
    KEEP_AUTO_SNAPSHOTS
    KEEP_AUTO_SNAPSHOTS
    UNSPECIFIED_ON_SOURCE_DISK_DELETE
    UNSPECIFIED_ON_SOURCE_DISK_DELETE
    "APPLY_RETENTION_POLICY"
    APPLY_RETENTION_POLICY
    "KEEP_AUTO_SNAPSHOTS"
    KEEP_AUTO_SNAPSHOTS
    "UNSPECIFIED_ON_SOURCE_DISK_DELETE"
    UNSPECIFIED_ON_SOURCE_DISK_DELETE

    ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse, ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseArgs

    MaxRetentionDays int
    Maximum age of the snapshot that is allowed to be kept.
    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.
    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.
    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.
    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_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.
    onSourceDiskDelete String
    Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

    ResourcePolicySnapshotSchedulePolicySchedule, ResourcePolicySnapshotSchedulePolicyScheduleArgs

    ResourcePolicySnapshotSchedulePolicyScheduleResponse, ResourcePolicySnapshotSchedulePolicyScheduleResponseArgs

    ResourcePolicySnapshotSchedulePolicySnapshotProperties, ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs

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

    ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse, ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseArgs

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

    ResourcePolicyWeeklyCycle, ResourcePolicyWeeklyCycleArgs

    DayOfWeeks []ResourcePolicyWeeklyCycleDayOfWeek
    Up to 7 intervals/windows, one for each day of the week.
    dayOfWeeks List<ResourcePolicyWeeklyCycleDayOfWeek>
    Up to 7 intervals/windows, one for each day of the week.
    dayOfWeeks ResourcePolicyWeeklyCycleDayOfWeek[]
    Up to 7 intervals/windows, one for each day of the week.
    day_of_weeks Sequence[ResourcePolicyWeeklyCycleDayOfWeek]
    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.

    ResourcePolicyWeeklyCycleDayOfWeek, ResourcePolicyWeeklyCycleDayOfWeekArgs

    Day Pulumi.GoogleNative.Compute.Beta.ResourcePolicyWeeklyCycleDayOfWeekDay
    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.
    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 ResourcePolicyWeeklyCycleDayOfWeekDay
    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.
    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 ResourcePolicyWeeklyCycleDayOfWeekDay
    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.
    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 ResourcePolicyWeeklyCycleDayOfWeekDay
    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.
    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 ResourcePolicyWeeklyCycleDayOfWeekDay
    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.
    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 "FRIDAY" | "INVALID" | "MONDAY" | "SATURDAY" | "SUNDAY" | "THURSDAY" | "TUESDAY" | "WEDNESDAY"
    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.
    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.

    ResourcePolicyWeeklyCycleDayOfWeekDay, ResourcePolicyWeeklyCycleDayOfWeekDayArgs

    Friday
    FRIDAY
    Invalid
    INVALID
    Monday
    MONDAY
    Saturday
    SATURDAY
    Sunday
    SUNDAY
    Thursday
    THURSDAY
    Tuesday
    TUESDAY
    Wednesday
    WEDNESDAY
    ResourcePolicyWeeklyCycleDayOfWeekDayFriday
    FRIDAY
    ResourcePolicyWeeklyCycleDayOfWeekDayInvalid
    INVALID
    ResourcePolicyWeeklyCycleDayOfWeekDayMonday
    MONDAY
    ResourcePolicyWeeklyCycleDayOfWeekDaySaturday
    SATURDAY
    ResourcePolicyWeeklyCycleDayOfWeekDaySunday
    SUNDAY
    ResourcePolicyWeeklyCycleDayOfWeekDayThursday
    THURSDAY
    ResourcePolicyWeeklyCycleDayOfWeekDayTuesday
    TUESDAY
    ResourcePolicyWeeklyCycleDayOfWeekDayWednesday
    WEDNESDAY
    Friday
    FRIDAY
    Invalid
    INVALID
    Monday
    MONDAY
    Saturday
    SATURDAY
    Sunday
    SUNDAY
    Thursday
    THURSDAY
    Tuesday
    TUESDAY
    Wednesday
    WEDNESDAY
    Friday
    FRIDAY
    Invalid
    INVALID
    Monday
    MONDAY
    Saturday
    SATURDAY
    Sunday
    SUNDAY
    Thursday
    THURSDAY
    Tuesday
    TUESDAY
    Wednesday
    WEDNESDAY
    FRIDAY
    FRIDAY
    INVALID
    INVALID
    MONDAY
    MONDAY
    SATURDAY
    SATURDAY
    SUNDAY
    SUNDAY
    THURSDAY
    THURSDAY
    TUESDAY
    TUESDAY
    WEDNESDAY
    WEDNESDAY
    "FRIDAY"
    FRIDAY
    "INVALID"
    INVALID
    "MONDAY"
    MONDAY
    "SATURDAY"
    SATURDAY
    "SUNDAY"
    SUNDAY
    "THURSDAY"
    THURSDAY
    "TUESDAY"
    TUESDAY
    "WEDNESDAY"
    WEDNESDAY

    ResourcePolicyWeeklyCycleDayOfWeekResponse, ResourcePolicyWeeklyCycleDayOfWeekResponseArgs

    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, ResourcePolicyWeeklyCycleResponseArgs

    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
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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