IotHubCertificate
Manages an IotHub Device Provisioning Service Certificate.
Create a IotHubCertificate Resource
new IotHubCertificate(name: string, args: IotHubCertificateArgs, opts?: CustomResourceOptions);def IotHubCertificate(resource_name, opts=None, certificate_content=None, iot_dps_name=None, name=None, resource_group_name=None, __props__=None);func NewIotHubCertificate(ctx *Context, name string, args IotHubCertificateArgs, opts ...ResourceOption) (*IotHubCertificate, error)public IotHubCertificate(string name, IotHubCertificateArgs args, CustomResourceOptions? opts = null)- 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:
- Certificate
Content string The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
- Iot
Dps stringName 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 stringName 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 string The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
- Iot
Dps stringName 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 stringName 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 string The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
- iot
Dps stringName 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 stringName 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_ strname 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_ strname 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:
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): IotHubCertificatestatic 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:
- Certificate
Content string The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
- Iot
Dps stringName 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.
- Resource
Group stringName 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 string The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
- Iot
Dps stringName 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.
- Resource
Group stringName 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 string The Base-64 representation of the X509 leaf certificate .cer file or just a .pem file content.
- iot
Dps stringName 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.
- resource
Group stringName 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_ strname 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_ strname 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
azurermTerraform Provider.