Class IotHubCertificate
Manages an IotHub Device Provisioning Service Certificate.
Inherited Members
Namespace: Pulumi.Azure.Iot
Assembly: Pulumi.Azure.dll
Syntax
public class IotHubCertificate : CustomResource
Constructors
View SourceIotHubCertificate(String, IotHubCertificateArgs, CustomResourceOptions)
Create a IotHubCertificate resource with the given unique name, arguments, and options.
Declaration
public IotHubCertificate(string name, IotHubCertificateArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| IotHubCertificateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCertificateContent
The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
Declaration
public Output<string> CertificateContent { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IotDpsName
The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.
Declaration
public Output<string> IotDpsName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group under which the Iot Device Provisioning Service Certificate resource has to be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, IotHubCertificateState, CustomResourceOptions)
Get an existing IotHubCertificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static IotHubCertificate Get(string name, Input<string> id, IotHubCertificateState 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. |
| IotHubCertificateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| IotHubCertificate |