共用方式為


ArmProviderHubModelFactory.TemplateDeploymentPolicy Method

Definition

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

Returns

A new TemplateDeploymentPolicy instance for mocking.

Applies to