1+ //------------------------------------------------------------------------------
2+ // <auto-generated>
3+ // This code was generated by a tool.
4+ //
5+ // Changes to this file may cause incorrect behavior and will be lost if
6+ // the code is regenerated.
7+ // </auto-generated>
8+ //------------------------------------------------------------------------------
9+ namespace Aspire . Hosting
10+ {
11+ public static partial class SurrealDbBuilderExtensions
12+ {
13+ public static ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbDatabaseResource > AddDatabase ( this ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbNamespaceResource > builder , string name , string ? databaseName = null ) { throw null ; }
14+
15+ public static ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbNamespaceResource > AddNamespace ( this ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbServerResource > builder , string name , string ? namespaceName = null ) { throw null ; }
16+
17+ public static ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbServerResource > AddSurrealServer ( this IDistributedApplicationBuilder builder , string name , ApplicationModel . IResourceBuilder < ApplicationModel . ParameterResource > ? userName = null , ApplicationModel . IResourceBuilder < ApplicationModel . ParameterResource > ? password = null , int ? port = null , string path = "memory" , bool strictMode = false ) { throw null ; }
18+
19+ public static ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbServerResource > WithDataBindMount ( this ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbServerResource > builder , string source ) { throw null ; }
20+
21+ public static ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbServerResource > WithDataVolume ( this ApplicationModel . IResourceBuilder < ApplicationModel . SurrealDbServerResource > builder , string ? name = null ) { throw null ; }
22+
23+ public static ApplicationModel . IResourceBuilder < T > WithSurrealist < T > ( this ApplicationModel . IResourceBuilder < T > builder , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . SurrealistContainerResource > > ? configureContainer = null , string ? containerName = null )
24+ where T : ApplicationModel . SurrealDbServerResource { throw null ; }
25+ }
26+ }
27+
28+ namespace Aspire . Hosting . ApplicationModel
29+ {
30+ public partial class SurrealDbDatabaseResource : Resource , IResourceWithParent < SurrealDbNamespaceResource > , IResourceWithParent , IResource , IResourceWithConnectionString , IManifestExpressionProvider , IValueProvider , IValueWithReferences
31+ {
32+ public SurrealDbDatabaseResource ( string name , string databaseName , SurrealDbNamespaceResource parent ) : base ( default ! ) { }
33+
34+ public ReferenceExpression ConnectionStringExpression { get { throw null ; } }
35+
36+ public string DatabaseName { get { throw null ; } }
37+
38+ public SurrealDbNamespaceResource Parent { get { throw null ; } }
39+ }
40+
41+ public partial class SurrealDbNamespaceResource : Resource , IResourceWithParent < SurrealDbServerResource > , IResourceWithParent , IResource , IResourceWithConnectionString , IManifestExpressionProvider , IValueProvider , IValueWithReferences
42+ {
43+ public SurrealDbNamespaceResource ( string name , string namespaceName , SurrealDbServerResource parent ) : base ( default ! ) { }
44+
45+ public ReferenceExpression ConnectionStringExpression { get { throw null ; } }
46+
47+ public System . Collections . Generic . IReadOnlyDictionary < string , string > Databases { get { throw null ; } }
48+
49+ public string NamespaceName { get { throw null ; } }
50+
51+ public SurrealDbServerResource Parent { get { throw null ; } }
52+ }
53+
54+ public partial class SurrealDbServerResource : ContainerResource , IResourceWithConnectionString , IResource , IManifestExpressionProvider , IValueProvider , IValueWithReferences
55+ {
56+ public SurrealDbServerResource ( string name , ParameterResource ? userName , ParameterResource password ) : base ( default ! , default ) { }
57+
58+ public ReferenceExpression ConnectionStringExpression { get { throw null ; } }
59+
60+ public System . Collections . Generic . IReadOnlyDictionary < string , string > Namespaces { get { throw null ; } }
61+
62+ public ParameterResource PasswordParameter { get { throw null ; } }
63+
64+ public EndpointReference PrimaryEndpoint { get { throw null ; } }
65+
66+ public ParameterResource ? UserNameParameter { get { throw null ; } }
67+
68+ public System . Threading . Tasks . ValueTask < string ? > GetConnectionStringAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
69+ }
70+
71+ public sealed partial class SurrealistContainerResource : ContainerResource
72+ {
73+ public SurrealistContainerResource ( string name ) : base ( default ! , default ) { }
74+ }
75+ }
0 commit comments