Runpod v1.3.1 published on Tuesday, Jun 18, 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 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:
- Data
Center stringId - Name string
- Size int
- Data
Center stringId - Name string
- Size int
- data
Center StringId - name String
- size Integer
- data
Center stringId - name string
- size number
- data_
center_ strid - name str
- size int
- data
Center StringId - 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.
- Network
Storage RunpodInfra. Runpod. Outputs. Network Storage
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Storage NetworkStorage Type
- id String
- The provider-assigned unique ID for this managed resource.
- network
Storage NetworkStorage
- id string
- The provider-assigned unique ID for this managed resource.
- network
Storage 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.
- network
Storage Property Map
Supporting Types
DataCenter, DataCenterArgs
- Id string
- Location string
- Name string
- Storage
Support bool
- Id string
- Location string
- Name string
- Storage
Support bool
- id String
- location String
- name String
- storage
Support Boolean
- id string
- location string
- name string
- storage
Support boolean
- id str
- location str
- name str
- storage_
support bool
- id String
- location String
- name String
- storage
Support Boolean
NetworkStorage, NetworkStorageArgs
- Data
Center RunpodInfra. Runpod. Inputs. Data Center - Data
Center stringId - Id string
- Name string
- Size int
- Data
Center DataCenter - Data
Center stringId - Id string
- Name string
- Size int
- data
Center DataCenter - data
Center StringId - id String
- name String
- size Integer
- data
Center DataCenter - data
Center stringId - id string
- name string
- size number
- data_
center DataCenter - data_
center_ strid - id str
- name str
- size int
- data
Center Property Map - data
Center StringId - id String
- name String
- size Number
Package Details
- Repository
- runpod runpod/pulumi-runpod-native
- License
- Apache-2.0