Show / Hide Table of Contents

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
OrderV1
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.KeyManager
Assembly: Pulumi.OpenStack.dll
Syntax
public class OrderV1 : CustomResource

Constructors

View Source

OrderV1(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 Source

ContainerRef

The container reference / where to find the container.

Declaration
public Output<string> ContainerRef { get; }
Property Value
Type Description
Output<System.String>
View Source

Created

The date the order was created.

Declaration
public Output<string> Created { get; }
Property Value
Type Description
Output<System.String>
View Source

CreatorId

The creator of the order.

Declaration
public Output<string> CreatorId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

OrderRef

The order reference / where to find the order.

Declaration
public Output<string> OrderRef { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

SecretRef

The secret reference / where to find the secret.

Declaration
public Output<string> SecretRef { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

The status of the order.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

SubStatus

The sub status of the order.

Declaration
public Output<string> SubStatus { get; }
Property Value
Type Description
Output<System.String>
View Source

SubStatusMessage

The sub status message of the order.

Declaration
public Output<string> SubStatusMessage { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

Updated

The date the order was last updated.

Declaration
public Output<string> Updated { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.