ManagedNetworkExtensions Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A class to add extension methods to Azure.ResourceManager.ManagedNetwork.

C#
public static class ManagedNetworkExtensions
Inheritance
ManagedNetworkExtensions

Methods

GetManagedNetwork(ResourceGroupResource, String, CancellationToken)

The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name

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

The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}
  • Operation Id: ManagedNetworks_Get
GetManagedNetworkGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedNetworkGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ManagedNetworkGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedNetworkGroupResource(ResourceIdentifier) instead.

GetManagedNetworkPeeringPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedNetworkPeeringPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ManagedNetworkPeeringPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedNetworkPeeringPolicyResource(ResourceIdentifier) instead.

GetManagedNetworkResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedNetworkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ManagedNetworkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedNetworkResource(ResourceIdentifier) instead.

GetManagedNetworks(ResourceGroupResource)

Gets a collection of ManagedNetworkResources in the ResourceGroupResource. MockingTo mock this method, please mock GetManagedNetworks() instead.

GetManagedNetworks(SubscriptionResource, Nullable<Int32>, String, CancellationToken)

The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks
  • Operation Id: ManagedNetworks_ListBySubscription
GetManagedNetworksAsync(SubscriptionResource, Nullable<Int32>, String, CancellationToken)

The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks
  • Operation Id: ManagedNetworks_ListBySubscription
GetScopeAssignment(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified scope assignment.

  • Request Path: /{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}
  • Operation Id: ScopeAssignments_Get
GetScopeAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the specified scope assignment.

  • Request Path: /{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}
  • Operation Id: ScopeAssignments_Get
GetScopeAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a ScopeAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a ScopeAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetScopeAssignmentResource(ResourceIdentifier) instead.

GetScopeAssignments(ArmClient, ResourceIdentifier)

Gets a collection of ScopeAssignmentResources in the ArmClient. MockingTo mock this method, please mock GetScopeAssignments(ResourceIdentifier) instead.

Applies to

Product Versies
Azure SDK for .NET Preview