NetworkManagerSecurityUserRulesCollection Class

Definition

A class representing a collection of NetworkManagerSecurityUserRulesResource and their operations. Each NetworkManagerSecurityUserRulesResource in the collection will belong to the same instance of NetworkManagerSecurityUserConfigurationResource. To get a NetworkManagerSecurityUserRulesCollection instance call the GetNetworkManagerSecurityUserRules method from an instance of NetworkManagerSecurityUserConfigurationResource.

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

Constructors

NetworkManagerSecurityUserRulesCollection()

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

Creates or updates a security user rule collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
CreateOrUpdateAsync(WaitUntil, String, NetworkManagerSecurityUserRulesData, CancellationToken)

Creates or updates a security user rule collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
Get(String, CancellationToken)

Gets a network manager security user configuration rule collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
GetAll(Nullable<Int32>, String, CancellationToken)

Lists all the security user rule collections in a security configuration, in a paginated format.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections
  • Operation Id: SecurityUserRuleCollections_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Lists all the security user rule collections in a security configuration, in a paginated format.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections
  • Operation Id: SecurityUserRuleCollections_List
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
GetAsync(String, CancellationToken)

Gets a network manager security user configuration rule collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}
  • Operation Id: SecurityUserRuleCollections_Get
  • Default Api Version: 2024-03-01
  • Resource: NetworkManagerSecurityUserRulesResource
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<NetworkManagerSecurityUserRulesResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkManagerSecurityUserRulesResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to