ArmNetworkModelFactory.ContainerNetworkInterface 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 ContainerNetworkInterface.
public static Azure.ResourceManager.Network.Models.ContainerNetworkInterface ContainerNetworkInterface (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceConfiguration containerNetworkInterfaceConfiguration = default, Azure.Core.ResourceIdentifier containerId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceIPConfiguration> ipConfigurations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ContainerNetworkInterface : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceConfiguration * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceIPConfiguration> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ContainerNetworkInterface
Public Shared Function ContainerNetworkInterface (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional containerNetworkInterfaceConfiguration As ContainerNetworkInterfaceConfiguration = Nothing, Optional containerId As ResourceIdentifier = Nothing, Optional ipConfigurations As IEnumerable(Of ContainerNetworkInterfaceIPConfiguration) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ContainerNetworkInterface
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- containerNetworkInterfaceConfiguration
- ContainerNetworkInterfaceConfiguration
Container network interface configuration from which this container network interface is created.
- containerId
- ResourceIdentifier
Reference to the container to which this container network interface is attached.
- ipConfigurations
- IEnumerable<ContainerNetworkInterfaceIPConfiguration>
Reference to the ip configuration on this container nic.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the container network interface resource.
Returns
A new ContainerNetworkInterface instance for mocking.
Applies to
Azure SDK for .NET