AFDOrigin Constructors
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.
AFDOrigin() |
Initializes a new instance of the AFDOrigin class. |
AFDOrigin(String, String, String, String, SystemData, ResourceReference, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Object, String, String, String) |
Initializes a new instance of the AFDOrigin class. |
Initializes a new instance of the AFDOrigin class.
public AFDOrigin ();
Public Sub New ()
Applies to
Azure SDK for .NET Legacy
Produkt | Wersje |
---|---|
Azure SDK for .NET | Legacy |
AFDOrigin(String, String, String, String, SystemData, ResourceReference, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Object, String, String, String)
Initializes a new instance of the AFDOrigin class.
public AFDOrigin (string hostName, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Cdn.Models.SystemData systemData = default, Microsoft.Azure.Management.Cdn.Models.ResourceReference azureOrigin = default, int? httpPort = default, int? httpsPort = default, string originHostHeader = default, int? priority = default, int? weight = default, object sharedPrivateLinkResource = default, string enabledState = default, string provisioningState = default, string deploymentStatus = default);
new Microsoft.Azure.Management.Cdn.Models.AFDOrigin : string * string * string * string * Microsoft.Azure.Management.Cdn.Models.SystemData * Microsoft.Azure.Management.Cdn.Models.ResourceReference * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * obj * string * string * string -> Microsoft.Azure.Management.Cdn.Models.AFDOrigin
Public Sub New (hostName As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional azureOrigin As ResourceReference = 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 Object = Nothing, Optional enabledState As String = Nothing, Optional provisioningState As String = Nothing, Optional deploymentStatus As String = Nothing)
Parameters
- 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.
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- systemData
- SystemData
- azureOrigin
- ResourceReference
Resource reference to the Azure origin resource.
- 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 CDN 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 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 of the origin in given origin group for load balancing. Must be between 1 and 1000
- sharedPrivateLinkResource
- Object
The properties of the private link resource for private origin.
- enabledState
- String
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. Possible values include: 'Enabled', 'Disabled'
- provisioningState
- String
Provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'
- deploymentStatus
- String
Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'
Applies to
Azure SDK for .NET Legacy
Produkt | Wersje |
---|---|
Azure SDK for .NET | Legacy |
Opinia o produkcie Azure SDK for .NET
Azure SDK for .NET to projekt typu open source. Wybierz link, aby przekazać opinię: