ArmNetworkModelFactory.ApplicationGatewayCustomError Method

Definition

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.

Applies to