@@ -564,6 +564,9 @@ public static ApplicationModel.IResourceBuilder<T> WithUrl<T>(this ApplicationMo
564
564
public static ApplicationModel . IResourceBuilder < T > WithUrlForEndpoint < T > ( this ApplicationModel . IResourceBuilder < T > builder , string endpointName , System . Action < ApplicationModel . ResourceUrlAnnotation > callback )
565
565
where T : ApplicationModel . IResource { throw null ; }
566
566
567
+ public static ApplicationModel . IResourceBuilder < T > WithUrlForEndpoint < T > ( this ApplicationModel . IResourceBuilder < T > builder , string endpointName , System . Func < ApplicationModel . EndpointReference , ApplicationModel . ResourceUrlAnnotation > callback )
568
+ where T : ApplicationModel . IResourceWithEndpoints { throw null ; }
569
+
567
570
public static ApplicationModel . IResourceBuilder < T > WithUrls < T > ( this ApplicationModel . IResourceBuilder < T > builder , System . Action < ApplicationModel . ResourceUrlsCallbackContext > callback )
568
571
where T : ApplicationModel . IResource { throw null ; }
569
572
@@ -897,6 +900,9 @@ public sealed partial class DeploymentTargetAnnotation : IResourceAnnotation
897
900
{
898
901
public DeploymentTargetAnnotation ( IResource target ) { }
899
902
903
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIRECOMPUTE001" ) ]
904
+ public IContainerRegistry ? ContainerRegistryInfo { get { throw null ; } set { } }
905
+
900
906
public IResource DeploymentTarget { get { throw null ; } }
901
907
}
902
908
@@ -1198,6 +1204,14 @@ public partial interface IAspireStore
1198
1204
string GetFileNameWithContent ( string filenameTemplate , System . IO . Stream contentStream ) ;
1199
1205
}
1200
1206
1207
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIRECOMPUTE001" ) ]
1208
+ public partial interface IContainerRegistry
1209
+ {
1210
+ ReferenceExpression Endpoint { get ; }
1211
+
1212
+ ReferenceExpression Name { get ; }
1213
+ }
1214
+
1201
1215
public enum IconVariant
1202
1216
{
1203
1217
Regular = 0 ,
@@ -1746,6 +1760,8 @@ public sealed partial record ResourceStateSnapshot(string Text, string? Style)
1746
1760
public sealed partial class ResourceUrlAnnotation : IResourceAnnotation
1747
1761
{
1748
1762
public int ? DisplayOrder ;
1763
+ public UrlDisplayLocation DisplayLocation { get { throw null ; } set { } }
1764
+
1749
1765
public string ? DisplayText { get { throw null ; } set { } }
1750
1766
1751
1767
public EndpointReference ? Endpoint { get { throw null ; } init { } }
@@ -1775,6 +1791,8 @@ public ResourceUrlsCallbackContext(DistributedApplicationExecutionContext execut
1775
1791
public IResource Resource { get { throw null ; } }
1776
1792
1777
1793
public System . Collections . Generic . List < ResourceUrlAnnotation > Urls { get { throw null ; } }
1794
+
1795
+ public EndpointReference ? GetEndpoint ( string name ) { throw null ; }
1778
1796
}
1779
1797
1780
1798
public sealed partial class UpdateCommandStateContext
@@ -1784,6 +1802,12 @@ public sealed partial class UpdateCommandStateContext
1784
1802
public required System . IServiceProvider ServiceProvider { get { throw null ; } init { } }
1785
1803
}
1786
1804
1805
+ public enum UrlDisplayLocation
1806
+ {
1807
+ SummaryAndDetails = 0 ,
1808
+ DetailsOnly = 1
1809
+ }
1810
+
1787
1811
public sealed partial record UrlDisplayPropertiesSnapshot ( string DisplayName = "" , int SortOrder = 0 )
1788
1812
{
1789
1813
}
@@ -1982,16 +2006,28 @@ public void WriteConnectionString(ApplicationModel.IResource resource) { }
1982
2006
public System . Threading . Tasks . Task WriteEnvironmentVariablesAsync ( ApplicationModel . IResource resource ) { throw null ; }
1983
2007
}
1984
2008
2009
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
2010
+ public sealed partial class NullPublishingActivityProgressReporter : IPublishingActivityProgressReporter
2011
+ {
2012
+ internal NullPublishingActivityProgressReporter ( ) { }
2013
+
2014
+ public static NullPublishingActivityProgressReporter Instance { get { throw null ; } }
2015
+
2016
+ public System . Threading . Tasks . Task < PublishingActivity > CreateActivityAsync ( string id , string initialStatusText , bool isPrimary , System . Threading . CancellationToken cancellationToken ) { throw null ; }
2017
+
2018
+ public System . Threading . Tasks . Task UpdateActivityStatusAsync ( PublishingActivity publishingActivity , System . Func < PublishingActivityStatus , PublishingActivityStatus > statusUpdate , System . Threading . CancellationToken cancellationToken ) { throw null ; }
2019
+ }
2020
+
1985
2021
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
1986
2022
public sealed partial class PublishingActivity
1987
2023
{
1988
- internal PublishingActivity ( ) { }
2024
+ public PublishingActivity ( string id , bool isPrimary = false ) { }
1989
2025
1990
2026
public string Id { get { throw null ; } }
1991
2027
1992
2028
public bool IsPrimary { get { throw null ; } }
1993
2029
1994
- public PublishingActivityStatus ? LastStatus { get { throw null ; } }
2030
+ public PublishingActivityStatus ? LastStatus { get { throw null ; } set { } }
1995
2031
}
1996
2032
1997
2033
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
0 commit comments