ArmCommvaultContentStoreModelFactory.CommvaultStoragePlan 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.
public static Azure.ResourceManager.CommvaultContentStore.Models.CommvaultStoragePlan CommvaultStoragePlan(string name = default, string storagePoolId = default, string copyName = default, int? copyPrecedence = default, int? retentionPeriod = default, Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRetentionTime? retentionTime = default, Azure.ResourceManager.CommvaultContentStore.Models.BackupRuleType? backupRuleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CommvaultContentStore.Models.ExtendedRetentionTime> extendedRetention = default);
static member CommvaultStoragePlan : string * string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRetentionTime> * Nullable<Azure.ResourceManager.CommvaultContentStore.Models.BackupRuleType> * seq<Azure.ResourceManager.CommvaultContentStore.Models.ExtendedRetentionTime> -> Azure.ResourceManager.CommvaultContentStore.Models.CommvaultStoragePlan
Public Shared Function CommvaultStoragePlan (Optional name As String = Nothing, Optional storagePoolId As String = Nothing, Optional copyName As String = Nothing, Optional copyPrecedence As Nullable(Of Integer) = Nothing, Optional retentionPeriod As Nullable(Of Integer) = Nothing, Optional retentionTime As Nullable(Of CommvaultRetentionTime) = Nothing, Optional backupRuleType As Nullable(Of BackupRuleType) = Nothing, Optional extendedRetention As IEnumerable(Of ExtendedRetentionTime) = Nothing) As CommvaultStoragePlan
Parameters
- name
- String
The name of the Storage resource.
- storagePoolId
- String
Id of the Storage Pool.
- copyName
- String
Copy Name from Commvault.
Precedence of the Storage Plan, 1 is the highest precedence, 2 is the next highest, and so on.
Indicates the retention period valid only if the type of retention chosen in CUSTOM.
- retentionTime
- Nullable<CommvaultRetentionTime>
Indicates the retention timeframe valid only if the type of retention chosen in CUSTOM.
- backupRuleType
- Nullable<BackupRuleType>
Backup Rule Type.
- extendedRetention
- IEnumerable<ExtendedRetentionTime>
Extended Retention Policy.
Returns
A new CommvaultStoragePlan instance for mocking.