1. Packages
  2. Glesys Provider
  3. API Docs
  4. ObjectstorageCredential
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

glesys.ObjectstorageCredential

Explore with Pulumi AI

ObjectStorage Credentials.

Create ObjectstorageCredential Resource

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

Constructor syntax

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

@overload
def ObjectstorageCredential(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            instanceid: Optional[str] = None,
                            description: Optional[str] = None,
                            objectstorage_credential_id: Optional[str] = None)
func NewObjectstorageCredential(ctx *Context, name string, args ObjectstorageCredentialArgs, opts ...ResourceOption) (*ObjectstorageCredential, error)
public ObjectstorageCredential(string name, ObjectstorageCredentialArgs args, CustomResourceOptions? opts = null)
public ObjectstorageCredential(String name, ObjectstorageCredentialArgs args)
public ObjectstorageCredential(String name, ObjectstorageCredentialArgs args, CustomResourceOptions options)
type: glesys:ObjectstorageCredential
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. ObjectstorageCredentialArgs
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. ObjectstorageCredentialArgs
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. ObjectstorageCredentialArgs
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. ObjectstorageCredentialArgs
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. ObjectstorageCredentialArgs
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 objectstorageCredentialResource = new Glesys.ObjectstorageCredential("objectstorageCredentialResource", new()
{
    Instanceid = "string",
    Description = "string",
    ObjectstorageCredentialId = "string",
});
Copy
example, err := glesys.NewObjectstorageCredential(ctx, "objectstorageCredentialResource", &glesys.ObjectstorageCredentialArgs{
Instanceid: pulumi.String("string"),
Description: pulumi.String("string"),
ObjectstorageCredentialId: pulumi.String("string"),
})
Copy
var objectstorageCredentialResource = new ObjectstorageCredential("objectstorageCredentialResource", ObjectstorageCredentialArgs.builder()
    .instanceid("string")
    .description("string")
    .objectstorageCredentialId("string")
    .build());
Copy
objectstorage_credential_resource = glesys.ObjectstorageCredential("objectstorageCredentialResource",
    instanceid="string",
    description="string",
    objectstorage_credential_id="string")
Copy
const objectstorageCredentialResource = new glesys.ObjectstorageCredential("objectstorageCredentialResource", {
    instanceid: "string",
    description: "string",
    objectstorageCredentialId: "string",
});
Copy
type: glesys:ObjectstorageCredential
properties:
    description: string
    instanceid: string
    objectstorageCredentialId: string
Copy

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

Instanceid This property is required. string
Associated ObjectStorage instance.
Description string
ObjectStorage credential description.
ObjectstorageCredentialId string
The ID of this resource.
Instanceid This property is required. string
Associated ObjectStorage instance.
Description string
ObjectStorage credential description.
ObjectstorageCredentialId string
The ID of this resource.
instanceid This property is required. String
Associated ObjectStorage instance.
description String
ObjectStorage credential description.
objectstorageCredentialId String
The ID of this resource.
instanceid This property is required. string
Associated ObjectStorage instance.
description string
ObjectStorage credential description.
objectstorageCredentialId string
The ID of this resource.
instanceid This property is required. str
Associated ObjectStorage instance.
description str
ObjectStorage credential description.
objectstorage_credential_id str
The ID of this resource.
instanceid This property is required. String
Associated ObjectStorage instance.
description String
ObjectStorage credential description.
objectstorageCredentialId String
The ID of this resource.

Outputs

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

Accesskey string
ObjectStorage credential access key.
Created string
ObjectStorage credential created timestamp.
Id string
The provider-assigned unique ID for this managed resource.
Secretkey string
ObjectStorage credential secret key.
Accesskey string
ObjectStorage credential access key.
Created string
ObjectStorage credential created timestamp.
Id string
The provider-assigned unique ID for this managed resource.
Secretkey string
ObjectStorage credential secret key.
accesskey String
ObjectStorage credential access key.
created String
ObjectStorage credential created timestamp.
id String
The provider-assigned unique ID for this managed resource.
secretkey String
ObjectStorage credential secret key.
accesskey string
ObjectStorage credential access key.
created string
ObjectStorage credential created timestamp.
id string
The provider-assigned unique ID for this managed resource.
secretkey string
ObjectStorage credential secret key.
accesskey str
ObjectStorage credential access key.
created str
ObjectStorage credential created timestamp.
id str
The provider-assigned unique ID for this managed resource.
secretkey str
ObjectStorage credential secret key.
accesskey String
ObjectStorage credential access key.
created String
ObjectStorage credential created timestamp.
id String
The provider-assigned unique ID for this managed resource.
secretkey String
ObjectStorage credential secret key.

Look up Existing ObjectstorageCredential Resource

Get an existing ObjectstorageCredential 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?: ObjectstorageCredentialState, opts?: CustomResourceOptions): ObjectstorageCredential
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accesskey: Optional[str] = None,
        created: Optional[str] = None,
        description: Optional[str] = None,
        instanceid: Optional[str] = None,
        objectstorage_credential_id: Optional[str] = None,
        secretkey: Optional[str] = None) -> ObjectstorageCredential
func GetObjectstorageCredential(ctx *Context, name string, id IDInput, state *ObjectstorageCredentialState, opts ...ResourceOption) (*ObjectstorageCredential, error)
public static ObjectstorageCredential Get(string name, Input<string> id, ObjectstorageCredentialState? state, CustomResourceOptions? opts = null)
public static ObjectstorageCredential get(String name, Output<String> id, ObjectstorageCredentialState state, CustomResourceOptions options)
resources:  _:    type: glesys:ObjectstorageCredential    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Accesskey string
ObjectStorage credential access key.
Created string
ObjectStorage credential created timestamp.
Description string
ObjectStorage credential description.
Instanceid string
Associated ObjectStorage instance.
ObjectstorageCredentialId string
The ID of this resource.
Secretkey string
ObjectStorage credential secret key.
Accesskey string
ObjectStorage credential access key.
Created string
ObjectStorage credential created timestamp.
Description string
ObjectStorage credential description.
Instanceid string
Associated ObjectStorage instance.
ObjectstorageCredentialId string
The ID of this resource.
Secretkey string
ObjectStorage credential secret key.
accesskey String
ObjectStorage credential access key.
created String
ObjectStorage credential created timestamp.
description String
ObjectStorage credential description.
instanceid String
Associated ObjectStorage instance.
objectstorageCredentialId String
The ID of this resource.
secretkey String
ObjectStorage credential secret key.
accesskey string
ObjectStorage credential access key.
created string
ObjectStorage credential created timestamp.
description string
ObjectStorage credential description.
instanceid string
Associated ObjectStorage instance.
objectstorageCredentialId string
The ID of this resource.
secretkey string
ObjectStorage credential secret key.
accesskey str
ObjectStorage credential access key.
created str
ObjectStorage credential created timestamp.
description str
ObjectStorage credential description.
instanceid str
Associated ObjectStorage instance.
objectstorage_credential_id str
The ID of this resource.
secretkey str
ObjectStorage credential secret key.
accesskey String
ObjectStorage credential access key.
created String
ObjectStorage credential created timestamp.
description String
ObjectStorage credential description.
instanceid String
Associated ObjectStorage instance.
objectstorageCredentialId String
The ID of this resource.
secretkey String
ObjectStorage credential secret key.

Package Details

Repository
glesys glesys/terraform-provider-glesys
License
Notes
This Pulumi package is based on the glesys Terraform Provider.