Share via


NetworkSecurityPerimeterConfigurationCollection Class

Definition

A class representing a collection of NetworkSecurityPerimeterConfigurationResource and their operations. Each NetworkSecurityPerimeterConfigurationResource in the collection will belong to the same instance of CosmosDBAccountResource. To get a NetworkSecurityPerimeterConfigurationCollection instance call the GetNetworkSecurityPerimeterConfigurations method from an instance of CosmosDBAccountResource.

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

Constructors

NetworkSecurityPerimeterConfigurationCollection()

Initializes a new instance of the NetworkSecurityPerimeterConfigurationCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
Get(String, CancellationToken)

Gets effective Network Security Perimeter Configuration for association

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
GetAll(CancellationToken)

Gets list of effective Network Security Perimeter Configuration for cosmos db account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations
  • Operation Id: NetworkSecurityPerimeterConfigurations_List
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
GetAllAsync(CancellationToken)

Gets list of effective Network Security Perimeter Configuration for cosmos db account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations
  • Operation Id: NetworkSecurityPerimeterConfigurations_List
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
GetAsync(String, CancellationToken)

Gets effective Network Security Perimeter Configuration for association

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: NetworkSecurityPerimeterConfigurationResource
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<NetworkSecurityPerimeterConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkSecurityPerimeterConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to