Skip to content

compute.v1beta1.regionBackendService

"RegionBackendService is the Schema for the RegionBackendServices API. A Region Backend Service defines a regionally-scoped group of virtual machines that will serve traffic for load balancing."

Index

Fields

fn new

new(name)

new returns an instance of RegionBackendService

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"RegionBackendServiceSpec defines the desired state of RegionBackendService"

fn spec.withDeletionPolicy

withDeletionPolicy(deletionPolicy)

"DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either \"Delete\" or \"Orphan\" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223"

fn spec.withManagementPolicies

withManagementPolicies(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

fn spec.withManagementPoliciesMixin

withManagementPoliciesMixin(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

Note: This function appends passed data to existing values

obj spec.forProvider

fn spec.forProvider.withAffinityCookieTtlSec

withAffinityCookieTtlSec(affinityCookieTtlSec)

"Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value for TTL is one day. When the load balancing scheme is INTERNAL, this field is not used."

fn spec.forProvider.withBackend

withBackend(backend)

"The set of backends that serve this RegionBackendService. Structure is documented below."

fn spec.forProvider.withBackendMixin

withBackendMixin(backend)

"The set of backends that serve this RegionBackendService. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withCdnPolicy

withCdnPolicy(cdnPolicy)

"Cloud CDN configuration for this BackendService. Structure is documented below."

fn spec.forProvider.withCdnPolicyMixin

withCdnPolicyMixin(cdnPolicy)

"Cloud CDN configuration for this BackendService. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withCircuitBreakers

withCircuitBreakers(circuitBreakers)

"Settings controlling the volume of connections to a backend service. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.forProvider.withCircuitBreakersMixin

withCircuitBreakersMixin(circuitBreakers)

"Settings controlling the volume of connections to a backend service. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withConnectionDrainingTimeoutSec

withConnectionDrainingTimeoutSec(connectionDrainingTimeoutSec)

"Time for which instance will be drained (not accept new connections, but still work to finish started)."

fn spec.forProvider.withConsistentHash

withConsistentHash(consistentHash)

"Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field only applies when all of the following are true -"

fn spec.forProvider.withConsistentHashMixin

withConsistentHashMixin(consistentHash)

"Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field only applies when all of the following are true -"

Note: This function appends passed data to existing values

fn spec.forProvider.withDescription

withDescription(description)

"An optional description of this resource."

fn spec.forProvider.withEnableCdn

withEnableCdn(enableCdn)

"If true, enable Cloud CDN for this RegionBackendService."

fn spec.forProvider.withFailoverPolicy

withFailoverPolicy(failoverPolicy)

"Policy for failovers. Structure is documented below."

fn spec.forProvider.withFailoverPolicyMixin

withFailoverPolicyMixin(failoverPolicy)

"Policy for failovers. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withHealthChecks

withHealthChecks(healthChecks)

"The set of URLs to HealthCheck resources for health checking this RegionBackendService. Currently at most one health check can be specified. A health check must be specified unless the backend service uses an internet or serverless NEG as a backend."

fn spec.forProvider.withHealthChecksMixin

withHealthChecksMixin(healthChecks)

"The set of URLs to HealthCheck resources for health checking this RegionBackendService. Currently at most one health check can be specified. A health check must be specified unless the backend service uses an internet or serverless NEG as a backend."

Note: This function appends passed data to existing values

fn spec.forProvider.withHealthChecksRefs

withHealthChecksRefs(healthChecksRefs)

"References to RegionHealthCheck to populate healthChecks."

fn spec.forProvider.withHealthChecksRefsMixin

withHealthChecksRefsMixin(healthChecksRefs)

"References to RegionHealthCheck to populate healthChecks."

Note: This function appends passed data to existing values

fn spec.forProvider.withIap

withIap(iap)

"Settings for enabling Cloud Identity Aware Proxy Structure is documented below."

fn spec.forProvider.withIapMixin

withIapMixin(iap)

"Settings for enabling Cloud Identity Aware Proxy Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withLoadBalancingScheme

withLoadBalancingScheme(loadBalancingScheme)

"is set to INTERNAL_MANAGED"

fn spec.forProvider.withLocalityLbPolicy

withLocalityLbPolicy(localityLbPolicy)

"is set to MAGLEV or RING_HASH Structure is documented below."

fn spec.forProvider.withLogConfig

withLogConfig(logConfig)

"This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. Structure is documented below."

fn spec.forProvider.withLogConfigMixin

withLogConfigMixin(logConfig)

"This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withNetwork

withNetwork(network)

"The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL."

fn spec.forProvider.withOutlierDetection

withOutlierDetection(outlierDetection)

"Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.forProvider.withOutlierDetectionMixin

withOutlierDetectionMixin(outlierDetection)

"Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.withPortName

withPortName(portName)

"A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs. API sets a default of \"http\" if not given. Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing)."

fn spec.forProvider.withProject

withProject(project)

"The ID of the project in which the resource belongs. If it is not provided, the provider project is used."

fn spec.forProvider.withProtocol

withProtocol(protocol)

"is set to HTTP, HTTPS, or HTTP2"

fn spec.forProvider.withRegion

withRegion(region)

"The Region in which the created backend service should reside. If it is not provided, the provider region is used."

fn spec.forProvider.withSessionAffinity

withSessionAffinity(sessionAffinity)

"Type of session affinity to use. The default is NONE. Session affinity is not applicable if the protocol is UDP. Possible values are: NONE, CLIENT_IP, CLIENT_IP_PORT_PROTO, CLIENT_IP_PROTO, GENERATED_COOKIE, HEADER_FIELD, HTTP_COOKIE, CLIENT_IP_NO_DESTINATION."

fn spec.forProvider.withTimeoutSec

withTimeoutSec(timeoutSec)

"How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. Valid range is [1, 86400]."

obj spec.forProvider.backend

"The set of backends that serve this RegionBackendService. Structure is documented below."

fn spec.forProvider.backend.withBalancingMode

withBalancingMode(balancingMode)

"Specifies the balancing mode for this backend. See the Backend Services Overview for an explanation of load balancing modes. Default value is CONNECTION. Possible values are: UTILIZATION, RATE, CONNECTION."

fn spec.forProvider.backend.withCapacityScaler

withCapacityScaler(capacityScaler)

"A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). ~>NOTE: This field cannot be set for INTERNAL region backend services (default loadBalancingScheme), but is required for non-INTERNAL backend service. The total capacity_scaler for all backends must be non-zero. A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]."

fn spec.forProvider.backend.withDescription

withDescription(description)

"An optional description of this resource. Provide this property when you create the resource."

fn spec.forProvider.backend.withFailover

withFailover(failover)

"This field designates whether this is a failover backend. More than one failover backend can be configured for a given RegionBackendService."

fn spec.forProvider.backend.withGroup

withGroup(group)

"The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of instance group this defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. For Network Endpoint Groups this defines list of endpoints. All endpoints of Network Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint Group. Backend services cannot mix Instance Group and Network Endpoint Group backends. When the load_balancing_scheme is INTERNAL, only instance groups are supported. Note that you must specify an Instance Group or Network Endpoint Group resource using the fully-qualified URL, rather than a partial URL."

fn spec.forProvider.backend.withMaxConnections

withMaxConnections(maxConnections)

"The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes. Cannot be set for INTERNAL backend services. For CONNECTION mode, either maxConnections or one of maxConnectionsPerInstance or maxConnectionsPerEndpoint, as appropriate for group type, must be set."

fn spec.forProvider.backend.withMaxConnectionsPerEndpoint

withMaxConnectionsPerEndpoint(maxConnectionsPerEndpoint)

"The max number of simultaneous connections that a single backend network endpoint can handle. Cannot be set for INTERNAL backend services. This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerEndpoint must be set."

fn spec.forProvider.backend.withMaxConnectionsPerInstance

withMaxConnectionsPerInstance(maxConnectionsPerInstance)

"The max number of simultaneous connections that a single backend instance can handle. Cannot be set for INTERNAL backend services. This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must be set."

fn spec.forProvider.backend.withMaxRate

withMaxRate(maxRate)

"The max requests per second (RPS) of the group. Cannot be set for INTERNAL backend services. Can be used with either RATE or UTILIZATION balancing modes, but required if RATE mode. Either maxRate or one of maxRatePerInstance or maxRatePerEndpoint, as appropriate for group type, must be set."

fn spec.forProvider.backend.withMaxRatePerEndpoint

withMaxRatePerEndpoint(maxRatePerEndpoint)

"The max requests per second (RPS) that a single backend network endpoint can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint must be set. Cannot be set for INTERNAL backend services."

fn spec.forProvider.backend.withMaxRatePerInstance

withMaxRatePerInstance(maxRatePerInstance)

"The max requests per second (RPS) that a single backend instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. Cannot be set for INTERNAL backend services."

fn spec.forProvider.backend.withMaxUtilization

withMaxUtilization(maxUtilization)

"Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. Valid range is [0.0, 1.0]. Cannot be set for INTERNAL backend services."

obj spec.forProvider.backend.groupRef

"Reference to a RegionInstanceGroupManager to populate group."

fn spec.forProvider.backend.groupRef.withName

withName(name)

"Name of the referenced object."

obj spec.forProvider.backend.groupRef.policy

"Policies for referencing."

fn spec.forProvider.backend.groupRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.backend.groupRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.backend.groupSelector

"Selector for a RegionInstanceGroupManager to populate group."

fn spec.forProvider.backend.groupSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."

fn spec.forProvider.backend.groupSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.backend.groupSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

obj spec.forProvider.backend.groupSelector.policy

"Policies for selection."

fn spec.forProvider.backend.groupSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.backend.groupSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.cdnPolicy

"Cloud CDN configuration for this BackendService. Structure is documented below."

fn spec.forProvider.cdnPolicy.withCacheKeyPolicy

withCacheKeyPolicy(cacheKeyPolicy)

"The CacheKeyPolicy for this CdnPolicy. Structure is documented below."

fn spec.forProvider.cdnPolicy.withCacheKeyPolicyMixin

withCacheKeyPolicyMixin(cacheKeyPolicy)

"The CacheKeyPolicy for this CdnPolicy. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.cdnPolicy.withCacheMode

withCacheMode(cacheMode)

"Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC Possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL, CACHE_ALL_STATIC."

fn spec.forProvider.cdnPolicy.withClientTtl

withClientTtl(clientTtl)

"Specifies the maximum allowed TTL for cached content served by this origin."

fn spec.forProvider.cdnPolicy.withDefaultTtl

withDefaultTtl(defaultTtl)

"Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age)."

fn spec.forProvider.cdnPolicy.withMaxTtl

withMaxTtl(maxTtl)

"Specifies the maximum allowed TTL for cached content served by this origin."

fn spec.forProvider.cdnPolicy.withNegativeCaching

withNegativeCaching(negativeCaching)

"Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects."

fn spec.forProvider.cdnPolicy.withNegativeCachingPolicy

withNegativeCachingPolicy(negativeCachingPolicy)

"Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below."

fn spec.forProvider.cdnPolicy.withNegativeCachingPolicyMixin

withNegativeCachingPolicyMixin(negativeCachingPolicy)

"Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.cdnPolicy.withServeWhileStale

withServeWhileStale(serveWhileStale)

"Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache."

fn spec.forProvider.cdnPolicy.withSignedUrlCacheMaxAgeSec

withSignedUrlCacheMaxAgeSec(signedUrlCacheMaxAgeSec)

"Maximum number of seconds the response to a signed URL request will be considered fresh, defaults to 1hr (3600s). After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered."

obj spec.forProvider.cdnPolicy.cacheKeyPolicy

"The CacheKeyPolicy for this CdnPolicy. Structure is documented below."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withIncludeHost

withIncludeHost(includeHost)

"If true requests to different hosts will be cached separately."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withIncludeNamedCookies

withIncludeNamedCookies(includeNamedCookies)

"Names of cookies to include in cache keys."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withIncludeNamedCookiesMixin

withIncludeNamedCookiesMixin(includeNamedCookies)

"Names of cookies to include in cache keys."

Note: This function appends passed data to existing values

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withIncludeProtocol

withIncludeProtocol(includeProtocol)

"If true, http and https requests will be cached separately."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withIncludeQueryString

withIncludeQueryString(includeQueryString)

"If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withQueryStringBlacklist

withQueryStringBlacklist(queryStringBlacklist)

"Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withQueryStringBlacklistMixin

withQueryStringBlacklistMixin(queryStringBlacklist)

"Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

Note: This function appends passed data to existing values

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withQueryStringWhitelist

withQueryStringWhitelist(queryStringWhitelist)

"Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

fn spec.forProvider.cdnPolicy.cacheKeyPolicy.withQueryStringWhitelistMixin

withQueryStringWhitelistMixin(queryStringWhitelist)

"Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

Note: This function appends passed data to existing values

obj spec.forProvider.cdnPolicy.negativeCachingPolicy

"Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below."

fn spec.forProvider.cdnPolicy.negativeCachingPolicy.withCode

withCode(code)

"The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status code more than once."

obj spec.forProvider.circuitBreakers

"Settings controlling the volume of connections to a backend service. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.forProvider.circuitBreakers.withMaxConnections

withMaxConnections(maxConnections)

"The maximum number of connections to the backend cluster. Defaults to 1024."

fn spec.forProvider.circuitBreakers.withMaxPendingRequests

withMaxPendingRequests(maxPendingRequests)

"The maximum number of pending requests to the backend cluster. Defaults to 1024."

fn spec.forProvider.circuitBreakers.withMaxRequests

withMaxRequests(maxRequests)

"The maximum number of parallel requests to the backend cluster. Defaults to 1024."

fn spec.forProvider.circuitBreakers.withMaxRequestsPerConnection

withMaxRequestsPerConnection(maxRequestsPerConnection)

"Maximum requests for a single backend connection. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive."

fn spec.forProvider.circuitBreakers.withMaxRetries

withMaxRetries(maxRetries)

"The maximum number of parallel retries to the backend cluster. Defaults to 3."

obj spec.forProvider.consistentHash

"Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field only applies when all of the following are true -"

fn spec.forProvider.consistentHash.withHttpCookie

withHttpCookie(httpCookie)

"Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Structure is documented below."

fn spec.forProvider.consistentHash.withHttpCookieMixin

withHttpCookieMixin(httpCookie)

"Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.consistentHash.withHttpHeaderName

withHttpHeaderName(httpHeaderName)

"The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD."

fn spec.forProvider.consistentHash.withMinimumRingSize

withMinimumRingSize(minimumRingSize)

"The minimum number of virtual nodes to use for the hash ring. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node. Defaults to 1024."

obj spec.forProvider.consistentHash.httpCookie

"Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Structure is documented below."

fn spec.forProvider.consistentHash.httpCookie.withName

withName(name)

"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? 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."

fn spec.forProvider.consistentHash.httpCookie.withPath

withPath(path)

"Path to set for the cookie."

fn spec.forProvider.consistentHash.httpCookie.withTtl

withTtl(ttl)

"The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL."

fn spec.forProvider.consistentHash.httpCookie.withTtlMixin

withTtlMixin(ttl)

"The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL."

Note: This function appends passed data to existing values

obj spec.forProvider.consistentHash.httpCookie.ttl

"The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL."

fn spec.forProvider.consistentHash.httpCookie.ttl.withNanos

withNanos(nanos)

"Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive."

fn spec.forProvider.consistentHash.httpCookie.ttl.withSeconds

withSeconds(seconds)

"Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive."

obj spec.forProvider.failoverPolicy

"Policy for failovers. Structure is documented below."

fn spec.forProvider.failoverPolicy.withDisableConnectionDrainOnFailover

withDisableConnectionDrainOnFailover(disableConnectionDrainOnFailover)

"On failover or failback, this field indicates whether connection drain will be honored. Setting this to true has the following effect: connections to the old active pool are not drained. Connections to the new active pool use the timeout of 10 min (currently fixed). Setting to false has the following effect: both old and new connections will have a drain timeout of 10 min. This can be set to true only if the protocol is TCP. The default is false."

fn spec.forProvider.failoverPolicy.withDropTrafficIfUnhealthy

withDropTrafficIfUnhealthy(dropTrafficIfUnhealthy)

"This option is used only when no healthy VMs are detected in the primary and backup instance groups. When set to true, traffic is dropped. When set to false, new connections are sent across all VMs in the primary group. The default is false."

fn spec.forProvider.failoverPolicy.withFailoverRatio

withFailoverRatio(failoverRatio)

"The value of the field must be in [0, 1]. If the ratio of the healthy VMs in the primary backend is at or below this number, traffic arriving at the load-balanced IP will be directed to the failover backend. In case where 'failoverRatio' is not set or all the VMs in the backup backend are unhealthy, the traffic will be directed back to the primary backend in the \"force\" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. This field is only used with l4 load balancing."

obj spec.forProvider.healthChecksRefs

"References to RegionHealthCheck to populate healthChecks."

fn spec.forProvider.healthChecksRefs.withName

withName(name)

"Name of the referenced object."

obj spec.forProvider.healthChecksRefs.policy

"Policies for referencing."

fn spec.forProvider.healthChecksRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.healthChecksRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.healthChecksSelector

"Selector for a list of RegionHealthCheck to populate healthChecks."

fn spec.forProvider.healthChecksSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."

fn spec.forProvider.healthChecksSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.healthChecksSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

obj spec.forProvider.healthChecksSelector.policy

"Policies for selection."

fn spec.forProvider.healthChecksSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.forProvider.healthChecksSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.forProvider.iap

"Settings for enabling Cloud Identity Aware Proxy Structure is documented below."

fn spec.forProvider.iap.withOauth2ClientId

withOauth2ClientId(oauth2ClientId)

"OAuth2 Client ID for IAP"

obj spec.forProvider.iap.oauth2ClientSecretSecretRef

"OAuth2 Client Secret for IAP Note: This property is sensitive and will not be displayed in the plan."

fn spec.forProvider.iap.oauth2ClientSecretSecretRef.withKey

withKey(key)

"The key to select."

fn spec.forProvider.iap.oauth2ClientSecretSecretRef.withName

withName(name)

"Name of the secret."

fn spec.forProvider.iap.oauth2ClientSecretSecretRef.withNamespace

withNamespace(namespace)

"Namespace of the secret."

obj spec.forProvider.logConfig

"This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. Structure is documented below."

fn spec.forProvider.logConfig.withEnable

withEnable(enable)

"Whether to enable logging for the load balancer traffic served by this backend service."

fn spec.forProvider.logConfig.withSampleRate

withSampleRate(sampleRate)

"This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0."

obj spec.forProvider.outlierDetection

"Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.forProvider.outlierDetection.withBaseEjectionTime

withBaseEjectionTime(baseEjectionTime)

"The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. Structure is documented below."

fn spec.forProvider.outlierDetection.withBaseEjectionTimeMixin

withBaseEjectionTimeMixin(baseEjectionTime)

"The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.outlierDetection.withConsecutiveErrors

withConsecutiveErrors(consecutiveErrors)

"Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5."

fn spec.forProvider.outlierDetection.withConsecutiveGatewayFailure

withConsecutiveGatewayFailure(consecutiveGatewayFailure)

"The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 5."

fn spec.forProvider.outlierDetection.withEnforcingConsecutiveErrors

withEnforcingConsecutiveErrors(enforcingConsecutiveErrors)

"The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100."

fn spec.forProvider.outlierDetection.withEnforcingConsecutiveGatewayFailure

withEnforcingConsecutiveGatewayFailure(enforcingConsecutiveGatewayFailure)

"The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0."

fn spec.forProvider.outlierDetection.withEnforcingSuccessRate

withEnforcingSuccessRate(enforcingSuccessRate)

"The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100."

fn spec.forProvider.outlierDetection.withInterval

withInterval(interval)

"Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds. Structure is documented below."

fn spec.forProvider.outlierDetection.withIntervalMixin

withIntervalMixin(interval)

"Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.forProvider.outlierDetection.withMaxEjectionPercent

withMaxEjectionPercent(maxEjectionPercent)

"Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 10%."

fn spec.forProvider.outlierDetection.withSuccessRateMinimumHosts

withSuccessRateMinimumHosts(successRateMinimumHosts)

"The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5."

fn spec.forProvider.outlierDetection.withSuccessRateRequestVolume

withSuccessRateRequestVolume(successRateRequestVolume)

"The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100."

fn spec.forProvider.outlierDetection.withSuccessRateStdevFactor

withSuccessRateStdevFactor(successRateStdevFactor)

"This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900."

obj spec.forProvider.outlierDetection.baseEjectionTime

"The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. Structure is documented below."

fn spec.forProvider.outlierDetection.baseEjectionTime.withNanos

withNanos(nanos)

"Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive."

fn spec.forProvider.outlierDetection.baseEjectionTime.withSeconds

withSeconds(seconds)

"Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive."

obj spec.forProvider.outlierDetection.interval

"Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds. Structure is documented below."

fn spec.forProvider.outlierDetection.interval.withNanos

withNanos(nanos)

"Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive."

fn spec.forProvider.outlierDetection.interval.withSeconds

withSeconds(seconds)

"Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive."

obj spec.initProvider

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler."

fn spec.initProvider.withAffinityCookieTtlSec

withAffinityCookieTtlSec(affinityCookieTtlSec)

"Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value for TTL is one day. When the load balancing scheme is INTERNAL, this field is not used."

fn spec.initProvider.withBackend

withBackend(backend)

"The set of backends that serve this RegionBackendService. Structure is documented below."

fn spec.initProvider.withBackendMixin

withBackendMixin(backend)

"The set of backends that serve this RegionBackendService. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withCdnPolicy

withCdnPolicy(cdnPolicy)

"Cloud CDN configuration for this BackendService. Structure is documented below."

fn spec.initProvider.withCdnPolicyMixin

withCdnPolicyMixin(cdnPolicy)

"Cloud CDN configuration for this BackendService. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withCircuitBreakers

withCircuitBreakers(circuitBreakers)

"Settings controlling the volume of connections to a backend service. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.initProvider.withCircuitBreakersMixin

withCircuitBreakersMixin(circuitBreakers)

"Settings controlling the volume of connections to a backend service. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withConnectionDrainingTimeoutSec

withConnectionDrainingTimeoutSec(connectionDrainingTimeoutSec)

"Time for which instance will be drained (not accept new connections, but still work to finish started)."

fn spec.initProvider.withConsistentHash

withConsistentHash(consistentHash)

"Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field only applies when all of the following are true -"

fn spec.initProvider.withConsistentHashMixin

withConsistentHashMixin(consistentHash)

"Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field only applies when all of the following are true -"

Note: This function appends passed data to existing values

fn spec.initProvider.withDescription

withDescription(description)

"An optional description of this resource."

fn spec.initProvider.withEnableCdn

withEnableCdn(enableCdn)

"If true, enable Cloud CDN for this RegionBackendService."

fn spec.initProvider.withFailoverPolicy

withFailoverPolicy(failoverPolicy)

"Policy for failovers. Structure is documented below."

fn spec.initProvider.withFailoverPolicyMixin

withFailoverPolicyMixin(failoverPolicy)

"Policy for failovers. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withIap

withIap(iap)

"Settings for enabling Cloud Identity Aware Proxy Structure is documented below."

fn spec.initProvider.withIapMixin

withIapMixin(iap)

"Settings for enabling Cloud Identity Aware Proxy Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withLoadBalancingScheme

withLoadBalancingScheme(loadBalancingScheme)

"is set to INTERNAL_MANAGED"

fn spec.initProvider.withLocalityLbPolicy

withLocalityLbPolicy(localityLbPolicy)

"is set to MAGLEV or RING_HASH Structure is documented below."

fn spec.initProvider.withLogConfig

withLogConfig(logConfig)

"This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. Structure is documented below."

fn spec.initProvider.withLogConfigMixin

withLogConfigMixin(logConfig)

"This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withNetwork

withNetwork(network)

"The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL."

fn spec.initProvider.withOutlierDetection

withOutlierDetection(outlierDetection)

"Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.initProvider.withOutlierDetectionMixin

withOutlierDetectionMixin(outlierDetection)

"Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.withPortName

withPortName(portName)

"A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs. API sets a default of \"http\" if not given. Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing)."

fn spec.initProvider.withProject

withProject(project)

"The ID of the project in which the resource belongs. If it is not provided, the provider project is used."

fn spec.initProvider.withProtocol

withProtocol(protocol)

"is set to HTTP, HTTPS, or HTTP2"

fn spec.initProvider.withSessionAffinity

withSessionAffinity(sessionAffinity)

"Type of session affinity to use. The default is NONE. Session affinity is not applicable if the protocol is UDP. Possible values are: NONE, CLIENT_IP, CLIENT_IP_PORT_PROTO, CLIENT_IP_PROTO, GENERATED_COOKIE, HEADER_FIELD, HTTP_COOKIE, CLIENT_IP_NO_DESTINATION."

fn spec.initProvider.withTimeoutSec

withTimeoutSec(timeoutSec)

"How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. Valid range is [1, 86400]."

obj spec.initProvider.backend

"The set of backends that serve this RegionBackendService. Structure is documented below."

fn spec.initProvider.backend.withBalancingMode

withBalancingMode(balancingMode)

"Specifies the balancing mode for this backend. See the Backend Services Overview for an explanation of load balancing modes. Default value is CONNECTION. Possible values are: UTILIZATION, RATE, CONNECTION."

fn spec.initProvider.backend.withCapacityScaler

withCapacityScaler(capacityScaler)

"A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). ~>NOTE: This field cannot be set for INTERNAL region backend services (default loadBalancingScheme), but is required for non-INTERNAL backend service. The total capacity_scaler for all backends must be non-zero. A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]."

fn spec.initProvider.backend.withDescription

withDescription(description)

"An optional description of this resource. Provide this property when you create the resource."

fn spec.initProvider.backend.withFailover

withFailover(failover)

"This field designates whether this is a failover backend. More than one failover backend can be configured for a given RegionBackendService."

fn spec.initProvider.backend.withMaxConnections

withMaxConnections(maxConnections)

"The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes. Cannot be set for INTERNAL backend services. For CONNECTION mode, either maxConnections or one of maxConnectionsPerInstance or maxConnectionsPerEndpoint, as appropriate for group type, must be set."

fn spec.initProvider.backend.withMaxConnectionsPerEndpoint

withMaxConnectionsPerEndpoint(maxConnectionsPerEndpoint)

"The max number of simultaneous connections that a single backend network endpoint can handle. Cannot be set for INTERNAL backend services. This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerEndpoint must be set."

fn spec.initProvider.backend.withMaxConnectionsPerInstance

withMaxConnectionsPerInstance(maxConnectionsPerInstance)

"The max number of simultaneous connections that a single backend instance can handle. Cannot be set for INTERNAL backend services. This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must be set."

fn spec.initProvider.backend.withMaxRate

withMaxRate(maxRate)

"The max requests per second (RPS) of the group. Cannot be set for INTERNAL backend services. Can be used with either RATE or UTILIZATION balancing modes, but required if RATE mode. Either maxRate or one of maxRatePerInstance or maxRatePerEndpoint, as appropriate for group type, must be set."

fn spec.initProvider.backend.withMaxRatePerEndpoint

withMaxRatePerEndpoint(maxRatePerEndpoint)

"The max requests per second (RPS) that a single backend network endpoint can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint must be set. Cannot be set for INTERNAL backend services."

fn spec.initProvider.backend.withMaxRatePerInstance

withMaxRatePerInstance(maxRatePerInstance)

"The max requests per second (RPS) that a single backend instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. Cannot be set for INTERNAL backend services."

fn spec.initProvider.backend.withMaxUtilization

withMaxUtilization(maxUtilization)

"Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. Valid range is [0.0, 1.0]. Cannot be set for INTERNAL backend services."

obj spec.initProvider.cdnPolicy

"Cloud CDN configuration for this BackendService. Structure is documented below."

fn spec.initProvider.cdnPolicy.withCacheKeyPolicy

withCacheKeyPolicy(cacheKeyPolicy)

"The CacheKeyPolicy for this CdnPolicy. Structure is documented below."

fn spec.initProvider.cdnPolicy.withCacheKeyPolicyMixin

withCacheKeyPolicyMixin(cacheKeyPolicy)

"The CacheKeyPolicy for this CdnPolicy. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.cdnPolicy.withCacheMode

withCacheMode(cacheMode)

"Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC Possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL, CACHE_ALL_STATIC."

fn spec.initProvider.cdnPolicy.withClientTtl

withClientTtl(clientTtl)

"Specifies the maximum allowed TTL for cached content served by this origin."

fn spec.initProvider.cdnPolicy.withDefaultTtl

withDefaultTtl(defaultTtl)

"Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age)."

fn spec.initProvider.cdnPolicy.withMaxTtl

withMaxTtl(maxTtl)

"Specifies the maximum allowed TTL for cached content served by this origin."

fn spec.initProvider.cdnPolicy.withNegativeCaching

withNegativeCaching(negativeCaching)

"Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects."

fn spec.initProvider.cdnPolicy.withNegativeCachingPolicy

withNegativeCachingPolicy(negativeCachingPolicy)

"Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below."

fn spec.initProvider.cdnPolicy.withNegativeCachingPolicyMixin

withNegativeCachingPolicyMixin(negativeCachingPolicy)

"Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.cdnPolicy.withServeWhileStale

withServeWhileStale(serveWhileStale)

"Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache."

fn spec.initProvider.cdnPolicy.withSignedUrlCacheMaxAgeSec

withSignedUrlCacheMaxAgeSec(signedUrlCacheMaxAgeSec)

"Maximum number of seconds the response to a signed URL request will be considered fresh, defaults to 1hr (3600s). After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered."

obj spec.initProvider.cdnPolicy.cacheKeyPolicy

"The CacheKeyPolicy for this CdnPolicy. Structure is documented below."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withIncludeHost

withIncludeHost(includeHost)

"If true requests to different hosts will be cached separately."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withIncludeNamedCookies

withIncludeNamedCookies(includeNamedCookies)

"Names of cookies to include in cache keys."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withIncludeNamedCookiesMixin

withIncludeNamedCookiesMixin(includeNamedCookies)

"Names of cookies to include in cache keys."

Note: This function appends passed data to existing values

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withIncludeProtocol

withIncludeProtocol(includeProtocol)

"If true, http and https requests will be cached separately."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withIncludeQueryString

withIncludeQueryString(includeQueryString)

"If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withQueryStringBlacklist

withQueryStringBlacklist(queryStringBlacklist)

"Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withQueryStringBlacklistMixin

withQueryStringBlacklistMixin(queryStringBlacklist)

"Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

Note: This function appends passed data to existing values

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withQueryStringWhitelist

withQueryStringWhitelist(queryStringWhitelist)

"Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

fn spec.initProvider.cdnPolicy.cacheKeyPolicy.withQueryStringWhitelistMixin

withQueryStringWhitelistMixin(queryStringWhitelist)

"Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters."

Note: This function appends passed data to existing values

obj spec.initProvider.cdnPolicy.negativeCachingPolicy

"Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below."

fn spec.initProvider.cdnPolicy.negativeCachingPolicy.withCode

withCode(code)

"The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status code more than once."

obj spec.initProvider.circuitBreakers

"Settings controlling the volume of connections to a backend service. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.initProvider.circuitBreakers.withMaxConnections

withMaxConnections(maxConnections)

"The maximum number of connections to the backend cluster. Defaults to 1024."

fn spec.initProvider.circuitBreakers.withMaxPendingRequests

withMaxPendingRequests(maxPendingRequests)

"The maximum number of pending requests to the backend cluster. Defaults to 1024."

fn spec.initProvider.circuitBreakers.withMaxRequests

withMaxRequests(maxRequests)

"The maximum number of parallel requests to the backend cluster. Defaults to 1024."

fn spec.initProvider.circuitBreakers.withMaxRequestsPerConnection

withMaxRequestsPerConnection(maxRequestsPerConnection)

"Maximum requests for a single backend connection. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive."

fn spec.initProvider.circuitBreakers.withMaxRetries

withMaxRetries(maxRetries)

"The maximum number of parallel retries to the backend cluster. Defaults to 3."

obj spec.initProvider.consistentHash

"Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field only applies when all of the following are true -"

fn spec.initProvider.consistentHash.withHttpCookie

withHttpCookie(httpCookie)

"Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Structure is documented below."

fn spec.initProvider.consistentHash.withHttpCookieMixin

withHttpCookieMixin(httpCookie)

"Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.consistentHash.withHttpHeaderName

withHttpHeaderName(httpHeaderName)

"The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD."

fn spec.initProvider.consistentHash.withMinimumRingSize

withMinimumRingSize(minimumRingSize)

"The minimum number of virtual nodes to use for the hash ring. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node. Defaults to 1024."

obj spec.initProvider.consistentHash.httpCookie

"Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Structure is documented below."

fn spec.initProvider.consistentHash.httpCookie.withName

withName(name)

"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? 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."

fn spec.initProvider.consistentHash.httpCookie.withPath

withPath(path)

"Path to set for the cookie."

fn spec.initProvider.consistentHash.httpCookie.withTtl

withTtl(ttl)

"The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL."

fn spec.initProvider.consistentHash.httpCookie.withTtlMixin

withTtlMixin(ttl)

"The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL."

Note: This function appends passed data to existing values

obj spec.initProvider.consistentHash.httpCookie.ttl

"The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL."

fn spec.initProvider.consistentHash.httpCookie.ttl.withNanos

withNanos(nanos)

"Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive."

fn spec.initProvider.consistentHash.httpCookie.ttl.withSeconds

withSeconds(seconds)

"Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive."

obj spec.initProvider.failoverPolicy

"Policy for failovers. Structure is documented below."

fn spec.initProvider.failoverPolicy.withDisableConnectionDrainOnFailover

withDisableConnectionDrainOnFailover(disableConnectionDrainOnFailover)

"On failover or failback, this field indicates whether connection drain will be honored. Setting this to true has the following effect: connections to the old active pool are not drained. Connections to the new active pool use the timeout of 10 min (currently fixed). Setting to false has the following effect: both old and new connections will have a drain timeout of 10 min. This can be set to true only if the protocol is TCP. The default is false."

fn spec.initProvider.failoverPolicy.withDropTrafficIfUnhealthy

withDropTrafficIfUnhealthy(dropTrafficIfUnhealthy)

"This option is used only when no healthy VMs are detected in the primary and backup instance groups. When set to true, traffic is dropped. When set to false, new connections are sent across all VMs in the primary group. The default is false."

fn spec.initProvider.failoverPolicy.withFailoverRatio

withFailoverRatio(failoverRatio)

"The value of the field must be in [0, 1]. If the ratio of the healthy VMs in the primary backend is at or below this number, traffic arriving at the load-balanced IP will be directed to the failover backend. In case where 'failoverRatio' is not set or all the VMs in the backup backend are unhealthy, the traffic will be directed back to the primary backend in the \"force\" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. This field is only used with l4 load balancing."

obj spec.initProvider.iap

"Settings for enabling Cloud Identity Aware Proxy Structure is documented below."

fn spec.initProvider.iap.withOauth2ClientId

withOauth2ClientId(oauth2ClientId)

"OAuth2 Client ID for IAP"

obj spec.initProvider.logConfig

"This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. Structure is documented below."

fn spec.initProvider.logConfig.withEnable

withEnable(enable)

"Whether to enable logging for the load balancer traffic served by this backend service."

fn spec.initProvider.logConfig.withSampleRate

withSampleRate(sampleRate)

"This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0."

obj spec.initProvider.outlierDetection

"Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable only when the load_balancing_scheme is set to INTERNAL_MANAGED and the protocol is set to HTTP, HTTPS, or HTTP2. Structure is documented below."

fn spec.initProvider.outlierDetection.withBaseEjectionTime

withBaseEjectionTime(baseEjectionTime)

"The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. Structure is documented below."

fn spec.initProvider.outlierDetection.withBaseEjectionTimeMixin

withBaseEjectionTimeMixin(baseEjectionTime)

"The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.outlierDetection.withConsecutiveErrors

withConsecutiveErrors(consecutiveErrors)

"Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5."

fn spec.initProvider.outlierDetection.withConsecutiveGatewayFailure

withConsecutiveGatewayFailure(consecutiveGatewayFailure)

"The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 5."

fn spec.initProvider.outlierDetection.withEnforcingConsecutiveErrors

withEnforcingConsecutiveErrors(enforcingConsecutiveErrors)

"The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100."

fn spec.initProvider.outlierDetection.withEnforcingConsecutiveGatewayFailure

withEnforcingConsecutiveGatewayFailure(enforcingConsecutiveGatewayFailure)

"The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0."

fn spec.initProvider.outlierDetection.withEnforcingSuccessRate

withEnforcingSuccessRate(enforcingSuccessRate)

"The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100."

fn spec.initProvider.outlierDetection.withInterval

withInterval(interval)

"Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds. Structure is documented below."

fn spec.initProvider.outlierDetection.withIntervalMixin

withIntervalMixin(interval)

"Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds. Structure is documented below."

Note: This function appends passed data to existing values

fn spec.initProvider.outlierDetection.withMaxEjectionPercent

withMaxEjectionPercent(maxEjectionPercent)

"Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 10%."

fn spec.initProvider.outlierDetection.withSuccessRateMinimumHosts

withSuccessRateMinimumHosts(successRateMinimumHosts)

"The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5."

fn spec.initProvider.outlierDetection.withSuccessRateRequestVolume

withSuccessRateRequestVolume(successRateRequestVolume)

"The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100."

fn spec.initProvider.outlierDetection.withSuccessRateStdevFactor

withSuccessRateStdevFactor(successRateStdevFactor)

"This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900."

obj spec.initProvider.outlierDetection.baseEjectionTime

"The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. Structure is documented below."

fn spec.initProvider.outlierDetection.baseEjectionTime.withNanos

withNanos(nanos)

"Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive."

fn spec.initProvider.outlierDetection.baseEjectionTime.withSeconds

withSeconds(seconds)

"Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive."

obj spec.initProvider.outlierDetection.interval

"Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds. Structure is documented below."

fn spec.initProvider.outlierDetection.interval.withNanos

withNanos(nanos)

"Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive."

fn spec.initProvider.outlierDetection.interval.withSeconds

withSeconds(seconds)

"Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive."

obj spec.providerConfigRef

"ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured."

fn spec.providerConfigRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerConfigRef.policy

"Policies for referencing."

fn spec.providerConfigRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.providerConfigRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.providerRef

"ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef"

fn spec.providerRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerRef.policy

"Policies for referencing."

fn spec.providerRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.providerRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.publishConnectionDetailsTo

"PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource."

fn spec.publishConnectionDetailsTo.withName

withName(name)

"Name is the name of the connection secret."

obj spec.publishConnectionDetailsTo.configRef

"SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret."

fn spec.publishConnectionDetailsTo.configRef.withName

withName(name)

"Name of the referenced object."

obj spec.publishConnectionDetailsTo.configRef.policy

"Policies for referencing."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."

obj spec.publishConnectionDetailsTo.metadata

"Metadata is the metadata for connection secret."

fn spec.publishConnectionDetailsTo.metadata.withAnnotations

withAnnotations(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withLabels

withLabels(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin

withLabelsMixin(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withType

withType(type)

"Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores."

obj spec.writeConnectionSecretToRef

"WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other."

fn spec.writeConnectionSecretToRef.withName

withName(name)

"Name of the secret."

fn spec.writeConnectionSecretToRef.withNamespace

withNamespace(namespace)

"Namespace of the secret."