Share via


ComputeLimitExtensions.GetComputeLimitSharedLimit Method

Definition

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

public static Azure.Response<Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitResource> GetComputeLimitSharedLimit(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetComputeLimitSharedLimit : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ComputeLimit.ComputeLimitSharedLimitResource>
<Extension()>
Public Function GetComputeLimitSharedLimit (subscriptionResource As SubscriptionResource, location As AzureLocation, name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ComputeLimitSharedLimitResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The location for the resource.

name
String

The name of the SharedLimit.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to