Package com.strongdm.api
Class Kubernetes
java.lang.Object
com.strongdm.api.Kubernetes
- All Implemented Interfaces:
Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).The CA to authenticate TLS connections with.The certificate to authenticate TLS connections with.The key to authenticate TLS connections with.boolean
If true, configures discovery of a cluster to be run from a node.If a cluster is configured for user impersonation, this is the user to impersonate when running discovery.A filter applied to the routing logic to pin datasource to nodes.The path used to check the health of your connection.boolean
True if the datasource is reachable and the credentials are valid.The host to dial to initiate a connection from the egress node to this resource.getId()
Unique identifier of the Resource.The username to use for healthchecks, when clients otherwise connect with their own identity alias username.The ID of the identity set to use for identity connections.getName()
Unique human-readable name of the Resource.int
getPort()
The port to dial to initiate a connection from the egress node to this resource.int
The local port used by clients to connect to this resource.ID of the proxy cluster for this resource, if any.ID of the secret store containing credentials for this resource, if any.DNS subdomain through which this resource may be accessed on clients.getTags()
Tags is a map of key, value pairs.void
setAllowResourceRoleBypass
(boolean in) If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.void
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).void
The CA to authenticate TLS connections with.void
The certificate to authenticate TLS connections with.void
setClientKey
(String in) The key to authenticate TLS connections with.void
setDiscoveryEnabled
(boolean in) If true, configures discovery of a cluster to be run from a node.void
If a cluster is configured for user impersonation, this is the user to impersonate when running discovery.void
A filter applied to the routing logic to pin datasource to nodes.void
The path used to check the health of your connection.void
setHealthy
(boolean in) True if the datasource is reachable and the credentials are valid.void
setHostname
(String in) The host to dial to initiate a connection from the egress node to this resource.void
Unique identifier of the Resource.void
The username to use for healthchecks, when clients otherwise connect with their own identity alias username.void
The ID of the identity set to use for identity connections.void
Unique human-readable name of the Resource.void
setPort
(int in) The port to dial to initiate a connection from the egress node to this resource.void
setPortOverride
(int in) The local port used by clients to connect to this resource.void
ID of the proxy cluster for this resource, if any.void
ID of the secret store containing credentials for this resource, if any.void
setSubdomain
(String in) DNS subdomain through which this resource may be accessed on clients.void
Tags is a map of key, value pairs.
-
Constructor Details
-
Kubernetes
public Kubernetes()
-
-
Method Details
-
getAllowResourceRoleBypass
public boolean getAllowResourceRoleBypass()If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided. -
setAllowResourceRoleBypass
public void setAllowResourceRoleBypass(boolean in) If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided. -
getBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
getBindInterface
in interfaceResource
-
setBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
setBindInterface
in interfaceResource
-
getCertificateAuthority
The CA to authenticate TLS connections with. -
setCertificateAuthority
The CA to authenticate TLS connections with. -
getClientCertificate
The certificate to authenticate TLS connections with. -
setClientCertificate
The certificate to authenticate TLS connections with. -
getClientKey
The key to authenticate TLS connections with. -
setClientKey
The key to authenticate TLS connections with. -
getDiscoveryEnabled
public boolean getDiscoveryEnabled()If true, configures discovery of a cluster to be run from a node. -
setDiscoveryEnabled
public void setDiscoveryEnabled(boolean in) If true, configures discovery of a cluster to be run from a node. -
getDiscoveryUsername
If a cluster is configured for user impersonation, this is the user to impersonate when running discovery. -
setDiscoveryUsername
If a cluster is configured for user impersonation, this is the user to impersonate when running discovery. -
getEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
getEgressFilter
in interfaceResource
-
setEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
setEgressFilter
in interfaceResource
-
getHealthcheckNamespace
The path used to check the health of your connection. Defaults to `default`. -
setHealthcheckNamespace
The path used to check the health of your connection. Defaults to `default`. -
getHealthy
public boolean getHealthy()True if the datasource is reachable and the credentials are valid. -
setHealthy
public void setHealthy(boolean in) True if the datasource is reachable and the credentials are valid. -
getHostname
The host to dial to initiate a connection from the egress node to this resource. -
setHostname
The host to dial to initiate a connection from the egress node to this resource. -
getId
Unique identifier of the Resource. -
setId
Unique identifier of the Resource. -
getIdentityAliasHealthcheckUsername
The username to use for healthchecks, when clients otherwise connect with their own identity alias username. -
setIdentityAliasHealthcheckUsername
The username to use for healthchecks, when clients otherwise connect with their own identity alias username. -
getIdentitySetId
The ID of the identity set to use for identity connections. -
setIdentitySetId
The ID of the identity set to use for identity connections. -
getName
Unique human-readable name of the Resource. -
setName
Unique human-readable name of the Resource. -
getPort
public int getPort()The port to dial to initiate a connection from the egress node to this resource. -
setPort
public void setPort(int in) The port to dial to initiate a connection from the egress node to this resource. -
getPortOverride
public int getPortOverride()The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
setPortOverride
public void setPortOverride(int in) The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
getProxyClusterId
ID of the proxy cluster for this resource, if any. -
setProxyClusterId
ID of the proxy cluster for this resource, if any. -
getSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
getSecretStoreId
in interfaceResource
-
setSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
setSecretStoreId
in interfaceResource
-
getSubdomain
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode. -
setSubdomain
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode. -
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs.
-