Share via


ApiOperationData Class

Definition

A class representing the ApiOperation data model. API Operation details.

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

Constructors

ApiOperationData()

Initializes a new instance of ApiOperationData.

Properties

Description

Description of the operation. May include HTML formatting tags.

DisplayName

Operation Name.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Method

A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.

Name

The name of the resource.

(Inherited from ResourceData)
Policies

Operation Policies.

Request

An entity containing request details.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Responses

Array of Operation responses.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TemplateParameters

Collection of URL template parameters.

UriTemplate

Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ApiOperationData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApiOperationData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApiOperationData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApiOperationData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApiOperationData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to