ArmNetworkModelFactory.ApplicationGatewayCustomError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.ApplicationGatewayCustomError ApplicationGatewayCustomError(Azure.ResourceManager.Network.Models.ApplicationGatewayCustomErrorStatusCode? statusCode = default, Uri customErrorPageUri = default);
static member ApplicationGatewayCustomError : Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayCustomErrorStatusCode> * Uri -> Azure.ResourceManager.Network.Models.ApplicationGatewayCustomError
Public Shared Function ApplicationGatewayCustomError (Optional statusCode As Nullable(Of ApplicationGatewayCustomErrorStatusCode) = Nothing, Optional customErrorPageUri As Uri = Nothing) As ApplicationGatewayCustomError
Parameters
- statusCode
- Nullable<ApplicationGatewayCustomErrorStatusCode>
Status code of the application gateway custom error.
- customErrorPageUri
- Uri
Error page URL of the application gateway custom error.
Returns
A new ApplicationGatewayCustomError instance for mocking.