Class NspLinkInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.models.SecurityPerimeterResource
com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource
com.azure.resourcemanager.network.fluent.models.NspLinkInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
The network security perimeter link resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoApprovedRemotePerimeterResourceId property: Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode.Get the description property: A message passed to the owner of the remote NSP link resource with this connection request.static NspLinkInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NspLinkInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the localInboundProfiles property: Local Inbound profile names to which Inbound is allowed.Get the localOutboundProfiles property: Local Outbound profile names from which Outbound is allowed.name()Get the name property: The name of the resource.Get the provisioningState property: The provisioning state of the NSP Link resource.Get the remoteInboundProfiles property: Remote Inbound profile names to which Inbound is allowed.Get the remoteOutboundProfiles property: Remote Outbound profile names from which Outbound is allowed.Get the remotePerimeterGuid property: Remote NSP Guid with which the link gets created.Get the remotePerimeterLocation property: Remote NSP location with which the link gets created.status()Get the status property: The NSP link state.Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAutoApprovedRemotePerimeterResourceId(String autoApprovedRemotePerimeterResourceId) Set the autoApprovedRemotePerimeterResourceId property: Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode.withDescription(String description) Set the description property: A message passed to the owner of the remote NSP link resource with this connection request.withLocalInboundProfiles(List<String> localInboundProfiles) Set the localInboundProfiles property: Local Inbound profile names to which Inbound is allowed.withRemoteInboundProfiles(List<String> remoteInboundProfiles) Set the remoteInboundProfiles property: Remote Inbound profile names to which Inbound is allowed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NspLinkInner
public NspLinkInner()Creates an instance of NspLinkInner class.
-
-
Method Details
-
systemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Overrides:
systemDatain classSecurityPerimeterProxyResource- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classSecurityPerimeterProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classSecurityPerimeterProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classSecurityPerimeterProxyResource- Returns:
- the id value.
-
provisioningState
Get the provisioningState property: The provisioning state of the NSP Link resource.- Returns:
- the provisioningState value.
-
autoApprovedRemotePerimeterResourceId
Get the autoApprovedRemotePerimeterResourceId property: Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.- Returns:
- the autoApprovedRemotePerimeterResourceId value.
-
withAutoApprovedRemotePerimeterResourceId
public NspLinkInner withAutoApprovedRemotePerimeterResourceId(String autoApprovedRemotePerimeterResourceId) Set the autoApprovedRemotePerimeterResourceId property: Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.- Parameters:
autoApprovedRemotePerimeterResourceId- the autoApprovedRemotePerimeterResourceId value to set.- Returns:
- the NspLinkInner object itself.
-
remotePerimeterGuid
Get the remotePerimeterGuid property: Remote NSP Guid with which the link gets created.- Returns:
- the remotePerimeterGuid value.
-
remotePerimeterLocation
Get the remotePerimeterLocation property: Remote NSP location with which the link gets created.- Returns:
- the remotePerimeterLocation value.
-
localInboundProfiles
Get the localInboundProfiles property: Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.- Returns:
- the localInboundProfiles value.
-
withLocalInboundProfiles
Set the localInboundProfiles property: Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.- Parameters:
localInboundProfiles- the localInboundProfiles value to set.- Returns:
- the NspLinkInner object itself.
-
localOutboundProfiles
Get the localOutboundProfiles property: Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.- Returns:
- the localOutboundProfiles value.
-
remoteInboundProfiles
Get the remoteInboundProfiles property: Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.- Returns:
- the remoteInboundProfiles value.
-
withRemoteInboundProfiles
Set the remoteInboundProfiles property: Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.- Parameters:
remoteInboundProfiles- the remoteInboundProfiles value to set.- Returns:
- the NspLinkInner object itself.
-
remoteOutboundProfiles
Get the remoteOutboundProfiles property: Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.- Returns:
- the remoteOutboundProfiles value.
-
description
Get the description property: A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.- Returns:
- the description value.
-
withDescription
Set the description property: A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.- Parameters:
description- the description value to set.- Returns:
- the NspLinkInner object itself.
-
status
Get the status property: The NSP link state.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classSecurityPerimeterProxyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classSecurityPerimeterProxyResource- Throws:
IOException
-
fromJson
Reads an instance of NspLinkInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NspLinkInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the NspLinkInner.
-