---
title: "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/getVcfLicense"
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/getVcfLicense"
tags: ["PrivateClouds"]
---

# POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/getVcfLicense

`POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/getVcfLicense`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/getVcfLicense`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Get the license for the private cloud

## Path parameters

- `subscriptionId` string, uuid, required
- `resourceGroupName` string, required
- `privateCloudName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Azure operation completed successfully.

- VcfLicense: A VMware Cloud Foundation license
  - `kind` 'vcf5', required: The kind of license.
  - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled': provisioning state of the license

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2020-03-20) `fb4a386ef505`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.AVS/privateClouds/:privateCloudName/getVcfLicense/post.md)

---

[API](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs.md) - [All operations](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/revisions/fb4a386ef505?raw)
