IResourceWithEnvironment
Interface
interface IResourceWithEnvironment { withCertificateTrustScope(scope: CertificateTrustScope): IResourceWithEnvironment; withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment; withEnvironment( name: string, value: IExpressionValue): IResourceWithEnvironment; withEnvironmentCallback(callback: (arg: EnvironmentCallbackContext) => Promise<void>): IResourceWithEnvironment; withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironment; withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironment; withoutHttpsCertificate(): IResourceWithEnvironment; withReference( source: EndpointReference|string|uri, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironment; withReferenceEnvironment(options: ReferenceEnvironmentInjectionOptions): IResourceWithEnvironment;} 9 members
Methods
Sets the certificate trust scope
withCertificateTrustScope(scope: CertificateTrustScope): IResourceWithEnvironmentParameters
scope CertificateTrustScope Returns
IResourceWithEnvironment Configures developer certificate trust
withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironmentParameters
trust boolean Returns
IResourceWithEnvironment Sets an environment variable
withEnvironment( name: string, value: IExpressionValue): IResourceWithEnvironmentParameters
name string value IExpressionValue Returns
IResourceWithEnvironment Sets environment variables via callback
withEnvironmentCallback(callback: (arg: EnvironmentCallbackContext) => Promise<void>): IResourceWithEnvironmentParameters
callback (arg: EnvironmentCallbackContext) => Promise<void> Returns
IResourceWithEnvironment Configures HTTPS with a developer certificate
withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironmentParameters
password ParameterResource optional Returns
IResourceWithEnvironment Configures OTLP telemetry export
withOtlpExporter(protocol?: OtlpProtocol): IResourceWithEnvironmentParameters
protocol OtlpProtocol optional Returns
IResourceWithEnvironment Removes HTTPS certificate configuration
withoutHttpsCertificate(): IResourceWithEnvironmentReturns
IResourceWithEnvironment Adds a reference to another resource
withReference( source: EndpointReference|string|uri, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironmentParameters
source EndpointReference|string|uri connectionName string optional optional boolean optional = False name string optional Returns
IResourceWithEnvironment Configures which reference values are injected into environment variables
withReferenceEnvironment(options: ReferenceEnvironmentInjectionOptions): IResourceWithEnvironmentParameters
options ReferenceEnvironmentInjectionOptions Returns
IResourceWithEnvironment