1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getSiteCertificateSlot
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

azure-native.web.getSiteCertificateSlot

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

    SSL certificate for an app.

    Uses Azure REST API version 2024-11-01.

    Using getSiteCertificateSlot

    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 getSiteCertificateSlot(args: GetSiteCertificateSlotArgs, opts?: InvokeOptions): Promise<GetSiteCertificateSlotResult>
    function getSiteCertificateSlotOutput(args: GetSiteCertificateSlotOutputArgs, opts?: InvokeOptions): Output<GetSiteCertificateSlotResult>
    def get_site_certificate_slot(certificate_name: Optional[str] = None,
                                  name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  slot: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSiteCertificateSlotResult
    def get_site_certificate_slot_output(certificate_name: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  slot: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSiteCertificateSlotResult]
    func LookupSiteCertificateSlot(ctx *Context, args *LookupSiteCertificateSlotArgs, opts ...InvokeOption) (*LookupSiteCertificateSlotResult, error)
    func LookupSiteCertificateSlotOutput(ctx *Context, args *LookupSiteCertificateSlotOutputArgs, opts ...InvokeOption) LookupSiteCertificateSlotResultOutput

    > Note: This function is named LookupSiteCertificateSlot in the Go SDK.

    public static class GetSiteCertificateSlot 
    {
        public static Task<GetSiteCertificateSlotResult> InvokeAsync(GetSiteCertificateSlotArgs args, InvokeOptions? opts = null)
        public static Output<GetSiteCertificateSlotResult> Invoke(GetSiteCertificateSlotInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSiteCertificateSlotResult> getSiteCertificateSlot(GetSiteCertificateSlotArgs args, InvokeOptions options)
    public static Output<GetSiteCertificateSlotResult> getSiteCertificateSlot(GetSiteCertificateSlotArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:web:getSiteCertificateSlot
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateName string
    Name of the certificate.
    Name string
    Name of the site.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
    CertificateName string
    Name of the certificate.
    Name string
    Name of the site.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
    certificateName String
    Name of the certificate.
    name String
    Name of the site.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
    certificateName string
    Name of the certificate.
    name string
    Name of the site.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    slot string
    Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
    certificate_name str
    Name of the certificate.
    name str
    Name of the site.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    slot str
    Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
    certificateName String
    Name of the certificate.
    name String
    Name of the site.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.

    getSiteCertificateSlot Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    CerBlob string
    Raw bytes of .cer file
    ExpirationDate string
    Certificate expiration date.
    FriendlyName string
    Friendly name of the certificate.
    HostingEnvironmentProfile Pulumi.AzureNative.Web.Outputs.HostingEnvironmentProfileResponse
    Specification for the App Service Environment to use for the certificate.
    Id string
    Resource Id.
    IssueDate string
    Certificate issue Date.
    Issuer string
    Certificate issuer.
    KeyVaultSecretStatus string
    Status of the Key Vault secret.
    Location string
    Resource Location.
    Name string
    Resource Name.
    PublicKeyHash string
    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
    DomainValidationMethod string
    Method of domain validation for free cert
    HostNames List<string>
    Host names the certificate applies to.
    KeyVaultId string
    Azure Key Vault Csm resource Id.
    KeyVaultSecretName string
    Azure 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.
    Password string
    Certificate password.
    PfxBlob string
    Pfx blob.
    ServerFarmId string
    Resource ID of the associated App Service plan.
    Tags Dictionary<string, string>
    Resource tags.
    AzureApiVersion string
    The Azure API version of the resource.
    CerBlob string
    Raw bytes of .cer file
    ExpirationDate string
    Certificate expiration date.
    FriendlyName string
    Friendly name of the certificate.
    HostingEnvironmentProfile HostingEnvironmentProfileResponse
    Specification for the App Service Environment to use for the certificate.
    Id string
    Resource Id.
    IssueDate string
    Certificate issue Date.
    Issuer string
    Certificate issuer.
    KeyVaultSecretStatus string
    Status of the Key Vault secret.
    Location string
    Resource Location.
    Name string
    Resource Name.
    PublicKeyHash string
    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
    DomainValidationMethod string
    Method of domain validation for free cert
    HostNames []string
    Host names the certificate applies to.
    KeyVaultId string
    Azure Key Vault Csm resource Id.
    KeyVaultSecretName string
    Azure 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.
    Password string
    Certificate password.
    PfxBlob string
    Pfx blob.
    ServerFarmId string
    Resource ID of the associated App Service plan.
    Tags map[string]string
    Resource tags.
    azureApiVersion String
    The Azure API version of the resource.
    cerBlob String
    Raw bytes of .cer file
    expirationDate String
    Certificate expiration date.
    friendlyName String
    Friendly name of the certificate.
    hostingEnvironmentProfile HostingEnvironmentProfileResponse
    Specification for the App Service Environment to use for the certificate.
    id String
    Resource Id.
    issueDate String
    Certificate issue Date.
    issuer String
    Certificate issuer.
    keyVaultSecretStatus String
    Status of the Key Vault secret.
    location String
    Resource Location.
    name String
    Resource Name.
    publicKeyHash String
    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
    domainValidationMethod String
    Method of domain validation for free cert
    hostNames List<String>
    Host names the certificate applies to.
    keyVaultId String
    Azure Key Vault Csm resource Id.
    keyVaultSecretName String
    Azure 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.
    password String
    Certificate password.
    pfxBlob String
    Pfx blob.
    serverFarmId String
    Resource ID of the associated App Service plan.
    tags Map<String,String>
    Resource tags.
    azureApiVersion string
    The Azure API version of the resource.
    cerBlob string
    Raw bytes of .cer file
    expirationDate string
    Certificate expiration date.
    friendlyName string
    Friendly name of the certificate.
    hostingEnvironmentProfile HostingEnvironmentProfileResponse
    Specification for the App Service Environment to use for the certificate.
    id string
    Resource Id.
    issueDate string
    Certificate issue Date.
    issuer string
    Certificate issuer.
    keyVaultSecretStatus string
    Status of the Key Vault secret.
    location string
    Resource Location.
    name string
    Resource Name.
    publicKeyHash string
    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
    domainValidationMethod string
    Method of domain validation for free cert
    hostNames string[]
    Host names the certificate applies to.
    keyVaultId string
    Azure Key Vault Csm resource Id.
    keyVaultSecretName string
    Azure 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.
    password string
    Certificate password.
    pfxBlob string
    Pfx blob.
    serverFarmId string
    Resource ID of the associated App Service plan.
    tags {[key: string]: string}
    Resource tags.
    azure_api_version str
    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_profile HostingEnvironmentProfileResponse
    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_secret_status str
    Status of the Key Vault secret.
    location str
    Resource Location.
    name str
    Resource Name.
    public_key_hash str
    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_method str
    Method of domain validation for free cert
    host_names Sequence[str]
    Host names the certificate applies to.
    key_vault_id str
    Azure Key Vault Csm resource Id.
    key_vault_secret_name str
    Azure 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.
    password str
    Certificate password.
    pfx_blob str
    Pfx blob.
    server_farm_id str
    Resource ID of the associated App Service plan.
    tags Mapping[str, str]
    Resource tags.
    azureApiVersion String
    The Azure API version of the resource.
    cerBlob String
    Raw bytes of .cer file
    expirationDate String
    Certificate expiration date.
    friendlyName String
    Friendly name of the certificate.
    hostingEnvironmentProfile Property Map
    Specification for the App Service Environment to use for the certificate.
    id String
    Resource Id.
    issueDate String
    Certificate issue Date.
    issuer String
    Certificate issuer.
    keyVaultSecretStatus String
    Status of the Key Vault secret.
    location String
    Resource Location.
    name String
    Resource Name.
    publicKeyHash String
    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
    domainValidationMethod String
    Method of domain validation for free cert
    hostNames List<String>
    Host names the certificate applies to.
    keyVaultId String
    Azure Key Vault Csm resource Id.
    keyVaultSecretName String
    Azure 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.
    password String
    Certificate password.
    pfxBlob String
    Pfx blob.
    serverFarmId String
    Resource ID of the associated App Service plan.
    tags Map<String>
    Resource tags.

    Supporting Types

    HostingEnvironmentProfileResponse

    Name string
    Name of the App Service Environment.
    Type string
    Resource type of the App Service Environment.
    Id string
    Resource ID of the App Service Environment.
    Name string
    Name of the App Service Environment.
    Type string
    Resource type of the App Service Environment.
    Id string
    Resource ID of the App Service Environment.
    name String
    Name of the App Service Environment.
    type String
    Resource type of the App Service Environment.
    id String
    Resource ID of the App Service Environment.
    name string
    Name of the App Service Environment.
    type string
    Resource type of the App Service Environment.
    id string
    Resource ID of the App Service Environment.
    name str
    Name of the App Service Environment.
    type str
    Resource type of the App Service Environment.
    id str
    Resource ID of the App Service Environment.
    name String
    Name of the App Service Environment.
    type String
    Resource type of the App Service Environment.
    id String
    Resource ID of the App Service Environment.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi