azure-native.web.getCertificate
Explore with Pulumi AI
Description for Get a certificate.
Uses Azure REST API version 2024-04-01.
Other available API versions: 2016-03-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [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(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.
 - Resource
Group stringName  - Name of the resource group to which the resource belongs.
 
- Name string
 - Name of the certificate.
 - Resource
Group stringName  - Name of the resource group to which the resource belongs.
 
- name String
 - Name of the certificate.
 - resource
Group StringName  - Name of the resource group to which the resource belongs.
 
- name string
 - Name of the certificate.
 - resource
Group 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.
 - resource
Group StringName  - Name of the resource group to which the resource belongs.
 
getCertificate Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Cer
Blob string - Raw bytes of .cer file
 - Expiration
Date string - Certificate expiration date.
 - Friendly
Name string - Friendly name of the certificate.
 - Hosting
Environment 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.
 - Issue
Date string - Certificate issue Date.
 - Issuer string
 - Certificate issuer.
 - Key
Vault stringSecret Status  - Status of the Key Vault secret.
 - Location string
 - Resource Location.
 - Name string
 - Resource Name.
 - Public
Key stringHash  - Public key hash.
 - Self
Link string - Self link.
 - Site
Name string - App name.
 - Subject
Name string - Subject name of the certificate.
 - Thumbprint string
 - Certificate thumbprint.
 - Type string
 - Resource type.
 - Valid bool
 - Is the certificate valid?.
 - Canonical
Name string - CNAME of the certificate to be issued via free certificate
 - Domain
Validation stringMethod  - Method of domain validation for free cert
 - Host
Names List<string> - Host names the certificate applies to.
 - Key
Vault stringId  - Key Vault Csm resource Id.
 - Key
Vault stringSecret Name  - Key Vault secret name.
 - Kind string
 - Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
 - Pfx
Blob string - Pfx blob.
 - Server
Farm 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.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Cer
Blob string - Raw bytes of .cer file
 - Expiration
Date string - Certificate expiration date.
 - Friendly
Name string - Friendly name of the certificate.
 - Hosting
Environment HostingProfile Environment Profile Response  - Specification for the App Service Environment to use for the certificate.
 - Id string
 - Resource Id.
 - Issue
Date string - Certificate issue Date.
 - Issuer string
 - Certificate issuer.
 - Key
Vault stringSecret Status  - Status of the Key Vault secret.
 - Location string
 - Resource Location.
 - Name string
 - Resource Name.
 - Public
Key stringHash  - Public key hash.
 - Self
Link string - Self link.
 - Site
Name string - App name.
 - Subject
Name string - Subject name of the certificate.
 - Thumbprint string
 - Certificate thumbprint.
 - Type string
 - Resource type.
 - Valid bool
 - Is the certificate valid?.
 - Canonical
Name string - CNAME of the certificate to be issued via free certificate
 - Domain
Validation stringMethod  - Method of domain validation for free cert
 - Host
Names []string - Host names the certificate applies to.
 - Key
Vault stringId  - Key Vault Csm resource Id.
 - Key
Vault stringSecret Name  - Key Vault secret name.
 - Kind string
 - Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
 - Pfx
Blob string - Pfx blob.
 - Server
Farm 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.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - cer
Blob String - Raw bytes of .cer file
 - expiration
Date String - Certificate expiration date.
 - friendly
Name String - Friendly name of the certificate.
 - hosting
Environment HostingProfile Environment Profile Response  - Specification for the App Service Environment to use for the certificate.
 - id String
 - Resource Id.
 - issue
Date String - Certificate issue Date.
 - issuer String
 - Certificate issuer.
 - key
Vault StringSecret Status  - Status of the Key Vault secret.
 - location String
 - Resource Location.
 - name String
 - Resource Name.
 - public
Key StringHash  - Public key hash.
 - self
Link String - Self link.
 - site
Name String - App name.
 - subject
Name String - Subject name of the certificate.
 - thumbprint String
 - Certificate thumbprint.
 - type String
 - Resource type.
 - valid Boolean
 - Is the certificate valid?.
 - canonical
Name String - CNAME of the certificate to be issued via free certificate
 - domain
Validation StringMethod  - Method of domain validation for free cert
 - host
Names List<String> - Host names the certificate applies to.
 - key
Vault StringId  - Key Vault Csm resource Id.
 - key
Vault StringSecret Name  - Key Vault secret name.
 - kind String
 - Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
 - pfx
Blob String - Pfx blob.
 - server
Farm 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.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - cer
Blob string - Raw bytes of .cer file
 - expiration
Date string - Certificate expiration date.
 - friendly
Name string - Friendly name of the certificate.
 - hosting
Environment HostingProfile Environment Profile Response  - Specification for the App Service Environment to use for the certificate.
 - id string
 - Resource Id.
 - issue
Date string - Certificate issue Date.
 - issuer string
 - Certificate issuer.
 - key
Vault stringSecret Status  - Status of the Key Vault secret.
 - location string
 - Resource Location.
 - name string
 - Resource Name.
 - public
Key stringHash  - Public key hash.
 - self
Link string - Self link.
 - site
Name string - App name.
 - subject
Name string - Subject name of the certificate.
 - thumbprint string
 - Certificate thumbprint.
 - type string
 - Resource type.
 - valid boolean
 - Is the certificate valid?.
 - canonical
Name string - CNAME of the certificate to be issued via free certificate
 - domain
Validation stringMethod  - Method of domain validation for free cert
 - host
Names string[] - Host names the certificate applies to.
 - key
Vault stringId  - Key Vault Csm resource Id.
 - key
Vault stringSecret Name  - Key Vault secret name.
 - kind string
 - Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
 - pfx
Blob string - Pfx blob.
 - server
Farm 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.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - 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. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
 - 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.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - cer
Blob String - Raw bytes of .cer file
 - expiration
Date String - Certificate expiration date.
 - friendly
Name String - Friendly name of the certificate.
 - hosting
Environment Property MapProfile  - Specification for the App Service Environment to use for the certificate.
 - id String
 - Resource Id.
 - issue
Date String - Certificate issue Date.
 - issuer String
 - Certificate issuer.
 - key
Vault StringSecret Status  - Status of the Key Vault secret.
 - location String
 - Resource Location.
 - name String
 - Resource Name.
 - public
Key StringHash  - Public key hash.
 - self
Link String - Self link.
 - site
Name String - App name.
 - subject
Name String - Subject name of the certificate.
 - thumbprint String
 - Certificate thumbprint.
 - type String
 - Resource type.
 - valid Boolean
 - Is the certificate valid?.
 - canonical
Name String - CNAME of the certificate to be issued via free certificate
 - domain
Validation StringMethod  - Method of domain validation for free cert
 - host
Names List<String> - Host names the certificate applies to.
 - key
Vault StringId  - Key Vault Csm resource Id.
 - key
Vault StringSecret Name  - Key Vault secret name.
 - kind String
 - Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
 - pfx
Blob String - Pfx blob.
 - server
Farm 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