Class NetlifySite

Namespace
Aspire.Hosting
Assembly
IEvangelist.Aspire.Hosting.Netlify.dll

Represents a Netlify site with its details.

public sealed record NetlifySite : IEquatable<NetlifySite>
Inheritance
NetlifySite
Implements
Inherited Members

Constructors

NetlifySite(string, string, string, string, string, string, string, string, int, string, string?, bool, bool, string, string?, NetlifySiteCapabilities)

Represents a Netlify site with its details.

public NetlifySite(string SiteId, string SiteName, string SiteUrl, string SiteAdminUrl, string DeployId, string DeployUrl, string Logs, string DeploySslUrl, int DeployTime, string AdminUrl, string? DeployMessage, bool Skipped, bool ManualDeploy, string Branch, string? Framework, NetlifySiteCapabilities SiteCapabilities)

Parameters

SiteId string

The unique identifier for the site.

SiteName string

The name of the site.

SiteUrl string

The URL of the site.

SiteAdminUrl string

The admin URL of the site.

DeployId string

The unique identifier for the deployment.

DeployUrl string

The URL of the deployment.

Logs string

The URL of the deployment logs.

DeploySslUrl string

The SSL URL of the deployment.

DeployTime int

The time taken for the deployment.

AdminUrl string

The admin URL of the site.

DeployMessage string

The message associated with the deployment.

Skipped bool

Indicates if the deployment was skipped.

ManualDeploy bool

Indicates if the deployment was manual.

Branch string

The branch associated with the deployment.

Framework string

The framework used for the site.

SiteCapabilities NetlifySiteCapabilities

The capabilities of the site.

Properties

AdminUrl

The admin URL of the site.

public string AdminUrl { get; init; }

Property Value

string

Branch

The branch associated with the deployment.

public string Branch { get; init; }

Property Value

string

DeployId

The unique identifier for the deployment.

public string DeployId { get; init; }

Property Value

string

DeployMessage

The message associated with the deployment.

public string? DeployMessage { get; init; }

Property Value

string

DeploySslUrl

The SSL URL of the deployment.

public string DeploySslUrl { get; init; }

Property Value

string

DeployTime

The time taken for the deployment.

public int DeployTime { get; init; }

Property Value

int

DeployUrl

The URL of the deployment.

public string DeployUrl { get; init; }

Property Value

string

Framework

The framework used for the site.

public string? Framework { get; init; }

Property Value

string

Logs

The URL of the deployment logs.

public string Logs { get; init; }

Property Value

string

ManualDeploy

Indicates if the deployment was manual.

public bool ManualDeploy { get; init; }

Property Value

bool

SiteAdminUrl

The admin URL of the site.

public string SiteAdminUrl { get; init; }

Property Value

string

SiteCapabilities

The capabilities of the site.

public NetlifySiteCapabilities SiteCapabilities { get; init; }

Property Value

NetlifySiteCapabilities

SiteId

The unique identifier for the site.

public string SiteId { get; init; }

Property Value

string

SiteName

The name of the site.

public string SiteName { get; init; }

Property Value

string

SiteUrl

The URL of the site.

public string SiteUrl { get; init; }

Property Value

string

Skipped

Indicates if the deployment was skipped.

public bool Skipped { get; init; }

Property Value

bool