Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi
gcp.redis.getInstance
Explore with Pulumi AI
Get info about a Google Cloud Redis instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myInstance = gcp.redis.getInstance({
name: "my-redis-instance",
});
export const instanceMemorySizeGb = myInstance.then(myInstance => myInstance.memorySizeGb);
export const instanceConnectMode = myInstance.then(myInstance => myInstance.connectMode);
export const instanceAuthorizedNetwork = myInstance.then(myInstance => myInstance.authorizedNetwork);
import pulumi
import pulumi_gcp as gcp
my_instance = gcp.redis.get_instance(name="my-redis-instance")
pulumi.export("instanceMemorySizeGb", my_instance.memory_size_gb)
pulumi.export("instanceConnectMode", my_instance.connect_mode)
pulumi.export("instanceAuthorizedNetwork", my_instance.authorized_network)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myInstance, err := redis.LookupInstance(ctx, &redis.LookupInstanceArgs{
Name: "my-redis-instance",
}, nil)
if err != nil {
return err
}
ctx.Export("instanceMemorySizeGb", myInstance.MemorySizeGb)
ctx.Export("instanceConnectMode", myInstance.ConnectMode)
ctx.Export("instanceAuthorizedNetwork", myInstance.AuthorizedNetwork)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myInstance = Gcp.Redis.GetInstance.Invoke(new()
{
Name = "my-redis-instance",
});
return new Dictionary<string, object?>
{
["instanceMemorySizeGb"] = myInstance.Apply(getInstanceResult => getInstanceResult.MemorySizeGb),
["instanceConnectMode"] = myInstance.Apply(getInstanceResult => getInstanceResult.ConnectMode),
["instanceAuthorizedNetwork"] = myInstance.Apply(getInstanceResult => getInstanceResult.AuthorizedNetwork),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.redis.RedisFunctions;
import com.pulumi.gcp.redis.inputs.GetInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myInstance = RedisFunctions.getInstance(GetInstanceArgs.builder()
.name("my-redis-instance")
.build());
ctx.export("instanceMemorySizeGb", myInstance.applyValue(getInstanceResult -> getInstanceResult.memorySizeGb()));
ctx.export("instanceConnectMode", myInstance.applyValue(getInstanceResult -> getInstanceResult.connectMode()));
ctx.export("instanceAuthorizedNetwork", myInstance.applyValue(getInstanceResult -> getInstanceResult.authorizedNetwork()));
}
}
variables:
myInstance:
fn::invoke:
Function: gcp:redis:getInstance
Arguments:
name: my-redis-instance
outputs:
instanceMemorySizeGb: ${myInstance.memorySizeGb}
instanceConnectMode: ${myInstance.connectMode}
instanceAuthorizedNetwork: ${myInstance.authorizedNetwork}
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(name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
region: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:redis/getInstance:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
getInstance Result
The following output properties are available:
- Alternative
Location stringId - Auth
Enabled bool - Auth
String string - string
- Connect
Mode string - Create
Time string - Current
Location stringId - Customer
Managed stringKey - Display
Name string - Effective
Labels Dictionary<string, string> - Host string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Location
Id string - Maintenance
Policies List<GetInstance Maintenance Policy> - Maintenance
Schedules List<GetInstance Maintenance Schedule> - Maintenance
Version string - Memory
Size intGb - Name string
- Nodes
List<Get
Instance Node> - Persistence
Configs List<GetInstance Persistence Config> - Persistence
Iam stringIdentity - Port int
- Pulumi
Labels Dictionary<string, string> - Read
Endpoint string - Read
Endpoint intPort - Read
Replicas stringMode - Redis
Configs Dictionary<string, string> - Redis
Version string - Replica
Count int - Reserved
Ip stringRange - Secondary
Ip stringRange - Server
Ca List<GetCerts Instance Server Ca Cert> - Tier string
- Transit
Encryption stringMode - Project string
- Region string
- Alternative
Location stringId - Auth
Enabled bool - Auth
String string - string
- Connect
Mode string - Create
Time string - Current
Location stringId - Customer
Managed stringKey - Display
Name string - Effective
Labels map[string]string - Host string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Location
Id string - Maintenance
Policies []GetInstance Maintenance Policy - Maintenance
Schedules []GetInstance Maintenance Schedule - Maintenance
Version string - Memory
Size intGb - Name string
- Nodes
[]Get
Instance Node - Persistence
Configs []GetInstance Persistence Config - Persistence
Iam stringIdentity - Port int
- Pulumi
Labels map[string]string - Read
Endpoint string - Read
Endpoint intPort - Read
Replicas stringMode - Redis
Configs map[string]string - Redis
Version string - Replica
Count int - Reserved
Ip stringRange - Secondary
Ip stringRange - Server
Ca []GetCerts Instance Server Ca Cert - Tier string
- Transit
Encryption stringMode - Project string
- Region string
- alternative
Location StringId - auth
Enabled Boolean - auth
String String - String
- connect
Mode String - create
Time String - current
Location StringId - customer
Managed StringKey - display
Name String - effective
Labels Map<String,String> - host String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- location
Id String - maintenance
Policies List<GetInstance Maintenance Policy> - maintenance
Schedules List<GetInstance Maintenance Schedule> - maintenance
Version String - memory
Size IntegerGb - name String
- nodes
List<Get
Instance Node> - persistence
Configs List<GetInstance Persistence Config> - persistence
Iam StringIdentity - port Integer
- pulumi
Labels Map<String,String> - read
Endpoint String - read
Endpoint IntegerPort - read
Replicas StringMode - redis
Configs Map<String,String> - redis
Version String - replica
Count Integer - reserved
Ip StringRange - secondary
Ip StringRange - server
Ca List<GetCerts Instance Server Ca Cert> - tier String
- transit
Encryption StringMode - project String
- region String
- alternative
Location stringId - auth
Enabled boolean - auth
String string - string
- connect
Mode string - create
Time string - current
Location stringId - customer
Managed stringKey - display
Name string - effective
Labels {[key: string]: string} - host string
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- location
Id string - maintenance
Policies GetInstance Maintenance Policy[] - maintenance
Schedules GetInstance Maintenance Schedule[] - maintenance
Version string - memory
Size numberGb - name string
- nodes
Get
Instance Node[] - persistence
Configs GetInstance Persistence Config[] - persistence
Iam stringIdentity - port number
- pulumi
Labels {[key: string]: string} - read
Endpoint string - read
Endpoint numberPort - read
Replicas stringMode - redis
Configs {[key: string]: string} - redis
Version string - replica
Count number - reserved
Ip stringRange - secondary
Ip stringRange - server
Ca GetCerts Instance Server Ca Cert[] - tier string
- transit
Encryption stringMode - project string
- region string
- alternative_
location_ strid - auth_
enabled bool - auth_
string str - str
- connect_
mode str - create_
time str - current_
location_ strid - customer_
managed_ strkey - display_
name str - effective_
labels Mapping[str, str] - host str
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- location_
id str - maintenance_
policies Sequence[GetInstance Maintenance Policy] - maintenance_
schedules Sequence[GetInstance Maintenance Schedule] - maintenance_
version str - memory_
size_ intgb - name str
- nodes
Sequence[Get
Instance Node] - persistence_
configs Sequence[GetInstance Persistence Config] - persistence_
iam_ stridentity - port int
- pulumi_
labels Mapping[str, str] - read_
endpoint str - read_
endpoint_ intport - read_
replicas_ strmode - redis_
configs Mapping[str, str] - redis_
version str - replica_
count int - reserved_
ip_ strrange - secondary_
ip_ strrange - server_
ca_ Sequence[Getcerts Instance Server Ca Cert] - tier str
- transit_
encryption_ strmode - project str
- region str
- alternative
Location StringId - auth
Enabled Boolean - auth
String String - String
- connect
Mode String - create
Time String - current
Location StringId - customer
Managed StringKey - display
Name String - effective
Labels Map<String> - host String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- location
Id String - maintenance
Policies List<Property Map> - maintenance
Schedules List<Property Map> - maintenance
Version String - memory
Size NumberGb - name String
- nodes List<Property Map>
- persistence
Configs List<Property Map> - persistence
Iam StringIdentity - port Number
- pulumi
Labels Map<String> - read
Endpoint String - read
Endpoint NumberPort - read
Replicas StringMode - redis
Configs Map<String> - redis
Version String - replica
Count Number - reserved
Ip StringRange - secondary
Ip StringRange - server
Ca List<Property Map>Certs - tier String
- transit
Encryption StringMode - project String
- region String
Supporting Types
GetInstanceMaintenancePolicy
- Create
Time string - Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- Update
Time string - Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Weekly
Maintenance List<GetWindows Instance Maintenance Policy Weekly Maintenance Window> - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- Create
Time string - Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- Update
Time string - Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Weekly
Maintenance []GetWindows Instance Maintenance Policy Weekly Maintenance Window - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create
Time String - Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description String
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update
Time String - Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- weekly
Maintenance List<GetWindows Instance Maintenance Policy Weekly Maintenance Window> - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create
Time string - Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description string
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update
Time string - Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- weekly
Maintenance GetWindows Instance Maintenance Policy Weekly Maintenance Window[] - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create_
time str - Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description str
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update_
time str - Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- weekly_
maintenance_ Sequence[Getwindows Instance Maintenance Policy Weekly Maintenance Window] - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
- create
Time String - Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- description String
- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
- update
Time String - Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- weekly
Maintenance List<Property Map>Windows - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
GetInstanceMaintenancePolicyWeeklyMaintenanceWindow
- Day string
- Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
- Duration string
- Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- Start
Times List<GetInstance Maintenance Policy Weekly Maintenance Window Start Time> - Required. Start time of the window in UTC time.
- Day string
- Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
- Duration string
- Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- Start
Times []GetInstance Maintenance Policy Weekly Maintenance Window Start Time - Required. Start time of the window in UTC time.
- day String
- Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
- duration String
- Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- start
Times List<GetInstance Maintenance Policy Weekly Maintenance Window Start Time> - Required. Start time of the window in UTC time.
- day string
- Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
- duration string
- Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- start
Times GetInstance Maintenance Policy Weekly Maintenance Window Start Time[] - Required. Start time of the window in UTC time.
- day str
- Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
- duration str
- Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- start_
times Sequence[GetInstance Maintenance Policy Weekly Maintenance Window Start Time] - Required. Start time of the window in UTC time.
- day String
- Required. The day of week that maintenance updates occur.
- DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
- MONDAY: Monday
- TUESDAY: Tuesday
- WEDNESDAY: Wednesday
- THURSDAY: Thursday
- FRIDAY: Friday
- SATURDAY: Saturday
- SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
- duration String
- Output only. Duration of the maintenance window. The current window is fixed at 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- start
Times List<Property Map> - Required. Start time of the window in UTC time.
GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime
- Hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- Minutes int
- Minutes of hour of day. Must be from 0 to 59.
- Nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- Hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- Minutes int
- Minutes of hour of day. Must be from 0 to 59.
- Nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours Integer
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes Integer
- Minutes of hour of day. Must be from 0 to 59.
- nanos Integer
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds Integer
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours number
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes number
- Minutes of hour of day. Must be from 0 to 59.
- nanos number
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds number
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours int
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes int
- Minutes of hour of day. Must be from 0 to 59.
- nanos int
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds int
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
- hours Number
- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
- minutes Number
- Minutes of hour of day. Must be from 0 to 59.
- nanos Number
- Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- seconds Number
- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
GetInstanceMaintenanceSchedule
- End
Time string - Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Schedule
Deadline stringTime - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Start
Time string - Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- End
Time string - Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Schedule
Deadline stringTime - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- Start
Time string - Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- end
Time String - Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- schedule
Deadline StringTime - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- start
Time String - Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- end
Time string - Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- schedule
Deadline stringTime - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- start
Time string - Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- end_
time str - Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- schedule_
deadline_ strtime - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- start_
time str - Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- end
Time String - Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- schedule
Deadline StringTime - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
- start
Time String - Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
GetInstanceNode
GetInstancePersistenceConfig
- Persistence
Mode string - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
- Rdb
Next stringSnapshot Time - Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Rdb
Snapshot stringPeriod - Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
- Rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Persistence
Mode string - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
- Rdb
Next stringSnapshot Time - Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Rdb
Snapshot stringPeriod - Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
- Rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- persistence
Mode String - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
- rdb
Next StringSnapshot Time - Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- rdb
Snapshot StringPeriod - Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
- rdb
Snapshot StringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- persistence
Mode string - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
- rdb
Next stringSnapshot Time - Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- rdb
Snapshot stringPeriod - Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
- rdb
Snapshot stringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- persistence_
mode str - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
- rdb_
next_ strsnapshot_ time - Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- rdb_
snapshot_ strperiod - Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
- rdb_
snapshot_ strstart_ time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- persistence
Mode String - Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
- RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]
- rdb
Next StringSnapshot Time - Output only. The next time that a snapshot attempt is scheduled to occur. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- rdb
Snapshot StringPeriod - Optional. Available snapshot periods for scheduling.
- ONE_HOUR: Snapshot every 1 hour.
- SIX_HOURS: Snapshot every 6 hours.
- TWELVE_HOURS: Snapshot every 12 hours.
- TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]
- rdb
Snapshot StringStart Time - Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
GetInstanceServerCaCert
- Cert string
- The certificate data in PEM format.
- Create
Time string - The time when the certificate was created.
- Expire
Time string - The time when the certificate expires.
- Serial
Number string - Serial number, as extracted from the certificate.
- Sha1Fingerprint string
- Sha1 Fingerprint of the certificate.
- Cert string
- The certificate data in PEM format.
- Create
Time string - The time when the certificate was created.
- Expire
Time string - The time when the certificate expires.
- Serial
Number string - Serial number, as extracted from the certificate.
- Sha1Fingerprint string
- Sha1 Fingerprint of the certificate.
- cert String
- The certificate data in PEM format.
- create
Time String - The time when the certificate was created.
- expire
Time String - The time when the certificate expires.
- serial
Number String - Serial number, as extracted from the certificate.
- sha1Fingerprint String
- Sha1 Fingerprint of the certificate.
- cert string
- The certificate data in PEM format.
- create
Time string - The time when the certificate was created.
- expire
Time string - The time when the certificate expires.
- serial
Number string - Serial number, as extracted from the certificate.
- sha1Fingerprint string
- Sha1 Fingerprint of the certificate.
- cert str
- The certificate data in PEM format.
- create_
time str - The time when the certificate was created.
- expire_
time str - The time when the certificate expires.
- serial_
number str - Serial number, as extracted from the certificate.
- sha1_
fingerprint str - Sha1 Fingerprint of the certificate.
- cert String
- The certificate data in PEM format.
- create
Time String - The time when the certificate was created.
- expire
Time String - The time when the certificate expires.
- serial
Number String - Serial number, as extracted from the certificate.
- sha1Fingerprint String
- Sha1 Fingerprint of the certificate.
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.