1. Packages
  2. Azure Native
  3. API Docs
  4. hybridcompute
  5. getLicenseProfile
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.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.hybridcompute.getLicenseProfile

Explore with Pulumi AI

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.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Retrieves information about the view of a license profile.

    Uses Azure REST API version 2024-07-10.

    Other available API versions: 2023-06-20-preview, 2023-10-03-preview, 2024-03-31-preview, 2024-05-20-preview, 2024-07-31-preview, 2024-09-10-preview, 2024-11-10-preview, 2025-01-13, 2025-02-19-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native hybridcompute [ApiVersion]. See the version guide for details.

    Using getLicenseProfile

    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 getLicenseProfile(args: GetLicenseProfileArgs, opts?: InvokeOptions): Promise<GetLicenseProfileResult>
    function getLicenseProfileOutput(args: GetLicenseProfileOutputArgs, opts?: InvokeOptions): Output<GetLicenseProfileResult>
    def get_license_profile(license_profile_name: Optional[str] = None,
                            machine_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetLicenseProfileResult
    def get_license_profile_output(license_profile_name: Optional[pulumi.Input[str]] = None,
                            machine_name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetLicenseProfileResult]
    func LookupLicenseProfile(ctx *Context, args *LookupLicenseProfileArgs, opts ...InvokeOption) (*LookupLicenseProfileResult, error)
    func LookupLicenseProfileOutput(ctx *Context, args *LookupLicenseProfileOutputArgs, opts ...InvokeOption) LookupLicenseProfileResultOutput

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

    public static class GetLicenseProfile 
    {
        public static Task<GetLicenseProfileResult> InvokeAsync(GetLicenseProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetLicenseProfileResult> Invoke(GetLicenseProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLicenseProfileResult> getLicenseProfile(GetLicenseProfileArgs args, InvokeOptions options)
    public static Output<GetLicenseProfileResult> getLicenseProfile(GetLicenseProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:hybridcompute:getLicenseProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LicenseProfileName string
    The name of the license profile.
    MachineName string
    The name of the hybrid machine.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    LicenseProfileName string
    The name of the license profile.
    MachineName string
    The name of the hybrid machine.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    licenseProfileName String
    The name of the license profile.
    machineName String
    The name of the hybrid machine.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    licenseProfileName string
    The name of the license profile.
    machineName string
    The name of the hybrid machine.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    license_profile_name str
    The name of the license profile.
    machine_name str
    The name of the hybrid machine.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    licenseProfileName String
    The name of the license profile.
    machineName String
    The name of the hybrid machine.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getLicenseProfile Result

    The following output properties are available:

    AssignedLicenseImmutableId string
    The guid id of the license.
    AzureApiVersion string
    The Azure API version of the resource.
    BillingEndDate string
    The timestamp in UTC when the billing ends.
    BillingStartDate string
    The timestamp in UTC when the billing starts.
    DisenrollmentDate string
    The timestamp in UTC when the user disenrolled the feature.
    EnrollmentDate string
    The timestamp in UTC when the user enrolls the feature.
    Error Pulumi.AzureNative.HybridCompute.Outputs.ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    EsuEligibility string
    Indicates the eligibility state of Esu.
    EsuKeyState string
    Indicates whether there is an ESU Key currently active for the machine.
    EsuKeys List<Pulumi.AzureNative.HybridCompute.Outputs.EsuKeyResponse>
    The list of ESU keys.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state, which only appears in the response.
    ServerType string
    The type of the Esu servers.
    SystemData Pulumi.AzureNative.HybridCompute.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AssignedLicense string
    The resource id of the license.
    ProductFeatures List<Pulumi.AzureNative.HybridCompute.Outputs.ProductFeatureResponse>
    The list of product features.
    ProductType string
    Indicates the product type of the license.
    SoftwareAssuranceCustomer bool
    Specifies if this machine is licensed as part of a Software Assurance agreement.
    SubscriptionStatus string
    Indicates the subscription status of the product.
    Tags Dictionary<string, string>
    Resource tags.
    AssignedLicenseImmutableId string
    The guid id of the license.
    AzureApiVersion string
    The Azure API version of the resource.
    BillingEndDate string
    The timestamp in UTC when the billing ends.
    BillingStartDate string
    The timestamp in UTC when the billing starts.
    DisenrollmentDate string
    The timestamp in UTC when the user disenrolled the feature.
    EnrollmentDate string
    The timestamp in UTC when the user enrolls the feature.
    Error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    EsuEligibility string
    Indicates the eligibility state of Esu.
    EsuKeyState string
    Indicates whether there is an ESU Key currently active for the machine.
    EsuKeys []EsuKeyResponse
    The list of ESU keys.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state, which only appears in the response.
    ServerType string
    The type of the Esu servers.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AssignedLicense string
    The resource id of the license.
    ProductFeatures []ProductFeatureResponse
    The list of product features.
    ProductType string
    Indicates the product type of the license.
    SoftwareAssuranceCustomer bool
    Specifies if this machine is licensed as part of a Software Assurance agreement.
    SubscriptionStatus string
    Indicates the subscription status of the product.
    Tags map[string]string
    Resource tags.
    assignedLicenseImmutableId String
    The guid id of the license.
    azureApiVersion String
    The Azure API version of the resource.
    billingEndDate String
    The timestamp in UTC when the billing ends.
    billingStartDate String
    The timestamp in UTC when the billing starts.
    disenrollmentDate String
    The timestamp in UTC when the user disenrolled the feature.
    enrollmentDate String
    The timestamp in UTC when the user enrolls the feature.
    error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    esuEligibility String
    Indicates the eligibility state of Esu.
    esuKeyState String
    Indicates whether there is an ESU Key currently active for the machine.
    esuKeys List<EsuKeyResponse>
    The list of ESU keys.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    The provisioning state, which only appears in the response.
    serverType String
    The type of the Esu servers.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assignedLicense String
    The resource id of the license.
    productFeatures List<ProductFeatureResponse>
    The list of product features.
    productType String
    Indicates the product type of the license.
    softwareAssuranceCustomer Boolean
    Specifies if this machine is licensed as part of a Software Assurance agreement.
    subscriptionStatus String
    Indicates the subscription status of the product.
    tags Map<String,String>
    Resource tags.
    assignedLicenseImmutableId string
    The guid id of the license.
    azureApiVersion string
    The Azure API version of the resource.
    billingEndDate string
    The timestamp in UTC when the billing ends.
    billingStartDate string
    The timestamp in UTC when the billing starts.
    disenrollmentDate string
    The timestamp in UTC when the user disenrolled the feature.
    enrollmentDate string
    The timestamp in UTC when the user enrolls the feature.
    error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    esuEligibility string
    Indicates the eligibility state of Esu.
    esuKeyState string
    Indicates whether there is an ESU Key currently active for the machine.
    esuKeys EsuKeyResponse[]
    The list of ESU keys.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    provisioningState string
    The provisioning state, which only appears in the response.
    serverType string
    The type of the Esu servers.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assignedLicense string
    The resource id of the license.
    productFeatures ProductFeatureResponse[]
    The list of product features.
    productType string
    Indicates the product type of the license.
    softwareAssuranceCustomer boolean
    Specifies if this machine is licensed as part of a Software Assurance agreement.
    subscriptionStatus string
    Indicates the subscription status of the product.
    tags {[key: string]: string}
    Resource tags.
    assigned_license_immutable_id str
    The guid id of the license.
    azure_api_version str
    The Azure API version of the resource.
    billing_end_date str
    The timestamp in UTC when the billing ends.
    billing_start_date str
    The timestamp in UTC when the billing starts.
    disenrollment_date str
    The timestamp in UTC when the user disenrolled the feature.
    enrollment_date str
    The timestamp in UTC when the user enrolls the feature.
    error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    esu_eligibility str
    Indicates the eligibility state of Esu.
    esu_key_state str
    Indicates whether there is an ESU Key currently active for the machine.
    esu_keys Sequence[EsuKeyResponse]
    The list of ESU keys.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    provisioning_state str
    The provisioning state, which only appears in the response.
    server_type str
    The type of the Esu servers.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assigned_license str
    The resource id of the license.
    product_features Sequence[ProductFeatureResponse]
    The list of product features.
    product_type str
    Indicates the product type of the license.
    software_assurance_customer bool
    Specifies if this machine is licensed as part of a Software Assurance agreement.
    subscription_status str
    Indicates the subscription status of the product.
    tags Mapping[str, str]
    Resource tags.
    assignedLicenseImmutableId String
    The guid id of the license.
    azureApiVersion String
    The Azure API version of the resource.
    billingEndDate String
    The timestamp in UTC when the billing ends.
    billingStartDate String
    The timestamp in UTC when the billing starts.
    disenrollmentDate String
    The timestamp in UTC when the user disenrolled the feature.
    enrollmentDate String
    The timestamp in UTC when the user enrolls the feature.
    error Property Map
    The errors that were encountered during the feature enrollment or disenrollment.
    esuEligibility String
    Indicates the eligibility state of Esu.
    esuKeyState String
    Indicates whether there is an ESU Key currently active for the machine.
    esuKeys List<Property Map>
    The list of ESU keys.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    The provisioning state, which only appears in the response.
    serverType String
    The type of the Esu servers.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    assignedLicense String
    The resource id of the license.
    productFeatures List<Property Map>
    The list of product features.
    productType String
    Indicates the product type of the license.
    softwareAssuranceCustomer Boolean
    Specifies if this machine is licensed as part of a Software Assurance agreement.
    subscriptionStatus String
    Indicates the subscription status of the product.
    tags Map<String>
    Resource tags.

    Supporting Types

    ErrorAdditionalInfoResponse

    Info object
    The additional info.
    Type string
    The additional info type.
    Info interface{}
    The additional info.
    Type string
    The additional info type.
    info Object
    The additional info.
    type String
    The additional info type.
    info any
    The additional info.
    type string
    The additional info type.
    info Any
    The additional info.
    type str
    The additional info type.
    info Any
    The additional info.
    type String
    The additional info type.

    ErrorDetailResponse

    AdditionalInfo []ErrorAdditionalInfoResponse
    The error additional info.
    Code string
    The error code.
    Details []ErrorDetailResponse
    The error details.
    Message string
    The error message.
    Target string
    The error target.
    additionalInfo List<ErrorAdditionalInfoResponse>
    The error additional info.
    code String
    The error code.
    details List<ErrorDetailResponse>
    The error details.
    message String
    The error message.
    target String
    The error target.
    additionalInfo ErrorAdditionalInfoResponse[]
    The error additional info.
    code string
    The error code.
    details ErrorDetailResponse[]
    The error details.
    message string
    The error message.
    target string
    The error target.
    additional_info Sequence[ErrorAdditionalInfoResponse]
    The error additional info.
    code str
    The error code.
    details Sequence[ErrorDetailResponse]
    The error details.
    message str
    The error message.
    target str
    The error target.
    additionalInfo List<Property Map>
    The error additional info.
    code String
    The error code.
    details List<Property Map>
    The error details.
    message String
    The error message.
    target String
    The error target.

    EsuKeyResponse

    LicenseStatus int
    The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    Sku string
    SKU number.
    LicenseStatus int
    The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    Sku string
    SKU number.
    licenseStatus Integer
    The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    sku String
    SKU number.
    licenseStatus number
    The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    sku string
    SKU number.
    license_status int
    The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    sku str
    SKU number.
    licenseStatus Number
    The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    sku String
    SKU number.

    ProductFeatureResponse

    BillingEndDate string
    The timestamp in UTC when the billing ends.
    BillingStartDate string
    The timestamp in UTC when the billing starts.
    DisenrollmentDate string
    The timestamp in UTC when the user disenrolled the feature.
    EnrollmentDate string
    The timestamp in UTC when the user enrolls the feature.
    Error Pulumi.AzureNative.HybridCompute.Inputs.ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    Name string
    Product feature name.
    SubscriptionStatus string
    Indicates the current status of the product features.
    BillingEndDate string
    The timestamp in UTC when the billing ends.
    BillingStartDate string
    The timestamp in UTC when the billing starts.
    DisenrollmentDate string
    The timestamp in UTC when the user disenrolled the feature.
    EnrollmentDate string
    The timestamp in UTC when the user enrolls the feature.
    Error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    Name string
    Product feature name.
    SubscriptionStatus string
    Indicates the current status of the product features.
    billingEndDate String
    The timestamp in UTC when the billing ends.
    billingStartDate String
    The timestamp in UTC when the billing starts.
    disenrollmentDate String
    The timestamp in UTC when the user disenrolled the feature.
    enrollmentDate String
    The timestamp in UTC when the user enrolls the feature.
    error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    name String
    Product feature name.
    subscriptionStatus String
    Indicates the current status of the product features.
    billingEndDate string
    The timestamp in UTC when the billing ends.
    billingStartDate string
    The timestamp in UTC when the billing starts.
    disenrollmentDate string
    The timestamp in UTC when the user disenrolled the feature.
    enrollmentDate string
    The timestamp in UTC when the user enrolls the feature.
    error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    name string
    Product feature name.
    subscriptionStatus string
    Indicates the current status of the product features.
    billing_end_date str
    The timestamp in UTC when the billing ends.
    billing_start_date str
    The timestamp in UTC when the billing starts.
    disenrollment_date str
    The timestamp in UTC when the user disenrolled the feature.
    enrollment_date str
    The timestamp in UTC when the user enrolls the feature.
    error ErrorDetailResponse
    The errors that were encountered during the feature enrollment or disenrollment.
    name str
    Product feature name.
    subscription_status str
    Indicates the current status of the product features.
    billingEndDate String
    The timestamp in UTC when the billing ends.
    billingStartDate String
    The timestamp in UTC when the billing starts.
    disenrollmentDate String
    The timestamp in UTC when the user disenrolled the feature.
    enrollmentDate String
    The timestamp in UTC when the user enrolls the feature.
    error Property Map
    The errors that were encountered during the feature enrollment or disenrollment.
    name String
    Product feature name.
    subscriptionStatus String
    Indicates the current status of the product features.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    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.3.0 published on Monday, Apr 28, 2025 by Pulumi