import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides Nutanix resource to create Storage Containers * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const storage_container = new nutanix.StorageContainersV2("storage-container", { * name: "example-storage-container", * logicalAdvertisedCapacityBytes: 1073741824000, * logicalExplicitReservedCapacityBytes: 32, * replicationFactor: 1, * nfsWhitelistAddresses: [{ * ipv4s: [{ * value: "192.168.15.0", * prefixLength: 32, * }], * }], * erasureCode: "OFF", * isInlineEcEnabled: false, * hasHigherEcFaultDomainPreference: false, * cacheDeduplication: "OFF", * onDiskDedup: "OFF", * isCompressionEnabled: true, * isInternal: false, * isSoftwareEncryptionEnabled: false, * }); * ``` * */ export declare class StorageContainersV2 extends pulumi.CustomResource { /** * Get an existing StorageContainersV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: StorageContainersV2State, opts?: pulumi.CustomResourceOptions): StorageContainersV2; /** * Returns true if the given object is an instance of StorageContainersV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is StorageContainersV2; /** * -(Optional) Affinity host extId for RF 1 Storage Container. */ readonly affinityHostExtId: pulumi.Output; /** * -(Optional) Indicates the current status of Cache Deduplication for the Container. available values: `NONE`, `OFF`, `ON` */ readonly cacheDeduplication: pulumi.Output; /** * - ext id for the cluster owning the storage container. */ readonly clusterExtId: pulumi.Output; /** * - Corresponding name of the Cluster owning the Storage Container instance. */ readonly clusterName: pulumi.Output; /** * -(Optional) The compression delay in seconds. */ readonly compressionDelaySecs: pulumi.Output; /** * - the storage container ext id */ readonly containerExtId: pulumi.Output; /** * -(Optional) Indicates the current status value for Erasure Coding for the Container. available values: `NONE`, `OFF`, `ON` */ readonly erasureCode: pulumi.Output; /** * -(Optional) Delay in performing ErasureCode for the current Container instance. */ readonly erasureCodeDelaySecs: pulumi.Output; /** * - the storage container uuid */ readonly extId: pulumi.Output; /** * -(Optional) Indicates whether to prefer a higher Erasure Code fault domain. */ readonly hasHigherEcFaultDomainPreference: pulumi.Output; readonly ignoreSmallFiles: pulumi.Output; /** * -(Optional) Indicates whether the compression is enabled for the Container. */ readonly isCompressionEnabled: pulumi.Output; /** * - Indicates whether the Container is encrypted or not. */ readonly isEncrypted: pulumi.Output; /** * -(Optional) Indicates whether data written to this container should be inline erasure coded or not. This field is only considered when ErasureCoding is enabled. */ readonly isInlineEcEnabled: pulumi.Output; /** * - Indicates whether the Container is internal and is managed by Nutanix. */ readonly isInternal: pulumi.Output; /** * - Indicates if the Storage Container is marked for removal. This field is set when the Storage Container is about to be destroyed. */ readonly isMarkedForRemoval: pulumi.Output; /** * -(Optional) Indicates whether the Container instance has software encryption enabled. */ readonly isSoftwareEncryptionEnabled: pulumi.Output; /** * - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ readonly links: pulumi.Output; /** * -(Optional) Max capacity of the Container as defined by the user. */ readonly logicalAdvertisedCapacityBytes: pulumi.Output; /** * -(Optional) Total reserved size (in bytes) of the container (set by Admin). This also accounts for the container's replication factor. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity. */ readonly logicalExplicitReservedCapacityBytes: pulumi.Output; /** * - This is the summation of reservations provisioned on all vdisks in the container. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity */ readonly logicalImplicitReservedCapacityBytes: pulumi.Output; /** * - Maximum physical capacity of the Storage Container in bytes. */ readonly maxCapacityBytes: pulumi.Output; /** * -(Required) Name of the storage container. Note that the name of Storage Container should be unique per cluster. */ readonly name: pulumi.Output; /** * -(Optional) List of NFS addresses which need to be whitelisted. */ readonly nfsWhitelistAddresses: pulumi.Output; /** * - Indicates the current status of Disk Deduplication for the Container. available values: `NONE`, `OFF`, `POST_PROCESS` */ readonly onDiskDedup: pulumi.Output; /** * -(Optional) owner ext id */ readonly ownerExtId: pulumi.Output; /** * -(Optional) Replication factor of the Storage Container. */ readonly replicationFactor: pulumi.Output; /** * - extId of the Storage Pool owning the Storage Container instance. */ readonly storagePoolExtId: pulumi.Output; /** * - A globally unique identifier that represents the tenant that owns this entity. */ readonly tenantId: pulumi.Output; /** * Create a StorageContainersV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: StorageContainersV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StorageContainersV2 resources. */ export interface StorageContainersV2State { /** * -(Optional) Affinity host extId for RF 1 Storage Container. */ affinityHostExtId?: pulumi.Input; /** * -(Optional) Indicates the current status of Cache Deduplication for the Container. available values: `NONE`, `OFF`, `ON` */ cacheDeduplication?: pulumi.Input; /** * - ext id for the cluster owning the storage container. */ clusterExtId?: pulumi.Input; /** * - Corresponding name of the Cluster owning the Storage Container instance. */ clusterName?: pulumi.Input; /** * -(Optional) The compression delay in seconds. */ compressionDelaySecs?: pulumi.Input; /** * - the storage container ext id */ containerExtId?: pulumi.Input; /** * -(Optional) Indicates the current status value for Erasure Coding for the Container. available values: `NONE`, `OFF`, `ON` */ erasureCode?: pulumi.Input; /** * -(Optional) Delay in performing ErasureCode for the current Container instance. */ erasureCodeDelaySecs?: pulumi.Input; /** * - the storage container uuid */ extId?: pulumi.Input; /** * -(Optional) Indicates whether to prefer a higher Erasure Code fault domain. */ hasHigherEcFaultDomainPreference?: pulumi.Input; ignoreSmallFiles?: pulumi.Input; /** * -(Optional) Indicates whether the compression is enabled for the Container. */ isCompressionEnabled?: pulumi.Input; /** * - Indicates whether the Container is encrypted or not. */ isEncrypted?: pulumi.Input; /** * -(Optional) Indicates whether data written to this container should be inline erasure coded or not. This field is only considered when ErasureCoding is enabled. */ isInlineEcEnabled?: pulumi.Input; /** * - Indicates whether the Container is internal and is managed by Nutanix. */ isInternal?: pulumi.Input; /** * - Indicates if the Storage Container is marked for removal. This field is set when the Storage Container is about to be destroyed. */ isMarkedForRemoval?: pulumi.Input; /** * -(Optional) Indicates whether the Container instance has software encryption enabled. */ isSoftwareEncryptionEnabled?: pulumi.Input; /** * - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ links?: pulumi.Input[] | undefined>; /** * -(Optional) Max capacity of the Container as defined by the user. */ logicalAdvertisedCapacityBytes?: pulumi.Input; /** * -(Optional) Total reserved size (in bytes) of the container (set by Admin). This also accounts for the container's replication factor. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity. */ logicalExplicitReservedCapacityBytes?: pulumi.Input; /** * - This is the summation of reservations provisioned on all vdisks in the container. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity */ logicalImplicitReservedCapacityBytes?: pulumi.Input; /** * - Maximum physical capacity of the Storage Container in bytes. */ maxCapacityBytes?: pulumi.Input; /** * -(Required) Name of the storage container. Note that the name of Storage Container should be unique per cluster. */ name?: pulumi.Input; /** * -(Optional) List of NFS addresses which need to be whitelisted. */ nfsWhitelistAddresses?: pulumi.Input[] | undefined>; /** * - Indicates the current status of Disk Deduplication for the Container. available values: `NONE`, `OFF`, `POST_PROCESS` */ onDiskDedup?: pulumi.Input; /** * -(Optional) owner ext id */ ownerExtId?: pulumi.Input; /** * -(Optional) Replication factor of the Storage Container. */ replicationFactor?: pulumi.Input; /** * - extId of the Storage Pool owning the Storage Container instance. */ storagePoolExtId?: pulumi.Input; /** * - A globally unique identifier that represents the tenant that owns this entity. */ tenantId?: pulumi.Input; } /** * The set of arguments for constructing a StorageContainersV2 resource. */ export interface StorageContainersV2Args { /** * -(Optional) Affinity host extId for RF 1 Storage Container. */ affinityHostExtId?: pulumi.Input; /** * -(Optional) Indicates the current status of Cache Deduplication for the Container. available values: `NONE`, `OFF`, `ON` */ cacheDeduplication?: pulumi.Input; /** * - ext id for the cluster owning the storage container. */ clusterExtId: pulumi.Input; /** * -(Optional) The compression delay in seconds. */ compressionDelaySecs?: pulumi.Input; /** * - the storage container ext id */ containerExtId?: pulumi.Input; /** * -(Optional) Indicates the current status value for Erasure Coding for the Container. available values: `NONE`, `OFF`, `ON` */ erasureCode?: pulumi.Input; /** * -(Optional) Delay in performing ErasureCode for the current Container instance. */ erasureCodeDelaySecs?: pulumi.Input; /** * - the storage container uuid */ extId?: pulumi.Input; /** * -(Optional) Indicates whether to prefer a higher Erasure Code fault domain. */ hasHigherEcFaultDomainPreference?: pulumi.Input; ignoreSmallFiles?: pulumi.Input; /** * -(Optional) Indicates whether the compression is enabled for the Container. */ isCompressionEnabled?: pulumi.Input; /** * -(Optional) Indicates whether data written to this container should be inline erasure coded or not. This field is only considered when ErasureCoding is enabled. */ isInlineEcEnabled?: pulumi.Input; /** * - Indicates whether the Container is internal and is managed by Nutanix. */ isInternal?: pulumi.Input; /** * -(Optional) Indicates whether the Container instance has software encryption enabled. */ isSoftwareEncryptionEnabled?: pulumi.Input; /** * -(Optional) Max capacity of the Container as defined by the user. */ logicalAdvertisedCapacityBytes?: pulumi.Input; /** * -(Optional) Total reserved size (in bytes) of the container (set by Admin). This also accounts for the container's replication factor. The actual reserved capacity of the container will be the maximum of explicitReservedCapacity and implicitReservedCapacity. */ logicalExplicitReservedCapacityBytes?: pulumi.Input; /** * -(Required) Name of the storage container. Note that the name of Storage Container should be unique per cluster. */ name?: pulumi.Input; /** * -(Optional) List of NFS addresses which need to be whitelisted. */ nfsWhitelistAddresses?: pulumi.Input[] | undefined>; /** * - Indicates the current status of Disk Deduplication for the Container. available values: `NONE`, `OFF`, `POST_PROCESS` */ onDiskDedup?: pulumi.Input; /** * -(Optional) owner ext id */ ownerExtId?: pulumi.Input; /** * -(Optional) Replication factor of the Storage Container. */ replicationFactor?: pulumi.Input; } //# sourceMappingURL=storageContainersV2.d.ts.map