ServerVulnerabilityAssessmentsSettingCollection Class

Definition

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

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

Constructors

ServerVulnerabilityAssessmentsSettingCollection()

Initializes a new instance of the ServerVulnerabilityAssessmentsSettingCollection 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, ServerVulnerabilityAssessmentsSettingKindName, ServerVulnerabilityAssessmentsSettingData, CancellationToken)

Create or update a server vulnerability assessments setting of the requested kind on the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_CreateOrUpdate
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
CreateOrUpdateAsync(WaitUntil, ServerVulnerabilityAssessmentsSettingKindName, ServerVulnerabilityAssessmentsSettingData, CancellationToken)

Create or update a server vulnerability assessments setting of the requested kind on the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_CreateOrUpdate
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
Exists(ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
ExistsAsync(ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
Get(ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetAll(CancellationToken)

Get a list of all the server vulnerability assessments settings over a subscription level scope

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings
  • Operation Id: ServerVulnerabilityAssessmentsSettings_ListBySubscription
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetAllAsync(CancellationToken)

Get a list of all the server vulnerability assessments settings over a subscription level scope

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings
  • Operation Id: ServerVulnerabilityAssessmentsSettings_ListBySubscription
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetAsync(ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetIfExists(ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetIfExistsAsync(ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
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<ServerVulnerabilityAssessmentsSettingResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServerVulnerabilityAssessmentsSettingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to