Group Quota
Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified. Uses Azure REST API version 2025-03-01. In version 2.x of the Azure Native provider, it used API version 2023-06-01-preview. Other available API versions: 2023-06-01-preview, 2024-10-15-preview, 2024-12-18-preview, 2025-03-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native quota [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Example Usage
GroupQuotas_Put_Request_ForCompute
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var groupQuota = new AzureNative.Quota.GroupQuota("groupQuota", new()
{
GroupQuotaName = "groupquota1",
ManagementGroupId = "E7EC67B3-7657-4966-BFFC-41EFD36BAA09",
Properties = new AzureNative.Quota.Inputs.GroupQuotasEntityPropertiesArgs
{
DisplayName = "GroupQuota1",
},
});
});
Content copied to clipboard
package main
import (
quota "github.com/pulumi/pulumi-azure-native-sdk/quota/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := quota.NewGroupQuota(ctx, "groupQuota", "a.GroupQuotaArgs{
GroupQuotaName: pulumi.String("groupquota1"),
ManagementGroupId: pulumi.String("E7EC67B3-7657-4966-BFFC-41EFD36BAA09"),
Properties: "a.GroupQuotasEntityPropertiesArgs{
DisplayName: pulumi.String("GroupQuota1"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.quota.GroupQuota;
import com.pulumi.azurenative.quota.GroupQuotaArgs;
import com.pulumi.azurenative.quota.inputs.GroupQuotasEntityPropertiesArgs;
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 groupQuota = new GroupQuota("groupQuota", GroupQuotaArgs.builder()
.groupQuotaName("groupquota1")
.managementGroupId("E7EC67B3-7657-4966-BFFC-41EFD36BAA09")
.properties(GroupQuotasEntityPropertiesArgs.builder()
.displayName("GroupQuota1")
.build())
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:quota:GroupQuota groupquota1 /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
Content copied to clipboard