Class SimStaticIpProperties
java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.SimStaticIpProperties
Static IP configuration for a SIM, scoped to a particular attached data network and slice.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the attachedDataNetwork property: The attached data network on which the static IP address will be used.slice()
Get the slice property: The network slice on which the static IP address will be used.staticIp()
Get the staticIp property: The static IP configuration for the SIM to use at the defined network scope.void
validate()
Validates the instance.withAttachedDataNetwork
(AttachedDataNetworkResourceId attachedDataNetwork) Set the attachedDataNetwork property: The attached data network on which the static IP address will be used.withSlice
(SliceResourceId slice) Set the slice property: The network slice on which the static IP address will be used.withStaticIp
(SimStaticIpPropertiesStaticIp staticIp) Set the staticIp property: The static IP configuration for the SIM to use at the defined network scope.
-
Constructor Details
-
SimStaticIpProperties
public SimStaticIpProperties()Creates an instance of SimStaticIpProperties class.
-
-
Method Details
-
attachedDataNetwork
Get the attachedDataNetwork property: The attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address. The attached data network must be in the same location as the SIM.- Returns:
- the attachedDataNetwork value.
-
withAttachedDataNetwork
public SimStaticIpProperties withAttachedDataNetwork(AttachedDataNetworkResourceId attachedDataNetwork) Set the attachedDataNetwork property: The attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address. The attached data network must be in the same location as the SIM.- Parameters:
attachedDataNetwork
- the attachedDataNetwork value to set.- Returns:
- the SimStaticIpProperties object itself.
-
slice
Get the slice property: The network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address. The slice must be in the same location as the SIM.- Returns:
- the slice value.
-
withSlice
Set the slice property: The network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address. The slice must be in the same location as the SIM.- Parameters:
slice
- the slice value to set.- Returns:
- the SimStaticIpProperties object itself.
-
staticIp
Get the staticIp property: The static IP configuration for the SIM to use at the defined network scope.- Returns:
- the staticIp value.
-
withStaticIp
Set the staticIp property: The static IP configuration for the SIM to use at the defined network scope.- Parameters:
staticIp
- the staticIp value to set.- Returns:
- the SimStaticIpProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-