azure-native.iothub.getCertificate
Explore with Pulumi AI
Returns the certificate.
Uses Azure REST API version 2023-06-30.
Other available API versions: 2017-07-01, 2018-01-22, 2018-04-01, 2018-12-01-preview, 2019-03-22, 2019-03-22-preview, 2019-07-01-preview, 2019-11-04, 2020-03-01, 2020-04-01, 2020-06-15, 2020-07-10-preview, 2020-08-01, 2020-08-31, 2020-08-31-preview, 2021-02-01-preview, 2021-03-03-preview, 2021-03-31, 2021-07-01, 2021-07-01-preview, 2021-07-02, 2021-07-02-preview, 2022-04-30-preview, 2022-11-15-preview, 2023-06-30-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native iothub [ApiVersion]
. See the version guide for details.
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)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:iothub:getCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Certificate
Name string - The name of the certificate
- Resource
Group stringName - The name of the resource group that contains the IoT hub.
- Resource
Name string - The name of the IoT hub.
- Certificate
Name string - The name of the certificate
- Resource
Group stringName - The name of the resource group that contains the IoT hub.
- Resource
Name string - The name of the IoT hub.
- certificate
Name String - The name of the certificate
- resource
Group StringName - The name of the resource group that contains the IoT hub.
- resource
Name String - The name of the IoT hub.
- certificate
Name string - The name of the certificate
- resource
Group stringName - The name of the resource group that contains the IoT hub.
- resource
Name string - The name of the IoT hub.
- certificate_
name str - The name of the certificate
- resource_
group_ strname - The name of the resource group that contains the IoT hub.
- resource_
name str - The name of the IoT hub.
- certificate
Name String - The name of the certificate
- resource
Group StringName - The name of the resource group that contains the IoT hub.
- resource
Name String - The name of the IoT hub.
getCertificate Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- The entity tag.
- Id string
- The resource identifier.
- Name string
- The name of the certificate.
- Properties
Pulumi.
Azure Native. Io THub. Outputs. Certificate Properties Response - The description of an X509 CA Certificate.
- Type string
- The resource type.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- The entity tag.
- Id string
- The resource identifier.
- Name string
- The name of the certificate.
- Properties
Certificate
Properties Response - The description of an X509 CA Certificate.
- Type string
- The resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- The entity tag.
- id String
- The resource identifier.
- name String
- The name of the certificate.
- properties
Certificate
Properties Response - The description of an X509 CA Certificate.
- type String
- The resource type.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- The entity tag.
- id string
- The resource identifier.
- name string
- The name of the certificate.
- properties
Certificate
Properties Response - The description of an X509 CA Certificate.
- type string
- The resource type.
- azure_
api_ strversion - The Azure API version of the resource.
- etag str
- The entity tag.
- id str
- The resource identifier.
- name str
- The name of the certificate.
- properties
Certificate
Properties Response - The description of an X509 CA Certificate.
- type str
- The resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- 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
- Created string
- The certificate's create 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
- The certificate content
- Is
Verified bool - Determines whether certificate has been verified.
- Created string
- The certificate's create 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
- The certificate content
- Is
Verified bool - Determines whether certificate has been verified.
- created String
- The certificate's create 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
- The certificate content
- is
Verified Boolean - Determines whether certificate has been verified.
- created string
- The certificate's create 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
- The certificate content
- is
Verified boolean - Determines whether certificate has been verified.
- created str
- The certificate's create 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
- The certificate content
- is_
verified bool - Determines whether certificate has been verified.
- created String
- The certificate's create 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
- The certificate content
- is
Verified Boolean - Determines whether certificate has been verified.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0