1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getWebAppPublicCertificate
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.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.web.getWebAppPublicCertificate

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.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Description for Get the named public certificate for an app (or deployment slot, if specified).

    Uses Azure REST API version 2024-04-01.

    Other available API versions: 2016-08-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 getWebAppPublicCertificate

    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 getWebAppPublicCertificate(args: GetWebAppPublicCertificateArgs, opts?: InvokeOptions): Promise<GetWebAppPublicCertificateResult>
    function getWebAppPublicCertificateOutput(args: GetWebAppPublicCertificateOutputArgs, opts?: InvokeOptions): Output<GetWebAppPublicCertificateResult>
    def get_web_app_public_certificate(name: Optional[str] = None,
                                       public_certificate_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetWebAppPublicCertificateResult
    def get_web_app_public_certificate_output(name: Optional[pulumi.Input[str]] = None,
                                       public_certificate_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetWebAppPublicCertificateResult]
    func LookupWebAppPublicCertificate(ctx *Context, args *LookupWebAppPublicCertificateArgs, opts ...InvokeOption) (*LookupWebAppPublicCertificateResult, error)
    func LookupWebAppPublicCertificateOutput(ctx *Context, args *LookupWebAppPublicCertificateOutputArgs, opts ...InvokeOption) LookupWebAppPublicCertificateResultOutput

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

    public static class GetWebAppPublicCertificate 
    {
        public static Task<GetWebAppPublicCertificateResult> InvokeAsync(GetWebAppPublicCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetWebAppPublicCertificateResult> Invoke(GetWebAppPublicCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWebAppPublicCertificateResult> getWebAppPublicCertificate(GetWebAppPublicCertificateArgs args, InvokeOptions options)
    public static Output<GetWebAppPublicCertificateResult> getWebAppPublicCertificate(GetWebAppPublicCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:web:getWebAppPublicCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the app.
    PublicCertificateName string
    Public certificate name.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Name string
    Name of the app.
    PublicCertificateName string
    Public certificate name.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    name String
    Name of the app.
    publicCertificateName String
    Public certificate name.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    name string
    Name of the app.
    publicCertificateName string
    Public certificate name.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    name str
    Name of the app.
    public_certificate_name str
    Public certificate name.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    name String
    Name of the app.
    publicCertificateName String
    Public certificate name.
    resourceGroupName String
    Name of the resource group to which the resource belongs.

    getWebAppPublicCertificate Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Resource Id.
    Name string
    Resource Name.
    Thumbprint string
    Certificate Thumbprint
    Type string
    Resource type.
    Blob string
    Public Certificate byte array
    Kind string
    Kind of resource.
    PublicCertificateLocation string
    Public Certificate Location
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Resource Id.
    Name string
    Resource Name.
    Thumbprint string
    Certificate Thumbprint
    Type string
    Resource type.
    Blob string
    Public Certificate byte array
    Kind string
    Kind of resource.
    PublicCertificateLocation string
    Public Certificate Location
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Resource Id.
    name String
    Resource Name.
    thumbprint String
    Certificate Thumbprint
    type String
    Resource type.
    blob String
    Public Certificate byte array
    kind String
    Kind of resource.
    publicCertificateLocation String
    Public Certificate Location
    azureApiVersion string
    The Azure API version of the resource.
    id string
    Resource Id.
    name string
    Resource Name.
    thumbprint string
    Certificate Thumbprint
    type string
    Resource type.
    blob string
    Public Certificate byte array
    kind string
    Kind of resource.
    publicCertificateLocation string
    Public Certificate Location
    azure_api_version str
    The Azure API version of the resource.
    id str
    Resource Id.
    name str
    Resource Name.
    thumbprint str
    Certificate Thumbprint
    type str
    Resource type.
    blob str
    Public Certificate byte array
    kind str
    Kind of resource.
    public_certificate_location str
    Public Certificate Location
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Resource Id.
    name String
    Resource Name.
    thumbprint String
    Certificate Thumbprint
    type String
    Resource type.
    blob String
    Public Certificate byte array
    kind String
    Kind of resource.
    publicCertificateLocation String
    Public Certificate Location

    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.3.0 published on Monday, Apr 28, 2025 by Pulumi