1. Registry
  2. Packages
  3. BiznetGIO
  4. API Docs
  5. ObjectStorage
Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren
biznetgio logo
Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren

    Create ObjectStorage Resource

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

    Constructor syntax

    new ObjectStorage(name: string, args: ObjectStorageArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectStorage(resource_name: str,
                      args: ObjectStorageArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectStorage(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cycle: Optional[str] = None,
                      label: Optional[str] = None,
                      product_id: Optional[int] = None,
                      pay_with_credit_card: Optional[bool] = None,
                      promocode: Optional[str] = None,
                      quota: Optional[int] = None)
    func NewObjectStorage(ctx *Context, name string, args ObjectStorageArgs, opts ...ResourceOption) (*ObjectStorage, error)
    public ObjectStorage(string name, ObjectStorageArgs args, CustomResourceOptions? opts = null)
    public ObjectStorage(String name, ObjectStorageArgs args)
    public ObjectStorage(String name, ObjectStorageArgs args, CustomResourceOptions options)
    
    type: biznetgio:ObjectStorage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "biznetgio_object_storage" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ObjectStorageArgs
    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 ObjectStorageArgs
    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 ObjectStorageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectStorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectStorageArgs
    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 objectStorageResource = new Biznetgio.ObjectStorage("objectStorageResource", new()
    {
        Cycle = "string",
        Label = "string",
        ProductId = 0,
        PayWithCreditCard = false,
        Promocode = "string",
        Quota = 0,
    });
    
    example, err := biznetgio.NewObjectStorage(ctx, "objectStorageResource", &biznetgio.ObjectStorageArgs{
    	Cycle:             pulumi.String("string"),
    	Label:             pulumi.String("string"),
    	ProductId:         pulumi.Int(0),
    	PayWithCreditCard: pulumi.Bool(false),
    	Promocode:         pulumi.String("string"),
    	Quota:             pulumi.Int(0),
    })
    
    resource "biznetgio_object_storage" "objectStorageResource" {
      pulumi {
        replace_on_changes = [label, promocode]
      }
      lifecycle {
        create_before_destroy = true
      }
      cycle                = "string"
      label                = "string"
      product_id           = 0
      pay_with_credit_card = false
      promocode            = "string"
      quota                = 0
    }
    
    var objectStorageResource = new ObjectStorage("objectStorageResource", ObjectStorageArgs.builder()
        .cycle("string")
        .label("string")
        .productId(0)
        .payWithCreditCard(false)
        .promocode("string")
        .quota(0)
        .build());
    
    object_storage_resource = biznetgio.ObjectStorage("objectStorageResource",
        cycle="string",
        label="string",
        product_id=0,
        pay_with_credit_card=False,
        promocode="string",
        quota=0)
    
    const objectStorageResource = new biznetgio.ObjectStorage("objectStorageResource", {
        cycle: "string",
        label: "string",
        productId: 0,
        payWithCreditCard: false,
        promocode: "string",
        quota: 0,
    });
    
    type: biznetgio:ObjectStorage
    properties:
        cycle: string
        label: string
        payWithCreditCard: false
        productId: 0
        promocode: string
        quota: 0
    

    ObjectStorage 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 ObjectStorage resource accepts the following input properties:

    Cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    Label string
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    ProductId int
    Object storage product/plan id.
    PayWithCreditCard bool
    Pay the invoice with the registered credit card. Defaults to true.
    Promocode string
    Promo code to apply at creation. Create-only.
    Quota int
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).
    Cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    Label string
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    ProductId int
    Object storage product/plan id.
    PayWithCreditCard bool
    Pay the invoice with the registered credit card. Defaults to true.
    Promocode string
    Promo code to apply at creation. Create-only.
    Quota int
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).
    cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    label string
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    product_id number
    Object storage product/plan id.
    pay_with_credit_card bool
    Pay the invoice with the registered credit card. Defaults to true.
    promocode string
    Promo code to apply at creation. Create-only.
    quota number
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).
    cycle String
    Billing cycle, e.g. m for monthly or a for annual.
    label String
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    productId Integer
    Object storage product/plan id.
    payWithCreditCard Boolean
    Pay the invoice with the registered credit card. Defaults to true.
    promocode String
    Promo code to apply at creation. Create-only.
    quota Integer
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).
    cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    label string
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    productId number
    Object storage product/plan id.
    payWithCreditCard boolean
    Pay the invoice with the registered credit card. Defaults to true.
    promocode string
    Promo code to apply at creation. Create-only.
    quota number
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).
    cycle str
    Billing cycle, e.g. m for monthly or a for annual.
    label str
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    product_id int
    Object storage product/plan id.
    pay_with_credit_card bool
    Pay the invoice with the registered credit card. Defaults to true.
    promocode str
    Promo code to apply at creation. Create-only.
    quota int
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).
    cycle String
    Billing cycle, e.g. m for monthly or a for annual.
    label String
    Instance label, 6-16 chars, [a-zA-Z0-9-_]. Create-only, changing it replaces the instance.
    productId Number
    Object storage product/plan id.
    payWithCreditCard Boolean
    Pay the invoice with the registered credit card. Defaults to true.
    promocode String
    Promo code to apply at creation. Create-only.
    quota Number
    Quota in GB. Defaults to 10. Can only be increased (counted as an add-on to the previous quota).

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    OrderId string
    Order id from the creation response.
    Raw string
    Raw JSON of the last read response, for anything not modeled yet.
    Status string
    Current status of the instance: Active, Pending, Suspended, or Terminated.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrderId string
    Order id from the creation response.
    Raw string
    Raw JSON of the last read response, for anything not modeled yet.
    Status string
    Current status of the instance: Active, Pending, Suspended, or Terminated.
    id string
    The provider-assigned unique ID for this managed resource.
    order_id string
    Order id from the creation response.
    raw string
    Raw JSON of the last read response, for anything not modeled yet.
    status string
    Current status of the instance: Active, Pending, Suspended, or Terminated.
    id String
    The provider-assigned unique ID for this managed resource.
    orderId String
    Order id from the creation response.
    raw String
    Raw JSON of the last read response, for anything not modeled yet.
    status String
    Current status of the instance: Active, Pending, Suspended, or Terminated.
    id string
    The provider-assigned unique ID for this managed resource.
    orderId string
    Order id from the creation response.
    raw string
    Raw JSON of the last read response, for anything not modeled yet.
    status string
    Current status of the instance: Active, Pending, Suspended, or Terminated.
    id str
    The provider-assigned unique ID for this managed resource.
    order_id str
    Order id from the creation response.
    raw str
    Raw JSON of the last read response, for anything not modeled yet.
    status str
    Current status of the instance: Active, Pending, Suspended, or Terminated.
    id String
    The provider-assigned unique ID for this managed resource.
    orderId String
    Order id from the creation response.
    raw String
    Raw JSON of the last read response, for anything not modeled yet.
    status String
    Current status of the instance: Active, Pending, Suspended, or Terminated.

    Package Details

    Repository
    biznetgio github.com/shirasakaren/pulumi-biznetgio
    License
    Apache-2.0
    biznetgio logo
    Viewing docs for Pulumi BiznetGIO Provider v0.1.7
    published on Wednesday, Aug 19, 2026 by shirasakaren

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial