SecurityConnectorCollection Class

Definition

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

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

Constructors

SecurityConnectorCollection()

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

Creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_CreateOrUpdate
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
CreateOrUpdateAsync(WaitUntil, String, SecurityConnectorData, CancellationToken)

Creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_CreateOrUpdate
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
Get(String, CancellationToken)

Retrieves details of a specific security connector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetAll(CancellationToken)

Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors
  • Operation Id: SecurityConnectors_ListByResourceGroup
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetAllAsync(CancellationToken)

Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors
  • Operation Id: SecurityConnectors_ListByResourceGroup
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetAsync(String, CancellationToken)

Retrieves details of a specific security connector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
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<SecurityConnectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityConnectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to