OutboundEnvironmentEndpointInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.OutboundEnvironmentEndpointInner

Implements

public final class OutboundEnvironmentEndpointInner
implements JsonSerializable<OutboundEnvironmentEndpointInner>

Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.

Constructor Summary

Constructor Description
OutboundEnvironmentEndpointInner()

Creates an instance of OutboundEnvironmentEndpointInner class.

Method Summary

Modifier and Type Method and Description
String category()

Get the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.

List<EndpointDependency> endpoints()

Get the endpoints property: The endpoints that the App Service Environment reaches the service at.

static OutboundEnvironmentEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of OutboundEnvironmentEndpointInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OutboundEnvironmentEndpointInner withCategory(String category)

Set the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.

OutboundEnvironmentEndpointInner withEndpoints(List<EndpointDependency> endpoints)

Set the endpoints property: The endpoints that the App Service Environment reaches the service at.

Methods inherited from java.lang.Object

Constructor Details

OutboundEnvironmentEndpointInner

public OutboundEnvironmentEndpointInner()

Creates an instance of OutboundEnvironmentEndpointInner class.

Method Details

category

public String category()

Get the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.

Returns:

the category value.

endpoints

public List endpoints()

Get the endpoints property: The endpoints that the App Service Environment reaches the service at.

Returns:

the endpoints value.

fromJson

public static OutboundEnvironmentEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of OutboundEnvironmentEndpointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OutboundEnvironmentEndpointInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the OutboundEnvironmentEndpointInner.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCategory

public OutboundEnvironmentEndpointInner withCategory(String category)

Set the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.

Parameters:

category - the category value to set.

Returns:

the OutboundEnvironmentEndpointInner object itself.

withEndpoints

public OutboundEnvironmentEndpointInner withEndpoints(List endpoints)

Set the endpoints property: The endpoints that the App Service Environment reaches the service at.

Parameters:

endpoints - the endpoints value to set.

Returns:

the OutboundEnvironmentEndpointInner object itself.

Applies to