1. Packages
  2. Azure Native v1
  3. API Docs
  4. devices
  5. getCertificate
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.devices.getCertificate

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Returns the certificate. API Version: 2020-08-31.

    Using getCertificate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
    function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
    def get_certificate(certificate_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        resource_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCertificateResult
    def get_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        resource_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]
    func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
    func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput

    > Note: This function is named LookupCertificate in the Go SDK.

    public static class GetCertificate 
    {
        public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:devices:getCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateName string
    The name of the certificate
    ResourceGroupName string
    The name of the resource group that contains the IoT hub.
    ResourceName string
    The name of the IoT hub.
    CertificateName string
    The name of the certificate
    ResourceGroupName string
    The name of the resource group that contains the IoT hub.
    ResourceName string
    The name of the IoT hub.
    certificateName String
    The name of the certificate
    resourceGroupName String
    The name of the resource group that contains the IoT hub.
    resourceName String
    The name of the IoT hub.
    certificateName string
    The name of the certificate
    resourceGroupName string
    The name of the resource group that contains the IoT hub.
    resourceName string
    The name of the IoT hub.
    certificate_name str
    The name of the certificate
    resource_group_name str
    The name of the resource group that contains the IoT hub.
    resource_name str
    The name of the IoT hub.
    certificateName String
    The name of the certificate
    resourceGroupName String
    The name of the resource group that contains the IoT hub.
    resourceName String
    The name of the IoT hub.

    getCertificate Result

    The following output properties are available:

    Etag string
    The entity tag.
    Id string
    The resource identifier.
    Name string
    The name of the certificate.
    Properties Pulumi.AzureNative.Devices.Outputs.CertificatePropertiesResponse
    The description of an X509 CA Certificate.
    Type string
    The resource type.
    Etag string
    The entity tag.
    Id string
    The resource identifier.
    Name string
    The name of the certificate.
    Properties CertificatePropertiesResponse
    The description of an X509 CA Certificate.
    Type string
    The resource type.
    etag String
    The entity tag.
    id String
    The resource identifier.
    name String
    The name of the certificate.
    properties CertificatePropertiesResponse
    The description of an X509 CA Certificate.
    type String
    The resource type.
    etag string
    The entity tag.
    id string
    The resource identifier.
    name string
    The name of the certificate.
    properties CertificatePropertiesResponse
    The description of an X509 CA Certificate.
    type string
    The resource type.
    etag str
    The entity tag.
    id str
    The resource identifier.
    name str
    The name of the certificate.
    properties CertificatePropertiesResponse
    The description of an X509 CA Certificate.
    type str
    The resource type.
    etag String
    The entity tag.
    id String
    The resource identifier.
    name String
    The name of the certificate.
    properties Property Map
    The description of an X509 CA Certificate.
    type String
    The resource type.

    Supporting Types

    CertificatePropertiesResponse

    Certificate string
    base-64 representation of X509 certificate .cer file or just .pem file content.
    Created string
    The certificate's creation date and time.
    Expiry string
    The certificate's expiration date and time.
    IsVerified bool
    Determines whether certificate has been verified.
    Subject string
    The certificate's subject name.
    Thumbprint string
    The certificate's thumbprint.
    Updated string
    The certificate's last update date and time.
    Certificate string
    base-64 representation of X509 certificate .cer file or just .pem file content.
    Created string
    The certificate's creation date and time.
    Expiry string
    The certificate's expiration date and time.
    IsVerified bool
    Determines whether certificate has been verified.
    Subject string
    The certificate's subject name.
    Thumbprint string
    The certificate's thumbprint.
    Updated string
    The certificate's last update date and time.
    certificate String
    base-64 representation of X509 certificate .cer file or just .pem file content.
    created String
    The certificate's creation date and time.
    expiry String
    The certificate's expiration date and time.
    isVerified Boolean
    Determines whether certificate has been verified.
    subject String
    The certificate's subject name.
    thumbprint String
    The certificate's thumbprint.
    updated String
    The certificate's last update date and time.
    certificate string
    base-64 representation of X509 certificate .cer file or just .pem file content.
    created string
    The certificate's creation date and time.
    expiry string
    The certificate's expiration date and time.
    isVerified boolean
    Determines whether certificate has been verified.
    subject string
    The certificate's subject name.
    thumbprint string
    The certificate's thumbprint.
    updated string
    The certificate's last update date and time.
    certificate str
    base-64 representation of X509 certificate .cer file or just .pem file content.
    created str
    The certificate's creation date and time.
    expiry str
    The certificate's expiration date and time.
    is_verified bool
    Determines whether certificate has been verified.
    subject str
    The certificate's subject name.
    thumbprint str
    The certificate's thumbprint.
    updated str
    The certificate's last update date and time.
    certificate String
    base-64 representation of X509 certificate .cer file or just .pem file content.
    created String
    The certificate's creation date and time.
    expiry String
    The certificate's expiration date and time.
    isVerified Boolean
    Determines whether certificate has been verified.
    subject String
    The certificate's subject name.
    thumbprint String
    The certificate's thumbprint.
    updated String
    The certificate's last update date and time.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi