Package com.pulumi.resources
Class ProviderResource
java.lang.Object
com.pulumi.resources.Resource
com.pulumi.resources.CustomResource
com.pulumi.resources.ProviderResource
A @see
Resource that implements CRUD operations
for other custom resources. These resources are managed similarly to other resources,
including the usual diffing and update semantics.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.pulumi.resources.CustomResource
CustomResource.CustomResourceInternalNested classes/interfaces inherited from class com.pulumi.resources.Resource
Resource.LazyField<T>, Resource.LazyFields, Resource.ResourceInternal -
Field Summary
Fields inherited from class com.pulumi.resources.Resource
childResources, remote -
Constructor Summary
ConstructorsModifierConstructorDescriptionProviderResource(String aPackage, String name, ResourceArgs args, CustomResourceOptions options) Creates and registers a new provider resource for a particular package.protectedProviderResource(String aPackage, String name, ResourceArgs args, CustomResourceOptions options, boolean dependency) Creates and registers a new provider resource for a particular package.protectedProviderResource(String aPackage, String name, ResourceArgs args, CustomResourceOptions options, boolean dependency, CompletableFuture<String> packageRef) Creates and registers a new provider resource for a particular package. -
Method Summary
Methods inherited from class com.pulumi.resources.CustomResource
id, idFutureMethods inherited from class com.pulumi.resources.Resource
pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
-
Constructor Details
-
ProviderResource
public ProviderResource(String aPackage, String name, ResourceArgs args, @Nullable CustomResourceOptions options) Creates and registers a new provider resource for a particular package.- Parameters:
aPackage- The package associated with this providername- The unique name of the providerargs- The configuration to use for this provideroptions- A bag of options that control this provider's behavior
-
ProviderResource
protected ProviderResource(String aPackage, String name, ResourceArgs args, @Nullable CustomResourceOptions options, boolean dependency) Creates and registers a new provider resource for a particular package.- Parameters:
aPackage- The package associated with this providername- The unique name of the providerargs- The configuration to use for this provideroptions- A bag of options that control this provider's behaviordependency- True if this is a synthetic resource used internally for dependency tracking
-
ProviderResource
protected ProviderResource(String aPackage, String name, ResourceArgs args, @Nullable CustomResourceOptions options, boolean dependency, @Nullable CompletableFuture<String> packageRef) Creates and registers a new provider resource for a particular package.- Parameters:
aPackage- The package associated with this providername- The unique name of the providerargs- The configuration to use for this provideroptions- A bag of options that control this provider's behaviordependency- True if this is a synthetic resource used internally for dependency trackingpackageRef- The package reference to use for this provider
-