Dela via


StorageTaskProperties(Boolean, String, StorageTaskAction) Constructor

Definition

Initializes a new instance of StorageTaskProperties.

public StorageTaskProperties (bool isEnabled, string description, Azure.ResourceManager.StorageActions.Models.StorageTaskAction action);
new Azure.ResourceManager.StorageActions.Models.StorageTaskProperties : bool * string * Azure.ResourceManager.StorageActions.Models.StorageTaskAction -> Azure.ResourceManager.StorageActions.Models.StorageTaskProperties
Public Sub New (isEnabled As Boolean, description As String, action As StorageTaskAction)

Parameters

isEnabled
Boolean

Storage Task is enabled when set to true and disabled when set to false.

description
String

Text that describes the purpose of the storage task.

action
StorageTaskAction

The storage task action that is executed.

Exceptions

description or action is null.

Applies to