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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.web.getCertificate
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Description for Get a certificate. Azure REST API version: 2022-09-01.
Other available API versions: 2016-03-01, 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-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(name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(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)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:web:getCertificate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of the certificate.
- ResourceGroup stringName 
- Name of the resource group to which the resource belongs.
- Name string
- Name of the certificate.
- ResourceGroup stringName 
- Name of the resource group to which the resource belongs.
- name String
- Name of the certificate.
- resourceGroup StringName 
- Name of the resource group to which the resource belongs.
- name string
- Name of the certificate.
- resourceGroup stringName 
- Name of the resource group to which the resource belongs.
- name str
- Name of the certificate.
- resource_group_ strname 
- Name of the resource group to which the resource belongs.
- name String
- Name of the certificate.
- resourceGroup StringName 
- Name of the resource group to which the resource belongs.
getCertificate Result
The following output properties are available:
- CerBlob string
- Raw bytes of .cer file
- ExpirationDate string
- Certificate expiration date.
- FriendlyName string
- Friendly name of the certificate.
- HostingEnvironment Pulumi.Profile Azure Native. Web. Outputs. Hosting Environment Profile Response 
- Specification for the App Service Environment to use for the certificate.
- Id string
- Resource Id.
- IssueDate string
- Certificate issue Date.
- Issuer string
- Certificate issuer.
- KeyVault stringSecret Status 
- Status of the Key Vault secret.
- Location string
- Resource Location.
- Name string
- Resource Name.
- PublicKey stringHash 
- Public key hash.
- SelfLink string
- Self link.
- SiteName string
- App name.
- SubjectName string
- Subject name of the certificate.
- Thumbprint string
- Certificate thumbprint.
- Type string
- Resource type.
- Valid bool
- Is the certificate valid?.
- CanonicalName string
- CNAME of the certificate to be issued via free certificate
- DomainValidation stringMethod 
- Method of domain validation for free cert
- HostNames List<string>
- Host names the certificate applies to.
- KeyVault stringId 
- Key Vault Csm resource Id.
- KeyVault stringSecret Name 
- Key Vault secret name.
- Kind string
- Kind of resource.
- PfxBlob string
- Pfx blob.
- ServerFarm stringId 
- Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- Dictionary<string, string>
- Resource tags.
- CerBlob string
- Raw bytes of .cer file
- ExpirationDate string
- Certificate expiration date.
- FriendlyName string
- Friendly name of the certificate.
- HostingEnvironment HostingProfile Environment Profile Response 
- Specification for the App Service Environment to use for the certificate.
- Id string
- Resource Id.
- IssueDate string
- Certificate issue Date.
- Issuer string
- Certificate issuer.
- KeyVault stringSecret Status 
- Status of the Key Vault secret.
- Location string
- Resource Location.
- Name string
- Resource Name.
- PublicKey stringHash 
- Public key hash.
- SelfLink string
- Self link.
- SiteName string
- App name.
- SubjectName string
- Subject name of the certificate.
- Thumbprint string
- Certificate thumbprint.
- Type string
- Resource type.
- Valid bool
- Is the certificate valid?.
- CanonicalName string
- CNAME of the certificate to be issued via free certificate
- DomainValidation stringMethod 
- Method of domain validation for free cert
- HostNames []string
- Host names the certificate applies to.
- KeyVault stringId 
- Key Vault Csm resource Id.
- KeyVault stringSecret Name 
- Key Vault secret name.
- Kind string
- Kind of resource.
- PfxBlob string
- Pfx blob.
- ServerFarm stringId 
- Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- map[string]string
- Resource tags.
- cerBlob String
- Raw bytes of .cer file
- expirationDate String
- Certificate expiration date.
- friendlyName String
- Friendly name of the certificate.
- hostingEnvironment HostingProfile Environment Profile Response 
- Specification for the App Service Environment to use for the certificate.
- id String
- Resource Id.
- issueDate String
- Certificate issue Date.
- issuer String
- Certificate issuer.
- keyVault StringSecret Status 
- Status of the Key Vault secret.
- location String
- Resource Location.
- name String
- Resource Name.
- publicKey StringHash 
- Public key hash.
- selfLink String
- Self link.
- siteName String
- App name.
- subjectName String
- Subject name of the certificate.
- thumbprint String
- Certificate thumbprint.
- type String
- Resource type.
- valid Boolean
- Is the certificate valid?.
- canonicalName String
- CNAME of the certificate to be issued via free certificate
- domainValidation StringMethod 
- Method of domain validation for free cert
- hostNames List<String>
- Host names the certificate applies to.
- keyVault StringId 
- Key Vault Csm resource Id.
- keyVault StringSecret Name 
- Key Vault secret name.
- kind String
- Kind of resource.
- pfxBlob String
- Pfx blob.
- serverFarm StringId 
- Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- Map<String,String>
- Resource tags.
- cerBlob string
- Raw bytes of .cer file
- expirationDate string
- Certificate expiration date.
- friendlyName string
- Friendly name of the certificate.
- hostingEnvironment HostingProfile Environment Profile Response 
- Specification for the App Service Environment to use for the certificate.
- id string
- Resource Id.
- issueDate string
- Certificate issue Date.
- issuer string
- Certificate issuer.
- keyVault stringSecret Status 
- Status of the Key Vault secret.
- location string
- Resource Location.
- name string
- Resource Name.
- publicKey stringHash 
- Public key hash.
- selfLink string
- Self link.
- siteName string
- App name.
- subjectName string
- Subject name of the certificate.
- thumbprint string
- Certificate thumbprint.
- type string
- Resource type.
- valid boolean
- Is the certificate valid?.
- canonicalName string
- CNAME of the certificate to be issued via free certificate
- domainValidation stringMethod 
- Method of domain validation for free cert
- hostNames string[]
- Host names the certificate applies to.
- keyVault stringId 
- Key Vault Csm resource Id.
- keyVault stringSecret Name 
- Key Vault secret name.
- kind string
- Kind of resource.
- pfxBlob string
- Pfx blob.
- serverFarm stringId 
- Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- {[key: string]: string}
- Resource tags.
- cer_blob str
- Raw bytes of .cer file
- expiration_date str
- Certificate expiration date.
- friendly_name str
- Friendly name of the certificate.
- hosting_environment_ Hostingprofile Environment Profile Response 
- Specification for the App Service Environment to use for the certificate.
- id str
- Resource Id.
- issue_date str
- Certificate issue Date.
- issuer str
- Certificate issuer.
- key_vault_ strsecret_ status 
- Status of the Key Vault secret.
- location str
- Resource Location.
- name str
- Resource Name.
- public_key_ strhash 
- Public key hash.
- self_link str
- Self link.
- site_name str
- App name.
- subject_name str
- Subject name of the certificate.
- thumbprint str
- Certificate thumbprint.
- type str
- Resource type.
- valid bool
- Is the certificate valid?.
- canonical_name str
- CNAME of the certificate to be issued via free certificate
- domain_validation_ strmethod 
- Method of domain validation for free cert
- host_names Sequence[str]
- Host names the certificate applies to.
- key_vault_ strid 
- Key Vault Csm resource Id.
- key_vault_ strsecret_ name 
- Key Vault secret name.
- kind str
- Kind of resource.
- pfx_blob str
- Pfx blob.
- server_farm_ strid 
- Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- Mapping[str, str]
- Resource tags.
- cerBlob String
- Raw bytes of .cer file
- expirationDate String
- Certificate expiration date.
- friendlyName String
- Friendly name of the certificate.
- hostingEnvironment Property MapProfile 
- Specification for the App Service Environment to use for the certificate.
- id String
- Resource Id.
- issueDate String
- Certificate issue Date.
- issuer String
- Certificate issuer.
- keyVault StringSecret Status 
- Status of the Key Vault secret.
- location String
- Resource Location.
- name String
- Resource Name.
- publicKey StringHash 
- Public key hash.
- selfLink String
- Self link.
- siteName String
- App name.
- subjectName String
- Subject name of the certificate.
- thumbprint String
- Certificate thumbprint.
- type String
- Resource type.
- valid Boolean
- Is the certificate valid?.
- canonicalName String
- CNAME of the certificate to be issued via free certificate
- domainValidation StringMethod 
- Method of domain validation for free cert
- hostNames List<String>
- Host names the certificate applies to.
- keyVault StringId 
- Key Vault Csm resource Id.
- keyVault StringSecret Name 
- Key Vault secret name.
- kind String
- Kind of resource.
- pfxBlob String
- Pfx blob.
- serverFarm StringId 
- Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- Map<String>
- Resource tags.
Supporting Types
HostingEnvironmentProfileResponse   
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi