UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

94 lines (93 loc) 2.81 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get a MAK key. * * Uses Azure REST API version 2019-09-16-preview. */ export declare function getMultipleActivationKey(args: GetMultipleActivationKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetMultipleActivationKeyResult>; export interface GetMultipleActivationKeyArgs { /** * The name of the MAK key. */ multipleActivationKeyName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * MAK key details. */ export interface GetMultipleActivationKeyResult { /** * Agreement number under which the key is requested. */ readonly agreementNumber?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * End of support of security updates activated by the MAK key. */ readonly expirationDate: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Number of activations/servers using the MAK key. */ readonly installedServerNumber?: number; /** * <code> true </code> if user has eligible on-premises Windows physical or virtual machines, and that the requested key will only be used in their organization; <code> false </code> otherwise. */ readonly isEligible?: boolean; /** * The geo-location where the resource lives */ readonly location: string; /** * MAK 5x5 key. */ readonly multipleActivationKey: string; /** * The name of the resource */ readonly name: string; /** * Type of OS for which the key is requested. */ readonly osType?: string; readonly provisioningState: string; /** * Type of support */ readonly supportType?: string; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a MAK key. * * Uses Azure REST API version 2019-09-16-preview. */ export declare function getMultipleActivationKeyOutput(args: GetMultipleActivationKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMultipleActivationKeyResult>; export interface GetMultipleActivationKeyOutputArgs { /** * The name of the MAK key. */ multipleActivationKeyName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }