NetworkIsolationSettings Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. NetworkIsolationSettings
- com.
Implements
public final class NetworkIsolationSettings
implements JsonSerializable<NetworkIsolationSettings>
Contains the ARM resources for which to create private endpoint connection.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkIsolationSettings() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
sqlServerResourceId()
Get the sql |
| String |
storageAccountResourceId()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withSqlServerResourceId(String sqlServerResourceId)
Set the sql |
|
Network |
withStorageAccountResourceId(String storageAccountResourceId)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
NetworkIsolationSettings
public NetworkIsolationSettings()
Creates an instance of NetworkIsolationSettings class.
Method Details
fromJson
public static NetworkIsolationSettings fromJson(JsonReader jsonReader)
Reads an instance of NetworkIsolationSettings from the JsonReader.
Parameters:
Returns:
Throws:
sqlServerResourceId
public String sqlServerResourceId()
Get the sqlServerResourceId property: The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.
Returns:
storageAccountResourceId
public String storageAccountResourceId()
Get the storageAccountResourceId property: The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSqlServerResourceId
public NetworkIsolationSettings withSqlServerResourceId(String sqlServerResourceId)
Set the sqlServerResourceId property: The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.
Parameters:
Returns:
withStorageAccountResourceId
public NetworkIsolationSettings withStorageAccountResourceId(String storageAccountResourceId)
Set the storageAccountResourceId property: The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.
Parameters:
Returns: