1. Registry
  2. Packages
  3. Logzio Provider
  4. API Docs
  5. WarmTier
Viewing docs for logzio 1.30.0
published on Monday, Oct 5, 2026 by logzio
logzio
Viewing docs for logzio 1.30.0
published on Monday, Oct 5, 2026 by logzio

    Create WarmTier Resource

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

    Constructor syntax

    new WarmTier(name: string, args: WarmTierArgs, opts?: CustomResourceOptions);
    @overload
    def WarmTier(resource_name: str,
                 args: WarmTierArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def WarmTier(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 account_id: Optional[float] = None,
                 snap_search_retention_days: Optional[float] = None,
                 warm_tier_id: Optional[str] = None)
    func NewWarmTier(ctx *Context, name string, args WarmTierArgs, opts ...ResourceOption) (*WarmTier, error)
    public WarmTier(string name, WarmTierArgs args, CustomResourceOptions? opts = null)
    public WarmTier(String name, WarmTierArgs args)
    public WarmTier(String name, WarmTierArgs args, CustomResourceOptions options)
    
    type: logzio:WarmTier
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "logzio_warm_tier" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WarmTierArgs
    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 WarmTierArgs
    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 WarmTierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WarmTierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WarmTierArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var warmTierResource = new Logzio.WarmTier("warmTierResource", new()
    {
        AccountId = 0.0,
        SnapSearchRetentionDays = 0.0,
        WarmTierId = "string",
    });
    
    example, err := logzio.NewWarmTier(ctx, "warmTierResource", &logzio.WarmTierArgs{
    	AccountId:               pulumi.Float64(0),
    	SnapSearchRetentionDays: pulumi.Float64(0),
    	WarmTierId:              pulumi.String("string"),
    })
    
    resource "logzio_warm_tier" "warmTierResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_id                 = 0
      snap_search_retention_days = 0
      warm_tier_id               = "string"
    }
    
    var warmTierResource = new WarmTier("warmTierResource", WarmTierArgs.builder()
        .accountId(0.0)
        .snapSearchRetentionDays(0.0)
        .warmTierId("string")
        .build());
    
    warm_tier_resource = logzio.WarmTier("warmTierResource",
        account_id=float(0),
        snap_search_retention_days=float(0),
        warm_tier_id="string")
    
    const warmTierResource = new logzio.WarmTier("warmTierResource", {
        accountId: 0,
        snapSearchRetentionDays: 0,
        warmTierId: "string",
    });
    
    type: logzio:WarmTier
    properties:
        accountId: 0
        snapSearchRetentionDays: 0
        warmTierId: string
    

    WarmTier Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WarmTier resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WarmTier 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 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 WarmTier Resource

    Get an existing WarmTier 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?: WarmTierState, opts?: CustomResourceOptions): WarmTier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[float] = None,
            snap_search_retention_days: Optional[float] = None,
            warm_tier_id: Optional[str] = None) -> WarmTier
    func GetWarmTier(ctx *Context, name string, id IDInput, state *WarmTierState, opts ...ResourceOption) (*WarmTier, error)
    public static WarmTier Get(string name, Input<string> id, WarmTierState? state, CustomResourceOptions? opts = null)
    public static WarmTier get(String name, Output<String> id, WarmTierState state, CustomResourceOptions options)
    resources:  _:    type: logzio:WarmTier    get:      id: ${id}
    import {
      to = logzio_warm_tier.example
      id = "${id}"
    }
    
    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.

    Package Details

    Repository
    logzio logzio/terraform-provider-logzio
    License
    Notes
    This Pulumi package is based on the logzio Terraform Provider.
    logzio
    Viewing docs for logzio 1.30.0
    published on Monday, Oct 5, 2026 by logzio

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial