1. Packages
  2. Azure Native
  3. API Docs
  4. softwareplan
  5. getHybridUseBenefit
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.softwareplan.getHybridUseBenefit

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Gets a given plan ID

Uses Azure REST API version 2019-12-01.

Using getHybridUseBenefit

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getHybridUseBenefit(args: GetHybridUseBenefitArgs, opts?: InvokeOptions): Promise<GetHybridUseBenefitResult>
function getHybridUseBenefitOutput(args: GetHybridUseBenefitOutputArgs, opts?: InvokeOptions): Output<GetHybridUseBenefitResult>
Copy
def get_hybrid_use_benefit(plan_id: Optional[str] = None,
                           scope: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetHybridUseBenefitResult
def get_hybrid_use_benefit_output(plan_id: Optional[pulumi.Input[str]] = None,
                           scope: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetHybridUseBenefitResult]
Copy
func LookupHybridUseBenefit(ctx *Context, args *LookupHybridUseBenefitArgs, opts ...InvokeOption) (*LookupHybridUseBenefitResult, error)
func LookupHybridUseBenefitOutput(ctx *Context, args *LookupHybridUseBenefitOutputArgs, opts ...InvokeOption) LookupHybridUseBenefitResultOutput
Copy

> Note: This function is named LookupHybridUseBenefit in the Go SDK.

public static class GetHybridUseBenefit 
{
    public static Task<GetHybridUseBenefitResult> InvokeAsync(GetHybridUseBenefitArgs args, InvokeOptions? opts = null)
    public static Output<GetHybridUseBenefitResult> Invoke(GetHybridUseBenefitInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetHybridUseBenefitResult> getHybridUseBenefit(GetHybridUseBenefitArgs args, InvokeOptions options)
public static Output<GetHybridUseBenefitResult> getHybridUseBenefit(GetHybridUseBenefitArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:softwareplan:getHybridUseBenefit
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PlanId
This property is required.
Changes to this property will trigger replacement.
string
This is a unique identifier for a plan. Should be a guid.
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
PlanId
This property is required.
Changes to this property will trigger replacement.
string
This is a unique identifier for a plan. Should be a guid.
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
planId
This property is required.
Changes to this property will trigger replacement.
String
This is a unique identifier for a plan. Should be a guid.
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
planId
This property is required.
Changes to this property will trigger replacement.
string
This is a unique identifier for a plan. Should be a guid.
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
plan_id
This property is required.
Changes to this property will trigger replacement.
str
This is a unique identifier for a plan. Should be a guid.
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
planId
This property is required.
Changes to this property will trigger replacement.
String
This is a unique identifier for a plan. Should be a guid.
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now

getHybridUseBenefit Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
CreatedDate string
Created date
Etag int
Indicates the revision of the hybrid use benefit
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
LastUpdatedDate string
Last updated date
Name string
The name of the resource
ProvisioningState string
Provisioning state
Sku Pulumi.AzureNative.SoftwarePlan.Outputs.SkuResponse
Hybrid use benefit SKU
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
CreatedDate string
Created date
Etag int
Indicates the revision of the hybrid use benefit
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
LastUpdatedDate string
Last updated date
Name string
The name of the resource
ProvisioningState string
Provisioning state
Sku SkuResponse
Hybrid use benefit SKU
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
createdDate String
Created date
etag Integer
Indicates the revision of the hybrid use benefit
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
lastUpdatedDate String
Last updated date
name String
The name of the resource
provisioningState String
Provisioning state
sku SkuResponse
Hybrid use benefit SKU
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
createdDate string
Created date
etag number
Indicates the revision of the hybrid use benefit
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
lastUpdatedDate string
Last updated date
name string
The name of the resource
provisioningState string
Provisioning state
sku SkuResponse
Hybrid use benefit SKU
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
created_date str
Created date
etag int
Indicates the revision of the hybrid use benefit
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
last_updated_date str
Last updated date
name str
The name of the resource
provisioning_state str
Provisioning state
sku SkuResponse
Hybrid use benefit SKU
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
createdDate String
Created date
etag Number
Indicates the revision of the hybrid use benefit
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
lastUpdatedDate String
Last updated date
name String
The name of the resource
provisioningState String
Provisioning state
sku Property Map
Hybrid use benefit SKU
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

SkuResponse

Name string
Name of the SKU to be applied
Name string
Name of the SKU to be applied
name String
Name of the SKU to be applied
name string
Name of the SKU to be applied
name str
Name of the SKU to be applied
name String
Name of the SKU to be applied

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi