NetworkExtensions.GetDscpConfigurations Method
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.
Overloads
GetDscpConfigurations(ResourceGroupResource) |
Gets a collection of DscpConfigurationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDscpConfigurations() instead. |
GetDscpConfigurations(SubscriptionResource, CancellationToken) |
Gets all dscp configurations in a subscription.
|
GetDscpConfigurations(ResourceGroupResource)
- Source:
- NetworkExtensions.cs
- Source:
- NetworkExtensions.cs
Gets a collection of DscpConfigurationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDscpConfigurations() instead.
public static Azure.ResourceManager.Network.DscpConfigurationCollection GetDscpConfigurations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDscpConfigurations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.DscpConfigurationCollection
<Extension()>
Public Function GetDscpConfigurations (resourceGroupResource As ResourceGroupResource) As DscpConfigurationCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of DscpConfigurationResources and their operations over a DscpConfigurationResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetDscpConfigurations(SubscriptionResource, CancellationToken)
- Source:
- NetworkExtensions.cs
- Source:
- NetworkExtensions.cs
Gets all dscp configurations in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations
- Operation Id: DscpConfiguration_ListAll
- Default Api Version: 2024-03-01
- Resource: DscpConfigurationResource
public static Azure.Pageable<Azure.ResourceManager.Network.DscpConfigurationResource> GetDscpConfigurations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDscpConfigurations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.DscpConfigurationResource>
<Extension()>
Public Function GetDscpConfigurations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DscpConfigurationResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DscpConfigurationResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET