共用方式為


SubscriptionAssessmentMetadataCollection Class

Definition

A class representing a collection of SubscriptionAssessmentMetadataResource and their operations. Each SubscriptionAssessmentMetadataResource in the collection will belong to the same instance of SubscriptionResource. To get a SubscriptionAssessmentMetadataCollection instance call the GetSubscriptionAssessmentMetadata method from an instance of SubscriptionResource.

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

Constructors

SubscriptionAssessmentMetadataCollection()

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

Create metadata information on an assessment type in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_CreateInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
CreateOrUpdateAsync(WaitUntil, String, SecurityAssessmentMetadataData, CancellationToken)

Create metadata information on an assessment type in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_CreateInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
Get(String, CancellationToken)

Get metadata information on an assessment type in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetAll(CancellationToken)

Get metadata information on all assessment types in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata
  • Operation Id: AssessmentsMetadata_ListBySubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetAllAsync(CancellationToken)

Get metadata information on all assessment types in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata
  • Operation Id: AssessmentsMetadata_ListBySubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetAsync(String, CancellationToken)

Get metadata information on an assessment type in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
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<SubscriptionAssessmentMetadataResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SubscriptionAssessmentMetadataResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to