GetBackendService
Provide access to a Backend Service’s attribute. For more information see the official documentation and the API.
Using GetBackendService
function getBackendService(args: GetBackendServiceArgs, opts?: InvokeOptions): Promise<GetBackendServiceResult>function get_backend_service(name=None, project=None, opts=None)func LookupBackendService(ctx *Context, args *LookupBackendServiceArgs, opts ...InvokeOption) (*LookupBackendServiceResult, error)Note: This function is named
LookupBackendServicein the Go SDK.
public static class GetBackendService {
public static Task<GetBackendServiceResult> InvokeAsync(GetBackendServiceArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetBackendService Result
The following output properties are available:
- int
- Backends
List<Get
Backend Service Backend> The set of backends that serve this Backend Service.
- Cdn
Policies List<GetBackend Service Cdn Policy> - Circuit
Breakers List<GetBackend Service Circuit Breaker> - Connection
Draining intTimeout Sec Time for which instance will be drained (not accept new connections, but still work to finish started ones).
- Consistent
Hash List<GetBackend Service Consistent Hash> - Creation
Timestamp string - Custom
Request List<string>Headers - Description string
Textual description for the Backend Service.
- Enable
Cdn bool Whether or not Cloud CDN is enabled on the Backend Service.
- Fingerprint string
The fingerprint of the Backend Service.
- Health
Checks List<string> The set of HTTP/HTTPS health checks used by the Backend Service.
- Iaps
List<Get
Backend Service Iap> - Id string
The provider-assigned unique ID for this managed resource.
- Load
Balancing stringScheme - Locality
Lb stringPolicy - Log
Configs List<GetBackend Service Log Config> - Name string
- Outlier
Detections List<GetBackend Service Outlier Detection> - Port
Name string The name of a service that has been added to an instance group in this backend.
- Protocol string
The protocol for incoming requests.
- Security
Policy string - Self
Link string The URI of the Backend Service.
- Session
Affinity string The Backend Service session stickiness configuration.
- Timeout
Sec int The number of seconds to wait for a backend to respond to a request before considering the request failed.
- Project string
- int
- Backends
[]Get
Backend Service Backend The set of backends that serve this Backend Service.
- Cdn
Policies []GetBackend Service Cdn Policy - Circuit
Breakers []GetBackend Service Circuit Breaker - Connection
Draining intTimeout Sec Time for which instance will be drained (not accept new connections, but still work to finish started ones).
- Consistent
Hash []GetBackend Service Consistent Hash - Creation
Timestamp string - Custom
Request []stringHeaders - Description string
Textual description for the Backend Service.
- Enable
Cdn bool Whether or not Cloud CDN is enabled on the Backend Service.
- Fingerprint string
The fingerprint of the Backend Service.
- Health
Checks []string The set of HTTP/HTTPS health checks used by the Backend Service.
- Iaps
[]Get
Backend Service Iap - Id string
The provider-assigned unique ID for this managed resource.
- Load
Balancing stringScheme - Locality
Lb stringPolicy - Log
Configs []GetBackend Service Log Config - Name string
- Outlier
Detections []GetBackend Service Outlier Detection - Port
Name string The name of a service that has been added to an instance group in this backend.
- Protocol string
The protocol for incoming requests.
- Security
Policy string - Self
Link string The URI of the Backend Service.
- Session
Affinity string The Backend Service session stickiness configuration.
- Timeout
Sec int The number of seconds to wait for a backend to respond to a request before considering the request failed.
- Project string
- number
- backends
Get
Backend Service Backend[] The set of backends that serve this Backend Service.
- cdn
Policies GetBackend Service Cdn Policy[] - circuit
Breakers GetBackend Service Circuit Breaker[] - connection
Draining numberTimeout Sec Time for which instance will be drained (not accept new connections, but still work to finish started ones).
- consistent
Hash GetBackend Service Consistent Hash[] - creation
Timestamp string - custom
Request string[]Headers - description string
Textual description for the Backend Service.
- enable
Cdn boolean Whether or not Cloud CDN is enabled on the Backend Service.
- fingerprint string
The fingerprint of the Backend Service.
- health
Checks string[] The set of HTTP/HTTPS health checks used by the Backend Service.
- iaps
Get
Backend Service Iap[] - id string
The provider-assigned unique ID for this managed resource.
- load
Balancing stringScheme - locality
Lb stringPolicy - log
Configs GetBackend Service Log Config[] - name string
- outlier
Detections GetBackend Service Outlier Detection[] - port
Name string The name of a service that has been added to an instance group in this backend.
- protocol string
The protocol for incoming requests.
- security
Policy string - self
Link string The URI of the Backend Service.
- session
Affinity string The Backend Service session stickiness configuration.
- timeout
Sec number The number of seconds to wait for a backend to respond to a request before considering the request failed.
- project string
- float
- backends
List[Get
Backend Service Backend] The set of backends that serve this Backend Service.
- cdn_
policies List[GetBackend Service Cdn Policy] - circuit_
breakers List[GetBackend Service Circuit Breaker] - connection_
draining_ floattimeout_ sec Time for which instance will be drained (not accept new connections, but still work to finish started ones).
- consistent_
hash List[GetBackend Service Consistent Hash] - creation_
timestamp str - custom_
request_ List[str]headers - description str
Textual description for the Backend Service.
- enable_
cdn bool Whether or not Cloud CDN is enabled on the Backend Service.
- fingerprint str
The fingerprint of the Backend Service.
- health_
checks List[str] The set of HTTP/HTTPS health checks used by the Backend Service.
- iaps
List[Get
Backend Service Iap] - id str
The provider-assigned unique ID for this managed resource.
- load_
balancing_ strscheme - locality_
lb_ strpolicy - log_
configs List[GetBackend Service Log Config] - name str
- outlier_
detections List[GetBackend Service Outlier Detection] - port_
name str The name of a service that has been added to an instance group in this backend.
- protocol str
The protocol for incoming requests.
- security_
policy str - self_
link str The URI of the Backend Service.
- session_
affinity str The Backend Service session stickiness configuration.
- timeout_
sec float The number of seconds to wait for a backend to respond to a request before considering the request failed.
- project str
Supporting Types
GetBackendServiceBackend
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Balancing
Mode string - Capacity
Scaler double - Description string
Textual description for the Backend Service.
- Group string
- Max
Connections int - Max
Connections intPer Endpoint - Max
Connections intPer Instance - Max
Rate int - Max
Rate doublePer Endpoint - Max
Rate doublePer Instance - Max
Utilization double
- balancing
Mode str - capacity
Scaler float - description str
Textual description for the Backend Service.
- group str
- max
Connections float - max
Connections floatPer Endpoint - max
Connections floatPer Instance - max
Rate float - max
Rate floatPer Endpoint - max
Rate floatPer Instance - max
Utilization float
GetBackendServiceCdnPolicy
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceCdnPolicyCacheKeyPolicy
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceCircuitBreaker
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceCircuitBreakerConnectTimeout
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceConsistentHash
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceConsistentHashHttpCooky
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceConsistentHashHttpCookyTtl
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceIap
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceLogConfig
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceOutlierDetection
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Base
Ejection List<GetTimes Backend Service Outlier Detection Base Ejection Time Args> - Consecutive
Errors int - Consecutive
Gateway intFailure - Enforcing
Consecutive intErrors - Enforcing
Consecutive intGateway Failure - Enforcing
Success intRate - Intervals
List<Get
Backend Service Outlier Detection Interval Args> - Max
Ejection intPercent - Success
Rate intMinimum Hosts - Success
Rate intRequest Volume - Success
Rate intStdev Factor
- Base
Ejection []GetTimes Backend Service Outlier Detection Base Ejection Time - Consecutive
Errors int - Consecutive
Gateway intFailure - Enforcing
Consecutive intErrors - Enforcing
Consecutive intGateway Failure - Enforcing
Success intRate - Intervals
[]Get
Backend Service Outlier Detection Interval - Max
Ejection intPercent - Success
Rate intMinimum Hosts - Success
Rate intRequest Volume - Success
Rate intStdev Factor
- base
Ejection GetTimes Backend Service Outlier Detection Base Ejection Time[] - consecutive
Errors number - consecutive
Gateway numberFailure - enforcing
Consecutive numberErrors - enforcing
Consecutive numberGateway Failure - enforcing
Success numberRate - intervals
Get
Backend Service Outlier Detection Interval[] - max
Ejection numberPercent - success
Rate numberMinimum Hosts - success
Rate numberRequest Volume - success
Rate numberStdev Factor
- base
Ejection List[GetTimes Backend Service Outlier Detection Base Ejection Time] - consecutive
Errors float - consecutive
Gateway floatFailure - enforcing
Consecutive floatErrors - enforcing
Consecutive floatGateway Failure - enforcing
Success floatRate - intervals
List[Get
Backend Service Outlier Detection Interval] - max
Ejection floatPercent - success
Rate floatMinimum Hosts - success
Rate floatRequest Volume - success
Rate floatStdev Factor
GetBackendServiceOutlierDetectionBaseEjectionTime
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBackendServiceOutlierDetectionInterval
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.