NgfwExtensions.GetLocalRulestacks 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
GetLocalRulestacks(ResourceGroupResource) |
Gets a collection of LocalRulestackResources in the ResourceGroupResource. MockingTo mock this method, please mock GetLocalRulestacks() instead. |
GetLocalRulestacks(SubscriptionResource, CancellationToken) |
List LocalRulestackResource resources by subscription ID
|
GetLocalRulestacks(ResourceGroupResource)
- Source:
- NgfwExtensions.cs
Gets a collection of LocalRulestackResources in the ResourceGroupResource. MockingTo mock this method, please mock GetLocalRulestacks() instead.
public static Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackCollection GetLocalRulestacks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetLocalRulestacks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackCollection
<Extension()>
Public Function GetLocalRulestacks (resourceGroupResource As ResourceGroupResource) As LocalRulestackCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of LocalRulestackResources and their operations over a LocalRulestackResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetLocalRulestacks(SubscriptionResource, CancellationToken)
- Source:
- NgfwExtensions.cs
List LocalRulestackResource resources by subscription ID
- Request Path: /subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks
- Operation Id: LocalRulestacks_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource> GetLocalRulestacks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetLocalRulestacks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource>
<Extension()>
Public Function GetLocalRulestacks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of LocalRulestackResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of LocalRulestackResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET