# AzureApiManagementOperationResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.ApiManagement](/reference/api/csharp/aspire.hosting.azure.apimanagement.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementOperationResource.cs)
- Inherits: `Resource`
- Implements: `IResource`, `IResourceWithParent`, `IResourceWithParent<AzureApiManagementApiResource>`

Represents an operation in an Azure API Management API.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public class AzureApiManagementOperationResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithParent,
      Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureApiManagementApiResource>
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting.Azure.ApiManagement/AzureApiManagementOperationResource`

## Constructors

- [AzureApiManagementOperationResource(string, string, string, string, string, AzureApiManagementApiResource)](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementoperationresource/constructors.md#constructor-string-string-string-string-string-azureapimanagementapiresource) -- Represents an operation in an Azure API Management API.

## Properties

- [DisplayName](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementoperationresource/properties.md#displayname) : `string` `get` -- Gets the operation display name.
- [Method](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementoperationresource/properties.md#method) : `string` `get` -- Gets the HTTP method.
- [OperationName](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementoperationresource/properties.md#operationname) : `string` `get` -- Gets the physical operation name in API Management.
- [Parent](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementoperationresource/properties.md#parent) : [AzureApiManagementApiResource](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementapiresource.md) `get` -- Gets the parent API.
- [UrlTemplate](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementoperationresource/properties.md#urltemplate) : `string` `get` -- Gets the URL template relative to the API path.
