AzureApiManagementApiResource Constructors

ClassConstructors1 member
Represents an API hosted by an Azure API Management service.
Constructor(string, string, string, string, bool, IComputeResource, AzureApiManagementResource)Section titled Constructor(string, string, string, string, bool, IComputeResource, AzureApiManagementResource)
Initializes an API that routes to a compute resource.
public class AzureApiManagementApiResource
{
public AzureApiManagementApiResource(
string name,
string apiName,
string path,
string displayName,
bool subscriptionRequired,
IComputeResource target,
AzureApiManagementResource parent)
{
// ...
}
}
namestringThe name of the Aspire resource.
apiNamestringThe physical API name in API Management.
pathstringThe public gateway path for the API.
displayNamestringThe display name for the API.
subscriptionRequiredboolWhether callers must provide an API Management subscription key.
targetIComputeResourceThe backend compute resource.
parentAzureApiManagementResourceThe parent API Management service.