OperationContract OperationContract OperationContract Constructors

Definition

Overloads

OperationContract() OperationContract()

Initializes a new instance of the OperationContract class.

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

Initializes a new instance of the OperationContract class.

OperationContract() OperationContract()

Initializes a new instance of the OperationContract class.

public OperationContract ();
Public Sub New ()

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

Initializes a new instance of the OperationContract class.

public OperationContract (string displayName, string method, string urlTemplate, string id = null, string name = null, string type = null, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ParameterContract> templateParameters = null, string description = null, Microsoft.Azure.Management.ApiManagement.Models.RequestContract request = null, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ResponseContract> responses = null, string policies = null);
new Microsoft.Azure.Management.ApiManagement.Models.OperationContract : string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ParameterContract> * string * Microsoft.Azure.Management.ApiManagement.Models.RequestContract * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ResponseContract> * string -> Microsoft.Azure.Management.ApiManagement.Models.OperationContract
Public Sub New (displayName As String, method As String, urlTemplate As String, Optional id As String = null, Optional name As String = null, Optional type As String = null, Optional templateParameters As IList(Of ParameterContract) = null, Optional description As String = null, Optional request As RequestContract = null, Optional responses As IList(Of ResponseContract) = null, Optional policies As String = null)

Parameters

displayName
String String String

Operation Name.

method
String String String

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

urlTemplate
String String String

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

id
String String String

Resource ID.

name
String String String

Resource name.

type
String String String

Resource type for API Management resource.

templateParameters
IList<ParameterContract>

Collection of URL template parameters.

description
String String String

Description of the operation. May include HTML formatting tags.

request
RequestContract RequestContract RequestContract

An entity containing request details.

responses
IList<ResponseContract>

Array of Operation responses.

policies
String String String

Operation Policies

Applies to