azure-native.hybridcompute.getLicenseProfile
Explore with Pulumi AI
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:
- License
Profile stringName - The name of the license profile.
- Machine
Name string - The name of the hybrid machine.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- License
Profile stringName - The name of the license profile.
- Machine
Name string - The name of the hybrid machine.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- license
Profile StringName - The name of the license profile.
- machine
Name String - The name of the hybrid machine.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- license
Profile stringName - The name of the license profile.
- machine
Name string - The name of the hybrid machine.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- license_
profile_ strname - The name of the license profile.
- machine_
name str - The name of the hybrid machine.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- license
Profile StringName - The name of the license profile.
- machine
Name String - The name of the hybrid machine.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getLicenseProfile Result
The following output properties are available:
- Assigned
License stringImmutable Id - The guid id of the license.
- Azure
Api stringVersion - The Azure API version of the resource.
- Billing
End stringDate - The timestamp in UTC when the billing ends.
- Billing
Start stringDate - The timestamp in UTC when the billing starts.
- Disenrollment
Date string - The timestamp in UTC when the user disenrolled the feature.
- Enrollment
Date string - The timestamp in UTC when the user enrolls the feature.
- Error
Pulumi.
Azure Native. Hybrid Compute. Outputs. Error Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- Esu
Eligibility string - Indicates the eligibility state of Esu.
- Esu
Key stringState - Indicates whether there is an ESU Key currently active for the machine.
- Esu
Keys List<Pulumi.Azure Native. Hybrid Compute. Outputs. Esu Key Response> - 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
- Provisioning
State string - The provisioning state, which only appears in the response.
- Server
Type string - The type of the Esu servers.
- System
Data Pulumi.Azure Native. Hybrid Compute. Outputs. System Data Response - 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"
- Assigned
License string - The resource id of the license.
- Product
Features List<Pulumi.Azure Native. Hybrid Compute. Outputs. Product Feature Response> - The list of product features.
- Product
Type string - Indicates the product type of the license.
- Software
Assurance boolCustomer - Specifies if this machine is licensed as part of a Software Assurance agreement.
- Subscription
Status string - Indicates the subscription status of the product.
- Dictionary<string, string>
- Resource tags.
- Assigned
License stringImmutable Id - The guid id of the license.
- Azure
Api stringVersion - The Azure API version of the resource.
- Billing
End stringDate - The timestamp in UTC when the billing ends.
- Billing
Start stringDate - The timestamp in UTC when the billing starts.
- Disenrollment
Date string - The timestamp in UTC when the user disenrolled the feature.
- Enrollment
Date string - The timestamp in UTC when the user enrolls the feature.
- Error
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- Esu
Eligibility string - Indicates the eligibility state of Esu.
- Esu
Key stringState - Indicates whether there is an ESU Key currently active for the machine.
- Esu
Keys []EsuKey Response - 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
- Provisioning
State string - The provisioning state, which only appears in the response.
- Server
Type string - The type of the Esu servers.
- System
Data SystemData Response - 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"
- Assigned
License string - The resource id of the license.
- Product
Features []ProductFeature Response - The list of product features.
- Product
Type string - Indicates the product type of the license.
- Software
Assurance boolCustomer - Specifies if this machine is licensed as part of a Software Assurance agreement.
- Subscription
Status string - Indicates the subscription status of the product.
- map[string]string
- Resource tags.
- assigned
License StringImmutable Id - The guid id of the license.
- azure
Api StringVersion - The Azure API version of the resource.
- billing
End StringDate - The timestamp in UTC when the billing ends.
- billing
Start StringDate - The timestamp in UTC when the billing starts.
- disenrollment
Date String - The timestamp in UTC when the user disenrolled the feature.
- enrollment
Date String - The timestamp in UTC when the user enrolls the feature.
- error
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- esu
Eligibility String - Indicates the eligibility state of Esu.
- esu
Key StringState - Indicates whether there is an ESU Key currently active for the machine.
- esu
Keys List<EsuKey Response> - 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
- provisioning
State String - The provisioning state, which only appears in the response.
- server
Type String - The type of the Esu servers.
- system
Data SystemData Response - 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"
- assigned
License String - The resource id of the license.
- product
Features List<ProductFeature Response> - The list of product features.
- product
Type String - Indicates the product type of the license.
- software
Assurance BooleanCustomer - Specifies if this machine is licensed as part of a Software Assurance agreement.
- subscription
Status String - Indicates the subscription status of the product.
- Map<String,String>
- Resource tags.
- assigned
License stringImmutable Id - The guid id of the license.
- azure
Api stringVersion - The Azure API version of the resource.
- billing
End stringDate - The timestamp in UTC when the billing ends.
- billing
Start stringDate - The timestamp in UTC when the billing starts.
- disenrollment
Date string - The timestamp in UTC when the user disenrolled the feature.
- enrollment
Date string - The timestamp in UTC when the user enrolls the feature.
- error
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- esu
Eligibility string - Indicates the eligibility state of Esu.
- esu
Key stringState - Indicates whether there is an ESU Key currently active for the machine.
- esu
Keys EsuKey Response[] - 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
- provisioning
State string - The provisioning state, which only appears in the response.
- server
Type string - The type of the Esu servers.
- system
Data SystemData Response - 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"
- assigned
License string - The resource id of the license.
- product
Features ProductFeature Response[] - The list of product features.
- product
Type string - Indicates the product type of the license.
- software
Assurance booleanCustomer - Specifies if this machine is licensed as part of a Software Assurance agreement.
- subscription
Status string - Indicates the subscription status of the product.
- {[key: string]: string}
- Resource tags.
- assigned_
license_ strimmutable_ id - The guid id of the license.
- azure_
api_ strversion - The Azure API version of the resource.
- billing_
end_ strdate - The timestamp in UTC when the billing ends.
- billing_
start_ strdate - 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
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- esu_
eligibility str - Indicates the eligibility state of Esu.
- esu_
key_ strstate - Indicates whether there is an ESU Key currently active for the machine.
- esu_
keys Sequence[EsuKey Response] - 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 SystemData Response - 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[ProductFeature Response] - The list of product features.
- product_
type str - Indicates the product type of the license.
- software_
assurance_ boolcustomer - Specifies if this machine is licensed as part of a Software Assurance agreement.
- subscription_
status str - Indicates the subscription status of the product.
- Mapping[str, str]
- Resource tags.
- assigned
License StringImmutable Id - The guid id of the license.
- azure
Api StringVersion - The Azure API version of the resource.
- billing
End StringDate - The timestamp in UTC when the billing ends.
- billing
Start StringDate - The timestamp in UTC when the billing starts.
- disenrollment
Date String - The timestamp in UTC when the user disenrolled the feature.
- enrollment
Date 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.
- esu
Eligibility String - Indicates the eligibility state of Esu.
- esu
Key StringState - Indicates whether there is an ESU Key currently active for the machine.
- esu
Keys 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
- provisioning
State String - The provisioning state, which only appears in the response.
- server
Type String - The type of the Esu servers.
- system
Data 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"
- assigned
License String - The resource id of the license.
- product
Features List<Property Map> - The list of product features.
- product
Type String - Indicates the product type of the license.
- software
Assurance BooleanCustomer - Specifies if this machine is licensed as part of a Software Assurance agreement.
- subscription
Status String - Indicates the subscription status of the product.
- Map<String>
- Resource tags.
Supporting Types
ErrorAdditionalInfoResponse
ErrorDetailResponse
- Additional
Info List<Pulumi.Azure Native. Hybrid Compute. Inputs. Error Additional Info Response> - The error additional info.
- Code string
- The error code.
- Details
List<Pulumi.
Azure Native. Hybrid Compute. Inputs. Error Detail Response> - The error details.
- Message string
- The error message.
- Target string
- The error target.
- Additional
Info []ErrorAdditional Info Response - The error additional info.
- Code string
- The error code.
- Details
[]Error
Detail Response - The error details.
- Message string
- The error message.
- Target string
- The error target.
- additional
Info List<ErrorAdditional Info Response> - The error additional info.
- code String
- The error code.
- details
List<Error
Detail Response> - The error details.
- message String
- The error message.
- target String
- The error target.
- additional
Info ErrorAdditional Info Response[] - The error additional info.
- code string
- The error code.
- details
Error
Detail Response[] - The error details.
- message string
- The error message.
- target string
- The error target.
- additional_
info Sequence[ErrorAdditional Info Response] - The error additional info.
- code str
- The error code.
- details
Sequence[Error
Detail Response] - The error details.
- message str
- The error message.
- target str
- The error target.
- additional
Info 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
- 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 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 string
- SKU number.
- license
Status 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.
- license
Status 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.
- license
Status 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
- Billing
End stringDate - The timestamp in UTC when the billing ends.
- Billing
Start stringDate - The timestamp in UTC when the billing starts.
- Disenrollment
Date string - The timestamp in UTC when the user disenrolled the feature.
- Enrollment
Date string - The timestamp in UTC when the user enrolls the feature.
- Error
Pulumi.
Azure Native. Hybrid Compute. Inputs. Error Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- Name string
- Product feature name.
- Subscription
Status string - Indicates the current status of the product features.
- Billing
End stringDate - The timestamp in UTC when the billing ends.
- Billing
Start stringDate - The timestamp in UTC when the billing starts.
- Disenrollment
Date string - The timestamp in UTC when the user disenrolled the feature.
- Enrollment
Date string - The timestamp in UTC when the user enrolls the feature.
- Error
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- Name string
- Product feature name.
- Subscription
Status string - Indicates the current status of the product features.
- billing
End StringDate - The timestamp in UTC when the billing ends.
- billing
Start StringDate - The timestamp in UTC when the billing starts.
- disenrollment
Date String - The timestamp in UTC when the user disenrolled the feature.
- enrollment
Date String - The timestamp in UTC when the user enrolls the feature.
- error
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- name String
- Product feature name.
- subscription
Status String - Indicates the current status of the product features.
- billing
End stringDate - The timestamp in UTC when the billing ends.
- billing
Start stringDate - The timestamp in UTC when the billing starts.
- disenrollment
Date string - The timestamp in UTC when the user disenrolled the feature.
- enrollment
Date string - The timestamp in UTC when the user enrolls the feature.
- error
Error
Detail Response - The errors that were encountered during the feature enrollment or disenrollment.
- name string
- Product feature name.
- subscription
Status string - Indicates the current status of the product features.
- billing_
end_ strdate - The timestamp in UTC when the billing ends.
- billing_
start_ strdate - 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
Error
Detail Response - 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.
- billing
End StringDate - The timestamp in UTC when the billing ends.
- billing
Start StringDate - The timestamp in UTC when the billing starts.
- disenrollment
Date String - The timestamp in UTC when the user disenrolled the feature.
- enrollment
Date 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.
- subscription
Status String - Indicates the current status of the product features.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0