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 string
- The unique name of the resource.
- args ObjectstorageCredentialArgs
- 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 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 string
- The unique name of the resource.
- args ObjectstorageCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectstorageCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := glesys.NewObjectstorageCredential(ctx, "objectstorageCredentialResource", &glesys.ObjectstorageCredentialArgs{
Instanceid: pulumi.String("string"),
Description: pulumi.String("string"),
ObjectstorageCredentialId: pulumi.String("string"),
})
var objectstorageCredentialResource = new ObjectstorageCredential("objectstorageCredentialResource", ObjectstorageCredentialArgs.builder()
.instanceid("string")
.description("string")
.objectstorageCredentialId("string")
.build());
objectstorage_credential_resource = glesys.ObjectstorageCredential("objectstorageCredentialResource",
instanceid="string",
description="string",
objectstorage_credential_id="string")
const objectstorageCredentialResource = new glesys.ObjectstorageCredential("objectstorageCredentialResource", {
instanceid: "string",
description: "string",
objectstorageCredentialId: "string",
});
type: glesys:ObjectstorageCredential
properties:
description: string
instanceid: string
objectstorageCredentialId: string
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 string
- Associated ObjectStorage instance.
- Description string
- ObjectStorage credential description.
- Objectstorage
Credential stringId - The ID of this resource.
- Instanceid string
- Associated ObjectStorage instance.
- Description string
- ObjectStorage credential description.
- Objectstorage
Credential stringId - The ID of this resource.
- instanceid String
- Associated ObjectStorage instance.
- description String
- ObjectStorage credential description.
- objectstorage
Credential StringId - The ID of this resource.
- instanceid string
- Associated ObjectStorage instance.
- description string
- ObjectStorage credential description.
- objectstorage
Credential stringId - The ID of this resource.
- instanceid str
- Associated ObjectStorage instance.
- description str
- ObjectStorage credential description.
- objectstorage_
credential_ strid - The ID of this resource.
- instanceid String
- Associated ObjectStorage instance.
- description String
- ObjectStorage credential description.
- objectstorage
Credential StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectstorageCredential resource produces the following output properties:
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
- 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 credential access key.
- Created string
- ObjectStorage credential created timestamp.
- Description string
- ObjectStorage credential description.
- Instanceid string
- Associated ObjectStorage instance.
- Objectstorage
Credential stringId - 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.
- Objectstorage
Credential stringId - 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.
- objectstorage
Credential StringId - 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.
- objectstorage
Credential stringId - 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_ strid - 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.
- objectstorage
Credential StringId - 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.