MockableSecurityCenterResourceGroupResource.GetSecurityCenterApiCollections Method

Definition

Overloads

GetSecurityCenterApiCollections(String)

Gets a collection of SecurityCenterApiCollectionResources in the ResourceGroupResource.

GetSecurityCenterApiCollections(CancellationToken)

Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListByResourceGroup
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource

GetSecurityCenterApiCollections(String)

Source:
MockableSecurityCenterResourceGroupResource.cs

Gets a collection of SecurityCenterApiCollectionResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.SecurityCenter.SecurityCenterApiCollectionCollection GetSecurityCenterApiCollections (string serviceName);
abstract member GetSecurityCenterApiCollections : string -> Azure.ResourceManager.SecurityCenter.SecurityCenterApiCollectionCollection
override this.GetSecurityCenterApiCollections : string -> Azure.ResourceManager.SecurityCenter.SecurityCenterApiCollectionCollection
Public Overridable Function GetSecurityCenterApiCollections (serviceName As String) As SecurityCenterApiCollectionCollection

Parameters

serviceName
String

The name of the API Management service.

Returns

An object representing collection of SecurityCenterApiCollectionResources and their operations over a SecurityCenterApiCollectionResource.

Exceptions

serviceName is null.

serviceName is an empty string, and was expected to be non-empty.

Applies to

GetSecurityCenterApiCollections(CancellationToken)

Source:
MockableSecurityCenterResourceGroupResource.cs

Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListByResourceGroup
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityCenterApiCollectionResource> GetSecurityCenterApiCollections (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityCenterApiCollections : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityCenterApiCollectionResource>
override this.GetSecurityCenterApiCollections : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityCenterApiCollectionResource>
Public Overridable Function GetSecurityCenterApiCollections (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityCenterApiCollectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SecurityCenterApiCollectionResource that may take multiple service requests to iterate over.

Applies to