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