共用方式為


CustomAssessmentAutomationCollection Class

Definition

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

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

Constructors

CustomAssessmentAutomationCollection()

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

Creates or updates a custom assessment automation for the provided subscription. Please note that providing an existing custom assessment automation will replace the existing record.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Create
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
CreateOrUpdateAsync(WaitUntil, String, CustomAssessmentAutomationCreateOrUpdateContent, CancellationToken)

Creates or updates a custom assessment automation for the provided subscription. Please note that providing an existing custom assessment automation will replace the existing record.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Create
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
Get(String, CancellationToken)

Gets a single custom assessment automation by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetAll(CancellationToken)

List custom assessment automations by provided subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations
  • Operation Id: CustomAssessmentAutomations_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetAllAsync(CancellationToken)

List custom assessment automations by provided subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations
  • Operation Id: CustomAssessmentAutomations_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetAsync(String, CancellationToken)

Gets a single custom assessment automation by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
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<CustomAssessmentAutomationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CustomAssessmentAutomationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to