glesys.ObjectstorageInstance
Explore with Pulumi AI
ObjectStorage Instance Resource.
Create ObjectstorageInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectstorageInstance(name: string, args: ObjectstorageInstanceArgs, opts?: CustomResourceOptions);
@overload
def ObjectstorageInstance(resource_name: str,
args: ObjectstorageInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectstorageInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
datacenter: Optional[str] = None,
description: Optional[str] = None,
objectstorage_instance_id: Optional[str] = None)
func NewObjectstorageInstance(ctx *Context, name string, args ObjectstorageInstanceArgs, opts ...ResourceOption) (*ObjectstorageInstance, error)
public ObjectstorageInstance(string name, ObjectstorageInstanceArgs args, CustomResourceOptions? opts = null)
public ObjectstorageInstance(String name, ObjectstorageInstanceArgs args)
public ObjectstorageInstance(String name, ObjectstorageInstanceArgs args, CustomResourceOptions options)
type: glesys:ObjectstorageInstance
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 ObjectstorageInstanceArgs
- 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 ObjectstorageInstanceArgs
- 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 ObjectstorageInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectstorageInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectstorageInstanceArgs
- 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 objectstorageInstanceResource = new Glesys.ObjectstorageInstance("objectstorageInstanceResource", new()
{
Datacenter = "string",
Description = "string",
ObjectstorageInstanceId = "string",
});
example, err := glesys.NewObjectstorageInstance(ctx, "objectstorageInstanceResource", &glesys.ObjectstorageInstanceArgs{
Datacenter: pulumi.String("string"),
Description: pulumi.String("string"),
ObjectstorageInstanceId: pulumi.String("string"),
})
var objectstorageInstanceResource = new ObjectstorageInstance("objectstorageInstanceResource", ObjectstorageInstanceArgs.builder()
.datacenter("string")
.description("string")
.objectstorageInstanceId("string")
.build());
objectstorage_instance_resource = glesys.ObjectstorageInstance("objectstorageInstanceResource",
datacenter="string",
description="string",
objectstorage_instance_id="string")
const objectstorageInstanceResource = new glesys.ObjectstorageInstance("objectstorageInstanceResource", {
datacenter: "string",
description: "string",
objectstorageInstanceId: "string",
});
type: glesys:ObjectstorageInstance
properties:
datacenter: string
description: string
objectstorageInstanceId: string
ObjectstorageInstance 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 ObjectstorageInstance resource accepts the following input properties:
- Datacenter string
- ObjectStorage location.
- Description string
- ObjectStorage Description.
- Objectstorage
Instance stringId - The ID of this resource.
- Datacenter string
- ObjectStorage location.
- Description string
- ObjectStorage Description.
- Objectstorage
Instance stringId - The ID of this resource.
- datacenter String
- ObjectStorage location.
- description String
- ObjectStorage Description.
- objectstorage
Instance StringId - The ID of this resource.
- datacenter string
- ObjectStorage location.
- description string
- ObjectStorage Description.
- objectstorage
Instance stringId - The ID of this resource.
- datacenter str
- ObjectStorage location.
- description str
- ObjectStorage Description.
- objectstorage_
instance_ strid - The ID of this resource.
- datacenter String
- ObjectStorage location.
- description String
- ObjectStorage Description.
- objectstorage
Instance StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectstorageInstance resource produces the following output properties:
Look up Existing ObjectstorageInstance Resource
Get an existing ObjectstorageInstance 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>, state?: ObjectstorageInstanceState, opts?: CustomResourceOptions): ObjectstorageInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accesskey: Optional[str] = None,
created: Optional[str] = None,
datacenter: Optional[str] = None,
description: Optional[str] = None,
objectstorage_instance_id: Optional[str] = None,
secretkey: Optional[str] = None) -> ObjectstorageInstance
func GetObjectstorageInstance(ctx *Context, name string, id IDInput, state *ObjectstorageInstanceState, opts ...ResourceOption) (*ObjectstorageInstance, error)
public static ObjectstorageInstance Get(string name, Input<string> id, ObjectstorageInstanceState? state, CustomResourceOptions? opts = null)
public static ObjectstorageInstance get(String name, Output<String> id, ObjectstorageInstanceState state, CustomResourceOptions options)
resources: _: type: glesys:ObjectstorageInstance get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accesskey string
- ObjectStorage default access key.
- Created string
- ObjectStorage created timestamp.
- Datacenter string
- ObjectStorage location.
- Description string
- ObjectStorage Description.
- Objectstorage
Instance stringId - The ID of this resource.
- Secretkey string
- ObjectStorage default secret key.
- Accesskey string
- ObjectStorage default access key.
- Created string
- ObjectStorage created timestamp.
- Datacenter string
- ObjectStorage location.
- Description string
- ObjectStorage Description.
- Objectstorage
Instance stringId - The ID of this resource.
- Secretkey string
- ObjectStorage default secret key.
- accesskey String
- ObjectStorage default access key.
- created String
- ObjectStorage created timestamp.
- datacenter String
- ObjectStorage location.
- description String
- ObjectStorage Description.
- objectstorage
Instance StringId - The ID of this resource.
- secretkey String
- ObjectStorage default secret key.
- accesskey string
- ObjectStorage default access key.
- created string
- ObjectStorage created timestamp.
- datacenter string
- ObjectStorage location.
- description string
- ObjectStorage Description.
- objectstorage
Instance stringId - The ID of this resource.
- secretkey string
- ObjectStorage default secret key.
- accesskey str
- ObjectStorage default access key.
- created str
- ObjectStorage created timestamp.
- datacenter str
- ObjectStorage location.
- description str
- ObjectStorage Description.
- objectstorage_
instance_ strid - The ID of this resource.
- secretkey str
- ObjectStorage default secret key.
- accesskey String
- ObjectStorage default access key.
- created String
- ObjectStorage created timestamp.
- datacenter String
- ObjectStorage location.
- description String
- ObjectStorage Description.
- objectstorage
Instance StringId - The ID of this resource.
- secretkey String
- ObjectStorage default secret key.
Package Details
- Repository
- glesys glesys/terraform-provider-glesys
- License
- Notes
- This Pulumi package is based on the
glesys
Terraform Provider.