Module com.azure.runtime.host
Package com.azure.runtime.host.resources
Class Container<T extends Container<T>>
java.lang.Object
com.azure.runtime.host.resources.Resource<T>
com.azure.runtime.host.resources.Container<T>
- Type Parameters:
T- The specific type of the resource, which may or may not be a subtype of this class. This allows for method chaining, even when using a subtype, when used in conjunction with the API onSelfAware.
- All Implemented Interfaces:
ResourceTrait<T>,ResourceWithArguments<T>,ResourceWithEndpoints<T>,ResourceWithEnvironment<T>,ResourceWithLifecycle,ResourceWithReference<T>,SelfAware<T>
- Direct Known Subclasses:
MicroserviceProject
public class Container<T extends Container<T>>
extends Resource<T>
implements ResourceWithArguments<T>, ResourceWithEnvironment<T>, ResourceWithEndpoints<T>, ResourceWithReference<T>
Represents a generic container resource.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionself()Returns a reference to the object that implements this interface.withBindMount(Container.BindMount bindMount) withEntryPoint(String entryPoint) withVolume(Container.Volume volume) Methods inherited from class com.azure.runtime.host.resources.Resource
copyInto, getAnnotations, getName, getType, withAnnotationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithArguments
withArgument, withArguments, withArgumentsMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithEndpoints
getEndpoint, getEndpoints, withExternalHttpEndpoints, withHttpEndpoint, withHttpEndpoint, withHttpsEndpoint, withHttpsEndpointMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithEnvironment
withEnvironment, withEnvironment, withEnvironment, withReference, withReference, withReferenceMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithLifecycle
onResourceAdded, onResourcePrecommit, onResourceRemovedMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithReference
withReference
-
Constructor Details
-
Container
-
Container
-
Container
-
-
Method Details
-
withImage
-
withEntryPoint
-
withVolume
-
withBindMount
-
self
Description copied from interface:SelfAwareReturns a reference to the object that implements this interface.
-