MobileNetworkSliceCollection Class

Definition

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

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

Constructors

MobileNetworkSliceCollection()

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/slices/{sliceName}
  • Operation Id: Slices_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSliceResource
CreateOrUpdateAsync(WaitUntil, String, MobileNetworkSliceData, CancellationToken)

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified network slice.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/slices/{sliceName}
  • Operation Id: Slices_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkSliceResource
GetAll(CancellationToken)

Lists all slices in the mobile network.

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

Lists all slices in the mobile network.

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

Gets information about the specified network slice.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkSliceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to