ArmStorageActionsModelFactory.StorageTaskProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StorageTaskProperties.
public static Azure.ResourceManager.StorageActions.Models.StorageTaskProperties StorageTaskProperties (long? taskVersion = default, bool isEnabled = false, string description = default, Azure.ResourceManager.StorageActions.Models.StorageTaskAction action = default, Azure.ResourceManager.StorageActions.Models.StorageTaskProvisioningState? provisioningState = default, DateTimeOffset? creationTimeInUtc = default);
static member StorageTaskProperties : Nullable<int64> * bool * string * Azure.ResourceManager.StorageActions.Models.StorageTaskAction * Nullable<Azure.ResourceManager.StorageActions.Models.StorageTaskProvisioningState> * Nullable<DateTimeOffset> -> Azure.ResourceManager.StorageActions.Models.StorageTaskProperties
Public Shared Function StorageTaskProperties (Optional taskVersion As Nullable(Of Long) = Nothing, Optional isEnabled As Boolean = false, Optional description As String = Nothing, Optional action As StorageTaskAction = Nothing, Optional provisioningState As Nullable(Of StorageTaskProvisioningState) = Nothing, Optional creationTimeInUtc As Nullable(Of DateTimeOffset) = Nothing) As StorageTaskProperties
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.
- provisioningState
- Nullable<StorageTaskProvisioningState>
Represents the provisioning state of the storage task.
- creationTimeInUtc
- Nullable<DateTimeOffset>
The creation date and time of the storage task in UTC.
Returns
A new StorageTaskProperties instance for mocking.
Applies to
Azure SDK for .NET