Class Certificate
f5bigip.ssl.Certificate This resource will import SSL certificates on BIG-IP LTM.
Certificates can be imported from certificate files on the local disk, in PEM format
Example Usage
using System.IO;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
class MyStack : Stack
{
public MyStack()
{
var test_cert = new F5BigIP.Ssl.Certificate("test-cert", new F5BigIP.Ssl.CertificateArgs
{
Name = "servercert.crt",
Content = File.ReadAllText("servercert.crt"),
Partition = "Common",
});
}
}
Inherited Members
Namespace: Pulumi.F5BigIP.Ssl
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Certificate : CustomResource
Constructors
View SourceCertificate(String, CertificateArgs, CustomResourceOptions)
Create a Certificate resource with the given unique name, arguments, and options.
Declaration
public Certificate(string name, CertificateArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CertificateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceContent
Content of certificate on Disk
Declaration
public Output<string> Content { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Name of the SSL Certificate to be Imported on to BIGIP
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Partition
Partition on to SSL Certificate to be imported
Declaration
public Output<string> Partition { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CertificateState, CustomResourceOptions)
Get an existing Certificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Certificate Get(string name, Input<string> id, CertificateState 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. |
| CertificateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Certificate |