Share via


ApiCenterDeploymentProperties Class

Definition

API deployment entity properties.

public class ApiCenterDeploymentProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiCenter.Models.ApiCenterDeploymentProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiCenter.Models.ApiCenterDeploymentProperties>
type ApiCenterDeploymentProperties = class
    interface IJsonModel<ApiCenterDeploymentProperties>
    interface IPersistableModel<ApiCenterDeploymentProperties>
Public Class ApiCenterDeploymentProperties
Implements IJsonModel(Of ApiCenterDeploymentProperties), IPersistableModel(Of ApiCenterDeploymentProperties)
Inheritance
ApiCenterDeploymentProperties
Implements

Constructors

Name Description
ApiCenterDeploymentProperties()

Initializes a new instance of ApiCenterDeploymentProperties.

Properties

Name Description
CustomProperties

The custom metadata defined for API catalog entities.

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

DefinitionId

API center-scoped definition resource ID.

Description

Description of the deployment.

EnvironmentId

API center-scoped environment resource ID.

ServerRuntimeUri

Base runtime URLs for this deployment.

State

State of API deployment.

Title

API deployment title.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ApiCenterDeploymentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApiCenterDeploymentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApiCenterDeploymentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApiCenterDeploymentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApiCenterDeploymentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to