MachineLearningExtensions.GetMachineLearningRegistries 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.
Overloads
GetMachineLearningRegistries(ResourceGroupResource) |
Gets a collection of MachineLearningRegistryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMachineLearningRegistries() instead. |
GetMachineLearningRegistries(SubscriptionResource, CancellationToken) |
List registries by subscription
|
GetMachineLearningRegistries(ResourceGroupResource)
- Source:
- MachineLearningExtensions.cs
- Source:
- MachineLearningExtensions.cs
Gets a collection of MachineLearningRegistryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMachineLearningRegistries() instead.
public static Azure.ResourceManager.MachineLearning.MachineLearningRegistryCollection GetMachineLearningRegistries (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMachineLearningRegistries : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.MachineLearning.MachineLearningRegistryCollection
<Extension()>
Public Function GetMachineLearningRegistries (resourceGroupResource As ResourceGroupResource) As MachineLearningRegistryCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of MachineLearningRegistryResources and their operations over a MachineLearningRegistryResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetMachineLearningRegistries(SubscriptionResource, CancellationToken)
- Source:
- MachineLearningExtensions.cs
- Source:
- MachineLearningExtensions.cs
List registries by subscription
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries
- Operation Id: Registries_ListBySubscription
- Default Api Version: 2024-04-01
- Resource: MachineLearningRegistryResource
public static Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningRegistryResource> GetMachineLearningRegistries (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMachineLearningRegistries : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MachineLearning.MachineLearningRegistryResource>
<Extension()>
Public Function GetMachineLearningRegistries (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MachineLearningRegistryResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of MachineLearningRegistryResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET