Package com.strongdm.api
Class SQLServerAzureAD
java.lang.Object
com.strongdm.api.SQLServerAzureAD
- All Implemented Interfaces:
Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to allow deprecated encryption protocols to be used for this resource.The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).The Azure AD application (client) ID with which to authenticate.The database for healthchecks, and used for clients if Override Default Database is true.A filter applied to the routing logic to pin datasource to nodes.booleanTrue 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.getName()Unique human-readable name of the Resource.booleanIf set, the database configured cannot be changed by users.intgetPort()The port to dial to initiate a connection from the egress node to this resource.intThe local port used by clients to connect to this resource.ID of the proxy cluster for this resource, if any.The Schema to use to direct initial requests.The Azure AD client secret (application password) with which to authenticate.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.The Azure AD directory (tenant) ID with which to authenticate.voidsetAllowDeprecatedEncryption(boolean in) Whether to allow deprecated encryption protocols to be used for this resource.voidThe bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).voidsetClientId(String in) The Azure AD application (client) ID with which to authenticate.voidsetDatabase(String in) The database for healthchecks, and used for clients if Override Default Database is true.voidA filter applied to the routing logic to pin datasource to nodes.voidsetHealthy(boolean in) True if the datasource is reachable and the credentials are valid.voidsetHostname(String in) The host to dial to initiate a connection from the egress node to this resource.voidUnique identifier of the Resource.voidUnique human-readable name of the Resource.voidsetOverrideDatabase(boolean in) If set, the database configured cannot be changed by users.voidsetPort(int in) The port to dial to initiate a connection from the egress node to this resource.voidsetPortOverride(int in) The local port used by clients to connect to this resource.voidID of the proxy cluster for this resource, if any.voidThe Schema to use to direct initial requests.voidThe Azure AD client secret (application password) with which to authenticate.voidID of the secret store containing credentials for this resource, if any.voidsetSubdomain(String in) DNS subdomain through which this resource may be accessed on clients.voidTags is a map of key, value pairs.voidsetTenantId(String in) The Azure AD directory (tenant) ID with which to authenticate.
-
Constructor Details
-
SQLServerAzureAD
public SQLServerAzureAD()
-
-
Method Details
-
getAllowDeprecatedEncryption
public boolean getAllowDeprecatedEncryption()Whether to allow deprecated encryption protocols to be used for this resource. For example, TLS 1.0. -
setAllowDeprecatedEncryption
public void setAllowDeprecatedEncryption(boolean in) Whether to allow deprecated encryption protocols to be used for this resource. For example, TLS 1.0. -
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:
getBindInterfacein 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:
setBindInterfacein interfaceResource
-
getClientId
The Azure AD application (client) ID with which to authenticate. -
setClientId
The Azure AD application (client) ID with which to authenticate. -
getDatabase
The database for healthchecks, and used for clients if Override Default Database is true. -
setDatabase
The database for healthchecks, and used for clients if Override Default Database is true. -
getEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
getEgressFilterin interfaceResource
-
setEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
setEgressFilterin interfaceResource
-
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. -
getName
Unique human-readable name of the Resource. -
setName
Unique human-readable name of the Resource. -
getOverrideDatabase
public boolean getOverrideDatabase()If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion. -
setOverrideDatabase
public void setOverrideDatabase(boolean in) If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion. -
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. -
getSchema
The Schema to use to direct initial requests. -
setSchema
The Schema to use to direct initial requests. -
getSecret
The Azure AD client secret (application password) with which to authenticate. -
setSecret
The Azure AD client secret (application password) with which to authenticate. -
getSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
getSecretStoreIdin interfaceResource
-
setSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
setSecretStoreIdin 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. -
getTenantId
The Azure AD directory (tenant) ID with which to authenticate. -
setTenantId
The Azure AD directory (tenant) ID with which to authenticate.
-