Sdílet prostřednictvím


OriginGroup Class

Definition

Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginGroupTypeConverter))]
public class OriginGroup : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IOriginGroup, 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.OriginGroupTypeConverter))>]
type OriginGroup = class
    interface IOriginGroup
    interface IJsonSerializable
    interface IResource
    interface IValidates
    interface IHeaderSerializable
Public Class OriginGroup
Implements IHeaderSerializable, IOriginGroup, IValidates
Inheritance
OriginGroup
Attributes
Implements

Constructors

OriginGroup()

Creates an new OriginGroup instance.

Properties

HealthProbeSetting

Health probe settings to the origin that is used to determine the health of the origin.

Id

Resource ID.

Location
Name

Resource name.

Origin

The source of the content being delivered via CDN within given origin group.

ProvisioningState

Provisioning status of the origin group.

ResourceGroupName

Gets the resource group name

ResourceState

Resource status of the origin group.

ResponseBasedOriginErrorDetectionSetting

The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.

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

TrafficRestorationTimeToHealedOrNewEndpointsInMinute

Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OriginGroup.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OriginGroup.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IOriginGroup.

FromJsonString(String)

Creates a new instance of OriginGroup, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OriginGroup into a JsonNode.

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)

Applies to