1. Packages
  2. Azure Native
  3. API Docs
  4. avs
  5. getLicense
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.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
azure-native logo
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.13.0 published on Wednesday, Jan 28, 2026 by Pulumi

    Just like ArmResourceActionSync, but with no request body.

    Uses Azure REST API version 2025-09-01.

    Using getLicense

    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 getLicense(args: GetLicenseArgs, opts?: InvokeOptions): Promise<GetLicenseResult>
    function getLicenseOutput(args: GetLicenseOutputArgs, opts?: InvokeOptions): Output<GetLicenseResult>
    def get_license(license_name: Optional[str] = None,
                    private_cloud_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetLicenseResult
    def get_license_output(license_name: Optional[pulumi.Input[str]] = None,
                    private_cloud_name: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetLicenseResult]
    func LookupLicense(ctx *Context, args *LookupLicenseArgs, opts ...InvokeOption) (*LookupLicenseResult, error)
    func LookupLicenseOutput(ctx *Context, args *LookupLicenseOutputArgs, opts ...InvokeOption) LookupLicenseResultOutput

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

    public static class GetLicense 
    {
        public static Task<GetLicenseResult> InvokeAsync(GetLicenseArgs args, InvokeOptions? opts = null)
        public static Output<GetLicenseResult> Invoke(GetLicenseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLicenseResult> getLicense(GetLicenseArgs args, InvokeOptions options)
    public static Output<GetLicenseResult> getLicense(GetLicenseArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:avs:getLicense
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LicenseName string
    Name of the license.
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    LicenseName string
    Name of the license.
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    licenseName String
    Name of the license.
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    licenseName string
    Name of the license.
    privateCloudName string
    Name of the private cloud
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    license_name str
    Name of the license.
    private_cloud_name str
    Name of the private cloud
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    licenseName String
    Name of the license.
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getLicense Result

    The following output properties are available:

    Kind string
    License kind
    ProvisioningState string
    The state of the license provisioning
    Kind string
    License kind
    ProvisioningState string
    The state of the license provisioning
    kind String
    License kind
    provisioningState String
    The state of the license provisioning
    kind string
    License kind
    provisioningState string
    The state of the license provisioning
    kind str
    License kind
    provisioning_state str
    The state of the license provisioning
    kind String
    License kind
    provisioningState String
    The state of the license provisioning

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate