Share via


ApplicationSecurityGroupCollection Class

Definition

A class representing a collection of ApplicationSecurityGroupResource and their operations. Each ApplicationSecurityGroupResource in the collection will belong to the same instance of ResourceGroupResource. To get an ApplicationSecurityGroupCollection instance call the GetApplicationSecurityGroups method from an instance of ResourceGroupResource.

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

Constructors

ApplicationSecurityGroupCollection()

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

Creates or updates an application security group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
CreateOrUpdateAsync(WaitUntil, String, ApplicationSecurityGroupData, CancellationToken)

Creates or updates an application security group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
Get(String, CancellationToken)

Gets information about the specified application security group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
GetAll(CancellationToken)

Gets all the application security groups in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups
  • Operation Id: ApplicationSecurityGroups_List
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
GetAllAsync(CancellationToken)

Gets all the application security groups in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups
  • Operation Id: ApplicationSecurityGroups_List
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
GetAsync(String, CancellationToken)

Gets information about the specified application security group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}
  • Operation Id: ApplicationSecurityGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ApplicationSecurityGroupResource
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<ApplicationSecurityGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApplicationSecurityGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to