共用方式為


TenantAssessmentMetadataCollection Class

Definition

A class representing a collection of TenantAssessmentMetadataResource and their operations. Each TenantAssessmentMetadataResource in the collection will belong to the same instance of TenantResource. To get a TenantAssessmentMetadataCollection instance call the GetTenantAssessmentMetadata method from an instance of TenantResource.

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

Constructors

TenantAssessmentMetadataCollection()

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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get metadata information on an assessment type

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

Get metadata information on all assessment types

  • Request Path: /providers/Microsoft.Security/assessmentMetadata
  • Operation Id: AssessmentsMetadata_List
  • Default Api Version: 2021-06-01
  • Resource: TenantAssessmentMetadataResource
GetAllAsync(CancellationToken)

Get metadata information on all assessment types

  • Request Path: /providers/Microsoft.Security/assessmentMetadata
  • Operation Id: AssessmentsMetadata_List
  • Default Api Version: 2021-06-01
  • Resource: TenantAssessmentMetadataResource
GetAsync(String, CancellationToken)

Get metadata information on an assessment type

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TenantAssessmentMetadataResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to