windowsesu

package module
v0.0.0-...-fc6d6d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OsTypeWindows7            = OsType("Windows7")
	OsTypeWindowsServer2008   = OsType("WindowsServer2008")
	OsTypeWindowsServer2008R2 = OsType("WindowsServer2008R2")
)
View Source
const (
	SupportTypeSupplementalServicing = SupportType("SupplementalServicing")
	SupportTypePremiumAssurance      = SupportType("PremiumAssurance")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupMultipleActivationKeyArgs

type LookupMultipleActivationKeyArgs struct {
	// The name of the MAK key.
	MultipleActivationKeyName string `pulumi:"multipleActivationKeyName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupMultipleActivationKeyOutputArgs

type LookupMultipleActivationKeyOutputArgs struct {
	// The name of the MAK key.
	MultipleActivationKeyName pulumi.StringInput `pulumi:"multipleActivationKeyName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

func (LookupMultipleActivationKeyOutputArgs) ElementType

type LookupMultipleActivationKeyResult

type LookupMultipleActivationKeyResult struct {
	// Agreement number under which the key is requested.
	AgreementNumber *string `pulumi:"agreementNumber"`
	// End of support of security updates activated by the MAK key.
	ExpirationDate string `pulumi:"expirationDate"`
	// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id string `pulumi:"id"`
	// Number of activations/servers using the MAK key.
	InstalledServerNumber *int `pulumi:"installedServerNumber"`
	// <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.
	IsEligible *bool `pulumi:"isEligible"`
	// The geo-location where the resource lives
	Location string `pulumi:"location"`
	// MAK 5x5 key.
	MultipleActivationKey string `pulumi:"multipleActivationKey"`
	// The name of the resource
	Name string `pulumi:"name"`
	// Type of OS for which the key is requested.
	OsType            *string `pulumi:"osType"`
	ProvisioningState string  `pulumi:"provisioningState"`
	// Type of support
	SupportType *string `pulumi:"supportType"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
}

MAK key details.

func LookupMultipleActivationKey

func LookupMultipleActivationKey(ctx *pulumi.Context, args *LookupMultipleActivationKeyArgs, opts ...pulumi.InvokeOption) (*LookupMultipleActivationKeyResult, error)

Get a MAK key. Azure REST API version: 2019-09-16-preview.

func (*LookupMultipleActivationKeyResult) Defaults

Defaults sets the appropriate defaults for LookupMultipleActivationKeyResult

type LookupMultipleActivationKeyResultOutput

type LookupMultipleActivationKeyResultOutput struct{ *pulumi.OutputState }

MAK key details.

func (LookupMultipleActivationKeyResultOutput) AgreementNumber

Agreement number under which the key is requested.

func (LookupMultipleActivationKeyResultOutput) ElementType

func (LookupMultipleActivationKeyResultOutput) ExpirationDate

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

func (LookupMultipleActivationKeyResultOutput) Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

func (LookupMultipleActivationKeyResultOutput) InstalledServerNumber

Number of activations/servers using the MAK key.

func (LookupMultipleActivationKeyResultOutput) IsEligible

<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.

func (LookupMultipleActivationKeyResultOutput) Location

The geo-location where the resource lives

func (LookupMultipleActivationKeyResultOutput) MultipleActivationKey

MAK 5x5 key.

func (LookupMultipleActivationKeyResultOutput) Name

The name of the resource

func (LookupMultipleActivationKeyResultOutput) OsType

Type of OS for which the key is requested.

func (LookupMultipleActivationKeyResultOutput) ProvisioningState

func (LookupMultipleActivationKeyResultOutput) SupportType

Type of support

func (LookupMultipleActivationKeyResultOutput) Tags

Resource tags.

func (LookupMultipleActivationKeyResultOutput) ToLookupMultipleActivationKeyResultOutput

func (o LookupMultipleActivationKeyResultOutput) ToLookupMultipleActivationKeyResultOutput() LookupMultipleActivationKeyResultOutput

func (LookupMultipleActivationKeyResultOutput) ToLookupMultipleActivationKeyResultOutputWithContext

func (o LookupMultipleActivationKeyResultOutput) ToLookupMultipleActivationKeyResultOutputWithContext(ctx context.Context) LookupMultipleActivationKeyResultOutput

func (LookupMultipleActivationKeyResultOutput) Type

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

type MultipleActivationKey

type MultipleActivationKey struct {
	pulumi.CustomResourceState

	// Agreement number under which the key is requested.
	AgreementNumber pulumi.StringPtrOutput `pulumi:"agreementNumber"`
	// End of support of security updates activated by the MAK key.
	ExpirationDate pulumi.StringOutput `pulumi:"expirationDate"`
	// Number of activations/servers using the MAK key.
	InstalledServerNumber pulumi.IntPtrOutput `pulumi:"installedServerNumber"`
	// <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.
	IsEligible pulumi.BoolPtrOutput `pulumi:"isEligible"`
	// The geo-location where the resource lives
	Location pulumi.StringOutput `pulumi:"location"`
	// MAK 5x5 key.
	MultipleActivationKey pulumi.StringOutput `pulumi:"multipleActivationKey"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Type of OS for which the key is requested.
	OsType            pulumi.StringPtrOutput `pulumi:"osType"`
	ProvisioningState pulumi.StringOutput    `pulumi:"provisioningState"`
	// Type of support
	SupportType pulumi.StringPtrOutput `pulumi:"supportType"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
}

MAK key details. Azure REST API version: 2019-09-16-preview. Prior API version in Azure Native 1.x: 2019-09-16-preview.

func GetMultipleActivationKey

func GetMultipleActivationKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MultipleActivationKeyState, opts ...pulumi.ResourceOption) (*MultipleActivationKey, error)

GetMultipleActivationKey gets an existing MultipleActivationKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMultipleActivationKey

func NewMultipleActivationKey(ctx *pulumi.Context,
	name string, args *MultipleActivationKeyArgs, opts ...pulumi.ResourceOption) (*MultipleActivationKey, error)

NewMultipleActivationKey registers a new resource with the given unique name, arguments, and options.

func (*MultipleActivationKey) ElementType

func (*MultipleActivationKey) ElementType() reflect.Type

func (*MultipleActivationKey) ToMultipleActivationKeyOutput

func (i *MultipleActivationKey) ToMultipleActivationKeyOutput() MultipleActivationKeyOutput

func (*MultipleActivationKey) ToMultipleActivationKeyOutputWithContext

func (i *MultipleActivationKey) ToMultipleActivationKeyOutputWithContext(ctx context.Context) MultipleActivationKeyOutput

type MultipleActivationKeyArgs

type MultipleActivationKeyArgs struct {
	// Agreement number under which the key is requested.
	AgreementNumber pulumi.StringPtrInput
	// Number of activations/servers using the MAK key.
	InstalledServerNumber pulumi.IntPtrInput
	// <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.
	IsEligible pulumi.BoolPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// The name of the MAK key.
	MultipleActivationKeyName pulumi.StringPtrInput
	// Type of OS for which the key is requested.
	OsType pulumi.StringPtrInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// Type of support
	SupportType pulumi.StringPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a MultipleActivationKey resource.

func (MultipleActivationKeyArgs) ElementType

func (MultipleActivationKeyArgs) ElementType() reflect.Type

type MultipleActivationKeyInput

type MultipleActivationKeyInput interface {
	pulumi.Input

	ToMultipleActivationKeyOutput() MultipleActivationKeyOutput
	ToMultipleActivationKeyOutputWithContext(ctx context.Context) MultipleActivationKeyOutput
}

type MultipleActivationKeyOutput

type MultipleActivationKeyOutput struct{ *pulumi.OutputState }

func (MultipleActivationKeyOutput) AgreementNumber

Agreement number under which the key is requested.

func (MultipleActivationKeyOutput) ElementType

func (MultipleActivationKeyOutput) ExpirationDate

func (o MultipleActivationKeyOutput) ExpirationDate() pulumi.StringOutput

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

func (MultipleActivationKeyOutput) InstalledServerNumber

func (o MultipleActivationKeyOutput) InstalledServerNumber() pulumi.IntPtrOutput

Number of activations/servers using the MAK key.

func (MultipleActivationKeyOutput) IsEligible

<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.

func (MultipleActivationKeyOutput) Location

The geo-location where the resource lives

func (MultipleActivationKeyOutput) MultipleActivationKey

func (o MultipleActivationKeyOutput) MultipleActivationKey() pulumi.StringOutput

MAK 5x5 key.

func (MultipleActivationKeyOutput) Name

The name of the resource

func (MultipleActivationKeyOutput) OsType

Type of OS for which the key is requested.

func (MultipleActivationKeyOutput) ProvisioningState

func (o MultipleActivationKeyOutput) ProvisioningState() pulumi.StringOutput

func (MultipleActivationKeyOutput) SupportType

Type of support

func (MultipleActivationKeyOutput) Tags

Resource tags.

func (MultipleActivationKeyOutput) ToMultipleActivationKeyOutput

func (o MultipleActivationKeyOutput) ToMultipleActivationKeyOutput() MultipleActivationKeyOutput

func (MultipleActivationKeyOutput) ToMultipleActivationKeyOutputWithContext

func (o MultipleActivationKeyOutput) ToMultipleActivationKeyOutputWithContext(ctx context.Context) MultipleActivationKeyOutput

func (MultipleActivationKeyOutput) Type

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

type MultipleActivationKeyState

type MultipleActivationKeyState struct {
}

func (MultipleActivationKeyState) ElementType

func (MultipleActivationKeyState) ElementType() reflect.Type

type OsType

type OsType string

Type of OS for which the key is requested.

func (OsType) ElementType

func (OsType) ElementType() reflect.Type

func (OsType) ToOsTypeOutput

func (e OsType) ToOsTypeOutput() OsTypeOutput

func (OsType) ToOsTypeOutputWithContext

func (e OsType) ToOsTypeOutputWithContext(ctx context.Context) OsTypeOutput

func (OsType) ToOsTypePtrOutput

func (e OsType) ToOsTypePtrOutput() OsTypePtrOutput

func (OsType) ToOsTypePtrOutputWithContext

func (e OsType) ToOsTypePtrOutputWithContext(ctx context.Context) OsTypePtrOutput

func (OsType) ToStringOutput

func (e OsType) ToStringOutput() pulumi.StringOutput

func (OsType) ToStringOutputWithContext

func (e OsType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OsType) ToStringPtrOutput

func (e OsType) ToStringPtrOutput() pulumi.StringPtrOutput

func (OsType) ToStringPtrOutputWithContext

func (e OsType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type OsTypeInput

type OsTypeInput interface {
	pulumi.Input

	ToOsTypeOutput() OsTypeOutput
	ToOsTypeOutputWithContext(context.Context) OsTypeOutput
}

OsTypeInput is an input type that accepts values of the OsType enum A concrete instance of `OsTypeInput` can be one of the following:

OsTypeWindows7
OsTypeWindowsServer2008
OsTypeWindowsServer2008R2

type OsTypeOutput

type OsTypeOutput struct{ *pulumi.OutputState }

func (OsTypeOutput) ElementType

func (OsTypeOutput) ElementType() reflect.Type

func (OsTypeOutput) ToOsTypeOutput

func (o OsTypeOutput) ToOsTypeOutput() OsTypeOutput

func (OsTypeOutput) ToOsTypeOutputWithContext

func (o OsTypeOutput) ToOsTypeOutputWithContext(ctx context.Context) OsTypeOutput

func (OsTypeOutput) ToOsTypePtrOutput

func (o OsTypeOutput) ToOsTypePtrOutput() OsTypePtrOutput

func (OsTypeOutput) ToOsTypePtrOutputWithContext

func (o OsTypeOutput) ToOsTypePtrOutputWithContext(ctx context.Context) OsTypePtrOutput

func (OsTypeOutput) ToStringOutput

func (o OsTypeOutput) ToStringOutput() pulumi.StringOutput

func (OsTypeOutput) ToStringOutputWithContext

func (o OsTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OsTypeOutput) ToStringPtrOutput

func (o OsTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (OsTypeOutput) ToStringPtrOutputWithContext

func (o OsTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type OsTypePtrInput

type OsTypePtrInput interface {
	pulumi.Input

	ToOsTypePtrOutput() OsTypePtrOutput
	ToOsTypePtrOutputWithContext(context.Context) OsTypePtrOutput
}

func OsTypePtr

func OsTypePtr(v string) OsTypePtrInput

type OsTypePtrOutput

type OsTypePtrOutput struct{ *pulumi.OutputState }

func (OsTypePtrOutput) Elem

func (o OsTypePtrOutput) Elem() OsTypeOutput

func (OsTypePtrOutput) ElementType

func (OsTypePtrOutput) ElementType() reflect.Type

func (OsTypePtrOutput) ToOsTypePtrOutput

func (o OsTypePtrOutput) ToOsTypePtrOutput() OsTypePtrOutput

func (OsTypePtrOutput) ToOsTypePtrOutputWithContext

func (o OsTypePtrOutput) ToOsTypePtrOutputWithContext(ctx context.Context) OsTypePtrOutput

func (OsTypePtrOutput) ToStringPtrOutput

func (o OsTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (OsTypePtrOutput) ToStringPtrOutputWithContext

func (o OsTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SupportType

type SupportType string

Type of support

func (SupportType) ElementType

func (SupportType) ElementType() reflect.Type

func (SupportType) ToStringOutput

func (e SupportType) ToStringOutput() pulumi.StringOutput

func (SupportType) ToStringOutputWithContext

func (e SupportType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SupportType) ToStringPtrOutput

func (e SupportType) ToStringPtrOutput() pulumi.StringPtrOutput

func (SupportType) ToStringPtrOutputWithContext

func (e SupportType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (SupportType) ToSupportTypeOutput

func (e SupportType) ToSupportTypeOutput() SupportTypeOutput

func (SupportType) ToSupportTypeOutputWithContext

func (e SupportType) ToSupportTypeOutputWithContext(ctx context.Context) SupportTypeOutput

func (SupportType) ToSupportTypePtrOutput

func (e SupportType) ToSupportTypePtrOutput() SupportTypePtrOutput

func (SupportType) ToSupportTypePtrOutputWithContext

func (e SupportType) ToSupportTypePtrOutputWithContext(ctx context.Context) SupportTypePtrOutput

type SupportTypeInput

type SupportTypeInput interface {
	pulumi.Input

	ToSupportTypeOutput() SupportTypeOutput
	ToSupportTypeOutputWithContext(context.Context) SupportTypeOutput
}

SupportTypeInput is an input type that accepts values of the SupportType enum A concrete instance of `SupportTypeInput` can be one of the following:

SupportTypeSupplementalServicing
SupportTypePremiumAssurance

type SupportTypeOutput

type SupportTypeOutput struct{ *pulumi.OutputState }

func (SupportTypeOutput) ElementType

func (SupportTypeOutput) ElementType() reflect.Type

func (SupportTypeOutput) ToStringOutput

func (o SupportTypeOutput) ToStringOutput() pulumi.StringOutput

func (SupportTypeOutput) ToStringOutputWithContext

func (o SupportTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SupportTypeOutput) ToStringPtrOutput

func (o SupportTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SupportTypeOutput) ToStringPtrOutputWithContext

func (o SupportTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (SupportTypeOutput) ToSupportTypeOutput

func (o SupportTypeOutput) ToSupportTypeOutput() SupportTypeOutput

func (SupportTypeOutput) ToSupportTypeOutputWithContext

func (o SupportTypeOutput) ToSupportTypeOutputWithContext(ctx context.Context) SupportTypeOutput

func (SupportTypeOutput) ToSupportTypePtrOutput

func (o SupportTypeOutput) ToSupportTypePtrOutput() SupportTypePtrOutput

func (SupportTypeOutput) ToSupportTypePtrOutputWithContext

func (o SupportTypeOutput) ToSupportTypePtrOutputWithContext(ctx context.Context) SupportTypePtrOutput

type SupportTypePtrInput

type SupportTypePtrInput interface {
	pulumi.Input

	ToSupportTypePtrOutput() SupportTypePtrOutput
	ToSupportTypePtrOutputWithContext(context.Context) SupportTypePtrOutput
}

func SupportTypePtr

func SupportTypePtr(v string) SupportTypePtrInput

type SupportTypePtrOutput

type SupportTypePtrOutput struct{ *pulumi.OutputState }

func (SupportTypePtrOutput) Elem

func (SupportTypePtrOutput) ElementType

func (SupportTypePtrOutput) ElementType() reflect.Type

func (SupportTypePtrOutput) ToStringPtrOutput

func (o SupportTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SupportTypePtrOutput) ToStringPtrOutputWithContext

func (o SupportTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (SupportTypePtrOutput) ToSupportTypePtrOutput

func (o SupportTypePtrOutput) ToSupportTypePtrOutput() SupportTypePtrOutput

func (SupportTypePtrOutput) ToSupportTypePtrOutputWithContext

func (o SupportTypePtrOutput) ToSupportTypePtrOutputWithContext(ctx context.Context) SupportTypePtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL