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.apimanagement.getCertificate
Explore with Pulumi AI
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
Gets the details of the certificate specified by its identifier. API Version: 2020-12-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(certificate_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
service_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:apimanagement:getCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Certificate
Id string - Identifier of the certificate entity. Must be unique in the current API Management service instance.
- Resource
Group stringName - The name of the resource group.
- Service
Name string - The name of the API Management service.
- Certificate
Id string - Identifier of the certificate entity. Must be unique in the current API Management service instance.
- Resource
Group stringName - The name of the resource group.
- Service
Name string - The name of the API Management service.
- certificate
Id String - Identifier of the certificate entity. Must be unique in the current API Management service instance.
- resource
Group StringName - The name of the resource group.
- service
Name String - The name of the API Management service.
- certificate
Id string - Identifier of the certificate entity. Must be unique in the current API Management service instance.
- resource
Group stringName - The name of the resource group.
- service
Name string - The name of the API Management service.
- certificate_
id str - Identifier of the certificate entity. Must be unique in the current API Management service instance.
- resource_
group_ strname - The name of the resource group.
- service_
name str - The name of the API Management service.
- certificate
Id String - Identifier of the certificate entity. Must be unique in the current API Management service instance.
- resource
Group StringName - The name of the resource group.
- service
Name String - The name of the API Management service.
getCertificate Result
The following output properties are available:
- Expiration
Date string - Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard. - Id string
- Resource ID.
- Name string
- Resource name.
- Subject string
- Subject attribute of the certificate.
- Thumbprint string
- Thumbprint of the certificate.
- Type string
- Resource type for API Management resource.
- Key
Vault Pulumi.Azure Native. Api Management. Outputs. Key Vault Contract Properties Response - KeyVault location details of the certificate.
- Expiration
Date string - Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard. - Id string
- Resource ID.
- Name string
- Resource name.
- Subject string
- Subject attribute of the certificate.
- Thumbprint string
- Thumbprint of the certificate.
- Type string
- Resource type for API Management resource.
- Key
Vault KeyVault Contract Properties Response - KeyVault location details of the certificate.
- expiration
Date String - Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard. - id String
- Resource ID.
- name String
- Resource name.
- subject String
- Subject attribute of the certificate.
- thumbprint String
- Thumbprint of the certificate.
- type String
- Resource type for API Management resource.
- key
Vault KeyVault Contract Properties Response - KeyVault location details of the certificate.
- expiration
Date string - Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard. - id string
- Resource ID.
- name string
- Resource name.
- subject string
- Subject attribute of the certificate.
- thumbprint string
- Thumbprint of the certificate.
- type string
- Resource type for API Management resource.
- key
Vault KeyVault Contract Properties Response - KeyVault location details of the certificate.
- expiration_
date str - Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard. - id str
- Resource ID.
- name str
- Resource name.
- subject str
- Subject attribute of the certificate.
- thumbprint str
- Thumbprint of the certificate.
- type str
- Resource type for API Management resource.
- key_
vault KeyVault Contract Properties Response - KeyVault location details of the certificate.
- expiration
Date String - Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard. - id String
- Resource ID.
- name String
- Resource name.
- subject String
- Subject attribute of the certificate.
- thumbprint String
- Thumbprint of the certificate.
- type String
- Resource type for API Management resource.
- key
Vault Property Map - KeyVault location details of the certificate.
Supporting Types
KeyVaultContractPropertiesResponse
- Identity
Client stringId - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
- Last
Status Pulumi.Azure Native. Api Management. Inputs. Key Vault Last Access Status Contract Properties Response - Last time sync and refresh status of secret from key vault.
- Secret
Identifier string - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
- Identity
Client stringId - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
- Last
Status KeyVault Last Access Status Contract Properties Response - Last time sync and refresh status of secret from key vault.
- Secret
Identifier string - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
- identity
Client StringId - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
- last
Status KeyVault Last Access Status Contract Properties Response - Last time sync and refresh status of secret from key vault.
- secret
Identifier String - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
- identity
Client stringId - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
- last
Status KeyVault Last Access Status Contract Properties Response - Last time sync and refresh status of secret from key vault.
- secret
Identifier string - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
- identity_
client_ strid - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
- last_
status KeyVault Last Access Status Contract Properties Response - Last time sync and refresh status of secret from key vault.
- secret_
identifier str - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
- identity
Client StringId - Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
- last
Status Property Map - Last time sync and refresh status of secret from key vault.
- secret
Identifier String - Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
KeyVaultLastAccessStatusContractPropertiesResponse
- Code string
- Last status code for sync and refresh of secret from key vault.
- Message string
- Details of the error else empty.
- Time
Stamp stringUtc - Last time secret was accessed. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
- Code string
- Last status code for sync and refresh of secret from key vault.
- Message string
- Details of the error else empty.
- Time
Stamp stringUtc - Last time secret was accessed. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
- code String
- Last status code for sync and refresh of secret from key vault.
- message String
- Details of the error else empty.
- time
Stamp StringUtc - Last time secret was accessed. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
- code string
- Last status code for sync and refresh of secret from key vault.
- message string
- Details of the error else empty.
- time
Stamp stringUtc - Last time secret was accessed. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
- code str
- Last status code for sync and refresh of secret from key vault.
- message str
- Details of the error else empty.
- time_
stamp_ strutc - Last time secret was accessed. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
- code String
- Last status code for sync and refresh of secret from key vault.
- message String
- Details of the error else empty.
- time
Stamp StringUtc - Last time secret was accessed. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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