1. Packages
  2. RunPod
  3. API Docs
  4. NetworkStorage
Runpod v1.9.99 published on Wednesday, Jul 3, 2024 by Runpod

runpod.NetworkStorage

Explore with Pulumi AI

Create NetworkStorage Resource

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

Constructor syntax

new NetworkStorage(name: string, args: NetworkStorageArgs, opts?: CustomResourceOptions);
@overload
def NetworkStorage(resource_name: str,
                   args: NetworkStorageArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def NetworkStorage(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   data_center_id: Optional[str] = None,
                   name: Optional[str] = None,
                   size: Optional[int] = None)
func NewNetworkStorage(ctx *Context, name string, args NetworkStorageArgs, opts ...ResourceOption) (*NetworkStorage, error)
public NetworkStorage(string name, NetworkStorageArgs args, CustomResourceOptions? opts = null)
public NetworkStorage(String name, NetworkStorageArgs args)
public NetworkStorage(String name, NetworkStorageArgs args, CustomResourceOptions options)
type: runpod:NetworkStorage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkStorageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkStorageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkStorageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkStorageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkStorageArgs
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 networkStorageResource = new Runpod.NetworkStorage("networkStorageResource", new()
{
    DataCenterId = "string",
    Name = "string",
    Size = 0,
});
Copy
example, err := runpod.NewNetworkStorage(ctx, "networkStorageResource", &runpod.NetworkStorageArgs{
	DataCenterId: pulumi.String("string"),
	Name:         pulumi.String("string"),
	Size:         pulumi.Int(0),
})
Copy
var networkStorageResource = new NetworkStorage("networkStorageResource", NetworkStorageArgs.builder()
    .dataCenterId("string")
    .name("string")
    .size(0)
    .build());
Copy
network_storage_resource = runpod.NetworkStorage("networkStorageResource",
    data_center_id="string",
    name="string",
    size=0)
Copy
const networkStorageResource = new runpod.NetworkStorage("networkStorageResource", {
    dataCenterId: "string",
    name: "string",
    size: 0,
});
Copy
type: runpod:NetworkStorage
properties:
    dataCenterId: string
    name: string
    size: 0
Copy

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

DataCenterId This property is required. string
Name This property is required. string
Size This property is required. int
DataCenterId This property is required. string
Name This property is required. string
Size This property is required. int
dataCenterId This property is required. String
name This property is required. String
size This property is required. Integer
dataCenterId This property is required. string
name This property is required. string
size This property is required. number
data_center_id This property is required. str
name This property is required. str
size This property is required. int
dataCenterId This property is required. String
name This property is required. String
size This property is required. Number

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
NetworkStorage RunpodInfra.Runpod.Outputs.NetworkStorage
Id string
The provider-assigned unique ID for this managed resource.
NetworkStorage NetworkStorageType
id String
The provider-assigned unique ID for this managed resource.
networkStorage NetworkStorage
id string
The provider-assigned unique ID for this managed resource.
networkStorage NetworkStorage
id str
The provider-assigned unique ID for this managed resource.
network_storage NetworkStorage
id String
The provider-assigned unique ID for this managed resource.
networkStorage Property Map

Supporting Types

DataCenter
, DataCenterArgs

Id This property is required. string
Location This property is required. string
Name This property is required. string
StorageSupport This property is required. bool
Id This property is required. string
Location This property is required. string
Name This property is required. string
StorageSupport This property is required. bool
id This property is required. String
location This property is required. String
name This property is required. String
storageSupport This property is required. Boolean
id This property is required. string
location This property is required. string
name This property is required. string
storageSupport This property is required. boolean
id This property is required. str
location This property is required. str
name This property is required. str
storage_support This property is required. bool
id This property is required. String
location This property is required. String
name This property is required. String
storageSupport This property is required. Boolean

NetworkStorage
, NetworkStorageArgs

DataCenter This property is required. RunpodInfra.Runpod.Inputs.DataCenter
DataCenterId This property is required. string
Id This property is required. string
Name This property is required. string
Size This property is required. int
DataCenter This property is required. DataCenter
DataCenterId This property is required. string
Id This property is required. string
Name This property is required. string
Size This property is required. int
dataCenter This property is required. DataCenter
dataCenterId This property is required. String
id This property is required. String
name This property is required. String
size This property is required. Integer
dataCenter This property is required. DataCenter
dataCenterId This property is required. string
id This property is required. string
name This property is required. string
size This property is required. number
data_center This property is required. DataCenter
data_center_id This property is required. str
id This property is required. str
name This property is required. str
size This property is required. int
dataCenter This property is required. Property Map
dataCenterId This property is required. String
id This property is required. String
name This property is required. String
size This property is required. Number

Package Details

Repository
runpod runpod/pulumi-runpod-native
License
Apache-2.0