ArmStorageModelFactory.BlobInventoryPolicySchema 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 BlobInventoryPolicySchema.
public static Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema BlobInventoryPolicySchema (bool isEnabled = false, string destination = default, Azure.ResourceManager.Storage.Models.BlobInventoryRuleType ruleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule> rules = default);
static member BlobInventoryPolicySchema : bool * string * Azure.ResourceManager.Storage.Models.BlobInventoryRuleType * seq<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyRule> -> Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchema
Public Shared Function BlobInventoryPolicySchema (Optional isEnabled As Boolean = false, Optional destination As String = Nothing, Optional ruleType As BlobInventoryRuleType = Nothing, Optional rules As IEnumerable(Of BlobInventoryPolicyRule) = Nothing) As BlobInventoryPolicySchema
Parameters
- isEnabled
- Boolean
Policy is enabled if set to true.
- destination
- String
Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'.
- ruleType
- BlobInventoryRuleType
The valid value is Inventory.
The storage account blob inventory policy rules. The rule is applied when it is enabled.
Returns
A new BlobInventoryPolicySchema instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET