ArmProviderHubModelFactory.TemplateDeploymentPolicy 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 TemplateDeploymentPolicy.
public static Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentPolicy TemplateDeploymentPolicy (Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentCapability capabilities = default, Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentPreflightOption preflightOptions = default);
static member TemplateDeploymentPolicy : Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentCapability * Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentPreflightOption -> Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentPolicy
Public Shared Function TemplateDeploymentPolicy (Optional capabilities As TemplateDeploymentCapability = Nothing, Optional preflightOptions As TemplateDeploymentPreflightOption = Nothing) As TemplateDeploymentPolicy
Parameters
- capabilities
- TemplateDeploymentCapability
- preflightOptions
- TemplateDeploymentPreflightOption
Returns
A new TemplateDeploymentPolicy instance for mocking.