ArmStorageDiscoveryModelFactory.StorageDiscoveryScope 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.
Storage Discovery Scope. This had added validations.
public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryScope StorageDiscoveryScope(string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceKind> resourceTypes = default, System.Collections.Generic.IEnumerable<string> tagKeysOnly = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member StorageDiscoveryScope : string * seq<Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceKind> * seq<string> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryScope
Public Shared Function StorageDiscoveryScope (Optional displayName As String = Nothing, Optional resourceTypes As IEnumerable(Of StorageDiscoveryResourceKind) = Nothing, Optional tagKeysOnly As IEnumerable(Of String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As StorageDiscoveryScope
Parameters
- displayName
- String
Display name of the collection.
- resourceTypes
- IEnumerable<StorageDiscoveryResourceKind>
Resource types for the collection.
- tagKeysOnly
- IEnumerable<String>
The storage account tags keys to filter.
- tags
- IDictionary<String,String>
Resource tags.
Returns
A new StorageDiscoveryScope instance for mocking.