Interface WorkloadNetworkSegment
public interface WorkloadNetworkSegment
An immutable client-side representation of WorkloadNetworkSegment.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the WorkloadNetworkSegment definition.static interface
The WorkloadNetworkSegment definition stages.static interface
The template for WorkloadNetworkSegment update.static interface
The WorkloadNetworkSegment update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the connectedGateway property: Gateway which to connect segment to.Gets the displayName property: Display name of the segment.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner object.name()
Gets the name property: The name of the resource.portVif()
Gets the portVif property: Port Vif which segment is associated with.Gets the provisioningState property: The provisioning state.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.revision()
Gets the revision property: NSX revision number.status()
Gets the status property: Segment status.subnet()
Gets the subnet property: Subnet which to connect segment to.type()
Gets the type property: The type of the resource.update()
Begins update for the WorkloadNetworkSegment resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
displayName
String displayName()Gets the displayName property: Display name of the segment.- Returns:
- the displayName value.
-
connectedGateway
String connectedGateway()Gets the connectedGateway property: Gateway which to connect segment to.- Returns:
- the connectedGateway value.
-
subnet
WorkloadNetworkSegmentSubnet subnet()Gets the subnet property: Subnet which to connect segment to.- Returns:
- the subnet value.
-
portVif
List<WorkloadNetworkSegmentPortVif> portVif()Gets the portVif property: Port Vif which segment is associated with.- Returns:
- the portVif value.
-
status
SegmentStatusEnum status()Gets the status property: Segment status.- Returns:
- the status value.
-
provisioningState
WorkloadNetworkSegmentProvisioningState provisioningState()Gets the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
Long revision()Gets the revision property: NSX revision number.- Returns:
- the revision value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
WorkloadNetworkSegmentInner innerModel()Gets the inner com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner object.- Returns:
- the inner object.
-
update
WorkloadNetworkSegment.Update update()Begins update for the WorkloadNetworkSegment resource.- Returns:
- the stage of resource update.
-
refresh
WorkloadNetworkSegment refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-