Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.getTargetServer
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets a TargetServer resource.
Using getTargetServer
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTargetServer(args: GetTargetServerArgs, opts?: InvokeOptions): Promise<GetTargetServerResult>
function getTargetServerOutput(args: GetTargetServerOutputArgs, opts?: InvokeOptions): Output<GetTargetServerResult>
def get_target_server(environment_id: Optional[str] = None,
organization_id: Optional[str] = None,
targetserver_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetServerResult
def get_target_server_output(environment_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
targetserver_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetServerResult]
func LookupTargetServer(ctx *Context, args *LookupTargetServerArgs, opts ...InvokeOption) (*LookupTargetServerResult, error)
func LookupTargetServerOutput(ctx *Context, args *LookupTargetServerOutputArgs, opts ...InvokeOption) LookupTargetServerResultOutput
> Note: This function is named LookupTargetServer
in the Go SDK.
public static class GetTargetServer
{
public static Task<GetTargetServerResult> InvokeAsync(GetTargetServerArgs args, InvokeOptions? opts = null)
public static Output<GetTargetServerResult> Invoke(GetTargetServerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetServerResult> getTargetServer(GetTargetServerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigee/v1:getTargetServer
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - Organization
Id string - Targetserver
Id string
- Environment
Id string - Organization
Id string - Targetserver
Id string
- environment
Id String - organization
Id String - targetserver
Id String
- environment
Id string - organization
Id string - targetserver
Id string
- environment_
id str - organization_
id str - targetserver_
id str
- environment
Id String - organization
Id String - targetserver
Id String
getTargetServer Result
The following output properties are available:
- Description string
Optional. A human-readable description of this TargetServer.
- Host string
The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
- Is
Enabled bool Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
- Name string
The resource id of this target server. Values must match the regular expression
- Port int
The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
- Protocol string
Immutable. The protocol used by this TargetServer.
- SSLInfo
Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Tls Info Response Optional. Specifies TLS configuration info for this TargetServer. The JSON name is
sSLInfo
for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
- Description string
Optional. A human-readable description of this TargetServer.
- Host string
The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
- Is
Enabled bool Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
- Name string
The resource id of this target server. Values must match the regular expression
- Port int
The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
- Protocol string
Immutable. The protocol used by this TargetServer.
- SSLInfo
Google
Cloud Apigee V1Tls Info Response Optional. Specifies TLS configuration info for this TargetServer. The JSON name is
sSLInfo
for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
- description String
Optional. A human-readable description of this TargetServer.
- host String
The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
- is
Enabled Boolean Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
- name String
The resource id of this target server. Values must match the regular expression
- port Integer
The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
- protocol String
Immutable. The protocol used by this TargetServer.
- s
SLInfo GoogleCloud Apigee V1Tls Info Response Optional. Specifies TLS configuration info for this TargetServer. The JSON name is
sSLInfo
for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
- description string
Optional. A human-readable description of this TargetServer.
- host string
The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
- is
Enabled boolean Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
- name string
The resource id of this target server. Values must match the regular expression
- port number
The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
- protocol string
Immutable. The protocol used by this TargetServer.
- s
SLInfo GoogleCloud Apigee V1Tls Info Response Optional. Specifies TLS configuration info for this TargetServer. The JSON name is
sSLInfo
for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
- description str
Optional. A human-readable description of this TargetServer.
- host str
The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
- is_
enabled bool Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
- name str
The resource id of this target server. Values must match the regular expression
- port int
The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
- protocol str
Immutable. The protocol used by this TargetServer.
- s_
sl_ Googleinfo Cloud Apigee V1Tls Info Response Optional. Specifies TLS configuration info for this TargetServer. The JSON name is
sSLInfo
for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
- description String
Optional. A human-readable description of this TargetServer.
- host String
The host name this target connects to. Value must be a valid hostname as described by RFC-1123.
- is
Enabled Boolean Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.
- name String
The resource id of this target server. Values must match the regular expression
- port Number
The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.
- protocol String
Immutable. The protocol used by this TargetServer.
- s
SLInfo Property Map Optional. Specifies TLS configuration info for this TargetServer. The JSON name is
sSLInfo
for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration.
Supporting Types
GoogleCloudApigeeV1TlsInfoCommonNameResponse
- Value string
The TLS Common Name string of the certificate.
- Wildcard
Match bool Indicates whether the cert should be matched against as a wildcard cert.
- Value string
The TLS Common Name string of the certificate.
- Wildcard
Match bool Indicates whether the cert should be matched against as a wildcard cert.
- value String
The TLS Common Name string of the certificate.
- wildcard
Match Boolean Indicates whether the cert should be matched against as a wildcard cert.
- value string
The TLS Common Name string of the certificate.
- wildcard
Match boolean Indicates whether the cert should be matched against as a wildcard cert.
- value str
The TLS Common Name string of the certificate.
- wildcard_
match bool Indicates whether the cert should be matched against as a wildcard cert.
- value String
The TLS Common Name string of the certificate.
- wildcard
Match Boolean Indicates whether the cert should be matched against as a wildcard cert.
GoogleCloudApigeeV1TlsInfoResponse
- Ciphers List<string>
The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
- Client
Auth boolEnabled Optional. Enables two-way TLS.
- Common
Name Pulumi.Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Tls Info Common Name Response The TLS Common Name of the certificate.
- Enabled bool
Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
- Ignore
Validation boolErrors If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
- Key
Alias string Required if
client_auth_enabled
is true. The resource ID for the alias containing the private key and cert.- Key
Store string Required if
client_auth_enabled
is true. The resource ID of the keystore.- Protocols List<string>
The TLS versioins to be used.
- Trust
Store string The resource ID of the truststore.
- Ciphers []string
The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
- Client
Auth boolEnabled Optional. Enables two-way TLS.
- Common
Name GoogleCloud Apigee V1Tls Info Common Name Response The TLS Common Name of the certificate.
- Enabled bool
Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
- Ignore
Validation boolErrors If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
- Key
Alias string Required if
client_auth_enabled
is true. The resource ID for the alias containing the private key and cert.- Key
Store string Required if
client_auth_enabled
is true. The resource ID of the keystore.- Protocols []string
The TLS versioins to be used.
- Trust
Store string The resource ID of the truststore.
- ciphers List<String>
The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
- client
Auth BooleanEnabled Optional. Enables two-way TLS.
- common
Name GoogleCloud Apigee V1Tls Info Common Name Response The TLS Common Name of the certificate.
- enabled Boolean
Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
- ignore
Validation BooleanErrors If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
- key
Alias String Required if
client_auth_enabled
is true. The resource ID for the alias containing the private key and cert.- key
Store String Required if
client_auth_enabled
is true. The resource ID of the keystore.- protocols List<String>
The TLS versioins to be used.
- trust
Store String The resource ID of the truststore.
- ciphers string[]
The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
- client
Auth booleanEnabled Optional. Enables two-way TLS.
- common
Name GoogleCloud Apigee V1Tls Info Common Name Response The TLS Common Name of the certificate.
- enabled boolean
Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
- ignore
Validation booleanErrors If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
- key
Alias string Required if
client_auth_enabled
is true. The resource ID for the alias containing the private key and cert.- key
Store string Required if
client_auth_enabled
is true. The resource ID of the keystore.- protocols string[]
The TLS versioins to be used.
- trust
Store string The resource ID of the truststore.
- ciphers Sequence[str]
The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
- client_
auth_ boolenabled Optional. Enables two-way TLS.
- common_
name GoogleCloud Apigee V1Tls Info Common Name Response The TLS Common Name of the certificate.
- enabled bool
Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
- ignore_
validation_ boolerrors If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
- key_
alias str Required if
client_auth_enabled
is true. The resource ID for the alias containing the private key and cert.- key_
store str Required if
client_auth_enabled
is true. The resource ID of the keystore.- protocols Sequence[str]
The TLS versioins to be used.
- trust_
store str The resource ID of the truststore.
- ciphers List<String>
The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
- client
Auth BooleanEnabled Optional. Enables two-way TLS.
- common
Name Property Map The TLS Common Name of the certificate.
- enabled Boolean
Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
- ignore
Validation BooleanErrors If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
- key
Alias String Required if
client_auth_enabled
is true. The resource ID for the alias containing the private key and cert.- key
Store String Required if
client_auth_enabled
is true. The resource ID of the keystore.- protocols List<String>
The TLS versioins to be used.
- trust
Store String The resource ID of the truststore.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.