ConnectableResource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ConnectableResource
- com.
Implements
public final class ConnectableResource
implements JsonSerializable<ConnectableResource>
Describes the allowed inbound and outbound traffic of an Azure resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectableResource() |
Creates an instance of Connectable |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Connectable |
fromJson(JsonReader jsonReader)
Reads an instance of Connectable |
| String |
id()
Get the id property: The Azure resource id. |
|
List<Connected |
inboundConnectedResources()
Get the inbound |
|
List<Connected |
outboundConnectedResources()
Get the outbound |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ConnectableResource
public ConnectableResource()
Creates an instance of ConnectableResource class.
Method Details
fromJson
public static ConnectableResource fromJson(JsonReader jsonReader)
Reads an instance of ConnectableResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The Azure resource id.
Returns:
inboundConnectedResources
public List<ConnectedResource> inboundConnectedResources()
Get the inboundConnectedResources property: The list of Azure resources that the resource has inbound allowed connection from.
Returns:
outboundConnectedResources
public List<ConnectedResource> outboundConnectedResources()
Get the outboundConnectedResources property: The list of Azure resources that the resource has outbound allowed connection to.
Returns:
toJson
validate
public void validate()
Validates the instance.