WithCustomDomain

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
func (AzureApiManagementResource) WithCustomDomain(
hostname string,
vault AzureKeyVaultResource,
certificateSecretName string,
options ...*WithCustomDomainOptions,
) AzureApiManagementResource

Signature

methodWithCustomDomainbuilder
Configures a custom hostname from a polyglot AppHost using a certificate stored in Azure Key Vault.
WithCustomDomain(
hostname string,
vault AzureKeyVaultResource,
certificateSecretName string,
options ...*WithCustomDomainOptions,
) AzureApiManagementResource
hostnamestring
vaultAzureKeyVaultResource
certificateSecretNamestring
options...*WithCustomDomainOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithCustomDomainOptions argument.

Type*AzureApiManagementHostnameType
DefaultSslBinding*bool
NegotiateClientCertificate*bool
AzureApiManagementResource

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

Applies to

This method applies to the following types: