Certificate
Manages an Certificate within an API Management Service.
Create a Certificate Resource
new Certificate(name: string, args: CertificateArgs, opts?: CustomResourceOptions);def Certificate(resource_name, opts=None, api_management_name=None, data=None, name=None, password=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:
- Api
Management stringName The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- Data string
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Name string
The name of the API Management Certificate. Changing this forces a new resource to be created.
- Password string
The password used for this certificate. Changing this forces a new resource to be created.
- Api
Management stringName The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- Data string
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Name string
The name of the API Management Certificate. Changing this forces a new resource to be created.
- Password string
The password used for this certificate. Changing this forces a new resource to be created.
- api
Management stringName The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- data string
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- name string
The name of the API Management Certificate. Changing this forces a new resource to be created.
- password string
The password used for this certificate. Changing this forces a new resource to be created.
- api_
management_ strname The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- data str
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- resource_
group_ strname The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- name str
The name of the API Management Certificate. Changing this forces a new resource to be created.
- password str
The password used for this 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:
- Expiration string
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subject string
The Subject of this Certificate.
- Thumbprint string
The Thumbprint of this Certificate.
- Expiration string
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subject string
The Subject of this Certificate.
- Thumbprint string
The Thumbprint of this Certificate.
- expiration string
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- id string
- The provider-assigned unique ID for this managed resource.
- subject string
The Subject of this Certificate.
- thumbprint string
The Thumbprint of this Certificate.
- expiration str
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- id str
- The provider-assigned unique ID for this managed resource.
- subject str
The Subject of this Certificate.
- thumbprint str
The Thumbprint of this 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, api_management_name=None, data=None, expiration=None, name=None, password=None, resource_group_name=None, subject=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:
- Api
Management stringName The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- Data string
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- Expiration string
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- Name string
The name of the API Management Certificate. Changing this forces a new resource to be created.
- Password string
The password used for this certificate. Changing this forces a new resource to be created.
- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Subject string
The Subject of this Certificate.
- Thumbprint string
The Thumbprint of this Certificate.
- Api
Management stringName The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- Data string
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- Expiration string
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- Name string
The name of the API Management Certificate. Changing this forces a new resource to be created.
- Password string
The password used for this certificate. Changing this forces a new resource to be created.
- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Subject string
The Subject of this Certificate.
- Thumbprint string
The Thumbprint of this Certificate.
- api
Management stringName The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- data string
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- expiration string
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- name string
The name of the API Management Certificate. Changing this forces a new resource to be created.
- password string
The password used for this certificate. Changing this forces a new resource to be created.
- resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- subject string
The Subject of this Certificate.
- thumbprint string
The Thumbprint of this Certificate.
- api_
management_ strname The Name of the API Management Service where this Service should be created. Changing this forces a new resource to be created.
- data str
The base-64 encoded certificate data, which must be a PFX file. Changing this forces a new resource to be created.
- expiration str
The Expiration Date of this Certificate, formatted as an RFC3339 string.
- name str
The name of the API Management Certificate. Changing this forces a new resource to be created.
- password str
The password used for this certificate. Changing this forces a new resource to be created.
- resource_
group_ strname The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- subject str
The Subject of this Certificate.
- thumbprint str
The Thumbprint of this Certificate.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.