ArmComputeBulkActionsModelFactory.NetworkProfile 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.
Specifies the network interfaces or the networking configuration of the virtual machine.
public static Azure.ResourceManager.Compute.BulkActions.Models.NetworkProfile NetworkProfile(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.NetworkInterfaceReference> networkInterfaces = default, Azure.ResourceManager.Compute.BulkActions.Models.NetworkApiVersion? networkApiVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.VirtualMachineNetworkInterfaceConfiguration> networkInterfaceConfigurations = default);
static member NetworkProfile : seq<Azure.ResourceManager.Compute.BulkActions.Models.NetworkInterfaceReference> * Nullable<Azure.ResourceManager.Compute.BulkActions.Models.NetworkApiVersion> * seq<Azure.ResourceManager.Compute.BulkActions.Models.VirtualMachineNetworkInterfaceConfiguration> -> Azure.ResourceManager.Compute.BulkActions.Models.NetworkProfile
Public Shared Function NetworkProfile (Optional networkInterfaces As IEnumerable(Of NetworkInterfaceReference) = Nothing, Optional networkApiVersion As Nullable(Of NetworkApiVersion) = Nothing, Optional networkInterfaceConfigurations As IEnumerable(Of VirtualMachineNetworkInterfaceConfiguration) = Nothing) As NetworkProfile
Parameters
- networkInterfaces
- IEnumerable<NetworkInterfaceReference>
Specifies the list of resource Ids for the network interfaces associated with the virtual machine.
- networkApiVersion
- Nullable<NetworkApiVersion>
specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations.
- networkInterfaceConfigurations
- IEnumerable<VirtualMachineNetworkInterfaceConfiguration>
Specifies the networking configurations that will be used to create the virtual machine networking resources.
Returns
A new NetworkProfile instance for mocking.