< Back
Set-GceHealthCheck
Post
NAME Set-GceHealthCheck
SYNOPSIS
Sets the data of a Google Compute Engine health check.
SYNTAX
Set-GceHealthCheck [-HttpObject] <HttpHealthCheck> [<CommonParameters>]
Set-GceHealthCheck [-HttpsObject] <HttpsHealthCheck> [<CommonParameters>]
DESCRIPTION
Sets the data of a Google Compute Engine health check. First get the health check object with Get-GceHealthCheck.
Then change the data in the object you received. Finally send that object to Set-GceHealthCheck.
PARAMETERS
-HttpObject <HttpHealthCheck>
The object describing a health check using HTTP.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-HttpsObject <HttpsHealthCheck>
The object describing a health check using HTTPS.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Google.Apis.Compute.v1.Data.HttpHealthCheck
The object describing a health check using HTTP.
Google.Apis.Compute.v1.Data.HttpsHealthCheck
The object describing a health check using HTTPS.
OUTPUTS
Google.Apis.Compute.v1.Data.HttpHealthCheck
Google.Apis.Compute.v1.Data.HttpsHealthCheck
---------- EXAMPLE 1 ----------
PS C:\\> $healthCheck = Get-GceHealthCheck "my-health-check" -Project "my-project"
PS C:\\> $healthCheck.CheckIntervalSec = 30
PS C:\\> $healthCheck | Set-GceHealthCheck
Changes the HTTP health check "my-health-check" from project "my-project".
RELATED LINKS
[HealthCheck resource definition]
(https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Sets the data of a Google Compute Engine health check.
SYNTAX
Set-GceHealthCheck [-HttpObject] <HttpHealthCheck> [<CommonParameters>]
Set-GceHealthCheck [-HttpsObject] <HttpsHealthCheck> [<CommonParameters>]
DESCRIPTION
Sets the data of a Google Compute Engine health check. First get the health check object with Get-GceHealthCheck.
Then change the data in the object you received. Finally send that object to Set-GceHealthCheck.
PARAMETERS
-HttpObject <HttpHealthCheck>
The object describing a health check using HTTP.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-HttpsObject <HttpsHealthCheck>
The object describing a health check using HTTPS.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Google.Apis.Compute.v1.Data.HttpHealthCheck
The object describing a health check using HTTP.
Google.Apis.Compute.v1.Data.HttpsHealthCheck
The object describing a health check using HTTPS.
OUTPUTS
Google.Apis.Compute.v1.Data.HttpHealthCheck
Google.Apis.Compute.v1.Data.HttpsHealthCheck
---------- EXAMPLE 1 ----------
PS C:\\> $healthCheck = Get-GceHealthCheck "my-health-check" -Project "my-project"
PS C:\\> $healthCheck.CheckIntervalSec = 30
PS C:\\> $healthCheck | Set-GceHealthCheck
Changes the HTTP health check "my-health-check" from project "my-project".
RELATED LINKS
[HealthCheck resource definition]
(https://cloud.google.com/compute/docs/r ... s#resource)