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
SiteIdstringThe unique identifier for the site.
SiteNamestringThe name of the site.
SiteUrlstringThe URL of the site.
SiteAdminUrlstringThe admin URL of the site.
DeployIdstringThe unique identifier for the deployment.
DeployUrlstringThe URL of the deployment.
LogsstringThe URL of the deployment logs.
DeploySslUrlstringThe SSL URL of the deployment.
DeployTimeintThe time taken for the deployment.
AdminUrlstringThe admin URL of the site.
DeployMessagestringThe message associated with the deployment.
SkippedboolIndicates if the deployment was skipped.
ManualDeployboolIndicates if the deployment was manual.
BranchstringThe branch associated with the deployment.
FrameworkstringThe framework used for the site.
SiteCapabilitiesNetlifySiteCapabilitiesThe capabilities of the site.
Properties
AdminUrl
The admin URL of the site.
public string AdminUrl { get; init; }
Property Value
Branch
The branch associated with the deployment.
public string Branch { get; init; }
Property Value
DeployId
The unique identifier for the deployment.
public string DeployId { get; init; }
Property Value
DeployMessage
The message associated with the deployment.
public string? DeployMessage { get; init; }
Property Value
DeploySslUrl
The SSL URL of the deployment.
public string DeploySslUrl { get; init; }
Property Value
DeployTime
The time taken for the deployment.
public int DeployTime { get; init; }
Property Value
DeployUrl
The URL of the deployment.
public string DeployUrl { get; init; }
Property Value
Framework
The framework used for the site.
public string? Framework { get; init; }
Property Value
Logs
The URL of the deployment logs.
public string Logs { get; init; }
Property Value
ManualDeploy
Indicates if the deployment was manual.
public bool ManualDeploy { get; init; }
Property Value
SiteAdminUrl
The admin URL of the site.
public string SiteAdminUrl { get; init; }
Property Value
SiteCapabilities
The capabilities of the site.
public NetlifySiteCapabilities SiteCapabilities { get; init; }
Property Value
SiteId
The unique identifier for the site.
public string SiteId { get; init; }
Property Value
SiteName
The name of the site.
public string SiteName { get; init; }
Property Value
SiteUrl
The URL of the site.
public string SiteUrl { get; init; }
Property Value
Skipped
Indicates if the deployment was skipped.
public bool Skipped { get; init; }