Share via


MobileNetworkSimCollection Class

Definition

A class representing a collection of MobileNetworkSimResource and their operations. Each MobileNetworkSimResource in the collection will belong to the same instance of MobileNetworkSimGroupResource. To get a MobileNetworkSimCollection instance call the GetMobileNetworkSims method from an instance of MobileNetworkSimGroupResource.

public class MobileNetworkSimCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.MobileNetwork.MobileNetworkSimResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MobileNetwork.MobileNetworkSimResource>
type MobileNetworkSimCollection = class
    inherit ArmCollection
    interface seq<MobileNetworkSimResource>
    interface IEnumerable
    interface IAsyncEnumerable<MobileNetworkSimResource>
Public Class MobileNetworkSimCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MobileNetworkSimResource), IEnumerable(Of MobileNetworkSimResource)
Inheritance
MobileNetworkSimCollection
Implements

Constructors

MobileNetworkSimCollection()

Initializes a new instance of the MobileNetworkSimCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MobileNetworkSimData, CancellationToken)

Creates or updates a SIM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
CreateOrUpdateAsync(WaitUntil, String, MobileNetworkSimData, CancellationToken)

Creates or updates a SIM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
Get(String, CancellationToken)

Gets information about the specified SIM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
GetAll(CancellationToken)

Gets all the SIMs in a SIM group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims
  • Operation Id: Sims_ListByGroup
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
GetAllAsync(CancellationToken)

Gets all the SIMs in a SIM group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims
  • Operation Id: Sims_ListByGroup
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
GetAsync(String, CancellationToken)

Gets information about the specified SIM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}
  • Operation Id: Sims_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MobileNetworkSimResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkSimResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to