ProductGroup

class ProductGroup : KotlinCustomResource

Contract details. API Version: 2020-12-01.

Example Usage

ApiManagementCreateProductGroup

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var productGroup = new AzureNative.ApiManagement.ProductGroup("productGroup", new()
{
GroupId = "templateGroup",
ProductId = "testproduct",
ResourceGroupName = "rg1",
ServiceName = "apimService1",
});
});
package main
import (
apimanagement "github.com/pulumi/pulumi-azure-native-sdk/apimanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apimanagement.NewProductGroup(ctx, "productGroup", &apimanagement.ProductGroupArgs{
GroupId: pulumi.String("templateGroup"),
ProductId: pulumi.String("testproduct"),
ResourceGroupName: pulumi.String("rg1"),
ServiceName: pulumi.String("apimService1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.apimanagement.ProductGroup;
import com.pulumi.azurenative.apimanagement.ProductGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var productGroup = new ProductGroup("productGroup", ProductGroupArgs.builder()
.groupId("templateGroup")
.productId("testproduct")
.resourceGroupName("rg1")
.serviceName("apimService1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:apimanagement:ProductGroup templateGroup /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/groups/templateGroup

Properties

Link copied to clipboard
val builtIn: Output<Boolean>

true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.

Link copied to clipboard
val description: Output<String>?

Group description. Can contain HTML formatting tags.

Link copied to clipboard
val displayName: Output<String>

Group name.

Link copied to clipboard
val externalId: Output<String>?

For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://<tenant>.onmicrosoft.com/groups/<group object id>; otherwise the value is null.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Resource name.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

Resource type for API Management resource.

Link copied to clipboard
val urn: Output<String>