VnetInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. VnetInfo
- com.
Implements
public final class VnetInfo
implements JsonSerializable<VnetInfo>
Virtual Network information contract.
Constructor Summary
Constructor | Description |
---|---|
VnetInfo() |
Creates an instance of Vnet |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
certBlob()
Get the cert |
String |
certThumbprint()
Get the cert |
String |
dnsServers()
Get the dns |
static
Vnet |
fromJson(JsonReader jsonReader)
Reads an instance of Vnet |
Boolean |
isSwift()
Get the is |
Boolean |
resyncRequired()
Get the resync |
List<Vnet |
routes()
Get the routes property: The routes that this Virtual Network connection uses. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
vnetResourceId()
Get the vnet |
Vnet |
withCertBlob(String certBlob)
Set the cert |
Vnet |
withDnsServers(String dnsServers)
Set the dns |
Vnet |
withIsSwift(Boolean isSwift)
Set the is |
Vnet |
withVnetResourceId(String vnetResourceId)
Set the vnet |
Methods inherited from java.lang.Object
Constructor Details
VnetInfo
public VnetInfo()
Creates an instance of VnetInfo class.
Method Details
certBlob
public String certBlob()
Get the certBlob property: A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.
Returns:
certThumbprint
public String certThumbprint()
Get the certThumbprint property: The client certificate thumbprint.
Returns:
dnsServers
public String dnsServers()
Get the dnsServers property: DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
Returns:
fromJson
public static VnetInfo fromJson(JsonReader jsonReader)
Reads an instance of VnetInfo from the JsonReader.
Parameters:
Returns:
Throws:
isSwift
public Boolean isSwift()
Get the isSwift property: Flag that is used to denote if this is VNET injection.
Returns:
resyncRequired
public Boolean resyncRequired()
Get the resyncRequired property: true
if a resync is required; otherwise, false
.
Returns:
routes
public List
Get the routes property: The routes that this Virtual Network connection uses.
Returns:
toJson
validate
public void validate()
Validates the instance.
vnetResourceId
public String vnetResourceId()
Get the vnetResourceId property: The Virtual Network's resource ID.
Returns:
withCertBlob
public VnetInfo withCertBlob(String certBlob)
Set the certBlob property: A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.
Parameters:
Returns:
withDnsServers
public VnetInfo withDnsServers(String dnsServers)
Set the dnsServers property: DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
Parameters:
Returns:
withIsSwift
public VnetInfo withIsSwift(Boolean isSwift)
Set the isSwift property: Flag that is used to denote if this is VNET injection.
Parameters:
Returns:
withVnetResourceId
public VnetInfo withVnetResourceId(String vnetResourceId)
Set the vnetResourceId property: The Virtual Network's resource ID.
Parameters:
Returns:
Applies to
Azure SDK for Java