SecuritySettingCollection Class

Definition

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

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

Constructors

SecuritySettingCollection()

Initializes a new instance of the SecuritySettingCollection 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, SecuritySettingName, SecuritySettingData, CancellationToken)

updating settings about different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Update
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
CreateOrUpdateAsync(WaitUntil, SecuritySettingName, SecuritySettingData, CancellationToken)

updating settings about different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Update
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
Exists(SecuritySettingName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
ExistsAsync(SecuritySettingName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
Get(SecuritySettingName, CancellationToken)

Settings of different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetAll(CancellationToken)

Settings about different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings
  • Operation Id: Settings_List
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetAllAsync(CancellationToken)

Settings about different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings
  • Operation Id: Settings_List
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetAsync(SecuritySettingName, CancellationToken)

Settings of different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetIfExists(SecuritySettingName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetIfExistsAsync(SecuritySettingName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
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<SecuritySettingResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecuritySettingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to