1. Packages
  2. Azure Native
  3. API Docs
  4. hybridcompute
  5. getLicenseProfile
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.39.0 published on Monday, Apr 29, 2024 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 v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

    Retrieves information about the view of a license profile. Azure REST API version: 2023-06-20-preview.

    Other available API versions: 2023-10-03-preview.

    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)
    // Output-based functions aren't available in Java yet
    
    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.
    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.
    Tags Dictionary<string, string>
    Resource tags.
    AssignedLicenseImmutableId string
    The guid id of the license.
    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.
    Tags map[string]string
    Resource tags.
    assignedLicenseImmutableId String
    The guid id of the license.
    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.
    tags Map<String,String>
    Resource tags.
    assignedLicenseImmutableId string
    The guid id of the license.
    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.
    tags {[key: string]: string}
    Resource tags.
    assigned_license_immutable_id str
    The guid id of the license.
    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.
    tags Mapping[str, str]
    Resource tags.
    assignedLicenseImmutableId String
    The guid id of the license.
    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.
    tags Map<String>
    Resource tags.

    Supporting Types

    EsuKeyResponse

    LicenseStatus string
    The current status of the license profile key.
    Sku string
    SKU number.
    LicenseStatus string
    The current status of the license profile key.
    Sku string
    SKU number.
    licenseStatus String
    The current status of the license profile key.
    sku String
    SKU number.
    licenseStatus string
    The current status of the license profile key.
    sku string
    SKU number.
    license_status str
    The current status of the license profile key.
    sku str
    SKU number.
    licenseStatus String
    The current status of the license profile key.
    sku String
    SKU number.

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi