다음을 통해 공유


OperationContract Class

Definition

Subscription details.

[Microsoft.Rest.Serialization.JsonTransformation]
public class OperationContract : Microsoft.Azure.Management.ApiManagement.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type OperationContract = class
    inherit Resource
Public Class OperationContract
Inherits Resource
Inheritance
OperationContract
Attributes

Constructors

OperationContract()

Initializes a new instance of the OperationContract class.

OperationContract(String, String, String, String, String, String, IList<ParameterContract>, String, RequestContract, IList<ResponseContract>, String)

Initializes a new instance of the OperationContract class.

Properties

ApiIdentifier
Description

Gets or sets description of the operation. May include HTML formatting tags.

DisplayName

Gets or sets operation Name.

Id

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

(Inherited from Resource)
Method

Gets or sets a Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.

Name

Gets the name of the resource

(Inherited from Resource)
Policies

Gets or sets operation Policies

Request

Gets or sets an entity containing request details.

Responses

Gets or sets array of Operation responses.

TemplateParameters

Gets or sets collection of URL template parameters.

Type

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

(Inherited from Resource)
UrlTemplate

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

Methods

Validate()

Validate the object.

Applies to