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