Condividi tramite


ArmAvsModelFactory.WorkloadNetworkPortMirroringProfileData Method

Definition

Initializes a new instance of WorkloadNetworkPortMirroringProfileData.

public static Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileData WorkloadNetworkPortMirroringProfileData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, Azure.ResourceManager.Avs.Models.PortMirroringProfileDirection? direction = default, string source = default, string destination = default, Azure.ResourceManager.Avs.Models.PortMirroringProfileStatus? status = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkPortMirroringProfileProvisioningState? provisioningState = default, long? revision = default);
static member WorkloadNetworkPortMirroringProfileData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Avs.Models.PortMirroringProfileDirection> * string * string * Nullable<Azure.ResourceManager.Avs.Models.PortMirroringProfileStatus> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkPortMirroringProfileProvisioningState> * Nullable<int64> -> Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileData
Public Shared Function WorkloadNetworkPortMirroringProfileData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional direction As Nullable(Of PortMirroringProfileDirection) = Nothing, Optional source As String = Nothing, Optional destination As String = Nothing, Optional status As Nullable(Of PortMirroringProfileStatus) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkPortMirroringProfileProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing) As WorkloadNetworkPortMirroringProfileData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

displayName
String

Display name of the port mirroring profile.

direction
Nullable<PortMirroringProfileDirection>

Direction of port mirroring profile.

source
String

Source VM Group.

destination
String

Destination VM Group.

status
Nullable<PortMirroringProfileStatus>

Port Mirroring Status.

provisioningState
Nullable<WorkloadNetworkPortMirroringProfileProvisioningState>

The provisioning state.

revision
Nullable<Int64>

NSX revision number.

Returns

A new WorkloadNetworkPortMirroringProfileData instance for mocking.

Applies to