BackendServiceState constructor
- Input<
int?> ? affinityCookieTtlSec, - Input<
List< ? backends,BackendServiceBackend> ?> - Input<
BackendServiceCdnPolicy?> ? cdnPolicy, - Input<
BackendServiceCircuitBreakers?> ? circuitBreakers, - Input<
String?> ? compressionMode, - Input<
int?> ? connectionDrainingTimeoutSec, - Input<
BackendServiceConsistentHash?> ? consistentHash, - Input<
String?> ? creationTimestamp, - Input<
List< ? customMetrics,BackendServiceCustomMetric> ?> - Input<
List< ? customRequestHeaders,String> ?> - Input<
List< ? customResponseHeaders,String> ?> - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
BackendServiceDynamicForwarding?> ? dynamicForwarding, - Input<
String?> ? edgeSecurityPolicy, - Input<
bool?> ? enableCdn, - Input<
String?> ? externalManagedMigrationState, - Input<
double?> ? externalManagedMigrationTestingPercentage, - Input<
String?> ? fingerprint, - Input<
int?> ? generatedId, - Input<
String?> ? healthChecks, - Input<
BackendServiceIap?> ? iap, - Input<
String?> ? ipAddressSelectionPolicy, - Input<
String?> ? loadBalancingScheme, - Input<
List< ? localityLbPolicies,BackendServiceLocalityLbPolicy> ?> - Input<
String?> ? localityLbPolicy, - Input<
BackendServiceLogConfig?> ? logConfig, - Input<
BackendServiceMaxStreamDuration?> ? maxStreamDuration, - Input<
String?> ? name, - Input<
BackendServiceNetworkPassThroughLbTrafficPolicy?> ? networkPassThroughLbTrafficPolicy, - Input<
BackendServiceOutlierDetection?> ? outlierDetection, - Input<
BackendServiceParams?> ? params, - Input<
String?> ? portName, - Input<
String?> ? project, - Input<
String?> ? protocol, - Input<
String?> ? securityPolicy, - Input<
BackendServiceSecuritySettings?> ? securitySettings, - Input<
String?> ? selfLink, - Input<
String?> ? serviceLbPolicy, - Input<
String?> ? sessionAffinity, - Input<
BackendServiceStrongSessionAffinityCookie?> ? strongSessionAffinityCookie, - Input<
int?> ? timeoutSec, - Input<
BackendServiceTlsSettings?> ? tlsSettings,
Creates a new BackendServiceState.
affinityCookieTtlSec Lifetime of cookies in seconds if sessionAffinity is
backends The set of backends that serve this BackendService.
cdnPolicy Cloud CDN configuration for this BackendService.
circuitBreakers Settings controlling the volume of connections to a backend service. This field
compressionMode Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
connectionDrainingTimeoutSec Time for which instance will be drained (not accept new
consistentHash Consistent Hash-based load balancing can be used to provide soft session
creationTimestamp Creation timestamp in RFC3339 text format.
customMetrics List of custom metrics that are used for the WEIGHTED_ROUND_ROBIN locality_lb_policy.
customRequestHeaders Headers that the HTTP/S load balancer should add to proxied
customResponseHeaders Headers that the HTTP/S load balancer should add to proxied
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description An optional description of this resource.
dynamicForwarding (Optional, Beta)
edgeSecurityPolicy The resource URL for the edge security policy associated with this backend service.
enableCdn If true, enable Cloud CDN for this BackendService.
externalManagedMigrationState Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
externalManagedMigrationTestingPercentage Determines the fraction of requests that should be processed by the Global external
fingerprint Fingerprint of this resource. A hash of the contents stored in this
generatedId The unique identifier for the resource. This identifier is defined by the server.
healthChecks The set of URLs to the HttpHealthCheck or HttpsHealthCheck resource
iap Settings for enabling Cloud Identity Aware Proxy.
ipAddressSelectionPolicy Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC).
loadBalancingScheme Indicates whether the backend service will be used with internal or
localityLbPolicies A list of locality load balancing policies to be used in order of
localityLbPolicy The load balancing algorithm used within the scope of the locality.
logConfig This field denotes the logging options for the load balancer traffic served by this backend service.
maxStreamDuration Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
name Name of the resource. Provided by the client when the resource is
networkPassThroughLbTrafficPolicy (Optional, Beta)
outlierDetection Settings controlling eviction of unhealthy hosts from the load balancing pool.
params Additional params passed with the request, but not persisted as part of resource payload
portName Name of backend port. The same name should appear in the instance
project The ID of the project in which the resource belongs.
protocol The protocol this BackendService uses to communicate with backends.
securityPolicy The security policy associated with this backend service.
securitySettings The security settings that apply to this backend service. This field is applicable to either
selfLink The URI of the created resource.
serviceLbPolicy URL to networkservices.ServiceLbPolicy resource.
sessionAffinity Type of session affinity to use. The default is NONE. Session affinity is
strongSessionAffinityCookie Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
timeoutSec The backend service timeout has a different meaning depending on the type of load balancer.
tlsSettings Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
Implementation
const BackendServiceState({
this.affinityCookieTtlSec,
this.backends,
this.cdnPolicy,
this.circuitBreakers,
this.compressionMode,
this.connectionDrainingTimeoutSec,
this.consistentHash,
this.creationTimestamp,
this.customMetrics,
this.customRequestHeaders,
this.customResponseHeaders,
this.deletionPolicy,
this.description,
this.dynamicForwarding,
this.edgeSecurityPolicy,
this.enableCdn,
this.externalManagedMigrationState,
this.externalManagedMigrationTestingPercentage,
this.fingerprint,
this.generatedId,
this.healthChecks,
this.iap,
this.ipAddressSelectionPolicy,
this.loadBalancingScheme,
this.localityLbPolicies,
this.localityLbPolicy,
this.logConfig,
this.maxStreamDuration,
this.name,
this.networkPassThroughLbTrafficPolicy,
this.outlierDetection,
this.params,
this.portName,
this.project,
this.protocol,
this.securityPolicy,
this.securitySettings,
this.selfLink,
this.serviceLbPolicy,
this.sessionAffinity,
this.strongSessionAffinityCookie,
this.timeoutSec,
this.tlsSettings,
});