ArmAvsModelFactory.WorkloadNetworkSegmentData 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 WorkloadNetworkSegmentData.
public static Azure.ResourceManager.Avs.WorkloadNetworkSegmentData WorkloadNetworkSegmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string connectedGateway = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentSubnet subnet = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentPortVif> portVif = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentStatus? status = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentProvisioningState? provisioningState = default, long? revision = default);
static member WorkloadNetworkSegmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentSubnet * seq<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentPortVif> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentStatus> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentProvisioningState> * Nullable<int64> -> Azure.ResourceManager.Avs.WorkloadNetworkSegmentData
Public Shared Function WorkloadNetworkSegmentData (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 connectedGateway As String = Nothing, Optional subnet As WorkloadNetworkSegmentSubnet = Nothing, Optional portVif As IEnumerable(Of WorkloadNetworkSegmentPortVif) = Nothing, Optional status As Nullable(Of WorkloadNetworkSegmentStatus) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkSegmentProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing) As WorkloadNetworkSegmentData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- displayName
- String
Display name of the segment.
- connectedGateway
- String
Gateway which to connect segment to.
- subnet
- WorkloadNetworkSegmentSubnet
Subnet which to connect segment to.
- portVif
- IEnumerable<WorkloadNetworkSegmentPortVif>
Port Vif which segment is associated with.
- status
- Nullable<WorkloadNetworkSegmentStatus>
Segment status.
- provisioningState
- Nullable<WorkloadNetworkSegmentProvisioningState>
The provisioning state.
Returns
A new WorkloadNetworkSegmentData instance for mocking.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET