Class ApiManagementGatewayUpdateProperties
java.lang.Object
com.azure.resourcemanager.apimanagement.models.ApiManagementGatewayBaseProperties
com.azure.resourcemanager.apimanagement.fluent.models.ApiManagementGatewayUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiManagementGatewayBaseProperties>
Properties of an API Management gateway resource description.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApiManagementGatewayUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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 ApiManagementGatewayUpdateProperties from the JsonReader.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.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 com.azure.resourcemanager.apimanagement.models.ApiManagementGatewayBaseProperties
backend, configurationApi, frontend, virtualNetworkTypeMethods 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
-
ApiManagementGatewayUpdateProperties
public ApiManagementGatewayUpdateProperties()Creates an instance of ApiManagementGatewayUpdateProperties class.
-
-
Method Details
-
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.- Overrides:
createdAtUtcin classApiManagementGatewayBaseProperties- Returns:
- the createdAtUtc 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.- Overrides:
targetProvisioningStatein classApiManagementGatewayBaseProperties- Returns:
- the targetProvisioningState value.
-
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.- Overrides:
provisioningStatein classApiManagementGatewayBaseProperties- Returns:
- the provisioningState value.
-
withFrontend
Set the frontend property: Information regarding how the gateway should be exposed.- Overrides:
withFrontendin classApiManagementGatewayBaseProperties- Parameters:
frontend- the frontend value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
withBackend
Set the backend property: Information regarding how the gateway should integrate with backend systems.- Overrides:
withBackendin classApiManagementGatewayBaseProperties- Parameters:
backend- the backend value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
withConfigurationApi
public ApiManagementGatewayUpdateProperties 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.- Overrides:
withConfigurationApiin classApiManagementGatewayBaseProperties- Parameters:
configurationApi- the configurationApi value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
withVirtualNetworkType
public ApiManagementGatewayUpdateProperties withVirtualNetworkType(VirtualNetworkType virtualNetworkType) Set the virtualNetworkType property: The type of VPN in which API Management gateway needs to be configured in.- Overrides:
withVirtualNetworkTypein classApiManagementGatewayBaseProperties- Parameters:
virtualNetworkType- the virtualNetworkType value to set.- Returns:
- the ApiManagementGatewayBaseProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classApiManagementGatewayBaseProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiManagementGatewayBaseProperties>- Overrides:
toJsonin classApiManagementGatewayBaseProperties- Throws:
IOException
-
fromJson
public static ApiManagementGatewayUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiManagementGatewayUpdateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiManagementGatewayUpdateProperties 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 ApiManagementGatewayUpdateProperties.
-