Class CustomResourceSubresourcesArgs


  • public final class CustomResourceSubresourcesArgs
    extends com.pulumi.resources.ResourceArgs
    CustomResourceSubresources defines the status and scale subresources for CustomResources.
    • Method Detail

      • scale

        public java.util.Optional<com.pulumi.core.Output<CustomResourceSubresourceScaleArgs>> scale()
        Returns:
        scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.
      • status

        public java.util.Optional<com.pulumi.core.Output<com.google.gson.JsonElement>> status()
        Returns:
        status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.