IResourceWithEnvironment
Interface
interface IResourceWithEnvironment { withCertificateTrustScope(scope: CertificateTrustScope): IResourceWithEnvironment; withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment; withEnvironment( name: string, value: IResourceWithConnectionString): IResourceWithEnvironment; withEnvironmentCallback(callback: (arg: EnvironmentCallbackContext) => void): IResourceWithEnvironment; withEnvironmentConnectionString( envVarName: string, resource: IResourceWithConnectionString): IResourceWithEnvironment; withEnvironmentEndpoint( name: string, endpointReference: EndpointReference): IResourceWithEnvironment; withEnvironmentParameter( name: string, parameter: ParameterResource): IResourceWithEnvironment; withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironment; withOtlpExporter(): IResourceWithEnvironment; withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironment; withoutHttpsCertificate(): IResourceWithEnvironment; withReference( source: IResource, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironment; withReferenceEndpoint(endpointReference: EndpointReference): IResourceWithEnvironment; withReferenceExternalService(externalService: ExternalServiceResource): IResourceWithEnvironment; withReferenceUri( name: string, uri: uri): IResourceWithEnvironment;} 15 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 on the resource
withEnvironment( name: string, value: IResourceWithConnectionString): IResourceWithEnvironmentParameters
name string value IResourceWithConnectionString Returns
IResourceWithEnvironment Sets environment variables via callback
withEnvironmentCallback(callback: (arg: EnvironmentCallbackContext) => void): IResourceWithEnvironmentParameters
callback (arg: EnvironmentCallbackContext) => void Returns
IResourceWithEnvironment Sets an environment variable from a connection string resource
withEnvironmentConnectionString( envVarName: string, resource: IResourceWithConnectionString): IResourceWithEnvironmentParameters
envVarName string resource IResourceWithConnectionString Returns
IResourceWithEnvironment Sets an environment variable from an endpoint reference
withEnvironmentEndpoint( name: string, endpointReference: EndpointReference): IResourceWithEnvironmentParameters
name string endpointReference EndpointReference Returns
IResourceWithEnvironment Sets an environment variable from a parameter resource
withEnvironmentParameter( name: string, parameter: ParameterResource): IResourceWithEnvironmentParameters
name string parameter ParameterResource Returns
IResourceWithEnvironment Configures HTTPS with a developer certificate
withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironmentParameters
password ParameterResource optional Returns
IResourceWithEnvironment Configures OTLP telemetry export
withOtlpExporter(): IResourceWithEnvironmentReturns
IResourceWithEnvironment Configures OTLP telemetry export with specific protocol
withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironmentParameters
protocol OtlpProtocol Returns
IResourceWithEnvironment Removes HTTPS certificate configuration
withoutHttpsCertificate(): IResourceWithEnvironmentReturns
IResourceWithEnvironment Adds a reference to another resource
withReference( source: IResource, connectionName?: string, optional?: boolean, name?: string): IResourceWithEnvironmentParameters
source IResource connectionName string optional optional boolean optional = False name string optional Returns
IResourceWithEnvironment Adds a reference to an endpoint
withReferenceEndpoint(endpointReference: EndpointReference): IResourceWithEnvironmentParameters
endpointReference EndpointReference Returns
IResourceWithEnvironment Adds a reference to an external service
withReferenceExternalService(externalService: ExternalServiceResource): IResourceWithEnvironmentParameters
externalService ExternalServiceResource Returns
IResourceWithEnvironment Adds a reference to a URI
withReferenceUri( name: string, uri: uri): IResourceWithEnvironmentParameters
name string uri uri Returns
IResourceWithEnvironment