refreshPolicy property

Input<String?>? refreshPolicy
final

Controls when the subscription is automatically refreshed by the provider.

  • ON_READ: Default value if not specified. The subscription will be refreshed every time Terraform performs a read operation (e.g., pulumi preview, pulumi up, terraform refresh). This ensures the state is always up-to-date.
  • ON_STALE: The subscription will only be refreshed when its reported state (an output-only field from the API) is STATE_STALE during a Terraform read operation.
  • NEVER: The provider will not automatically refresh the subscription.

Implementation

final pulumi.Input<String?>? refreshPolicy;