Module com.azure.runtime.host
Package com.azure.runtime.host.resources
Class AzureBicepResource<T extends AzureBicepResource<T>>
java.lang.Object
com.azure.runtime.host.resources.Resource<T>
com.azure.runtime.host.resources.AzureBicepResource<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>,ResourceWithLifecycle,ResourceWithParameters<T>,ResourceWithTemplate<T>,SelfAware<T>
- Direct Known Subclasses:
AzureEventHubsResource,AzureOpenAIResource,AzureStorageResource
public abstract class AzureBicepResource<T extends AzureBicepResource<T>>
extends Resource<T>
implements ResourceWithParameters<T>, ResourceWithTemplate<T>
Represents a
Resource that is deployed using Azure Bicep.-
Constructor Summary
ConstructorsConstructorDescriptionAzureBicepResource(ResourceType type, String name) AzureBicepResource(ResourceType type, String name, String path) AzureBicepResource(String name) AzureBicepResource(String name, String path) -
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only map of parameters for this resource.self()Returns a reference to the object that implements this interface.withParameter(String name, Object value) Adds a parameter to this resource.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.ResourceWithLifecycle
onResourceAdded, onResourcePrecommit, onResourceRemovedMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithParameters
withParametersMethods inherited from interface com.azure.runtime.host.resources.traits.ResourceWithTemplate
processTemplate
-
Constructor Details
-
AzureBicepResource
-
AzureBicepResource
-
AzureBicepResource
-
AzureBicepResource
-
-
Method Details
-
withPath
-
withParameter
Description copied from interface:ResourceWithParametersAdds a parameter to this resource.- Specified by:
withParameterin interfaceResourceWithParameters<T extends AzureBicepResource<T>>
-
getParameters
Description copied from interface:ResourceWithParametersReturns a read-only map of parameters for this resource.- Specified by:
getParametersin interfaceResourceWithParameters<T extends AzureBicepResource<T>>
-
self
Description copied from interface:SelfAwareReturns a reference to the object that implements this interface.- Specified by:
selfin interfaceSelfAware<T extends AzureBicepResource<T>>- Returns:
- A reference to the object that implements this interface.
-