Delen via


SecurityCenterApiCollectionCollection Class

Definition

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

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

Constructors

SecurityCenterApiCollectionCollection()

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

Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_OnboardAzureApiManagementApi
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_OnboardAzureApiManagementApi
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
Get(String, CancellationToken)

Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetAll(CancellationToken)

Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetAllAsync(CancellationToken)

Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetAsync(String, CancellationToken)

Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
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<SecurityCenterApiCollectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityCenterApiCollectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to