Share via


StaticCidrCollection Class

Definition

A class representing a collection of StaticCidrResource and their operations. Each StaticCidrResource in the collection will belong to the same instance of IpamPoolResource. To get a StaticCidrCollection instance call the GetStaticCidrs method from an instance of IpamPoolResource.

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

Constructors

StaticCidrCollection()

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

Creates/Updates the Static CIDR resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Create
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
CreateOrUpdateAsync(WaitUntil, String, StaticCidrData, CancellationToken)

Creates/Updates the Static CIDR resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Create
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Get
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Get
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
Get(String, CancellationToken)

Gets the specific Static CIDR resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Get
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, String, String, CancellationToken)

Gets list of Static CIDR resources at Network Manager level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs
  • Operation Id: StaticCidrs_List
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, String, String, CancellationToken)

Gets list of Static CIDR resources at Network Manager level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs
  • Operation Id: StaticCidrs_List
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
GetAsync(String, CancellationToken)

Gets the specific Static CIDR resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Get
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Get
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}
  • Operation Id: StaticCidrs_Get
  • Default Api Version: 2024-05-01
  • Resource: StaticCidrResource
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<StaticCidrResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StaticCidrResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to