Sdílet prostřednictvím


DefenderForStorageSettingCollection Class

Definition

A class representing a collection of DefenderForStorageSettingResource and their operations. Each DefenderForStorageSettingResource in the collection will belong to the same instance of ArmResource. To get a DefenderForStorageSettingCollection instance call the GetDefenderForStorageSettings method from an instance of ArmResource.

public class DefenderForStorageSettingCollection : Azure.ResourceManager.ArmCollection
type DefenderForStorageSettingCollection = class
    inherit ArmCollection
Public Class DefenderForStorageSettingCollection
Inherits ArmCollection
Inheritance
DefenderForStorageSettingCollection

Constructors

DefenderForStorageSettingCollection()

Initializes a new instance of the DefenderForStorageSettingCollection 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, DefenderForStorageSettingName, DefenderForStorageSettingData, CancellationToken)

Creates or updates the Defender for Storage settings on a specified storage account.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Create
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
CreateOrUpdateAsync(WaitUntil, DefenderForStorageSettingName, DefenderForStorageSettingData, CancellationToken)

Creates or updates the Defender for Storage settings on a specified storage account.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Create
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
Exists(DefenderForStorageSettingName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
ExistsAsync(DefenderForStorageSettingName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
Get(DefenderForStorageSettingName, CancellationToken)

Gets the Defender for Storage settings for the specified storage account.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
GetAsync(DefenderForStorageSettingName, CancellationToken)

Gets the Defender for Storage settings for the specified storage account.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
GetIfExists(DefenderForStorageSettingName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
GetIfExistsAsync(DefenderForStorageSettingName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to