Show / Hide Table of Contents

Class GetCertificate

Inheritance
System.Object
GetCertificate
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.AppService
Assembly: Pulumi.Azure.dll
Syntax
public static class GetCertificate

Methods

View Source

InvokeAsync(GetCertificateArgs, InvokeOptions)

Use this data source to access information about an App Service Certificate.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.AppService.GetCertificate.InvokeAsync(new Azure.AppService.GetCertificateArgs
    {
        Name = "example-app-service-certificate",
        ResourceGroupName = "example-rg",
    }));
    this.AppServiceCertificateId = example.Apply(example => example.Id);
}

[Output("appServiceCertificateId")]
public Output<string> AppServiceCertificateId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetCertificateArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetCertificateResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.