Share via


ManagedNetworkPeeringPolicyCollection Class

Definition

A class representing a collection of ManagedNetworkPeeringPolicyResource and their operations. Each ManagedNetworkPeeringPolicyResource in the collection will belong to the same instance of ManagedNetworkResource. To get a ManagedNetworkPeeringPolicyCollection instance call the GetManagedNetworkPeeringPolicies method from an instance of ManagedNetworkResource.

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

Constructors

ManagedNetworkPeeringPolicyCollection()

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

The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ManagedNetworkPeeringPolicyData, CancellationToken)

The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
Get(String, CancellationToken)

The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
GetAll(Nullable<Int32>, String, CancellationToken)

The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies
  • Operation Id: ManagedNetworkPeeringPolicies_ListByManagedNetwork
GetAllAsync(Nullable<Int32>, String, CancellationToken)

The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies
  • Operation Id: ManagedNetworkPeeringPolicies_ListByManagedNetwork
GetAsync(String, CancellationToken)

The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}
  • Operation Id: ManagedNetworkPeeringPolicies_Get
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<ManagedNetworkPeeringPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedNetworkPeeringPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to