Class ApiManagementGatewayResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.apimanagement.models.ApimResource
com.azure.resourcemanager.apimanagement.fluent.models.ApiManagementGatewayResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
A single API Management gateway resource in List or Get response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApiManagementGatewayResourceInner 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.etag()Get the etag property: ETag of the resource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiManagementGatewayResourceInner from the JsonReader.frontend()Get the frontend property: Information regarding how the gateway should be exposed.id()Get the id property: Fully qualified resource Id for the resource.location()Get the location property: Resource location.name()Get the name property: The name of the resource.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.sku()Get the sku property: SKU properties of the API Management gateway.com.azure.core.management.SystemDataGet the systemData property: Metadata pertaining to creation and last modification of the resource.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) type()Get the type property: The type of the resource.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.withLocation(String location) Set the location property: Resource location.Set the sku property: SKU properties of the API Management gateway.Set the tags property: Resource tags.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.ApimResource
tagsMethods 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
-
ApiManagementGatewayResourceInner
public ApiManagementGatewayResourceInner()Creates an instance of ApiManagementGatewayResourceInner class.
-
-
Method Details
-
sku
Get the sku property: SKU properties of the API Management gateway.- Returns:
- the sku value.
-
withSku
Set the sku property: SKU properties of the API Management gateway.- Parameters:
sku- the sku value to set.- Returns:
- the ApiManagementGatewayResourceInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
Set the location property: Resource location.- Parameters:
location- the location value to set.- Returns:
- the ApiManagementGatewayResourceInner object itself.
-
etag
Get the etag property: ETag of the resource.- Returns:
- the etag value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classApimResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classApimResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classApimResource- Returns:
- the id value.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTagsin classApimResource- Parameters:
tags- the tags value to set.- Returns:
- the ApimResource object itself.
-
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 ApiManagementGatewayResourceInner 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 ApiManagementGatewayResourceInner 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 ApiManagementGatewayResourceInner 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 ApiManagementGatewayResourceInner 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 ApiManagementGatewayResourceInner 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 ApiManagementGatewayResourceInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classApimResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classApimResource- Throws:
IOException
-
fromJson
public static ApiManagementGatewayResourceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiManagementGatewayResourceInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiManagementGatewayResourceInner 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 ApiManagementGatewayResourceInner.
-