IResourceWithEnvironment
Interface TypeScript
interface IResourceWithEnvironment { withCertificateTrustScope(scope: CertificateTrustScope): IResourceWithEnvironment; withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment; withEnvironment( name: string, value: string): IResourceWithEnvironment; withEnvironmentCallback(callback: (obj: EnvironmentCallbackContext) => void): IResourceWithEnvironment; withEnvironmentCallbackAsync(callback: (arg: EnvironmentCallbackContext) => void): IResourceWithEnvironment; withEnvironmentConnectionString( envVarName: string, resource: IResourceWithConnectionString): IResourceWithEnvironment; withEnvironmentEndpoint( name: string, endpointReference: EndpointReference): IResourceWithEnvironment; withEnvironmentExpression( name: string, value: ReferenceExpression): IResourceWithEnvironment; withEnvironmentParameter( name: string, parameter: ParameterResource): IResourceWithEnvironment; withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironment; withOtlpExporter(): IResourceWithEnvironment; withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironment; withoutHttpsCertificate(): IResourceWithEnvironment; withQdrantReference( qdrantResource: QdrantServerResource, connectionName?: string): IResourceWithEnvironment; withReference( source: IResourceWithConnectionString, connectionName?: string, optional?: boolean): IResourceWithEnvironment; withReferenceEndpoint(endpointReference: EndpointReference): IResourceWithEnvironment; withReferenceExternalService(externalService: ExternalServiceResource): IResourceWithEnvironment; withReferenceUri( name: string, uri: uri): IResourceWithEnvironment; withServiceReference(source: IResourceWithServiceDiscovery): IResourceWithEnvironment; withServiceReferenceNamed( source: IResourceWithServiceDiscovery, name: string): IResourceWithEnvironment;} 20 members
Methods
method
withCertificateTrustScope builder Sets the certificate trust scope
withCertificateTrustScope(scope: CertificateTrustScope): IResourceWithEnvironmentParameters
scope CertificateTrustScope Returns
IResourceWithEnvironment method
withDeveloperCertificateTrust builder Configures developer certificate trust
withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironmentParameters
trust boolean Returns
IResourceWithEnvironment method
withEnvironment builder Sets an environment variable
withEnvironment( name: string, value: string): IResourceWithEnvironmentParameters
name string value string Returns
IResourceWithEnvironment method
withEnvironmentCallback builder Sets environment variables via callback
withEnvironmentCallback(callback: (obj: EnvironmentCallbackContext) => void): IResourceWithEnvironmentParameters
callback (obj: EnvironmentCallbackContext) => void Returns
IResourceWithEnvironment method
withEnvironmentCallbackAsync builder Sets environment variables via async callback
withEnvironmentCallbackAsync(callback: (arg: EnvironmentCallbackContext) => void): IResourceWithEnvironmentParameters
callback (arg: EnvironmentCallbackContext) => void Returns
IResourceWithEnvironment method
withEnvironmentConnectionString builder Sets an environment variable from a connection string resource
withEnvironmentConnectionString( envVarName: string, resource: IResourceWithConnectionString): IResourceWithEnvironmentParameters
envVarName string resource IResourceWithConnectionString Returns
IResourceWithEnvironment method
withEnvironmentEndpoint builder Sets an environment variable from an endpoint reference
withEnvironmentEndpoint( name: string, endpointReference: EndpointReference): IResourceWithEnvironmentParameters
name string endpointReference EndpointReference Returns
IResourceWithEnvironment method
withEnvironmentExpression builder Adds an environment variable with a reference expression
withEnvironmentExpression( name: string, value: ReferenceExpression): IResourceWithEnvironmentParameters
name string value ReferenceExpression Returns
IResourceWithEnvironment method
withEnvironmentParameter builder Sets an environment variable from a parameter resource
withEnvironmentParameter( name: string, parameter: ParameterResource): IResourceWithEnvironmentParameters
name string parameter ParameterResource Returns
IResourceWithEnvironment method
withHttpsDeveloperCertificate builder Configures HTTPS with a developer certificate
withHttpsDeveloperCertificate(password?: ParameterResource): IResourceWithEnvironmentParameters
password ParameterResource optional Returns
IResourceWithEnvironment method
withOtlpExporter builder Configures OTLP telemetry export
withOtlpExporter(): IResourceWithEnvironmentReturns
IResourceWithEnvironment method
withOtlpExporterProtocol builder Configures OTLP telemetry export with specific protocol
withOtlpExporterProtocol(protocol: OtlpProtocol): IResourceWithEnvironmentParameters
protocol OtlpProtocol Returns
IResourceWithEnvironment method
withoutHttpsCertificate builder Removes HTTPS certificate configuration
withoutHttpsCertificate(): IResourceWithEnvironmentReturns
IResourceWithEnvironment method
withQdrantReference builder Adds a reference to a Qdrant resource
withQdrantReference( qdrantResource: QdrantServerResource, connectionName?: string): IResourceWithEnvironmentParameters
qdrantResource QdrantServerResource connectionName string optional Returns
IResourceWithEnvironment method
withReference builder Adds a reference to another resource
withReference( source: IResourceWithConnectionString, connectionName?: string, optional?: boolean): IResourceWithEnvironmentParameters
source IResourceWithConnectionString connectionName string optional optional boolean optional = False Returns
IResourceWithEnvironment method
withReferenceEndpoint builder Adds a reference to an endpoint
withReferenceEndpoint(endpointReference: EndpointReference): IResourceWithEnvironmentParameters
endpointReference EndpointReference Returns
IResourceWithEnvironment method
withReferenceExternalService builder Adds a reference to an external service
withReferenceExternalService(externalService: ExternalServiceResource): IResourceWithEnvironmentParameters
externalService ExternalServiceResource Returns
IResourceWithEnvironment method
withReferenceUri builder Adds a reference to a URI
withReferenceUri( name: string, uri: uri): IResourceWithEnvironmentParameters
name string uri uri Returns
IResourceWithEnvironment method
withServiceReference builder Adds a service discovery reference to another resource
withServiceReference(source: IResourceWithServiceDiscovery): IResourceWithEnvironmentParameters
source IResourceWithServiceDiscovery Returns
IResourceWithEnvironment method
withServiceReferenceNamed builder Adds a named service discovery reference
withServiceReferenceNamed( source: IResourceWithServiceDiscovery, name: string): IResourceWithEnvironmentParameters
source IResourceWithServiceDiscovery name string Returns
IResourceWithEnvironment