Share via


CustomIPPrefixCollection Class

Definition

A class representing a collection of CustomIPPrefixResource and their operations. Each CustomIPPrefixResource in the collection will belong to the same instance of ResourceGroupResource. To get a CustomIPPrefixCollection instance call the GetCustomIPPrefixes method from an instance of ResourceGroupResource.

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

Constructors

CustomIPPrefixCollection()

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

Creates or updates a custom IP prefix.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
CreateOrUpdateAsync(WaitUntil, String, CustomIPPrefixData, CancellationToken)

Creates or updates a custom IP prefix.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_Get
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_Get
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
Get(String, String, CancellationToken)

Gets the specified custom IP prefix in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_Get
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
GetAll(CancellationToken)

Gets all custom IP prefixes in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes
  • Operation Id: CustomIPPrefixes_List
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
GetAllAsync(CancellationToken)

Gets all custom IP prefixes in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes
  • Operation Id: CustomIPPrefixes_List
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
GetAsync(String, String, CancellationToken)

Gets the specified custom IP prefix in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_Get
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_Get
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  • Operation Id: CustomIPPrefixes_Get
  • Default Api Version: 2024-03-01
  • Resource: CustomIPPrefixResource
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<CustomIPPrefixResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CustomIPPrefixResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to