Skip to content

Commit

Permalink
Initial commit for hybrid-compute/license module
Browse files Browse the repository at this point in the history
  • Loading branch information
anderseide committed Feb 23, 2025
1 parent e6b5ab3 commit ed2a052
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
/avm/res/health-bot/health-bot/ @Azure/avm-res-healthbot-healthbot-module-owners-bicep @Azure/avm-module-reviewers-bicep
/avm/res/healthcare-apis/workspace/ @Azure/avm-res-healthcareapis-workspace-module-owners-bicep @Azure/avm-module-reviewers-bicep
/avm/res/hybrid-compute/gateway/ @Azure/avm-res-hybridcompute-gateway-module-owners-bicep @Azure/avm-module-reviewers-bicep
/avm/res/hybrid-compute/license/ @Azure/avm-res-hybridcompute-license-module-owners-bicep @Azure/avm-module-reviewers-bicep
/avm/res/hybrid-compute/machine/ @Azure/avm-res-hybridcompute-machine-module-owners-bicep @Azure/avm-module-reviewers-bicep
/avm/res/insights/action-group/ @Azure/avm-res-insights-actiongroup-module-owners-bicep @Azure/avm-module-reviewers-bicep
/avm/res/insights/activity-log-alert/ @Azure/avm-res-insights-activitylogalert-module-owners-bicep @Azure/avm-module-reviewers-bicep
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/avm_module_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ body:
- "avm/res/health-bot/health-bot"
- "avm/res/healthcare-apis/workspace"
- "avm/res/hybrid-compute/gateway"
- "avm/res/hybrid-compute/license"
- "avm/res/hybrid-compute/machine"
- "avm/res/insights/action-group"
- "avm/res/insights/activity-log-alert"
Expand Down
9 changes: 4 additions & 5 deletions avm/res/hybrid-compute/license/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ param location string = resourceGroup().location
])
param licenseDetailEdition string = 'Standard'

@description('Optional. Provide the amount needed for this ESU licens. The minimum number of cores is 16 for physical and 8 for virtual core license.')
@minValue(8)
param licenseDetailProcessors int = 8
@description('Optional. Describes the number of processors.')
param licenseDetailProcessors int = 2

@description('Optional. Activate or Deactivate the license billing cycle. Billing will not start until the license is activated.')
@description('Optional. Describes the license state.')
@allowed([
'Active'
'Deactivated'
Expand Down Expand Up @@ -57,7 +56,7 @@ param tags object?
@description('Optional. Enable/Disable usage telemetry for module.')
param enableTelemetry bool = true

resource license 'Microsoft.HybridCompute/licenses@2024-07-31-preview' = {
resource license 'Microsoft.HybridCompute/licenses@2024-11-10-preview' = {
name: name
location: location
properties: {
Expand Down
2 changes: 1 addition & 1 deletion avm/res/hybrid-compute/license/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,4 @@
"value": "[reference('license', '2024-07-31-preview', 'full').location]"
}
}
}
}

0 comments on commit ed2a052

Please sign in to comment.