1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. lustre
  6. getInstance
Viewing docs for Google Cloud v9.21.0
published on Friday, Apr 24, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.21.0
published on Friday, Apr 24, 2026 by Pulumi

    Use this data source to get information about a Lustre instance. For more information see the API docs.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    variables:
      instance:
        fn::invoke:
          function: gcp:lustre:getInstance
          arguments:
            name: my-instance
            zone: us-central1-a
    

    Using getInstance

    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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
    function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
    def get_instance(instance_id: Optional[str] = None,
                     project: Optional[str] = None,
                     zone: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetInstanceResult
    def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                     project: Optional[pulumi.Input[str]] = None,
                     zone: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
    func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
    func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput

    > Note: This function is named LookupInstance in the Go SDK.

    public static class GetInstance 
    {
        public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
    public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:lustre/getInstance:getInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The instance id of the Lustre instance.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Zone string
    The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
    InstanceId string
    The instance id of the Lustre instance.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Zone string
    The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
    instanceId String
    The instance id of the Lustre instance.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    zone String
    The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
    instanceId string
    The instance id of the Lustre instance.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    zone string
    The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
    instance_id str
    The instance id of the Lustre instance.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    zone str
    The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
    instanceId String
    The instance id of the Lustre instance.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    zone String
    The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.

    getInstance Result

    The following output properties are available:

    Supporting Types

    GetInstanceAccessRulesOption

    AccessRules List<GetInstanceAccessRulesOptionAccessRule>
    The access rules for the instance.
    DefaultSquashGid int
    The user squash GID for the default access rule. This user squash GID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no GID squash).
    DefaultSquashMode string
    The squash mode for the default access rule. Possible values: NO_SQUASH ROOT_SQUASH
    DefaultSquashUid int
    The user squash UID for the default access rule. This user squash UID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no UID squash).
    AccessRules []GetInstanceAccessRulesOptionAccessRule
    The access rules for the instance.
    DefaultSquashGid int
    The user squash GID for the default access rule. This user squash GID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no GID squash).
    DefaultSquashMode string
    The squash mode for the default access rule. Possible values: NO_SQUASH ROOT_SQUASH
    DefaultSquashUid int
    The user squash UID for the default access rule. This user squash UID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no UID squash).
    accessRules List<GetInstanceAccessRulesOptionAccessRule>
    The access rules for the instance.
    defaultSquashGid Integer
    The user squash GID for the default access rule. This user squash GID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no GID squash).
    defaultSquashMode String
    The squash mode for the default access rule. Possible values: NO_SQUASH ROOT_SQUASH
    defaultSquashUid Integer
    The user squash UID for the default access rule. This user squash UID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no UID squash).
    accessRules GetInstanceAccessRulesOptionAccessRule[]
    The access rules for the instance.
    defaultSquashGid number
    The user squash GID for the default access rule. This user squash GID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no GID squash).
    defaultSquashMode string
    The squash mode for the default access rule. Possible values: NO_SQUASH ROOT_SQUASH
    defaultSquashUid number
    The user squash UID for the default access rule. This user squash UID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no UID squash).
    access_rules Sequence[GetInstanceAccessRulesOptionAccessRule]
    The access rules for the instance.
    default_squash_gid int
    The user squash GID for the default access rule. This user squash GID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no GID squash).
    default_squash_mode str
    The squash mode for the default access rule. Possible values: NO_SQUASH ROOT_SQUASH
    default_squash_uid int
    The user squash UID for the default access rule. This user squash UID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no UID squash).
    accessRules List<Property Map>
    The access rules for the instance.
    defaultSquashGid Number
    The user squash GID for the default access rule. This user squash GID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no GID squash).
    defaultSquashMode String
    The squash mode for the default access rule. Possible values: NO_SQUASH ROOT_SQUASH
    defaultSquashUid Number
    The user squash UID for the default access rule. This user squash UID applies to all root users connecting from clients that are not matched by any of the access rules. If not set, the default is 0 (no UID squash).

    GetInstanceAccessRulesOptionAccessRule

    IpAddressRanges List<string>
    The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., '192.168.1.0/24') and IP addresses (e.g., '192.168.1.0').
    Name string
    The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.
    SquashMode string
    Squash mode for the access rule. Possible values: NO_SQUASH ROOT_SQUASH
    IpAddressRanges []string
    The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., '192.168.1.0/24') and IP addresses (e.g., '192.168.1.0').
    Name string
    The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.
    SquashMode string
    Squash mode for the access rule. Possible values: NO_SQUASH ROOT_SQUASH
    ipAddressRanges List<String>
    The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., '192.168.1.0/24') and IP addresses (e.g., '192.168.1.0').
    name String
    The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.
    squashMode String
    Squash mode for the access rule. Possible values: NO_SQUASH ROOT_SQUASH
    ipAddressRanges string[]
    The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., '192.168.1.0/24') and IP addresses (e.g., '192.168.1.0').
    name string
    The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.
    squashMode string
    Squash mode for the access rule. Possible values: NO_SQUASH ROOT_SQUASH
    ip_address_ranges Sequence[str]
    The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., '192.168.1.0/24') and IP addresses (e.g., '192.168.1.0').
    name str
    The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.
    squash_mode str
    Squash mode for the access rule. Possible values: NO_SQUASH ROOT_SQUASH
    ipAddressRanges List<String>
    The IP address ranges to which to apply this access rule. Accepts non-overlapping CIDR ranges (e.g., '192.168.1.0/24') and IP addresses (e.g., '192.168.1.0').
    name String
    The name of the access rule policy group. Must be 16 characters or less and include only alphanumeric characters or '_'.
    squashMode String
    Squash mode for the access rule. Possible values: NO_SQUASH ROOT_SQUASH

    GetInstanceDynamicTierOption

    Mode string
    The dynamic tier mode of the instance. Possible values: DISABLED DEFAULT_CACHE
    Mode string
    The dynamic tier mode of the instance. Possible values: DISABLED DEFAULT_CACHE
    mode String
    The dynamic tier mode of the instance. Possible values: DISABLED DEFAULT_CACHE
    mode string
    The dynamic tier mode of the instance. Possible values: DISABLED DEFAULT_CACHE
    mode str
    The dynamic tier mode of the instance. Possible values: DISABLED DEFAULT_CACHE
    mode String
    The dynamic tier mode of the instance. Possible values: DISABLED DEFAULT_CACHE

    GetInstanceMaintenancePolicy

    MaintenanceExclusionWindows List<GetInstanceMaintenancePolicyMaintenanceExclusionWindow>
    The exclusion windows for the instance. Currently limited to 1 window.
    WeeklyMaintenanceWindows List<GetInstanceMaintenancePolicyWeeklyMaintenanceWindow>
    The weekly maintenance windows for the instance. Currently limited to 1 window.
    MaintenanceExclusionWindows []GetInstanceMaintenancePolicyMaintenanceExclusionWindow
    The exclusion windows for the instance. Currently limited to 1 window.
    WeeklyMaintenanceWindows []GetInstanceMaintenancePolicyWeeklyMaintenanceWindow
    The weekly maintenance windows for the instance. Currently limited to 1 window.
    maintenanceExclusionWindows List<GetInstanceMaintenancePolicyMaintenanceExclusionWindow>
    The exclusion windows for the instance. Currently limited to 1 window.
    weeklyMaintenanceWindows List<GetInstanceMaintenancePolicyWeeklyMaintenanceWindow>
    The weekly maintenance windows for the instance. Currently limited to 1 window.
    maintenanceExclusionWindows GetInstanceMaintenancePolicyMaintenanceExclusionWindow[]
    The exclusion windows for the instance. Currently limited to 1 window.
    weeklyMaintenanceWindows GetInstanceMaintenancePolicyWeeklyMaintenanceWindow[]
    The weekly maintenance windows for the instance. Currently limited to 1 window.
    maintenance_exclusion_windows Sequence[GetInstanceMaintenancePolicyMaintenanceExclusionWindow]
    The exclusion windows for the instance. Currently limited to 1 window.
    weekly_maintenance_windows Sequence[GetInstanceMaintenancePolicyWeeklyMaintenanceWindow]
    The weekly maintenance windows for the instance. Currently limited to 1 window.
    maintenanceExclusionWindows List<Property Map>
    The exclusion windows for the instance. Currently limited to 1 window.
    weeklyMaintenanceWindows List<Property Map>
    The weekly maintenance windows for the instance. Currently limited to 1 window.

    GetInstanceMaintenancePolicyMaintenanceExclusionWindow

    EndDates List<GetInstanceMaintenancePolicyMaintenanceExclusionWindowEndDate>

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    StartDates List<GetInstanceMaintenancePolicyMaintenanceExclusionWindowStartDate>

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    Times List<GetInstanceMaintenancePolicyMaintenanceExclusionWindowTime>
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    EndDates []GetInstanceMaintenancePolicyMaintenanceExclusionWindowEndDate

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    StartDates []GetInstanceMaintenancePolicyMaintenanceExclusionWindowStartDate

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    Times []GetInstanceMaintenancePolicyMaintenanceExclusionWindowTime
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    endDates List<GetInstanceMaintenancePolicyMaintenanceExclusionWindowEndDate>

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    startDates List<GetInstanceMaintenancePolicyMaintenanceExclusionWindowStartDate>

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    times List<GetInstanceMaintenancePolicyMaintenanceExclusionWindowTime>
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    endDates GetInstanceMaintenancePolicyMaintenanceExclusionWindowEndDate[]

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    startDates GetInstanceMaintenancePolicyMaintenanceExclusionWindowStartDate[]

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    times GetInstanceMaintenancePolicyMaintenanceExclusionWindowTime[]
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    end_dates Sequence[GetInstanceMaintenancePolicyMaintenanceExclusionWindowEndDate]

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    start_dates Sequence[GetInstanceMaintenancePolicyMaintenanceExclusionWindowStartDate]

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    times Sequence[GetInstanceMaintenancePolicyMaintenanceExclusionWindowTime]
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    endDates List<Property Map>

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    startDates List<Property Map>

    Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

    • A full date, with non-zero year, month, and day values.
    • A month and day, with a zero year (for example, an anniversary).
    • A year on its own, with a zero month and a zero day.
    • A year and month, with a zero day (for example, a credit card expiration date).

    Related types:

    • google.type.TimeOfDay
    • google.type.DateTime
    • google.protobuf.Timestamp
    times List<Property Map>
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.

    GetInstanceMaintenancePolicyMaintenanceExclusionWindowEndDate

    Day int
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    Month int
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    Year int
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    Day int
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    Month int
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    Year int
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day Integer
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month Integer
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year Integer
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day number
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month number
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year number
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day int
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month int
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year int
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day Number
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month Number
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year Number
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

    GetInstanceMaintenancePolicyMaintenanceExclusionWindowStartDate

    Day int
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    Month int
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    Year int
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    Day int
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    Month int
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    Year int
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day Integer
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month Integer
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year Integer
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day number
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month number
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year number
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day int
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month int
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year int
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
    day Number
    Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    month Number
    Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
    year Number
    Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

    GetInstanceMaintenancePolicyMaintenanceExclusionWindowTime

    Hours int
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    Minutes int
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    Nanos int
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    Seconds int
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    Hours int
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    Minutes int
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    Nanos int
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    Seconds int
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours Integer
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes Integer
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos Integer
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds Integer
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours number
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes number
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos number
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds number
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours int
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes int
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos int
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds int
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours Number
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes Number
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos Number
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds Number
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.

    GetInstanceMaintenancePolicyWeeklyMaintenanceWindow

    DayOfWeek string
    Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
    StartTimes List<GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime>
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    DayOfWeek string
    Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
    StartTimes []GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    dayOfWeek String
    Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
    startTimes List<GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime>
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    dayOfWeek string
    Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
    startTimes GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime[]
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    day_of_week str
    Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
    start_times Sequence[GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime]
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.
    dayOfWeek String
    Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
    startTimes List<Property Map>
    Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and 'google.protobuf.Timestamp'.

    GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime

    Hours int
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    Minutes int
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    Nanos int
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    Seconds int
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    Hours int
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    Minutes int
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    Nanos int
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    Seconds int
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours Integer
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes Integer
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos Integer
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds Integer
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours number
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes number
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos number
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds number
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours int
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes int
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos int
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds int
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
    hours Number
    Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
    minutes Number
    Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
    nanos Number
    Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
    seconds Number
    Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.

    GetInstanceUpcomingMaintenanceSchedule

    EndTime string
    The scheduled end time for the maintenance.
    StartTime string
    The scheduled start time for the maintenance.
    EndTime string
    The scheduled end time for the maintenance.
    StartTime string
    The scheduled start time for the maintenance.
    endTime String
    The scheduled end time for the maintenance.
    startTime String
    The scheduled start time for the maintenance.
    endTime string
    The scheduled end time for the maintenance.
    startTime string
    The scheduled start time for the maintenance.
    end_time str
    The scheduled end time for the maintenance.
    start_time str
    The scheduled start time for the maintenance.
    endTime String
    The scheduled end time for the maintenance.
    startTime String
    The scheduled start time for the maintenance.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.21.0
    published on Friday, Apr 24, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.