ComputeLimitVmFamilyCollection.Get(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the properties of a VM family.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies/{vmFamilyName}.
- Operation Id. : VmFamilies_Get.
- Default Api Version. : 2026-04-30.
public virtual Azure.Response<Azure.ResourceManager.ComputeLimit.ComputeLimitVmFamilyResource> Get(string vmFamilyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ComputeLimit.ComputeLimitVmFamilyResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ComputeLimit.ComputeLimitVmFamilyResource>
Public Overridable Function Get (vmFamilyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ComputeLimitVmFamilyResource)
Parameters
- vmFamilyName
- String
The name of the VmFamily.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
vmFamilyName is null.
vmFamilyName is an empty string, and was expected to be non-empty.