Condividi tramite


SecurityInsightsPackageCollection Class

Definition

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

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

Constructors

SecurityInsightsPackageCollection()

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

Install a package to the workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}
  • Operation Id: ContentPackage_Install
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsPackageResource
CreateOrUpdateAsync(WaitUntil, String, SecurityInsightsPackageData, CancellationToken)

Install a package to the workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}
  • Operation Id: ContentPackage_Install
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsPackageResource
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/contentPackages/{packageId}
  • Operation Id: ContentPackages_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsPackageResource
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/contentPackages/{packageId}
  • Operation Id: ContentPackages_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsPackageResource
Get(String, CancellationToken)

Gets an installed packages by its id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}
  • Operation Id: ContentPackages_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsPackageResource
GetAll(SecurityInsightsPackageCollectionGetAllOptions, CancellationToken)

Gets all installed packages.

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

Gets all installed packages.

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

Gets an installed packages by its id.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityInsightsPackageResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to