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

76 lines (75 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a given plan ID * * Uses Azure REST API version 2019-12-01. */ export declare function getHybridUseBenefit(args: GetHybridUseBenefitArgs, opts?: pulumi.InvokeOptions): Promise<GetHybridUseBenefitResult>; export interface GetHybridUseBenefitArgs { /** * This is a unique identifier for a plan. Should be a guid. */ planId: string; /** * The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now */ scope: string; } /** * Response on GET of a hybrid use benefit */ export interface GetHybridUseBenefitResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Created date */ readonly createdDate: string; /** * Indicates the revision of the hybrid use benefit */ readonly etag: number; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Last updated date */ readonly lastUpdatedDate: string; /** * The name of the resource */ readonly name: string; /** * Provisioning state */ readonly provisioningState: string; /** * Hybrid use benefit SKU */ readonly sku: outputs.softwareplan.SkuResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets a given plan ID * * Uses Azure REST API version 2019-12-01. */ export declare function getHybridUseBenefitOutput(args: GetHybridUseBenefitOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHybridUseBenefitResult>; export interface GetHybridUseBenefitOutputArgs { /** * This is a unique identifier for a plan. Should be a guid. */ planId: pulumi.Input<string>; /** * The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now */ scope: pulumi.Input<string>; }