1. Packages
  2. RunPod
  3. API Docs
  4. NetworkStorage
Runpod v1.3.1 published on Tuesday, Jun 18, 2024 by Runpod

runpod.NetworkStorage

Explore with Pulumi AI

runpod logo
Runpod v1.3.1 published on Tuesday, Jun 18, 2024 by Runpod

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

    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

    The NetworkStorage resource accepts the following input properties:

    DataCenterId string
    Name string
    Size int
    DataCenterId string
    Name string
    Size int
    dataCenterId String
    name String
    size Integer
    dataCenterId string
    name string
    size number
    dataCenterId String
    name String
    size 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 string
    Location string
    Name string
    StorageSupport bool
    Id string
    Location string
    Name string
    StorageSupport bool
    id String
    location String
    name String
    storageSupport Boolean
    id string
    location string
    name string
    storageSupport boolean
    id String
    location String
    name String
    storageSupport Boolean

    NetworkStorage, NetworkStorageArgs

    dataCenter DataCenter
    dataCenterId String
    id String
    name String
    size Integer
    dataCenter DataCenter
    dataCenterId string
    id string
    name string
    size number

    Package Details

    Repository
    runpod runpod/pulumi-runpod-native
    License
    Apache-2.0
    runpod logo
    Runpod v1.3.1 published on Tuesday, Jun 18, 2024 by Runpod