Class Certificate
Manages a certificate in an Azure Batch account.
Inherited Members
Namespace: Pulumi.Azure.Batch
Assembly: Pulumi.Azure.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 SourceAccountName
Specifies the name of the Batch account. Changing this forces a new resource to be created.
Declaration
public Output<string> AccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
BatchCertificate
The base64-encoded contents of the certificate.
Declaration
public Output<string> BatchCertificate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Format
The format of the certificate. Possible values are Cer or Pfx.
Declaration
public Output<string> Format { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The generated name of the certificate.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Password
The password to access the certificate's private key. This must and can only be specified when format is Pfx.
Declaration
public Output<string> Password { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PublicData
The public key of the certificate.
Declaration
public Output<string> PublicData { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Thumbprint
The thumbprint of the certificate. At this time the only supported value is 'SHA1'.
Declaration
public Output<string> Thumbprint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ThumbprintAlgorithm
Declaration
public Output<string> ThumbprintAlgorithm { 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 |