getCertificate

Contains information about a certificate. API Version: 2021-01-01.

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(account_name: Optional[str] = None,
                    certificate_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(account_name: Optional[pulumi.Input[str]] = None,
                    certificate_name: Optional[pulumi.Input[str]] = None,
                    resource_group_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:batch:getCertificate
  arguments:
    # arguments dictionary

The following arguments are supported:

AccountName string

The name of the Batch account.

CertificateName string

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

ResourceGroupName string

The name of the resource group that contains the Batch account.

AccountName string

The name of the Batch account.

CertificateName string

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

ResourceGroupName string

The name of the resource group that contains the Batch account.

accountName String

The name of the Batch account.

certificateName String

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

resourceGroupName String

The name of the resource group that contains the Batch account.

accountName string

The name of the Batch account.

certificateName string

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

resourceGroupName string

The name of the resource group that contains the Batch account.

account_name str

The name of the Batch account.

certificate_name str

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

resource_group_name str

The name of the resource group that contains the Batch account.

accountName String

The name of the Batch account.

certificateName String

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

resourceGroupName String

The name of the resource group that contains the Batch account.

getCertificate Result

The following output properties are available:

DeleteCertificateError Pulumi.AzureNative.Batch.Outputs.DeleteCertificateErrorResponse

This is only returned when the certificate provisioningState is 'Failed'.

Etag string

The ETag of the resource, used for concurrency statements.

Id string

The ID of the resource.

Name string

The name of the resource.

PreviousProvisioningState string

The previous provisioned state of the resource

PreviousProvisioningStateTransitionTime string
ProvisioningState string
ProvisioningStateTransitionTime string
PublicData string

The public key of the certificate.

Type string

The type of the resource.

Format string

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

Thumbprint string

This must match the thumbprint from the name.

ThumbprintAlgorithm string

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

DeleteCertificateError DeleteCertificateErrorResponse

This is only returned when the certificate provisioningState is 'Failed'.

Etag string

The ETag of the resource, used for concurrency statements.

Id string

The ID of the resource.

Name string

The name of the resource.

PreviousProvisioningState string

The previous provisioned state of the resource

PreviousProvisioningStateTransitionTime string
ProvisioningState string
ProvisioningStateTransitionTime string
PublicData string

The public key of the certificate.

Type string

The type of the resource.

Format string

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

Thumbprint string

This must match the thumbprint from the name.

ThumbprintAlgorithm string

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

deleteCertificateError DeleteCertificateErrorResponse

This is only returned when the certificate provisioningState is 'Failed'.

etag String

The ETag of the resource, used for concurrency statements.

id String

The ID of the resource.

name String

The name of the resource.

previousProvisioningState String

The previous provisioned state of the resource

previousProvisioningStateTransitionTime String
provisioningState String
provisioningStateTransitionTime String
publicData String

The public key of the certificate.

type String

The type of the resource.

format String

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

thumbprint String

This must match the thumbprint from the name.

thumbprintAlgorithm String

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

deleteCertificateError DeleteCertificateErrorResponse

This is only returned when the certificate provisioningState is 'Failed'.

etag string

The ETag of the resource, used for concurrency statements.

id string

The ID of the resource.

name string

The name of the resource.

previousProvisioningState string

The previous provisioned state of the resource

previousProvisioningStateTransitionTime string
provisioningState string
provisioningStateTransitionTime string
publicData string

The public key of the certificate.

type string

The type of the resource.

format string

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

thumbprint string

This must match the thumbprint from the name.

thumbprintAlgorithm string

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

delete_certificate_error DeleteCertificateErrorResponse

This is only returned when the certificate provisioningState is 'Failed'.

etag str

The ETag of the resource, used for concurrency statements.

id str

The ID of the resource.

name str

The name of the resource.

previous_provisioning_state str

The previous provisioned state of the resource

previous_provisioning_state_transition_time str
provisioning_state str
provisioning_state_transition_time str
public_data str

The public key of the certificate.

type str

The type of the resource.

format str

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

thumbprint str

This must match the thumbprint from the name.

thumbprint_algorithm str

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

deleteCertificateError Property Map

This is only returned when the certificate provisioningState is 'Failed'.

etag String

The ETag of the resource, used for concurrency statements.

id String

The ID of the resource.

name String

The name of the resource.

previousProvisioningState String

The previous provisioned state of the resource

previousProvisioningStateTransitionTime String
provisioningState String
provisioningStateTransitionTime String
publicData String

The public key of the certificate.

type String

The type of the resource.

format String

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

thumbprint String

This must match the thumbprint from the name.

thumbprintAlgorithm String

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

Supporting Types

DeleteCertificateErrorResponse

Code string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

Message string

A message describing the error, intended to be suitable for display in a user interface.

Details List<Pulumi.AzureNative.Batch.Inputs.DeleteCertificateErrorResponse>

A list of additional details about the error.

Target string

The target of the particular error. For example, the name of the property in error.

Code string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

Message string

A message describing the error, intended to be suitable for display in a user interface.

Details []DeleteCertificateErrorResponse

A list of additional details about the error.

Target string

The target of the particular error. For example, the name of the property in error.

code String

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message String

A message describing the error, intended to be suitable for display in a user interface.

details List<DeleteCertificateErrorResponse>

A list of additional details about the error.

target String

The target of the particular error. For example, the name of the property in error.

code string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message string

A message describing the error, intended to be suitable for display in a user interface.

details DeleteCertificateErrorResponse[]

A list of additional details about the error.

target string

The target of the particular error. For example, the name of the property in error.

code str

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message str

A message describing the error, intended to be suitable for display in a user interface.

details Sequence[DeleteCertificateErrorResponse]

A list of additional details about the error.

target str

The target of the particular error. For example, the name of the property in error.

code String

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message String

A message describing the error, intended to be suitable for display in a user interface.

details List<Property Map>

A list of additional details about the error.

target String

The target of the particular error. For example, the name of the property in error.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0