OperationContract Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Azure SDK for .NET