VpnClientRootCertificate Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. VpnClientRootCertificate
- com.
- com.
public final class VpnClientRootCertificate
extends SubResource
VPN client root certificate of virtual network gateway.
Constructor Summary
Constructor | Description |
---|---|
VpnClientRootCertificate() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
String |
publicCertData()
Get the public |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vpn |
withId(String id) |
Vpn |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Vpn |
withPublicCertData(String publicCertData)
Set the public |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VpnClientRootCertificate
public VpnClientRootCertificate()
Creates an instance of VpnClientRootCertificate class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static VpnClientRootCertificate fromJson(JsonReader jsonReader)
Reads an instance of VpnClientRootCertificate from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VPN client root certificate resource.
Returns:
publicCertData
public String publicCertData()
Get the publicCertData property: The certificate public data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VpnClientRootCertificate.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withId
public VpnClientRootCertificate withId(String id)
Overrides:
VpnClientRootCertificate.withId(String id)Parameters:
withName
public VpnClientRootCertificate withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withPublicCertData
public VpnClientRootCertificate withPublicCertData(String publicCertData)
Set the publicCertData property: The certificate public data.
Parameters:
Returns:
Applies to
Azure SDK for Java