Share via


VpnClientRootCertificate Class

Definition

VPN client root certificate of virtual network gateway.

public class VpnClientRootCertificate : Azure.ResourceManager.Network.Models.NetworkResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.VpnClientRootCertificate>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.VpnClientRootCertificate>
public class VpnClientRootCertificate : Azure.ResourceManager.Network.Models.NetworkResourceData
type VpnClientRootCertificate = class
    inherit NetworkResourceData
    interface IJsonModel<VpnClientRootCertificate>
    interface IPersistableModel<VpnClientRootCertificate>
type VpnClientRootCertificate = class
    inherit NetworkResourceData
Public Class VpnClientRootCertificate
Inherits NetworkResourceData
Implements IJsonModel(Of VpnClientRootCertificate), IPersistableModel(Of VpnClientRootCertificate)
Public Class VpnClientRootCertificate
Inherits NetworkResourceData
Inheritance
VpnClientRootCertificate
Implements

Constructors

VpnClientRootCertificate(BinaryData)

Initializes a new instance of VpnClientRootCertificate.

Properties

ETag

A unique read-only string that changes whenever the resource is updated.

Id

Resource ID.

(Inherited from NetworkResourceData)
Name

Resource name.

(Inherited from NetworkResourceData)
ProvisioningState

The provisioning state of the VPN client root certificate resource.

PublicCertData

The certificate public data.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ResourceType

Resource type.

(Inherited from NetworkResourceData)

Explicit Interface Implementations

IJsonModel<NetworkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkResourceData)
IJsonModel<NetworkResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkResourceData)
IJsonModel<VpnClientRootCertificate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VpnClientRootCertificate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkResourceData)
IPersistableModel<VpnClientRootCertificate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VpnClientRootCertificate>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VpnClientRootCertificate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to