Origin Class
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.
CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginTypeConverter))]
public class Origin : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IOrigin, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginTypeConverter))>]
type Origin = class
interface IOrigin
interface IJsonSerializable
interface IResource
interface IValidates
interface IHeaderSerializable
Public Class Origin
Implements IHeaderSerializable, IOrigin, IValidates
- Inheritance
-
Origin
- Attributes
- Implements
Constructors
Origin() |
Creates an new Origin instance. |
Properties
Enabled |
Origin is enabled for load balancing or not |
HostHeader |
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 |
HostName |
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 |
The value of the HTTP port. Must be between 1 and 65535. |
HttpsPort |
The value of the HTTPS port. Must be between 1 and 65535. |
Id |
Resource ID. |
Location | |
Name |
Resource name. |
Priority |
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 |
PrivateEndpointStatus |
The approval status for the connection to the Private Link |
PrivateLinkAlias |
The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' |
PrivateLinkApprovalMessage |
A custom message to be included in the approval request to connect to the Private Link. |
PrivateLinkLocation |
The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated |
PrivateLinkResourceId |
The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' |
ProvisioningState |
Provisioning status of the origin. |
ResourceGroupName |
Gets the resource group name |
ResourceState |
Resource status of the origin. |
SystemData |
Read only system data |
SystemDataCreatedAt |
The timestamp of resource creation (UTC) |
SystemDataCreatedBy |
An identifier for the identity that created the resource |
SystemDataCreatedByType |
The type of identity that created the resource |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
An identifier for the identity that last modified the resource |
SystemDataLastModifiedByType |
The type of identity that last modified the resource |
Type |
Resource type. |
Weight |
Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Origin. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IOrigin. |
FromJsonString(String) |
Creates a new instance of Origin, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |
Explicit Interface Implementations
IHeaderSerializable.ReadHeaders(HttpResponseHeaders) |