Module com.azure.runtime.host
Interface ResourceWithParameters<T extends Resource<T> & ResourceWithParameters<T>>
- All Superinterfaces:
ResourceTrait<T>
,SelfAware<T>
- All Known Implementing Classes:
AzureBicepResource
,AzureEventHubsResource
,AzureOpenAIResource
,AzureStorageResource
public interface ResourceWithParameters<T extends Resource<T> & ResourceWithParameters<T>>
extends ResourceTrait<T>
Represents a resource that can have parameters.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only map of parameters for this resource.withParameter
(String key, Object value) Adds a parameter to this resource.default T
withParameters
(Map<String, Object> parameters)
-
Method Details
-
withParameter
Adds a parameter to this resource. -
getParameters
Returns a read-only map of parameters for this resource. -
withParameters
-