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 Details

    • getValue

      default String getValue()
      Specified by:
      getValue in interface ValueProvider
    • getConnectionString

      default String getConnectionString()
      Gets the connection string associated with the resource.
      Returns:
    • getConnectionStringEnvironmentVariable

      default String 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

      default List<Object> getReferences()
      Description copied from interface: ValueWithReferences
      A read-only list of the referenced objects of the value.
      Specified by:
      getReferences in interface ValueWithReferences
      Returns:
      A read-only list of the referenced objects.