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.web.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
Get a certificate. 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(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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:web:getCertificate
arguments:
# arguments dictionary
The 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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-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