Class SecurityGroupViewParameters
java.lang.Object
com.azure.resourcemanager.network.models.SecurityGroupViewParameters
Parameters that define the VM to check security groups for.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SecurityGroupViewParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the targetResourceId property: ID of the target VM.voidvalidate()Validates the instance.withTargetResourceId(String targetResourceId) Set the targetResourceId property: ID of the target VM.
-
Constructor Details
-
SecurityGroupViewParameters
public SecurityGroupViewParameters()Creates an instance of SecurityGroupViewParameters class.
-
-
Method Details
-
targetResourceId
Get the targetResourceId property: ID of the target VM.- Returns:
- the targetResourceId value.
-
withTargetResourceId
Set the targetResourceId property: ID of the target VM.- Parameters:
targetResourceId- the targetResourceId value to set.- Returns:
- the SecurityGroupViewParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-