ArmResourcesModelFactory.ArmDependency 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 ArmDependency.
public static Azure.ResourceManager.Resources.Models.ArmDependency ArmDependency (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.BasicArmDependency> dependsOn = default, string id = default, Azure.Core.ResourceType? resourceType = default, string resourceName = default);
static member ArmDependency : seq<Azure.ResourceManager.Resources.Models.BasicArmDependency> * string * Nullable<Azure.Core.ResourceType> * string -> Azure.ResourceManager.Resources.Models.ArmDependency
Public Shared Function ArmDependency (Optional dependsOn As IEnumerable(Of BasicArmDependency) = Nothing, Optional id As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional resourceName As String = Nothing) As ArmDependency
Parameters
- dependsOn
- IEnumerable<BasicArmDependency>
The list of dependencies.
- id
- String
The ID of the dependency.
- resourceType
- Nullable<ResourceType>
The dependency resource type.
- resourceName
- String
The dependency resource name.
Returns
A new ArmDependency instance for mocking.