LogicApiReference Class

Definition

The Api reference.

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

Constructors

LogicApiReference()

Initializes a new instance of LogicApiReference.

Properties

BrandColor

The brand color of the api.

Category

The tier.

Description

The description of the api.

DisplayName

The display name of the api.

IconUri

The icon uri of the api.

Id

The resource id.

(Inherited from LogicResourceReference)
IntegrationServiceEnvironment

The integration service environment reference.

Name

Gets the resource name.

(Inherited from LogicResourceReference)
ResourceType

Gets the resource type.

(Inherited from LogicResourceReference)
Swagger

The swagger of the api.

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from LogicResourceReference)

Explicit Interface Implementations

IJsonModel<LogicApiReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LogicApiReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<LogicResourceReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from LogicResourceReference)
IPersistableModel<LogicApiReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LogicApiReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LogicApiReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<LogicResourceReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from LogicResourceReference)

Applies to