MultipleActivationKey

class MultipleActivationKey : KotlinCustomResource

MAK key details. API Version: 2019-09-16-preview.

Example Usage

CreateMultipleActivationKey

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var multipleActivationKey = new AzureNative.WindowsESU.MultipleActivationKey("multipleActivationKey", new()
{
AgreementNumber = "1a2b45ag",
InstalledServerNumber = 100,
IsEligible = true,
Location = "East US",
MultipleActivationKeyName = "server08-key-2019",
OsType = "WindowsServer2008",
ResourceGroupName = "testgr1",
SupportType = "SupplementalServicing",
});
});
package main
import (
windowsesu "github.com/pulumi/pulumi-azure-native-sdk/windowsesu"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := windowsesu.NewMultipleActivationKey(ctx, "multipleActivationKey", &windowsesu.MultipleActivationKeyArgs{
AgreementNumber: pulumi.String("1a2b45ag"),
InstalledServerNumber: pulumi.Int(100),
IsEligible: pulumi.Bool(true),
Location: pulumi.String("East US"),
MultipleActivationKeyName: pulumi.String("server08-key-2019"),
OsType: pulumi.String("WindowsServer2008"),
ResourceGroupName: pulumi.String("testgr1"),
SupportType: pulumi.String("SupplementalServicing"),
})
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.windowsesu.MultipleActivationKey;
import com.pulumi.azurenative.windowsesu.MultipleActivationKeyArgs;
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 multipleActivationKey = new MultipleActivationKey("multipleActivationKey", MultipleActivationKeyArgs.builder()
.agreementNumber("1a2b45ag")
.installedServerNumber(100)
.isEligible(true)
.location("East US")
.multipleActivationKeyName("server08-key-2019")
.osType("WindowsServer2008")
.resourceGroupName("testgr1")
.supportType("SupplementalServicing")
.build());
}
}

Import

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

$ pulumi import azure-native:windowsesu:MultipleActivationKey server08-key-2019 /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testgr1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019

Properties

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

Agreement number under which the key is requested.

Link copied to clipboard
val expirationDate: Output<String>

End of support of security updates activated by the MAK key.

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

Number of activations/servers using the MAK key.

Link copied to clipboard
val isEligible: Output<Boolean>?
true if user has eligible on-premises Windows physical or virtual machines, and that the requested key will only be used in their organization; false otherwise.
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard

MAK 5x5 key.

Link copied to clipboard
val name: Output<String>

The name of the resource

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

Type of OS for which the key is requested.

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

Type of support

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>