Aracılığıyla paylaş


SecurityOperatorCollection Class

Definition

A class representing a collection of SecurityOperatorResource and their operations. Each SecurityOperatorResource in the collection will belong to the same instance of SecurityCenterPricingResource. To get a SecurityOperatorCollection instance call the GetSecurityOperators method from an instance of SecurityCenterPricingResource.

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

Constructors

SecurityOperatorCollection()

Initializes a new instance of the SecurityOperatorCollection 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)

Creates Microsoft Defender for Cloud security operator on the given scope.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_CreateOrUpdate
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Creates Microsoft Defender for Cloud security operator on the given scope.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_CreateOrUpdate
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
Get(String, CancellationToken)

Get a specific security operator for the requested scope.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
GetAll(CancellationToken)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators
  • Operation Id: SecurityOperators_List
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
GetAllAsync(CancellationToken)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators
  • Operation Id: SecurityOperators_List
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
GetAsync(String, CancellationToken)

Get a specific security operator for the requested scope.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}/securityOperators/{securityOperatorName}
  • Operation Id: SecurityOperators_Get
  • Default Api Version: 2023-01-01-preview
  • Resource: SecurityOperatorResource
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<SecurityOperatorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityOperatorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to