SqlPoolConnectionPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. synapse. fluent. models. SqlPoolConnectionPolicyInner
- com.
- com.
public final class SqlPoolConnectionPolicyInner
extends ProxyResource
A Sql pool connection policy.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlPoolConnectionPolicyInner() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
kind()
Get the kind property: Resource kind. |
| String |
location()
Get the location property: Resource location. |
| String |
name()
Get the name property: The name of the resource. |
| String |
proxyDnsName()
Get the proxy |
| String |
proxyPort()
Get the proxy |
| String |
redirectionState()
Get the redirection |
| String |
securityEnabledAccess()
Get the security |
| String |
state()
Get the state property: The connection policy state. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
useServerDefault()
Get the use |
| void |
validate()
Validates the instance. |
| String |
visibility()
Get the visibility property: The visibility of the auditing proxy. |
|
Sql |
withProxyDnsName(String proxyDnsName)
Set the proxy |
|
Sql |
withProxyPort(String proxyPort)
Set the proxy |
|
Sql |
withRedirectionState(String redirectionState)
Set the redirection |
|
Sql |
withSecurityEnabledAccess(String securityEnabledAccess)
Set the security |
|
Sql |
withState(String state)
Set the state property: The connection policy state. |
|
Sql |
withUseServerDefault(String useServerDefault)
Set the use |
|
Sql |
withVisibility(String visibility)
Set the visibility property: The visibility of the auditing proxy. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SqlPoolConnectionPolicyInner
public SqlPoolConnectionPolicyInner()
Creates an instance of SqlPoolConnectionPolicyInner class.
Method Details
fromJson
public static SqlPoolConnectionPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of SqlPoolConnectionPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlPoolConnectionPolicyInner.id()Returns:
kind
public String kind()
Get the kind property: Resource kind.
Returns:
location
public String location()
Get the location property: Resource location.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlPoolConnectionPolicyInner.name()Returns:
proxyDnsName
public String proxyDnsName()
Get the proxyDnsName property: The fully qualified host name of the auditing proxy.
Returns:
proxyPort
public String proxyPort()
Get the proxyPort property: The port number of the auditing proxy.
Returns:
redirectionState
public String redirectionState()
Get the redirectionState property: The state of proxy redirection.
Returns:
securityEnabledAccess
public String securityEnabledAccess()
Get the securityEnabledAccess property: The state of security access.
Returns:
state
public String state()
Get the state property: The connection policy state.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlPoolConnectionPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlPoolConnectionPolicyInner.type()Returns:
useServerDefault
public String useServerDefault()
Get the useServerDefault property: Whether server default is enabled or disabled.
Returns:
validate
public void validate()
Validates the instance.
visibility
public String visibility()
Get the visibility property: The visibility of the auditing proxy.
Returns:
withProxyDnsName
public SqlPoolConnectionPolicyInner withProxyDnsName(String proxyDnsName)
Set the proxyDnsName property: The fully qualified host name of the auditing proxy.
Parameters:
Returns:
withProxyPort
public SqlPoolConnectionPolicyInner withProxyPort(String proxyPort)
Set the proxyPort property: The port number of the auditing proxy.
Parameters:
Returns:
withRedirectionState
public SqlPoolConnectionPolicyInner withRedirectionState(String redirectionState)
Set the redirectionState property: The state of proxy redirection.
Parameters:
Returns:
withSecurityEnabledAccess
public SqlPoolConnectionPolicyInner withSecurityEnabledAccess(String securityEnabledAccess)
Set the securityEnabledAccess property: The state of security access.
Parameters:
Returns:
withState
public SqlPoolConnectionPolicyInner withState(String state)
Set the state property: The connection policy state.
Parameters:
Returns:
withUseServerDefault
public SqlPoolConnectionPolicyInner withUseServerDefault(String useServerDefault)
Set the useServerDefault property: Whether server default is enabled or disabled.
Parameters:
Returns:
withVisibility
public SqlPoolConnectionPolicyInner withVisibility(String visibility)
Set the visibility property: The visibility of the auditing proxy.
Parameters:
Returns: