Class ApiManagementGatewayBaseProperties
java.lang.Object
com.azure.resourcemanager.apimanagement.models.ApiManagementGatewayBaseProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiManagementGatewayBaseProperties>
- Direct Known Subclasses:
ApiManagementGatewayProperties,ApiManagementGatewayUpdateProperties
public class ApiManagementGatewayBaseProperties
extends Object
implements com.azure.json.JsonSerializable<ApiManagementGatewayBaseProperties>
Base Properties of an API Management gateway resource description.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApiManagementGatewayBaseProperties class. -
Method Summary
Modifier and TypeMethodDescriptionbackend()Get the backend property: Information regarding how the gateway should integrate with backend systems.Get the configurationApi property: Information regarding the Configuration API of the API Management gateway.Get the createdAtUtc property: Creation UTC date of the API Management gateway.The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiManagementGatewayBaseProperties from the JsonReader.frontend()Get the frontend property: Information regarding how the gateway should be exposed.Get the provisioningState property: The current provisioning state of the API Management gateway which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.Get the targetProvisioningState property: The provisioning state of the API Management gateway, which is targeted by the long running operation started on the gateway.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the virtualNetworkType property: The type of VPN in which API Management gateway needs to be configured in.withBackend(BackendConfiguration backend) Set the backend property: Information regarding how the gateway should integrate with backend systems.withConfigurationApi(GatewayConfigurationApi configurationApi) Set the configurationApi property: Information regarding the Configuration API of the API Management gateway.withFrontend(FrontendConfiguration frontend) Set the frontend property: Information regarding how the gateway should be exposed.withVirtualNetworkType(VirtualNetworkType virtualNetworkType) Set the virtualNetworkType property: The type of VPN in which API Management gateway needs to be configured in.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
-
ApiManagementGatewayBaseProperties
public ApiManagementGatewayBaseProperties()Creates an instance of ApiManagementGatewayBaseProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The current provisioning state of the API Management gateway which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.- Returns:
- the provisioningState value.
-
targetProvisioningState
Get the targetProvisioningState property: The provisioning state of the API Management gateway, which is targeted by the long running operation started on the gateway.- Returns:
- the targetProvisioningState value.
-
createdAtUtc
Get the createdAtUtc property: Creation UTC date of the API Management gateway.The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.- Returns:
- the createdAtUtc value.
-
frontend
Get the frontend property: Information regarding how the gateway should be exposed.- Returns:
- the frontend value.
-
withFrontend
Set the frontend property: Information regarding how the gateway should be exposed.- Parameters:
frontend- the frontend value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
backend
Get the backend property: Information regarding how the gateway should integrate with backend systems.- Returns:
- the backend value.
-
withBackend
Set the backend property: Information regarding how the gateway should integrate with backend systems.- Parameters:
backend- the backend value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
configurationApi
Get the configurationApi property: Information regarding the Configuration API of the API Management gateway. This is only applicable for API gateway with Standard SKU.- Returns:
- the configurationApi value.
-
withConfigurationApi
public ApiManagementGatewayBaseProperties withConfigurationApi(GatewayConfigurationApi configurationApi) Set the configurationApi property: Information regarding the Configuration API of the API Management gateway. This is only applicable for API gateway with Standard SKU.- Parameters:
configurationApi- the configurationApi value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
virtualNetworkType
Get the virtualNetworkType property: The type of VPN in which API Management gateway needs to be configured in.- Returns:
- the virtualNetworkType value.
-
withVirtualNetworkType
public ApiManagementGatewayBaseProperties withVirtualNetworkType(VirtualNetworkType virtualNetworkType) Set the virtualNetworkType property: The type of VPN in which API Management gateway needs to be configured in.- Parameters:
virtualNetworkType- the virtualNetworkType value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiManagementGatewayBaseProperties>- Throws:
IOException
-
fromJson
public static ApiManagementGatewayBaseProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiManagementGatewayBaseProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiManagementGatewayBaseProperties 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 ApiManagementGatewayBaseProperties.
-