Certificate
Manages an Automation Certificate.
Create a Certificate Resource
new Certificate(name: string, args: CertificateArgs, opts?: CustomResourceOptions);def Certificate(resource_name, opts=None, automation_account_name=None, base64=None, description=None, name=None, resource_group_name=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:
- Automation
Account stringName The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- Base64 string
Base64 encoded value of the certificate.
- Resource
Group stringName The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- Description string
The description of this Automation Certificate.
- Name string
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- Automation
Account stringName The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- Base64 string
Base64 encoded value of the certificate.
- Resource
Group stringName The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- Description string
The description of this Automation Certificate.
- Name string
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- automation
Account stringName The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- base64 string
Base64 encoded value of the certificate.
- resource
Group stringName The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- description string
The description of this Automation Certificate.
- name string
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- automation_
account_ strname The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- base64 str
Base64 encoded value of the certificate.
- resource_
group_ strname The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- description str
The description of this Automation Certificate.
- name str
Specifies the name of the Certificate. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:
- Exportable bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Thumbprint string
The thumbprint for the certificate.
- Exportable bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Thumbprint string
The thumbprint for the certificate.
- exportable boolean
- id string
- The provider-assigned unique ID for this managed resource.
- thumbprint string
The thumbprint for the certificate.
- exportable bool
- id str
- The provider-assigned unique ID for this managed resource.
- thumbprint str
The thumbprint for 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): Certificatestatic get(resource_name, id, opts=None, automation_account_name=None, base64=None, description=None, exportable=None, name=None, resource_group_name=None, thumbprint=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:
- Automation
Account stringName The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- Base64 string
Base64 encoded value of the certificate.
- Description string
The description of this Automation Certificate.
- Exportable bool
- Name string
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- Thumbprint string
The thumbprint for the certificate.
- Automation
Account stringName The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- Base64 string
Base64 encoded value of the certificate.
- Description string
The description of this Automation Certificate.
- Exportable bool
- Name string
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- Thumbprint string
The thumbprint for the certificate.
- automation
Account stringName The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- base64 string
Base64 encoded value of the certificate.
- description string
The description of this Automation Certificate.
- exportable boolean
- name string
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- thumbprint string
The thumbprint for the certificate.
- automation_
account_ strname The name of the automation account in which the Certificate is created. Changing this forces a new resource to be created.
- base64 str
Base64 encoded value of the certificate.
- description str
The description of this Automation Certificate.
- exportable bool
- name str
Specifies the name of the Certificate. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which the Certificate is created. Changing this forces a new resource to be created.
- thumbprint str
The thumbprint for the certificate.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.