published on Wednesday, Aug 19, 2026 by shirasakaren
published on Wednesday, Aug 19, 2026 by shirasakaren
Create NeoliteDisk Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NeoliteDisk(name: string, args: NeoliteDiskArgs, opts?: CustomResourceOptions);@overload
def NeoliteDisk(resource_name: str,
args: NeoliteDiskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NeoliteDisk(resource_name: str,
opts: Optional[ResourceOptions] = None,
cycle: Optional[str] = None,
neolite_account_id: Optional[int] = None,
product_id: Optional[int] = None,
pay_with_credit_card: Optional[bool] = None,
promocode: Optional[str] = None,
service_name: Optional[str] = None,
size: Optional[int] = None)func NewNeoliteDisk(ctx *Context, name string, args NeoliteDiskArgs, opts ...ResourceOption) (*NeoliteDisk, error)public NeoliteDisk(string name, NeoliteDiskArgs args, CustomResourceOptions? opts = null)
public NeoliteDisk(String name, NeoliteDiskArgs args)
public NeoliteDisk(String name, NeoliteDiskArgs args, CustomResourceOptions options)
type: biznetgio:NeoliteDisk
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "biznetgio_neolite_disk" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NeoliteDiskArgs
- 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 NeoliteDiskArgs
- 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 NeoliteDiskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NeoliteDiskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NeoliteDiskArgs
- 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 neoliteDiskResource = new Biznetgio.NeoliteDisk("neoliteDiskResource", new()
{
Cycle = "string",
NeoliteAccountId = 0,
ProductId = 0,
PayWithCreditCard = false,
Promocode = "string",
ServiceName = "string",
Size = 0,
});
example, err := biznetgio.NewNeoliteDisk(ctx, "neoliteDiskResource", &biznetgio.NeoliteDiskArgs{
Cycle: pulumi.String("string"),
NeoliteAccountId: pulumi.Int(0),
ProductId: pulumi.Int(0),
PayWithCreditCard: pulumi.Bool(false),
Promocode: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Size: pulumi.Int(0),
})
resource "biznetgio_neolite_disk" "neoliteDiskResource" {
lifecycle {
create_before_destroy = true
}
cycle = "string"
neolite_account_id = 0
product_id = 0
pay_with_credit_card = false
promocode = "string"
service_name = "string"
size = 0
}
var neoliteDiskResource = new NeoliteDisk("neoliteDiskResource", NeoliteDiskArgs.builder()
.cycle("string")
.neoliteAccountId(0)
.productId(0)
.payWithCreditCard(false)
.promocode("string")
.serviceName("string")
.size(0)
.build());
neolite_disk_resource = biznetgio.NeoliteDisk("neoliteDiskResource",
cycle="string",
neolite_account_id=0,
product_id=0,
pay_with_credit_card=False,
promocode="string",
service_name="string",
size=0)
const neoliteDiskResource = new biznetgio.NeoliteDisk("neoliteDiskResource", {
cycle: "string",
neoliteAccountId: 0,
productId: 0,
payWithCreditCard: false,
promocode: "string",
serviceName: "string",
size: 0,
});
type: biznetgio:NeoliteDisk
properties:
cycle: string
neoliteAccountId: 0
payWithCreditCard: false
productId: 0
promocode: string
serviceName: string
size: 0
NeoliteDisk 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 NeoliteDisk resource accepts the following input properties:
- Cycle string
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- Neolite
Account intId - Account id of the NEO Lite VM the disk is attached to.
- Product
Id int - Disk product id from the
/neolites/disks/productsendpoint. - Pay
With boolCredit Card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- Promocode string
- Promo code to apply at order.
- Service
Name string - Disk service name. Defaults to
service-name. - Size int
- Disk size (GB). Defaults to 60. Can only go up, never down.
- Cycle string
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- Neolite
Account intId - Account id of the NEO Lite VM the disk is attached to.
- Product
Id int - Disk product id from the
/neolites/disks/productsendpoint. - Pay
With boolCredit Card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- Promocode string
- Promo code to apply at order.
- Service
Name string - Disk service name. Defaults to
service-name. - Size int
- Disk size (GB). Defaults to 60. Can only go up, never down.
- cycle string
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- neolite_
account_ numberid - Account id of the NEO Lite VM the disk is attached to.
- product_
id number - Disk product id from the
/neolites/disks/productsendpoint. - pay_
with_ boolcredit_ card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- promocode string
- Promo code to apply at order.
- service_
name string - Disk service name. Defaults to
service-name. - size number
- Disk size (GB). Defaults to 60. Can only go up, never down.
- cycle String
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- neolite
Account IntegerId - Account id of the NEO Lite VM the disk is attached to.
- product
Id Integer - Disk product id from the
/neolites/disks/productsendpoint. - pay
With BooleanCredit Card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- promocode String
- Promo code to apply at order.
- service
Name String - Disk service name. Defaults to
service-name. - size Integer
- Disk size (GB). Defaults to 60. Can only go up, never down.
- cycle string
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- neolite
Account numberId - Account id of the NEO Lite VM the disk is attached to.
- product
Id number - Disk product id from the
/neolites/disks/productsendpoint. - pay
With booleanCredit Card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- promocode string
- Promo code to apply at order.
- service
Name string - Disk service name. Defaults to
service-name. - size number
- Disk size (GB). Defaults to 60. Can only go up, never down.
- cycle str
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- neolite_
account_ intid - Account id of the NEO Lite VM the disk is attached to.
- product_
id int - Disk product id from the
/neolites/disks/productsendpoint. - pay_
with_ boolcredit_ card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- promocode str
- Promo code to apply at order.
- service_
name str - Disk service name. Defaults to
service-name. - size int
- Disk size (GB). Defaults to 60. Can only go up, never down.
- cycle String
- Billing cycle: m monthly, a annual, q quarterly, s semiannual, b biennial, t triennial, p4, p5.
- neolite
Account NumberId - Account id of the NEO Lite VM the disk is attached to.
- product
Id Number - Disk product id from the
/neolites/disks/productsendpoint. - pay
With BooleanCredit Card - Pay the invoice with the registered credit card at order time. Defaults to true (auto-charge); set false to leave it unpaid in the portal until settled.
- promocode String
- Promo code to apply at order.
- service
Name String - Disk service name. Defaults to
service-name. - size Number
- Disk size (GB). Defaults to 60. Can only go up, never down.
Outputs
All input properties are implicitly available as output properties. Additionally, the NeoliteDisk resource produces the following output properties:
Look up Existing NeoliteDisk Resource
Get an existing NeoliteDisk 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>, opts?: CustomResourceOptions): NeoliteDisk@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> NeoliteDiskfunc GetNeoliteDisk(ctx *Context, name string, id IDInput, state *NeoliteDiskState, opts ...ResourceOption) (*NeoliteDisk, error)public static NeoliteDisk Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static NeoliteDisk get(String name, Output<String> id, CustomResourceOptions options)resources: existingNeoliteDisk: type: biznetgio:NeoliteDisk get: id: ${id}import {
to = biznetgio_neolite_disk.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state NeoliteDiskState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- biznetgio github.com/shirasakaren/pulumi-biznetgio
- License
- Apache-2.0
published on Wednesday, Aug 19, 2026 by shirasakaren