Module com.azure.runtime.host
Interface ResourceWithConnectionString<T extends Resource<T> & ResourceWithConnectionString<T>>
- All Superinterfaces:
ManifestExpressionProvider
,ResourceTrait<T>
,SelfAware<T>
,ValueProvider
,ValueWithReferences
- All Known Implementing Classes:
AzureOpenAIResource
,AzureStorageBlobsResource
,AzureStorageChildResource
,AzureStorageQueuesResource
,AzureStorageTablesResource
public interface ResourceWithConnectionString<T extends Resource<T> & ResourceWithConnectionString<T>>
extends ResourceTrait<T>, ManifestExpressionProvider, ValueProvider, ValueWithReferences
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Gets the connection string associated with the resource.default String
The environment variable name to use for the connection string.Describes the connection string format string used for this resource.A read-only list of the referenced objects of the value.default String
getValue()
Methods inherited from interface com.azure.runtime.host.resources.traits.ManifestExpressionProvider
getValueExpression
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceValueProvider
-
getConnectionString
Gets the connection string associated with the resource.- Returns:
-
getConnectionStringEnvironmentVariable
The environment variable name to use for the connection string.- Returns:
-
getConnectionStringExpression
ReferenceExpression getConnectionStringExpression()Describes the connection string format string used for this resource.- Returns:
-
getReferences
Description copied from interface:ValueWithReferences
A read-only list of the referenced objects of the value.- Specified by:
getReferences
in interfaceValueWithReferences
- Returns:
- A read-only list of the referenced objects.
-