Megosztás a következőn keresztül:


ArmCdnModelFactory.FrontDoorOriginPatch Method

Definition

Initializes a new instance of FrontDoorOriginPatch.

public static Azure.ResourceManager.Cdn.Models.FrontDoorOriginPatch FrontDoorOriginPatch (string originGroupName = default, Azure.Core.ResourceIdentifier originId = 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);
static member FrontDoorOriginPatch : string * Azure.Core.ResourceIdentifier * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.Cdn.Models.SharedPrivateLinkResourceProperties * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<bool> -> Azure.ResourceManager.Cdn.Models.FrontDoorOriginPatch
Public Shared Function FrontDoorOriginPatch (Optional originGroupName As String = Nothing, Optional originId As ResourceIdentifier = 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) As FrontDoorOriginPatch

Parameters

originGroupName
String

The name of the origin group which contains this origin.

originId
ResourceIdentifier

Resource reference to the Azure origin resource.

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.

Returns

A new FrontDoorOriginPatch instance for mocking.

Applies to