IotHubCertificate

Manages an IotHub Device Provisioning Service Certificate.

Create a IotHubCertificate Resource

def IotHubCertificate(resource_name, opts=None, certificate_content=None, iot_dps_name=None, name=None, resource_group_name=None, __props__=None);
name string
The unique name of the resource.
args IotHubCertificateArgs
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 IotHubCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IotHubCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

IotHubCertificate Resource Properties

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

Inputs

The IotHubCertificate resource accepts the following input properties:

CertificateContent string

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

IotDpsName string

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

ResourceGroupName string

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.

Name string

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

CertificateContent string

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

IotDpsName string

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

ResourceGroupName string

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.

Name string

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

certificateContent string

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

iotDpsName string

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

resourceGroupName string

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.

name string

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

certificate_content str

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

iot_dps_name str

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

resource_group_name str

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.

name str

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

Outputs

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

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

Look up an Existing IotHubCertificate Resource

Get an existing IotHubCertificate 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?: IotHubCertificateState, opts?: CustomResourceOptions): IotHubCertificate
static get(resource_name, id, opts=None, certificate_content=None, iot_dps_name=None, name=None, resource_group_name=None, __props__=None);
func GetIotHubCertificate(ctx *Context, name string, id IDInput, state *IotHubCertificateState, opts ...ResourceOption) (*IotHubCertificate, error)
public static IotHubCertificate Get(string name, Input<string> id, IotHubCertificateState? 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:

CertificateContent string

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

IotDpsName string

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

Name string

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

ResourceGroupName string

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.

CertificateContent string

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

IotDpsName string

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

Name string

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

ResourceGroupName string

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.

certificateContent string

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

iotDpsName string

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

name string

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

resourceGroupName string

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.

certificate_content str

The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.

iot_dps_name str

The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created.

name str

Specifies the name of the Iot Device Provisioning Service Certificate resource. Changing this forces a new resource to be created.

resource_group_name str

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.

Package Details

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