Certificate

Manages a certificate in an Azure Batch account.

Create a Certificate Resource

def Certificate(resource_name, opts=None, account_name=None, certificate=None, format=None, password=None, resource_group_name=None, thumbprint=None, thumbprint_algorithm=None, __props__=None);
func NewCertificate(ctx *Context, name string, args CertificateArgs, opts ...ResourceOption) (*Certificate, error)
public Certificate(string name, CertificateArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args CertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Certificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Certificate resource accepts the following input properties:

AccountName string

Specifies the name of the Batch account. Changing this forces a new resource to be created.

BatchCertificate string

The base64-encoded contents of the certificate.

Format string

The format of the certificate. Possible values are Cer or Pfx.

ResourceGroupName string

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

Thumbprint string

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

ThumbprintAlgorithm string
Password string

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

AccountName string

Specifies the name of the Batch account. Changing this forces a new resource to be created.

Certificate string

The base64-encoded contents of the certificate.

Format string

The format of the certificate. Possible values are Cer or Pfx.

ResourceGroupName string

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

Thumbprint string

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

ThumbprintAlgorithm string
Password string

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

accountName string

Specifies the name of the Batch account. Changing this forces a new resource to be created.

certificate string

The base64-encoded contents of the certificate.

format string

The format of the certificate. Possible values are Cer or Pfx.

resourceGroupName string

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

thumbprint string

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

thumbprintAlgorithm string
password string

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

account_name str

Specifies the name of the Batch account. Changing this forces a new resource to be created.

certificate str

The base64-encoded contents of the certificate.

format str

The format of the certificate. Possible values are Cer or Pfx.

resource_group_name str

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

thumbprint str

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

thumbprint_algorithm str
password str

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

Outputs

All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string

The generated name of the certificate.

PublicData string

The public key of the certificate.

Id string
The provider-assigned unique ID for this managed resource.
Name string

The generated name of the certificate.

PublicData string

The public key of the certificate.

id string
The provider-assigned unique ID for this managed resource.
name string

The generated name of the certificate.

publicData string

The public key of the certificate.

id str
The provider-assigned unique ID for this managed resource.
name str

The generated name of the certificate.

public_data str

The public key of the certificate.

Look up an Existing Certificate Resource

Get an existing Certificate 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?: CertificateState, opts?: CustomResourceOptions): Certificate
static get(resource_name, id, opts=None, account_name=None, certificate=None, format=None, name=None, password=None, public_data=None, resource_group_name=None, thumbprint=None, thumbprint_algorithm=None, __props__=None);
func GetCertificate(ctx *Context, name string, id IDInput, state *CertificateState, opts ...ResourceOption) (*Certificate, error)
public static Certificate Get(string name, Input<string> id, CertificateState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AccountName string

Specifies the name of the Batch account. Changing this forces a new resource to be created.

BatchCertificate string

The base64-encoded contents of the certificate.

Format string

The format of the certificate. Possible values are Cer or Pfx.

Name string

The generated name of the certificate.

Password string

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

PublicData string

The public key of the certificate.

ResourceGroupName string

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

Thumbprint string

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

ThumbprintAlgorithm string
AccountName string

Specifies the name of the Batch account. Changing this forces a new resource to be created.

Certificate string

The base64-encoded contents of the certificate.

Format string

The format of the certificate. Possible values are Cer or Pfx.

Name string

The generated name of the certificate.

Password string

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

PublicData string

The public key of the certificate.

ResourceGroupName string

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

Thumbprint string

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

ThumbprintAlgorithm string
accountName string

Specifies the name of the Batch account. Changing this forces a new resource to be created.

certificate string

The base64-encoded contents of the certificate.

format string

The format of the certificate. Possible values are Cer or Pfx.

name string

The generated name of the certificate.

password string

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

publicData string

The public key of the certificate.

resourceGroupName string

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

thumbprint string

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

thumbprintAlgorithm string
account_name str

Specifies the name of the Batch account. Changing this forces a new resource to be created.

certificate str

The base64-encoded contents of the certificate.

format str

The format of the certificate. Possible values are Cer or Pfx.

name str

The generated name of the certificate.

password str

The password to access the certificate’s private key. This must and can only be specified when format is Pfx.

public_data str

The public key of the certificate.

resource_group_name str

The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.

thumbprint str

The thumbprint of the certificate. At this time the only supported value is ‘SHA1’.

thumbprint_algorithm str

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.