ReferenceEnvironmentInjectionFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies which connection or endpoint information should be injected into environment variables when WithReference() is invoked.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ReferenceEnvironmentInjectionFlags
[<System.Flags>]
type ReferenceEnvironmentInjectionFlags =
Public Enum ReferenceEnvironmentInjectionFlags
- Inheritance
-
ReferenceEnvironmentInjectionFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No connection information will be injected. |
| ConnectionString | 1 | The connection string will be injected as an environment variable. |
| ConnectionProperties | 2 | Individual connection properties will be injected as environment variables. |
| ServiceDiscovery | 4 | Each endpoint defined on the resource will be injected using the format "services__{resourceName}{endpointName}{endpointIndex}". |
| Endpoints | 8 | Each endpoint defined on the resource will be injected using the format "{RESOURCENAME}_{ENDPOINTNAME}". |
| All | 15 | Connection string, connection properties and service endpoints will be injected as environment variables. |