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 SummaryModifier and TypeMethodDescriptiondefault StringGets the connection string associated with the resource.default StringThe 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 StringgetValue()Methods inherited from interface com.azure.runtime.host.resources.traits.ManifestExpressionProvidergetValueExpression
- 
Method Details- 
getValue- Specified by:
- getValuein interface- ValueProvider
 
- 
getConnectionStringGets the connection string associated with the resource.- Returns:
 
- 
getConnectionStringEnvironmentVariableThe environment variable name to use for the connection string.- Returns:
 
- 
getConnectionStringExpressionReferenceExpression getConnectionStringExpression()Describes the connection string format string used for this resource.- Returns:
 
- 
getReferencesDescription copied from interface:ValueWithReferencesA read-only list of the referenced objects of the value.- Specified by:
- getReferencesin interface- ValueWithReferences
- Returns:
- A read-only list of the referenced objects.
 
 
-