Condividi tramite


ApplicationGatewaySslCertificate Class

Definition

SSL certificates of an application gateway.

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

Constructors

ApplicationGatewaySslCertificate()

Initializes a new instance of ApplicationGatewaySslCertificate.

Properties

Data

Base-64 encoded pfx certificate. Only applicable in PUT Request.

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" }.

ETag

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

Id

Resource ID.

(Inherited from NetworkResourceData)
KeyVaultSecretId

Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.

Name

Resource name.

(Inherited from NetworkResourceData)
Password

Password for the pfx file specified in data. Only applicable in PUT request.

ProvisioningState

The provisioning state of the SSL certificate resource.

PublicCertData

Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request.

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<ApplicationGatewaySslCertificate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApplicationGatewaySslCertificate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<ApplicationGatewaySslCertificate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationGatewaySslCertificate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApplicationGatewaySslCertificate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to