MockableBillingBenefitsResourceGroupResource.GetFreeServices Method

Definition

This operation retrieves properties for free services.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/freeServices/{freeServiceName}.
  • Operation Id. : FreeServicesOperations_Get.
  • Default Api Version. : 2025-12-01-preview.
public virtual Azure.Response<Azure.ResourceManager.BillingBenefits.FreeServicesResource> GetFreeServices(string freeServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFreeServices : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BillingBenefits.FreeServicesResource>
override this.GetFreeServices : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BillingBenefits.FreeServicesResource>
Public Overridable Function GetFreeServices (freeServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of FreeServicesResource)

Parameters

freeServiceName
String

Name of the free service.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

freeServiceName is null.

freeServiceName is an empty string, and was expected to be non-empty.

Applies to