1. Packages
  2. CockroachDB Cloud
  3. API Docs
  4. VersionDeferral
CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse

cockroach.VersionDeferral

Explore with Pulumi AI

cockroach logo
CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse

    Configure minor version upgrade deferral for a cluster.

    Create VersionDeferral Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VersionDeferral(name: string, args: VersionDeferralArgs, opts?: CustomResourceOptions);
    @overload
    def VersionDeferral(resource_name: str,
                        args: VersionDeferralArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def VersionDeferral(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        deferral_policy: Optional[str] = None)
    func NewVersionDeferral(ctx *Context, name string, args VersionDeferralArgs, opts ...ResourceOption) (*VersionDeferral, error)
    public VersionDeferral(string name, VersionDeferralArgs args, CustomResourceOptions? opts = null)
    public VersionDeferral(String name, VersionDeferralArgs args)
    public VersionDeferral(String name, VersionDeferralArgs args, CustomResourceOptions options)
    
    type: cockroach:VersionDeferral
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VersionDeferralArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VersionDeferralArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VersionDeferralArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VersionDeferralArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VersionDeferralArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var versionDeferralResource = new Cockroach.VersionDeferral("versionDeferralResource", new()
    {
        DeferralPolicy = "string",
    });
    
    example, err := cockroach.NewVersionDeferral(ctx, "versionDeferralResource", &cockroach.VersionDeferralArgs{
    	DeferralPolicy: pulumi.String("string"),
    })
    
    var versionDeferralResource = new VersionDeferral("versionDeferralResource", VersionDeferralArgs.builder()
        .deferralPolicy("string")
        .build());
    
    version_deferral_resource = cockroach.VersionDeferral("versionDeferralResource", deferral_policy="string")
    
    const versionDeferralResource = new cockroach.VersionDeferral("versionDeferralResource", {deferralPolicy: "string"});
    
    type: cockroach:VersionDeferral
    properties:
        deferralPolicy: string
    

    VersionDeferral Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VersionDeferral resource accepts the following input properties:

    DeferralPolicy string
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    DeferralPolicy string
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferralPolicy String
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferralPolicy string
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferral_policy str
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferralPolicy String
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VersionDeferral resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VersionDeferral Resource

    Get an existing VersionDeferral resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VersionDeferralState, opts?: CustomResourceOptions): VersionDeferral
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            deferral_policy: Optional[str] = None) -> VersionDeferral
    func GetVersionDeferral(ctx *Context, name string, id IDInput, state *VersionDeferralState, opts ...ResourceOption) (*VersionDeferral, error)
    public static VersionDeferral Get(string name, Input<string> id, VersionDeferralState? state, CustomResourceOptions? opts = null)
    public static VersionDeferral get(String name, Output<String> id, VersionDeferralState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DeferralPolicy string
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    DeferralPolicy string
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferralPolicy String
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferralPolicy string
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferral_policy str
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.
    deferralPolicy String
    The policy for managing automated minor version upgrades. Set to FIXEDDEFERRAL to defer upgrades by 60 days or NOTDEFERRED to apply upgrades immediately.

    Package Details

    Repository
    cockroach pulumiverse/pulumi-cockroach
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cockroach Terraform Provider.
    cockroach logo
    CockroachDB v0.2.3 published on Monday, May 27, 2024 by pulumiverse