AzureApiManagementOperationResource

Handle
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5

Represents an operation in an Azure API Management API.

type AzureApiManagementOperationResource interface {
Resource
ResourceWithParent
}

Methods

methodWithInboundPolicybuilder
Appends an XML policy statement to the operation-level inbound policy section.
WithInboundPolicy(policyXml string) AzureApiManagementOperationResource
policyXmlstringOne or more well-formed APIM policy elements without a policies envelope.
AzureApiManagementOperationResource

The resource builder.

Returns a handle; failures surface later via Err().

Includes a policy fragment in the operation-level inbound policy.
WithInboundPolicyFragment(fragment AzureApiManagementPolicyFragmentResource) AzureApiManagementOperationResource
fragmentAzureApiManagementPolicyFragmentResourceThe policy fragment to include.
AzureApiManagementOperationResource

The resource builder.

Returns a handle; failures surface later via Err().

methodWithPolicybuilder
Replaces the complete operation-level policy document.
WithPolicy(policyXml string) AzureApiManagementOperationResource
policyXmlstringA complete APIM policies XML document.
AzureApiManagementOperationResource

The resource builder.

Returns a handle; failures surface later via Err().