MobileNetworkSimPolicyCollection Class

Definition

A class representing a collection of MobileNetworkSimPolicyResource and their operations. Each MobileNetworkSimPolicyResource in the collection will belong to the same instance of MobileNetworkResource. To get a MobileNetworkSimPolicyCollection instance call the GetMobileNetworkSimPolicies method from an instance of MobileNetworkResource.

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

Constructors

MobileNetworkSimPolicyCollection()

Initializes a new instance of the MobileNetworkSimPolicyCollection 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, MobileNetworkSimPolicyData, CancellationToken)

Creates or updates a SIM policy. Must be created in the same location as its parent mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
CreateOrUpdateAsync(WaitUntil, String, MobileNetworkSimPolicyData, CancellationToken)

Creates or updates a SIM policy. Must be created in the same location as its parent mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
Get(String, CancellationToken)

Gets information about the specified SIM policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
GetAll(CancellationToken)

Gets all the SIM policies in a mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies
  • Operation Id: SimPolicies_ListByMobileNetwork
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
GetAllAsync(CancellationToken)

Gets all the SIM policies in a mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies
  • Operation Id: SimPolicies_ListByMobileNetwork
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
GetAsync(String, CancellationToken)

Gets information about the specified SIM policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
  • Operation Id: SimPolicies_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSimPolicyResource
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<MobileNetworkSimPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkSimPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to