This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.softwareplan.getHybridUseBenefit
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets a given plan ID 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>
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]
func LookupHybridUseBenefit(ctx *Context, args *LookupHybridUseBenefitArgs, opts ...InvokeOption) (*LookupHybridUseBenefitResult, error)
func LookupHybridUseBenefitOutput(ctx *Context, args *LookupHybridUseBenefitOutputArgs, opts ...InvokeOption) LookupHybridUseBenefitResultOutput
> 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)
}
public static CompletableFuture<GetHybridUseBenefitResult> getHybridUseBenefit(GetHybridUseBenefitArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:softwareplan:getHybridUseBenefit
arguments:
# arguments dictionary
The following arguments are supported:
getHybridUseBenefit Result
The following output properties are available:
- Created
Date 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}
- Last
Updated stringDate - Last updated date
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state
- Sku
Pulumi.
Azure Native. Software Plan. Outputs. Sku Response - Hybrid use benefit SKU
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Created
Date 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}
- Last
Updated stringDate - Last updated date
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state
- Sku
Sku
Response - Hybrid use benefit SKU
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created
Date 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}
- last
Updated StringDate - Last updated date
- name String
- The name of the resource
- provisioning
State String - Provisioning state
- sku
Sku
Response - Hybrid use benefit SKU
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created
Date 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}
- last
Updated stringDate - Last updated date
- name string
- The name of the resource
- provisioning
State string - Provisioning state
- sku
Sku
Response - Hybrid use benefit SKU
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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_ strdate - Last updated date
- name str
- The name of the resource
- provisioning_
state str - Provisioning state
- sku
Sku
Response - Hybrid use benefit SKU
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created
Date 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}
- last
Updated StringDate - Last updated date
- name String
- The name of the resource
- provisioning
State 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 v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi