共用方式為


ICdnEndpoint Interface

Definition

An immutable client-side representation of an Azure CDN endpoint.

public interface ICdnEndpoint : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IChildResource<Microsoft.Azure.Management.Cdn.Fluent.ICdnProfile>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IExternalChildResource<Microsoft.Azure.Management.Cdn.Fluent.ICdnEndpoint,Microsoft.Azure.Management.Cdn.Fluent.ICdnProfile>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Cdn.Fluent.ICdnProfile>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Cdn.Fluent.ICdnEndpoint>
type ICdnEndpoint = interface
    interface IExternalChildResource<ICdnEndpoint, ICdnProfile>
    interface IChildResource<ICdnProfile>
    interface IHasName
    interface IIndexable
    interface IHasParent<ICdnProfile>
    interface IRefreshable<ICdnEndpoint>
    interface IHasInner<EndpointInner>
Public Interface ICdnEndpoint
Implements IChildResource(Of ICdnProfile), IExternalChildResource(Of ICdnEndpoint, ICdnProfile), IHasInner(Of EndpointInner), IHasParent(Of ICdnProfile), IRefreshable(Of ICdnEndpoint)
Implements

Properties

ContentTypesToCompress

Gets content types to be compressed.

CustomDomains

Gets custom domains associated with this endpoint.

GeoFilters

Gets list of Geo filters.

HostName

Gets endpoint host name.

HttpPort

Gets HTTP port value.

HttpsPort

Gets HTTPS port value.

Id (Inherited from IExternalChildResource<FluentModelT,IParentT>)
Inner (Inherited from IHasInner<T>)
IsCompressionEnabled

Gets true if content compression is enabled, otherwise false.

IsHttpAllowed

Gets true if HTTP traffic is allowed, otherwise false.

IsHttpsAllowed

Gets true if HTTPS traffic is allowed, otherwise false.

Key (Inherited from IIndexable)
Name

Gets the name of the resource

(Inherited from IHasName)
OptimizationType

Gets optimization type.

OriginHostHeader

Gets origin host header.

OriginHostName

Gets origin host name.

OriginPath

Gets origin path.

Parent

Gets the parent of this child resource.

(Inherited from IHasParent<ParentT>)
ProvisioningState

Gets endpoint provisioning state.

QueryStringCachingBehavior

Gets query string caching behavior.

ResourceState

Gets endpoint state.

Methods

ListResourceUsage()

Checks the quota and usage of geo filters and custom domains under the current endpoint.

LoadContent(ISet<String>)

Forcibly preloads the content of the CDN endpoint. Note: this is supported for Verizon profiles only.

LoadContentAsync(ISet<String>, CancellationToken)

Forcibly preloads the content of the CDN endpoint asynchronously. Note: this is supported for Verizon profiles only.

PurgeContent(ISet<String>)

Forcibly purges the content of the CDN endpoint.

PurgeContentAsync(ISet<String>, CancellationToken)

Forcibly purges the content of the CDN endpoint asynchronously.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Start()

Starts the CDN endpoint, if it is stopped.

StartAsync(CancellationToken)

Starts the CDN endpoint asynchronously, if it is stopped.

Stop()

Stops the CDN endpoint, if it is running.

StopAsync(CancellationToken)

Stops the CDN endpoint asynchronously, if it is running.

ValidateCustomDomain(String)

Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint.

ValidateCustomDomainAsync(String, CancellationToken)

Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint asynchronously.

Applies to