GatewayProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. GatewayProperties
- com.
Implements
public final class GatewayProperties
implements JsonSerializable<GatewayProperties>
Spring Cloud Gateway properties payload.
Constructor Summary
Constructor | Description |
---|---|
GatewayProperties() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
Gateway |
apiMetadataProperties()
Get the api |
List<Apm |
apms()
Get the apms property: Collection of Apm |
Gateway |
clientAuth()
Get the client |
Gateway |
corsProperties()
Get the cors |
Gateway |
environmentVariables()
Get the environment |
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
Boolean |
httpsOnly()
Get the https |
List<Gateway |
instances()
Get the instances property: Collection of instances belong to Spring Cloud Gateway. |
Gateway |
operatorProperties()
Get the operator |
Gateway |
provisioningState()
Get the provisioning |
Boolean |
publicProperty()
Get the public |
Gateway |
resourceRequests()
Get the resource |
Sso |
ssoProperties()
Get the sso |
Json |
toJson(JsonWriter jsonWriter) |
String |
url()
Get the url property: URL of the Spring Cloud Gateway, exposed when 'public' is true. |
void |
validate()
Validates the instance. |
Gateway |
withApiMetadataProperties(GatewayApiMetadataProperties apiMetadataProperties)
Set the api |
Gateway |
withApms(List<ApmReference> apms)
Set the apms property: Collection of Apm |
Gateway |
withClientAuth(GatewayPropertiesClientAuth clientAuth)
Set the client |
Gateway |
withCorsProperties(GatewayCorsProperties corsProperties)
Set the cors |
Gateway |
withEnvironmentVariables(GatewayPropertiesEnvironmentVariables environmentVariables)
Set the environment |
Gateway |
withHttpsOnly(Boolean httpsOnly)
Set the https |
Gateway |
withPublicProperty(Boolean publicProperty)
Set the public |
Gateway |
withResourceRequests(GatewayResourceRequests resourceRequests)
Set the resource |
Gateway |
withSsoProperties(SsoProperties ssoProperties)
Set the sso |
Methods inherited from java.lang.Object
Constructor Details
GatewayProperties
public GatewayProperties()
Creates an instance of GatewayProperties class.
Method Details
apiMetadataProperties
public GatewayApiMetadataProperties apiMetadataProperties()
Get the apiMetadataProperties property: API metadata property for Spring Cloud Gateway.
Returns:
apms
public List
Get the apms property: Collection of ApmReferences in service level.
Returns:
clientAuth
public GatewayPropertiesClientAuth clientAuth()
Get the clientAuth property: Client-Certification Authentication.
Returns:
corsProperties
public GatewayCorsProperties corsProperties()
Get the corsProperties property: Cross-Origin Resource Sharing property.
Returns:
environmentVariables
public GatewayPropertiesEnvironmentVariables environmentVariables()
Get the environmentVariables property: Environment variables of Spring Cloud Gateway.
Returns:
fromJson
public static GatewayProperties fromJson(JsonReader jsonReader)
Reads an instance of GatewayProperties from the JsonReader.
Parameters:
Returns:
Throws:
httpsOnly
public Boolean httpsOnly()
Get the httpsOnly property: Indicate if only https is allowed.
Returns:
instances
public List
Get the instances property: Collection of instances belong to Spring Cloud Gateway.
Returns:
operatorProperties
public GatewayOperatorProperties operatorProperties()
Get the operatorProperties property: Properties of the Spring Cloud Gateway Operator.
Returns:
provisioningState
public GatewayProvisioningState provisioningState()
Get the provisioningState property: State of the Spring Cloud Gateway.
Returns:
publicProperty
public Boolean publicProperty()
Get the publicProperty property: Indicates whether the Spring Cloud Gateway exposes endpoint.
Returns:
resourceRequests
public GatewayResourceRequests resourceRequests()
Get the resourceRequests property: The requested resource quantity for required CPU and Memory.
Returns:
ssoProperties
public SsoProperties ssoProperties()
Get the ssoProperties property: Single sign-on related configuration.
Returns:
toJson
url
public String url()
Get the url property: URL of the Spring Cloud Gateway, exposed when 'public' is true.
Returns:
validate
public void validate()
Validates the instance.
withApiMetadataProperties
public GatewayProperties withApiMetadataProperties(GatewayApiMetadataProperties apiMetadataProperties)
Set the apiMetadataProperties property: API metadata property for Spring Cloud Gateway.
Parameters:
Returns:
withApms
public GatewayProperties withApms(List
Set the apms property: Collection of ApmReferences in service level.
Parameters:
Returns:
withClientAuth
public GatewayProperties withClientAuth(GatewayPropertiesClientAuth clientAuth)
Set the clientAuth property: Client-Certification Authentication.
Parameters:
Returns:
withCorsProperties
public GatewayProperties withCorsProperties(GatewayCorsProperties corsProperties)
Set the corsProperties property: Cross-Origin Resource Sharing property.
Parameters:
Returns:
withEnvironmentVariables
public GatewayProperties withEnvironmentVariables(GatewayPropertiesEnvironmentVariables environmentVariables)
Set the environmentVariables property: Environment variables of Spring Cloud Gateway.
Parameters:
Returns:
withHttpsOnly
public GatewayProperties withHttpsOnly(Boolean httpsOnly)
Set the httpsOnly property: Indicate if only https is allowed.
Parameters:
Returns:
withPublicProperty
public GatewayProperties withPublicProperty(Boolean publicProperty)
Set the publicProperty property: Indicates whether the Spring Cloud Gateway exposes endpoint.
Parameters:
Returns:
withResourceRequests
public GatewayProperties withResourceRequests(GatewayResourceRequests resourceRequests)
Set the resourceRequests property: The requested resource quantity for required CPU and Memory.
Parameters:
Returns:
withSsoProperties
public GatewayProperties withSsoProperties(SsoProperties ssoProperties)
Set the ssoProperties property: Single sign-on related configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java