1. Packages
  2. Azure Native
  3. API Docs
  4. softwareplan
  5. getHybridUseBenefit
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

azure-native logo
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:

    PlanId string
    This is a unique identifier for a plan. Should be a guid.
    Scope string
    The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
    PlanId string
    This is a unique identifier for a plan. Should be a guid.
    Scope string
    The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
    planId String
    This is a unique identifier for a plan. Should be a guid.
    scope String
    The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
    planId string
    This is a unique identifier for a plan. Should be a guid.
    scope 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 str
    This is a unique identifier for a plan. Should be a guid.
    scope str
    The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
    planId String
    This is a unique identifier for a plan. Should be a guid.
    scope 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:

    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"
    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"
    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"
    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"
    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"
    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
    azure-native logo
    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