Condividi tramite


SecurityInsightsSourceControlCollection Class

Definition

A class representing a collection of SecurityInsightsSourceControlResource and their operations. Each SecurityInsightsSourceControlResource in the collection will belong to the same instance of OperationalInsightsWorkspaceSecurityInsightsResource. To get a SecurityInsightsSourceControlCollection instance call the GetSecurityInsightsSourceControls method from an instance of OperationalInsightsWorkspaceSecurityInsightsResource.

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

Constructors

SecurityInsightsSourceControlCollection()

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

Creates a source control.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Create
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
CreateOrUpdateAsync(WaitUntil, String, SecurityInsightsSourceControlData, CancellationToken)

Creates a source control.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Create
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
Get(String, CancellationToken)

Gets a source control byt its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
GetAll(CancellationToken)

Gets all source controls, without source control items.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols
  • Operation Id: SourceControls_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
GetAllAsync(CancellationToken)

Gets all source controls, without source control items.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols
  • Operation Id: SourceControls_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
GetAsync(String, CancellationToken)

Gets a source control byt its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
  • Operation Id: SourceControls_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
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<SecurityInsightsSourceControlResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityInsightsSourceControlResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to