azure-native.devices.getDpsCertificate
Explore with Pulumi AI
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:
- Certificate
Name string Name of the certificate to retrieve.
- Provisioning
Service stringName Name of the provisioning service the certificate is associated with.
- Resource
Group stringName Resource group identifier.
- Certificate
Name string Name of the certificate to retrieve.
- Provisioning
Service stringName Name of the provisioning service the certificate is associated with.
- Resource
Group stringName Resource group identifier.
- certificate
Name String Name of the certificate to retrieve.
- provisioning
Service StringName Name of the provisioning service the certificate is associated with.
- resource
Group StringName Resource group identifier.
- certificate
Name string Name of the certificate to retrieve.
- provisioning
Service stringName Name of the provisioning service the certificate is associated with.
- resource
Group stringName Resource group identifier.
- certificate_
name str Name of the certificate to retrieve.
- provisioning_
service_ strname Name of the provisioning service the certificate is associated with.
- resource_
group_ strname Resource group identifier.
- certificate
Name String Name of the certificate to retrieve.
- provisioning
Service StringName Name of the provisioning service the certificate is associated with.
- resource
Group StringName 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.
Azure Native. Devices. Outputs. Certificate Properties Response properties of a certificate
- System
Data Pulumi.Azure Native. Devices. Outputs. System Data Response 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
Certificate
Properties Response properties of a certificate
- System
Data SystemData Response 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
Certificate
Properties Response properties of a certificate
- system
Data SystemData Response 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
Certificate
Properties Response properties of a certificate
- system
Data SystemData Response 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
Certificate
Properties Response properties of a certificate
- system_
data SystemData Response 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
- system
Data 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.
- 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.
- 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.
- is
Verified 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.
- is
Verified 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.
- is
Verified Boolean Determines whether certificate has been verified.
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type 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_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0