addNamedValue

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
interface AzureApiManagementResource {
// ... omitted for brevity
addNamedValue(
name: string,
value: string,
displayName?: string,
namedValueName?: string,
tags?: string[]): AzureApiManagementNamedValueResource;
}

Signature

methodaddNamedValuebuilder
Adds a non-secret named value to the API Management service.
addNamedValue(
name: string,
value: string,
displayName?: string,
namedValueName?: string,
tags?: string[]): AzureApiManagementNamedValueResource
namestringThe globally unique Aspire resource name and default physical named-value name.
valuestringThe named value.
displayNamestringoptionalThe name used to reference the value in policies. The resource name is used when omitted.
namedValueNamestringoptionalThe physical named-value identifier in API Management. The resource name is used when omitted.
tagsstring[]optionalTags used to organize the named value.
AzureApiManagementNamedValueResource

Applies to

This method applies to the following types: