Language

ArmCdnModelFactory.FrontDoorOriginPatch Method

Definition

public static Azure.ResourceManager.Cdn.Models.FrontDoorOriginPatch FrontDoorOriginPatch(string originGroupName = default, string hostName = default, int? httpPort = default, int? httpsPort = default, string originHostHeader = default, int? priority = default, int? weight = default, Azure.ResourceManager.Cdn.Models.SharedPrivateLinkResourceProperties sharedPrivateLinkResource = default, Azure.ResourceManager.Cdn.Models.EnabledState? enabledState = default, bool? enforceCertificateNameCheck = default, Azure.ResourceManager.Cdn.Models.CertificateNameCheckValidationMode? certificateNameCheckValidationMode = default, System.Collections.Generic.IEnumerable<string> customCertificateSubjects = default, Azure.Core.ResourceIdentifier originId = default);
static member FrontDoorOriginPatch : string * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.Cdn.Models.SharedPrivateLinkResourceProperties * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<bool> * Nullable<Azure.ResourceManager.Cdn.Models.CertificateNameCheckValidationMode> * seq<string> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Cdn.Models.FrontDoorOriginPatch
Public Shared Function FrontDoorOriginPatch (Optional originGroupName As String = Nothing, Optional hostName As String = Nothing, Optional httpPort As Nullable(Of Integer) = Nothing, Optional httpsPort As Nullable(Of Integer) = Nothing, Optional originHostHeader As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional weight As Nullable(Of Integer) = Nothing, Optional sharedPrivateLinkResource As SharedPrivateLinkResourceProperties = Nothing, Optional enabledState As Nullable(Of EnabledState) = Nothing, Optional enforceCertificateNameCheck As Nullable(Of Boolean) = Nothing, Optional certificateNameCheckValidationMode As Nullable(Of CertificateNameCheckValidationMode) = Nothing, Optional customCertificateSubjects As IEnumerable(Of String) = Nothing, Optional originId As ResourceIdentifier = Nothing) As FrontDoorOriginPatch

Parameters

originGroupName
String

The name of the origin group which contains this origin.

hostName
String

The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.

httpPort
Nullable<Int32>

The value of the HTTP port. Must be between 1 and 65535.

httpsPort
Nullable<Int32>

The value of the HTTPS port. Must be between 1 and 65535.

originHostHeader
String

The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint.

priority
Nullable<Int32>

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5.

weight
Nullable<Int32>

Weight of the origin in given origin group for load balancing. Must be between 1 and 1000.

sharedPrivateLinkResource
SharedPrivateLinkResourceProperties

The properties of the private link resource for private origin.

enabledState
Nullable<EnabledState>

Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.

enforceCertificateNameCheck
Nullable<Boolean>

Whether to enable certificate name check at origin level.

certificateNameCheckValidationMode
Nullable<CertificateNameCheckValidationMode>

The validation mode for certificate name check. Only applicable when enforceCertificateNameCheck is true.

customCertificateSubjects
IEnumerable<String>

The list of custom certificate subjects to validate against. Only applicable when certificateNameCheckValidationMode is 'CustomCertificateSubject'. Must contain 1 or 2 entries.

originId
ResourceIdentifier

Resource ID.

Returns

A new FrontDoorOriginPatch instance for mocking.

Applies to