CustomLocationResource.GetEnabledResourceTypes(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 list of the Enabled Resource Types. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes Operation Id: CustomLocations_ListEnabledResourceTypes
public virtual Azure.Pageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType> GetEnabledResourceTypes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEnabledResourceTypes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType>
override this.GetEnabledResourceTypes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType>
Public Overridable Function GetEnabledResourceTypes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EnabledResourceType)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of EnabledResourceType that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro