Class OrderV1
Manages a V1 Barbican order resource within OpenStack.
Example Usage
Symmetric key order
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var order1 = new OpenStack.KeyManager.OrderV1("order1", new OpenStack.KeyManager.OrderV1Args
{
Meta = new OpenStack.KeyManager.Inputs.OrderV1MetaArgs
{
Algorithm = "aes",
BitLength = 256,
Mode = "cbc",
Name = "mysecret",
},
Type = "key",
});
}
}
Asymmetric key pair order
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var order1 = new OpenStack.KeyManager.OrderV1("order1", new OpenStack.KeyManager.OrderV1Args
{
Meta = new OpenStack.KeyManager.Inputs.OrderV1MetaArgs
{
Algorithm = "rsa",
BitLength = 4096,
Name = "mysecret",
},
Type = "asymmetric",
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.KeyManager
Assembly: Pulumi.OpenStack.dll
Syntax
public class OrderV1 : CustomResource
Constructors
View SourceOrderV1(String, OrderV1Args, CustomResourceOptions)
Create a OrderV1 resource with the given unique name, arguments, and options.
Declaration
public OrderV1(string name, OrderV1Args args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OrderV1Args | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceContainerRef
The container reference / where to find the container.
Declaration
public Output<string> ContainerRef { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Created
The date the order was created.
Declaration
public Output<string> Created { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CreatorId
The creator of the order.
Declaration
public Output<string> CreatorId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Meta
Dictionary containing the order metadata used to generate the order. The structure is described below.
Declaration
public Output<OrderV1Meta> Meta { get; }
Property Value
| Type | Description |
|---|---|
| Output<OrderV1Meta> |
OrderRef
The order reference / where to find the order.
Declaration
public Output<string> OrderRef { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region in which to obtain the V1 KeyManager client.
A KeyManager client is needed to create a order. If omitted, the
region argument of the provider is used. Changing this creates a new
V1 order.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecretRef
The secret reference / where to find the secret.
Declaration
public Output<string> SecretRef { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Status
The status of the order.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SubStatus
The sub status of the order.
Declaration
public Output<string> SubStatus { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SubStatusMessage
The sub status message of the order.
Declaration
public Output<string> SubStatusMessage { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Type
The type of key to be generated. Must be one of asymmetric, key.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Updated
The date the order was last updated.
Declaration
public Output<string> Updated { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OrderV1State, CustomResourceOptions)
Get an existing OrderV1 resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static OrderV1 Get(string name, Input<string> id, OrderV1State state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| OrderV1State | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| OrderV1 |