MultipleActivationKey
MAK key details.
Example Usage
CreateMultipleActivationKey
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var multipleActivationKey = new AzureNextGen.WindowsESU.V20190916Preview.MultipleActivationKey("multipleActivationKey", new AzureNextGen.WindowsESU.V20190916Preview.MultipleActivationKeyArgs
{
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-nextgen/sdk/go/azure/windowsesu/v20190916preview"
"github.com/pulumi/pulumi/sdk/v2/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
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
multiple_activation_key = azure_nextgen.windowsesu.v20190916preview.MultipleActivationKey("multipleActivationKey",
agreement_number="1a2b45ag",
installed_server_number=100,
is_eligible=True,
location="East US",
multiple_activation_key_name="server08-key-2019",
os_type="WindowsServer2008",
resource_group_name="testgr1",
support_type="SupplementalServicing")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const multipleActivationKey = new azure_nextgen.windowsesu.v20190916preview.MultipleActivationKey("multipleActivationKey", {
agreementNumber: "1a2b45ag",
installedServerNumber: 100,
isEligible: true,
location: "East US",
multipleActivationKeyName: "server08-key-2019",
osType: "WindowsServer2008",
resourceGroupName: "testgr1",
supportType: "SupplementalServicing",
});
Create a MultipleActivationKey Resource
new MultipleActivationKey(name: string, args: MultipleActivationKeyArgs, opts?: CustomResourceOptions);
def MultipleActivationKey(resource_name: str, opts: Optional[ResourceOptions] = None, agreement_number: Optional[str] = None, installed_server_number: Optional[int] = None, is_eligible: Optional[bool] = None, location: Optional[str] = None, multiple_activation_key_name: Optional[str] = None, os_type: Optional[Union[str, OsType]] = None, resource_group_name: Optional[str] = None, support_type: Optional[Union[str, SupportType]] = None, tags: Optional[Mapping[str, str]] = None)
func NewMultipleActivationKey(ctx *Context, name string, args MultipleActivationKeyArgs, opts ...ResourceOption) (*MultipleActivationKey, error)
public MultipleActivationKey(string name, MultipleActivationKeyArgs args, CustomResourceOptions? opts = null)
- name string
- The unique name of the resource.
- args MultipleActivationKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MultipleActivationKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MultipleActivationKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
MultipleActivationKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The MultipleActivationKey resource accepts the following input properties:
- Location string
- The geo-location where the resource lives
- Multiple
Activation stringKey Name - The name of the MAK key.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Agreement
Number string - Agreement number under which the key is requested.
- Installed
Server intNumber - Number of activations/servers using the MAK key.
- Is
Eligible bool 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.- Os
Type string | Pulumi.Azure Next Gen. Windows ESU. Os Type - Type of OS for which the key is requested.
- Support
Type string | Pulumi.Azure Next Gen. Windows ESU. Support Type - Type of support
- Dictionary<string, string>
- Resource tags.
- Location string
- The geo-location where the resource lives
- Multiple
Activation stringKey Name - The name of the MAK key.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Agreement
Number string - Agreement number under which the key is requested.
- Installed
Server intNumber - Number of activations/servers using the MAK key.
- Is
Eligible bool 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.- Os
Type string | OsType - Type of OS for which the key is requested.
- Support
Type string | SupportType - Type of support
- map[string]string
- Resource tags.
- location string
- The geo-location where the resource lives
- multiple
Activation stringKey Name - The name of the MAK key.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- agreement
Number string - Agreement number under which the key is requested.
- installed
Server numberNumber - Number of activations/servers using the MAK key.
- is
Eligible 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.- os
Type string | OsType - Type of OS for which the key is requested.
- support
Type string | SupportType - Type of support
- {[key: string]: string}
- Resource tags.
- location str
- The geo-location where the resource lives
- multiple_
activation_ strkey_ name - The name of the MAK key.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- agreement_
number str - Agreement number under which the key is requested.
- installed_
server_ intnumber - Number of activations/servers using the MAK key.
- is_
eligible bool 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.- os_
type str | OsType - Type of OS for which the key is requested.
- support_
type str | SupportType - Type of support
- Mapping[str, str]
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the MultipleActivationKey resource produces the following output properties:
- Expiration
Date string - End of support of security updates activated by the MAK key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Multiple
Activation stringKey Value - MAK 5x5 key.
- Name string
- The name of the resource
- Provisioning
State string - Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Expiration
Date string - End of support of security updates activated by the MAK key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Multiple
Activation stringKey - MAK 5x5 key.
- Name string
- The name of the resource
- Provisioning
State string - Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- expiration
Date string - End of support of security updates activated by the MAK key.
- id string
- The provider-assigned unique ID for this managed resource.
- multiple
Activation stringKey - MAK 5x5 key.
- name string
- The name of the resource
- provisioning
State string - type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- expiration_
date str - End of support of security updates activated by the MAK key.
- id str
- The provider-assigned unique ID for this managed resource.
- multiple_
activation_ strkey - MAK 5x5 key.
- name str
- The name of the resource
- provisioning_
state str - type str
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
Supporting Types
OsType
- Windows7
- Windows7
- Windows
Server2008 - WindowsServer2008
- Windows
Server2008R2 - WindowsServer2008R2
- Os
Type Windows7 - Windows7
- Os
Type Windows Server2008 - WindowsServer2008
- Os
Type Windows Server2008R2 - WindowsServer2008R2
- Windows7
- Windows7
- Windows
Server2008 - WindowsServer2008
- Windows
Server2008R2 - WindowsServer2008R2
- WINDOWS7
- Windows7
- WINDOWS_SERVER2008
- WindowsServer2008
- WINDOWS_SERVER2008_R2
- WindowsServer2008R2
SupportType
- Supplemental
Servicing - SupplementalServicing
- Premium
Assurance - PremiumAssurance
- Support
Type Supplemental Servicing - SupplementalServicing
- Support
Type Premium Assurance - PremiumAssurance
- Supplemental
Servicing - SupplementalServicing
- Premium
Assurance - PremiumAssurance
- SUPPLEMENTAL_SERVICING
- SupplementalServicing
- PREMIUM_ASSURANCE
- PremiumAssurance
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-nextgen:windowsesu/v20190916preview:MultipleActivationKey server08-key-2019 /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testgr1/providers/Microsoft.WindowsESU/multipleActivationKeys/server08-key-2019
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0