1. Packages
  2. Azure Native
  3. API Docs
  4. devices
  5. getDpsCertificate
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.19.0 published on Tuesday, Nov 21, 2023 by Pulumi

azure-native.devices.getDpsCertificate

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.19.0 published on Tuesday, Nov 21, 2023 by Pulumi

    Get the certificate from the provisioning service. Azure REST API version: 2022-12-12.

    Other available API versions: 2021-10-15, 2023-03-01-preview.

    Using getDpsCertificate

    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 getDpsCertificate(args: GetDpsCertificateArgs, opts?: InvokeOptions): Promise<GetDpsCertificateResult>
    function getDpsCertificateOutput(args: GetDpsCertificateOutputArgs, opts?: InvokeOptions): Output<GetDpsCertificateResult>
    def get_dps_certificate(certificate_name: Optional[str] = None,
                            provisioning_service_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDpsCertificateResult
    def get_dps_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None,
                            provisioning_service_name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDpsCertificateResult]
    func LookupDpsCertificate(ctx *Context, args *LookupDpsCertificateArgs, opts ...InvokeOption) (*LookupDpsCertificateResult, error)
    func LookupDpsCertificateOutput(ctx *Context, args *LookupDpsCertificateOutputArgs, opts ...InvokeOption) LookupDpsCertificateResultOutput

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

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

    The following arguments are supported:

    CertificateName string

    Name of the certificate to retrieve.

    ProvisioningServiceName string

    Name of the provisioning service the certificate is associated with.

    ResourceGroupName string

    Resource group identifier.

    CertificateName string

    Name of the certificate to retrieve.

    ProvisioningServiceName string

    Name of the provisioning service the certificate is associated with.

    ResourceGroupName string

    Resource group identifier.

    certificateName String

    Name of the certificate to retrieve.

    provisioningServiceName String

    Name of the provisioning service the certificate is associated with.

    resourceGroupName String

    Resource group identifier.

    certificateName string

    Name of the certificate to retrieve.

    provisioningServiceName string

    Name of the provisioning service the certificate is associated with.

    resourceGroupName string

    Resource group identifier.

    certificate_name str

    Name of the certificate to retrieve.

    provisioning_service_name str

    Name of the provisioning service the certificate is associated with.

    resource_group_name str

    Resource group identifier.

    certificateName String

    Name of the certificate to retrieve.

    provisioningServiceName String

    Name of the provisioning service the certificate is associated with.

    resourceGroupName String

    Resource group identifier.

    getDpsCertificate 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

    properties of a certificate

    SystemData Pulumi.AzureNative.Devices.Outputs.SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    Type string

    The resource type.

    Etag string

    The entity tag.

    Id string

    The resource identifier.

    Name string

    The name of the certificate.

    Properties CertificatePropertiesResponse

    properties of a certificate

    SystemData SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    Type string

    The resource type.

    etag String

    The entity tag.

    id String

    The resource identifier.

    name String

    The name of the certificate.

    properties CertificatePropertiesResponse

    properties of a certificate

    systemData SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    type String

    The resource type.

    etag string

    The entity tag.

    id string

    The resource identifier.

    name string

    The name of the certificate.

    properties CertificatePropertiesResponse

    properties of a certificate

    systemData SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    type string

    The resource type.

    etag str

    The entity tag.

    id str

    The resource identifier.

    name str

    The name of the certificate.

    properties CertificatePropertiesResponse

    properties of a certificate

    system_data SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    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

    properties of a certificate

    systemData Property Map

    Metadata pertaining to creation and last modification of the resource.

    type String

    The resource type.

    Supporting Types

    CertificatePropertiesResponse

    Created string

    The certificate's creation date and time.

    Expiry string

    The certificate's expiration date and time.

    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.

    IsVerified bool

    Determines whether certificate has been verified.

    Created string

    The certificate's creation date and time.

    Expiry string

    The certificate's expiration date and time.

    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.

    IsVerified bool

    Determines whether certificate has been verified.

    created String

    The certificate's creation date and time.

    expiry String

    The certificate's expiration date and time.

    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.

    isVerified Boolean

    Determines whether certificate has been verified.

    created string

    The certificate's creation date and time.

    expiry string

    The certificate's expiration date and time.

    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.

    isVerified boolean

    Determines whether certificate has been verified.

    created str

    The certificate's creation date and time.

    expiry str

    The certificate's expiration date and time.

    subject str

    The certificate's subject name.

    thumbprint str

    The certificate's thumbprint.

    updated str

    The certificate's last update date and time.

    certificate str

    base-64 representation of X509 certificate .cer file or just .pem file content.

    is_verified bool

    Determines whether certificate has been verified.

    created String

    The certificate's creation date and time.

    expiry String

    The certificate's expiration date and time.

    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.

    isVerified Boolean

    Determines whether certificate has been verified.

    SystemDataResponse

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string

    The type of identity that created the resource.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string

    The type of identity that last modified the resource.

    created_at str

    The timestamp of resource creation (UTC).

    created_by str

    The identity that created the resource.

    created_by_type str

    The type of identity that created the resource.

    last_modified_at str

    The timestamp of resource last modification (UTC)

    last_modified_by str

    The identity that last modified the resource.

    last_modified_by_type str

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.19.0 published on Tuesday, Nov 21, 2023 by Pulumi