11namespace Azure . CloudMachine
22{
3- public partial class ClientCache
3+ public partial class CloudMachineClient : Azure . CloudMachine . CloudMachineWorkspace
44 {
5- public ClientCache ( ) { }
6- public T Get < T > ( string id , System . Func < T > value ) where T : class { throw null ; }
5+ public CloudMachineClient ( Azure . Core . TokenCredential ? credential = null , Microsoft . Extensions . Configuration . IConfiguration ? configuration = null ) : base ( default ( Azure . Core . TokenCredential ) , default ( Microsoft . Extensions . Configuration . IConfiguration ) ) { }
6+ public Azure . CloudMachine . MessagingServices Messaging { get { throw null ; } }
7+ public Azure . CloudMachine . StorageServices Storage { get { throw null ; } }
78 }
8- public partial class CloudMachineClient
9+ public partial class CloudMachineWorkspace : Azure . Core . WorkspaceClient
910 {
10- protected CloudMachineClient ( ) { }
11- public CloudMachineClient ( Azure . Identity . DefaultAzureCredential ? credential = null , Microsoft . Extensions . Configuration . IConfiguration ? configuration = null ) { }
11+ public CloudMachineWorkspace ( Azure . Core . TokenCredential ? credential = null , Microsoft . Extensions . Configuration . IConfiguration ? configuration = null ) { }
1212 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
13- public Azure . CloudMachine . ClientCache ClientCache { get { throw null ; } }
14- public Azure . Core . TokenCredential Credential { get { throw null ; } }
15- public string Id { get { throw null ; } }
13+ public override Azure . Core . TokenCredential Credential { get { throw null ; } }
1614 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
17- public Azure . CloudMachine . CloudMachineClient . CloudMachineProperties Properties { get { throw null ; } }
15+ public string Id { get { throw null ; } }
1816 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
1917 public override bool Equals ( object ? obj ) { throw null ; }
2018 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
19+ public override Azure . Core . ClientConfiguration ? GetConfiguration ( string clientId , string ? instanceId = null ) { throw null ; }
20+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
2121 public override int GetHashCode ( ) { throw null ; }
2222 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
2323 public override string ToString ( ) { throw null ; }
24- [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
25- public partial struct CloudMachineProperties
26- {
27- private object _dummy ;
28- private int _dummyPrimitive ;
29- public System . Uri BlobServiceUri { get { throw null ; } }
30- public System . Uri DefaultContainerUri { get { throw null ; } }
31- public System . Uri KeyVaultUri { get { throw null ; } }
32- public string ServiceBusNamespace { get { throw null ; } }
33- }
3424 }
35- public static partial class MessagingServices
25+ [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
26+ public readonly partial struct MessagingServices
3627 {
37- public static void Send ( this Azure . CloudMachine . CloudMachineClient cm , object serializable ) { }
28+ private readonly object _dummy ;
29+ private readonly int _dummyPrimitive ;
30+ public void SendMessage ( object serializable ) { }
31+ public void WhenMessageReceived ( System . Action < string > received ) { }
3832 }
39- public static partial class StorageServices
33+ [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
34+ public readonly partial struct StorageServices
4035 {
41- public static System . BinaryData Download ( this Azure . CloudMachine . CloudMachineClient cm , string name ) { throw null ; }
42- public static string Upload ( this Azure . CloudMachine . CloudMachineClient cm , object json , string ? name = null ) { throw null ; }
36+ private readonly object _dummy ;
37+ private readonly int _dummyPrimitive ;
38+ public System . BinaryData DownloadBlob ( string name ) { throw null ; }
39+ public string UploadBlob ( object json , string ? name = null ) { throw null ; }
40+ public void WhenBlobCreated ( System . Func < string , System . Threading . Tasks . Task > function ) { }
41+ public void WhenBlobUploaded ( System . Action < string > function ) { }
42+ }
43+ }
44+ namespace Azure . Core
45+ {
46+ public partial class ClientCache
47+ {
48+ public ClientCache ( ) { }
49+ public T Get < T > ( string id , System . Func < T > value ) where T : class { throw null ; }
50+ }
51+ [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
52+ public readonly partial struct ClientConfiguration
53+ {
54+ private readonly object _dummy ;
55+ private readonly int _dummyPrimitive ;
56+ public ClientConfiguration ( string endpoint , string ? apiKey = null ) { throw null ; }
57+ public string ? ApiKey { get { throw null ; } }
58+ public Azure . Core . CredentialType CredentialType { get { throw null ; } }
59+ public string Endpoint { get { throw null ; } }
60+ }
61+ public enum CredentialType
62+ {
63+ EntraId = 0 ,
64+ ApiKey = 1 ,
65+ }
66+ public abstract partial class WorkspaceClient
67+ {
68+ protected WorkspaceClient ( ) { }
69+ public abstract Azure . Core . TokenCredential Credential { get ; }
70+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
71+ public Azure . Core . ClientCache Subclients { get { throw null ; } }
72+ public abstract Azure . Core . ClientConfiguration ? GetConfiguration ( string clientId , string ? instanceId = null ) ;
4373 }
4474}
4575namespace Azure . Provisioning . CloudMachine
4676{
4777 public abstract partial class CloudMachineFeature
4878 {
4979 protected CloudMachineFeature ( ) { }
80+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
5081 public abstract void AddTo ( Azure . Provisioning . CloudMachine . CloudMachineInfrastructure cm ) ;
5182 }
5283 public partial class CloudMachineInfrastructure
@@ -65,24 +96,26 @@ namespace Azure.Provisioning.CloudMachine.KeyVault
6596{
6697 public static partial class KeyVaultExtensions
6798 {
68- public static Azure . Security . KeyVault . Secrets . SecretClient GetKeyVaultSecretClient ( this Azure . CloudMachine . CloudMachineClient client ) { throw null ; }
99+ public static Azure . Security . KeyVault . Secrets . SecretClient GetKeyVaultSecretsClient ( this Azure . Core . WorkspaceClient workspace ) { throw null ; }
69100 }
70101 public partial class KeyVaultFeature : Azure . Provisioning . CloudMachine . CloudMachineFeature
71102 {
72- public KeyVaultFeature ( ) { }
103+ public KeyVaultFeature ( Azure . Provisioning . KeyVault . KeyVaultSku ? sku = null ) { }
73104 public Azure . Provisioning . KeyVault . KeyVaultSku Sku { get { throw null ; } set { } }
74- public override void AddTo ( Azure . Provisioning . CloudMachine . CloudMachineInfrastructure cm ) { }
105+ public override void AddTo ( Azure . Provisioning . CloudMachine . CloudMachineInfrastructure infrastructure ) { }
75106 }
76107}
77108namespace Azure . Provisioning . CloudMachine . OpenAI
78109{
79110 public partial class OpenAIFeature : Azure . Provisioning . CloudMachine . CloudMachineFeature
80111 {
81- public OpenAIFeature ( ) { }
82- public override void AddTo ( Azure . Provisioning . CloudMachine . CloudMachineInfrastructure cm ) { }
112+ public OpenAIFeature ( string model , string modelVersion ) { }
113+ public string Model { get { throw null ; } }
114+ public string ModelVersion { get { throw null ; } }
115+ public override void AddTo ( Azure . Provisioning . CloudMachine . CloudMachineInfrastructure cloudMachine ) { }
83116 }
84117 public static partial class OpenAIFeatureExtensions
85118 {
86- public static Azure . Security . KeyVault . Secrets . SecretClient GetOpenAIClient ( this Azure . CloudMachine . CloudMachineClient client ) { throw null ; }
119+ public static OpenAI . Chat . ChatClient GetOpenAIChatClient ( this Azure . Core . WorkspaceClient workspace ) { throw null ; }
87120 }
88121}
0 commit comments