Show / Hide Table of Contents

Class GetProduct

Inheritance
System.Object
GetProduct
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.ApiManagement
Assembly: Pulumi.Azure.dll
Syntax
public static class GetProduct

Methods

View Source

InvokeAsync(GetProductArgs, InvokeOptions)

Use this data source to access information about an existing API Management Product.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.ApiManagement.GetProduct.InvokeAsync(new Azure.ApiManagement.GetProductArgs
    {
        ProductId = "my-product",
        ApiManagementName = "example-apim",
        ResourceGroupName = "search-service",
    }));
    this.ProductTerms = example.Apply(example => example.Terms);
}

[Output("productTerms")]
public Output<string> ProductTerms { get; set; }
}

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

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