Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/alpha.getHttpsHealthCheck
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns the specified HttpsHealthCheck resource.
Using getHttpsHealthCheck
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 getHttpsHealthCheck(args: GetHttpsHealthCheckArgs, opts?: InvokeOptions): Promise<GetHttpsHealthCheckResult>
function getHttpsHealthCheckOutput(args: GetHttpsHealthCheckOutputArgs, opts?: InvokeOptions): Output<GetHttpsHealthCheckResult>
def get_https_health_check(https_health_check: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHttpsHealthCheckResult
def get_https_health_check_output(https_health_check: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHttpsHealthCheckResult]
func LookupHttpsHealthCheck(ctx *Context, args *LookupHttpsHealthCheckArgs, opts ...InvokeOption) (*LookupHttpsHealthCheckResult, error)
func LookupHttpsHealthCheckOutput(ctx *Context, args *LookupHttpsHealthCheckOutputArgs, opts ...InvokeOption) LookupHttpsHealthCheckResultOutput
> Note: This function is named LookupHttpsHealthCheck
in the Go SDK.
public static class GetHttpsHealthCheck
{
public static Task<GetHttpsHealthCheckResult> InvokeAsync(GetHttpsHealthCheckArgs args, InvokeOptions? opts = null)
public static Output<GetHttpsHealthCheckResult> Invoke(GetHttpsHealthCheckInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHttpsHealthCheckResult> getHttpsHealthCheck(GetHttpsHealthCheckArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/alpha:getHttpsHealthCheck
arguments:
# arguments dictionary
The following arguments are supported:
- Https
Health stringCheck - Project string
- Https
Health stringCheck - Project string
- https
Health StringCheck - project String
- https
Health stringCheck - project string
- https_
health_ strcheck - project str
- https
Health StringCheck - project String
getHttpsHealthCheck Result
The following output properties are available:
- Check
Interval intSec - How often (in seconds) to send a health check. The default value is 5 seconds.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Healthy
Threshold int - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- Host string
- The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Kind string
- Type of the resource.
- Name string
- Name of the resource. Provided by the client when the resource is created. The 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. - Port int
- The TCP port number for the HTTPS health check request. The default value is 443.
- Request
Path string - The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Timeout
Sec int - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.
- Unhealthy
Threshold int - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- Check
Interval intSec - How often (in seconds) to send a health check. The default value is 5 seconds.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Healthy
Threshold int - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- Host string
- The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- Kind string
- Type of the resource.
- Name string
- Name of the resource. Provided by the client when the resource is created. The 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. - Port int
- The TCP port number for the HTTPS health check request. The default value is 443.
- Request
Path string - The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Timeout
Sec int - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.
- Unhealthy
Threshold int - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check
Interval IntegerSec - How often (in seconds) to send a health check. The default value is 5 seconds.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- healthy
Threshold Integer - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- host String
- The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- kind String
- Type of the resource.
- name String
- Name of the resource. Provided by the client when the resource is created. The 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. - port Integer
- The TCP port number for the HTTPS health check request. The default value is 443.
- request
Path String - The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- timeout
Sec Integer - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.
- unhealthy
Threshold Integer - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check
Interval numberSec - How often (in seconds) to send a health check. The default value is 5 seconds.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- healthy
Threshold number - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- host string
- The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- kind string
- Type of the resource.
- name string
- Name of the resource. Provided by the client when the resource is created. The 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. - port number
- The TCP port number for the HTTPS health check request. The default value is 443.
- request
Path string - The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986.
- self
Link string - Server-defined URL for the resource.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- timeout
Sec number - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.
- unhealthy
Threshold number - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check_
interval_ intsec - How often (in seconds) to send a health check. The default value is 5 seconds.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- healthy_
threshold int - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- host str
- The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- kind str
- Type of the resource.
- name str
- Name of the resource. Provided by the client when the resource is created. The 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. - port int
- The TCP port number for the HTTPS health check request. The default value is 443.
- request_
path str - The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986.
- self_
link str - Server-defined URL for the resource.
- self_
link_ strwith_ id - Server-defined URL for this resource with the resource id.
- timeout_
sec int - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.
- unhealthy_
threshold int - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
- check
Interval NumberSec - How often (in seconds) to send a health check. The default value is 5 seconds.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- healthy
Threshold Number - A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
- host String
- The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
- kind String
- Type of the resource.
- name String
- Name of the resource. Provided by the client when the resource is created. The 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. - port Number
- The TCP port number for the HTTPS health check request. The default value is 443.
- request
Path String - The request path of the HTTPS health check request. The default value is "/". Must comply with RFC3986.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- timeout
Sec Number - How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.
- unhealthy
Threshold Number - A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi