ArmHybridNetworkModelFactory.VirtualNetworkFunctionDefinitionVersion Method

Definition

Initializes a new instance of VirtualNetworkFunctionDefinitionVersion.

public static Azure.ResourceManager.HybridNetwork.Models.VirtualNetworkFunctionDefinitionVersion VirtualNetworkFunctionDefinitionVersion (Azure.ResourceManager.HybridNetwork.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.HybridNetwork.Models.VersionState? versionState = default, string description = default, string deployParameters = default, Azure.ResourceManager.HybridNetwork.Models.VirtualNetworkFunctionTemplate networkFunctionTemplate = default);
static member VirtualNetworkFunctionDefinitionVersion : Nullable<Azure.ResourceManager.HybridNetwork.Models.ProvisioningState> * Nullable<Azure.ResourceManager.HybridNetwork.Models.VersionState> * string * string * Azure.ResourceManager.HybridNetwork.Models.VirtualNetworkFunctionTemplate -> Azure.ResourceManager.HybridNetwork.Models.VirtualNetworkFunctionDefinitionVersion
Public Shared Function VirtualNetworkFunctionDefinitionVersion (Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional versionState As Nullable(Of VersionState) = Nothing, Optional description As String = Nothing, Optional deployParameters As String = Nothing, Optional networkFunctionTemplate As VirtualNetworkFunctionTemplate = Nothing) As VirtualNetworkFunctionDefinitionVersion

Parameters

provisioningState
Nullable<ProvisioningState>

The provisioning state of the network function definition version resource.

versionState
Nullable<VersionState>

The network function definition version state.

description
String

The network function definition version description.

deployParameters
String

The deployment parameters of the network function definition version.

networkFunctionTemplate
VirtualNetworkFunctionTemplate

Virtual network function template. Please note VirtualNetworkFunctionTemplate is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureCoreNetworkFunctionTemplate and AzureOperatorNexusNetworkFunctionTemplate.

Returns

A new VirtualNetworkFunctionDefinitionVersion instance for mocking.

Applies to