softwareplan

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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HybridUseBenefit

type HybridUseBenefit struct {
	pulumi.CustomResourceState

	// Created date
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// Indicates the revision of the hybrid use benefit
	Etag pulumi.IntOutput `pulumi:"etag"`
	// Last updated date
	LastUpdatedDate pulumi.StringOutput `pulumi:"lastUpdatedDate"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Provisioning state
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Hybrid use benefit SKU
	Sku SkuResponseOutput `pulumi:"sku"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
}

Response on GET of a hybrid use benefit Azure REST API version: 2019-12-01. Prior API version in Azure Native 1.x: 2019-06-01-preview.

func GetHybridUseBenefit

func GetHybridUseBenefit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HybridUseBenefitState, opts ...pulumi.ResourceOption) (*HybridUseBenefit, error)

GetHybridUseBenefit gets an existing HybridUseBenefit 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 NewHybridUseBenefit

func NewHybridUseBenefit(ctx *pulumi.Context,
	name string, args *HybridUseBenefitArgs, opts ...pulumi.ResourceOption) (*HybridUseBenefit, error)

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

func (*HybridUseBenefit) ElementType

func (*HybridUseBenefit) ElementType() reflect.Type

func (*HybridUseBenefit) ToHybridUseBenefitOutput

func (i *HybridUseBenefit) ToHybridUseBenefitOutput() HybridUseBenefitOutput

func (*HybridUseBenefit) ToHybridUseBenefitOutputWithContext

func (i *HybridUseBenefit) ToHybridUseBenefitOutputWithContext(ctx context.Context) HybridUseBenefitOutput

type HybridUseBenefitArgs

type HybridUseBenefitArgs struct {
	// This is a unique identifier for a plan. Should be a guid.
	PlanId pulumi.StringPtrInput
	// The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
	Scope pulumi.StringInput
	// Hybrid use benefit SKU
	Sku SkuInput
}

The set of arguments for constructing a HybridUseBenefit resource.

func (HybridUseBenefitArgs) ElementType

func (HybridUseBenefitArgs) ElementType() reflect.Type

type HybridUseBenefitInput

type HybridUseBenefitInput interface {
	pulumi.Input

	ToHybridUseBenefitOutput() HybridUseBenefitOutput
	ToHybridUseBenefitOutputWithContext(ctx context.Context) HybridUseBenefitOutput
}

type HybridUseBenefitOutput

type HybridUseBenefitOutput struct{ *pulumi.OutputState }

func (HybridUseBenefitOutput) CreatedDate

func (o HybridUseBenefitOutput) CreatedDate() pulumi.StringOutput

Created date

func (HybridUseBenefitOutput) ElementType

func (HybridUseBenefitOutput) ElementType() reflect.Type

func (HybridUseBenefitOutput) Etag

Indicates the revision of the hybrid use benefit

func (HybridUseBenefitOutput) LastUpdatedDate

func (o HybridUseBenefitOutput) LastUpdatedDate() pulumi.StringOutput

Last updated date

func (HybridUseBenefitOutput) Name

The name of the resource

func (HybridUseBenefitOutput) ProvisioningState

func (o HybridUseBenefitOutput) ProvisioningState() pulumi.StringOutput

Provisioning state

func (HybridUseBenefitOutput) Sku

Hybrid use benefit SKU

func (HybridUseBenefitOutput) ToHybridUseBenefitOutput

func (o HybridUseBenefitOutput) ToHybridUseBenefitOutput() HybridUseBenefitOutput

func (HybridUseBenefitOutput) ToHybridUseBenefitOutputWithContext

func (o HybridUseBenefitOutput) ToHybridUseBenefitOutputWithContext(ctx context.Context) HybridUseBenefitOutput

func (HybridUseBenefitOutput) Type

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

type HybridUseBenefitState

type HybridUseBenefitState struct {
}

func (HybridUseBenefitState) ElementType

func (HybridUseBenefitState) ElementType() reflect.Type

type LookupHybridUseBenefitArgs

type LookupHybridUseBenefitArgs struct {
	// This is a unique identifier for a plan. Should be a guid.
	PlanId string `pulumi:"planId"`
	// The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
	Scope string `pulumi:"scope"`
}

type LookupHybridUseBenefitOutputArgs

type LookupHybridUseBenefitOutputArgs struct {
	// This is a unique identifier for a plan. Should be a guid.
	PlanId pulumi.StringInput `pulumi:"planId"`
	// The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
	Scope pulumi.StringInput `pulumi:"scope"`
}

func (LookupHybridUseBenefitOutputArgs) ElementType

type LookupHybridUseBenefitResult

type LookupHybridUseBenefitResult struct {
	// Created date
	CreatedDate string `pulumi:"createdDate"`
	// Indicates the revision of the hybrid use benefit
	Etag int `pulumi:"etag"`
	// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id string `pulumi:"id"`
	// Last updated date
	LastUpdatedDate string `pulumi:"lastUpdatedDate"`
	// The name of the resource
	Name string `pulumi:"name"`
	// Provisioning state
	ProvisioningState string `pulumi:"provisioningState"`
	// Hybrid use benefit SKU
	Sku SkuResponse `pulumi:"sku"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
}

Response on GET of a hybrid use benefit

func LookupHybridUseBenefit

func LookupHybridUseBenefit(ctx *pulumi.Context, args *LookupHybridUseBenefitArgs, opts ...pulumi.InvokeOption) (*LookupHybridUseBenefitResult, error)

Gets a given plan ID Azure REST API version: 2019-12-01.

type LookupHybridUseBenefitResultOutput

type LookupHybridUseBenefitResultOutput struct{ *pulumi.OutputState }

Response on GET of a hybrid use benefit

func (LookupHybridUseBenefitResultOutput) CreatedDate

Created date

func (LookupHybridUseBenefitResultOutput) ElementType

func (LookupHybridUseBenefitResultOutput) Etag

Indicates the revision of the hybrid use benefit

func (LookupHybridUseBenefitResultOutput) Id

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

func (LookupHybridUseBenefitResultOutput) LastUpdatedDate

Last updated date

func (LookupHybridUseBenefitResultOutput) Name

The name of the resource

func (LookupHybridUseBenefitResultOutput) ProvisioningState

Provisioning state

func (LookupHybridUseBenefitResultOutput) Sku

Hybrid use benefit SKU

func (LookupHybridUseBenefitResultOutput) ToLookupHybridUseBenefitResultOutput

func (o LookupHybridUseBenefitResultOutput) ToLookupHybridUseBenefitResultOutput() LookupHybridUseBenefitResultOutput

func (LookupHybridUseBenefitResultOutput) ToLookupHybridUseBenefitResultOutputWithContext

func (o LookupHybridUseBenefitResultOutput) ToLookupHybridUseBenefitResultOutputWithContext(ctx context.Context) LookupHybridUseBenefitResultOutput

func (LookupHybridUseBenefitResultOutput) Type

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

type Sku

type Sku struct {
	// Name of the SKU to be applied
	Name *string `pulumi:"name"`
}

The SKU to be applied for this resource

type SkuArgs

type SkuArgs struct {
	// Name of the SKU to be applied
	Name pulumi.StringPtrInput `pulumi:"name"`
}

The SKU to be applied for this resource

func (SkuArgs) ElementType

func (SkuArgs) ElementType() reflect.Type

func (SkuArgs) ToSkuOutput

func (i SkuArgs) ToSkuOutput() SkuOutput

func (SkuArgs) ToSkuOutputWithContext

func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput

type SkuInput

type SkuInput interface {
	pulumi.Input

	ToSkuOutput() SkuOutput
	ToSkuOutputWithContext(context.Context) SkuOutput
}

SkuInput is an input type that accepts SkuArgs and SkuOutput values. You can construct a concrete instance of `SkuInput` via:

SkuArgs{...}

type SkuOutput

type SkuOutput struct{ *pulumi.OutputState }

The SKU to be applied for this resource

func (SkuOutput) ElementType

func (SkuOutput) ElementType() reflect.Type

func (SkuOutput) Name

func (o SkuOutput) Name() pulumi.StringPtrOutput

Name of the SKU to be applied

func (SkuOutput) ToSkuOutput

func (o SkuOutput) ToSkuOutput() SkuOutput

func (SkuOutput) ToSkuOutputWithContext

func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput

type SkuResponse

type SkuResponse struct {
	// Name of the SKU to be applied
	Name *string `pulumi:"name"`
}

The SKU to be applied for this resource

type SkuResponseOutput

type SkuResponseOutput struct{ *pulumi.OutputState }

The SKU to be applied for this resource

func (SkuResponseOutput) ElementType

func (SkuResponseOutput) ElementType() reflect.Type

func (SkuResponseOutput) Name

Name of the SKU to be applied

func (SkuResponseOutput) ToSkuResponseOutput

func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput

func (SkuResponseOutput) ToSkuResponseOutputWithContext

func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput

Jump to

Keyboard shortcuts

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