1+ namespace Azure
2+ {
3+ public partial class RestCallFailedException : System . Exception
4+ {
5+ public RestCallFailedException ( string message , System . ClientModel . Primitives . PipelineResponse response ) { }
6+ }
7+ public partial class RestClient
8+ {
9+ public RestClient ( ) { }
10+ public RestClient ( System . ClientModel . Primitives . PipelinePolicy auth ) { }
11+ public static Azure . RestClient Shared { get { throw null ; } }
12+ public System . ClientModel . Primitives . PipelineMessage Create ( string method , System . Uri uri ) { throw null ; }
13+ public System . ClientModel . Primitives . PipelineResponse Get ( string uri , System . ClientModel . Primitives . RequestOptions ? options = null ) { throw null ; }
14+ public System . ClientModel . Primitives . PipelineResponse Patch ( string uri , System . ClientModel . BinaryContent content , System . ClientModel . Primitives . RequestOptions ? options = null ) { throw null ; }
15+ public System . ClientModel . Primitives . PipelineResponse Post ( string uri , System . ClientModel . BinaryContent content , System . ClientModel . Primitives . RequestOptions ? options = null ) { throw null ; }
16+ public System . ClientModel . Primitives . PipelineResponse Put ( string uri , System . ClientModel . BinaryContent content , System . ClientModel . Primitives . RequestOptions ? options = null ) { throw null ; }
17+ public System . ClientModel . Primitives . PipelineResponse Send ( System . ClientModel . Primitives . PipelineMessage message , System . ClientModel . Primitives . RequestOptions ? options = null ) { throw null ; }
18+ }
19+ public partial class RestClientOptions : System . ClientModel . Primitives . ClientPipelineOptions
20+ {
21+ public RestClientOptions ( ) { }
22+ }
23+ }
124namespace Azure . CloudMachine
225{
26+ public partial class CloudMachineCommands
27+ {
28+ public CloudMachineCommands ( ) { }
29+ public static bool Execute ( string [ ] args , System . Action < Azure . CloudMachine . CloudMachineInfrastructure > ? configure = null , bool exitProcessIfHandled = true ) { throw null ; }
30+ }
331 public partial class CloudMachineInfrastructure
432 {
533 public CloudMachineInfrastructure ( string cmId ) { }
34+ public Azure . CloudMachine . FeatureCollection Features { get { throw null ; } }
635 public string Id { get { throw null ; } }
736 public Azure . Provisioning . Roles . UserAssignedIdentity Identity { get { throw null ; } }
837 public Azure . Provisioning . ProvisioningParameter PrincipalIdParameter { get { throw null ; } }
938 public void AddEndpoints < T > ( ) { }
10- public void AddFeature ( Azure . Provisioning . CloudMachine . CloudMachineFeature resource ) { }
39+ public void AddFeature ( Azure . Provisioning . CloudMachine . CloudMachineFeature feature ) { }
1140 public void AddResource ( Azure . Provisioning . Primitives . NamedProvisionableConstruct resource ) { }
1241 public Azure . Provisioning . ProvisioningPlan Build ( Azure . Provisioning . ProvisioningBuildOptions ? context = null ) { throw null ; }
13- public static bool Configure ( string [ ] args , System . Action < Azure . CloudMachine . CloudMachineInfrastructure > ? configure = null ) { throw null ; }
42+ }
43+ public partial class FeatureCollection
44+ {
45+ public FeatureCollection ( ) { }
46+ public System . Collections . Generic . IEnumerable < T > FindAll < T > ( ) where T : Azure . Provisioning . CloudMachine . CloudMachineFeature { throw null ; }
1447 }
1548}
1649namespace Azure . CloudMachine . KeyVault
@@ -19,23 +52,23 @@ public partial class KeyVaultFeature : Azure.Provisioning.CloudMachine.CloudMach
1952 {
2053 public KeyVaultFeature ( Azure . Provisioning . KeyVault . KeyVaultSku ? sku = null ) { }
2154 public Azure . Provisioning . KeyVault . KeyVaultSku Sku { get { throw null ; } set { } }
22- public override void AddTo ( Azure . CloudMachine . CloudMachineInfrastructure infrastructure ) { }
55+ protected override Azure . Provisioning . Primitives . ProvisionableResource EmitCore ( Azure . CloudMachine . CloudMachineInfrastructure infrastructure ) { throw null ; }
2356 }
2457}
2558namespace Azure . CloudMachine . OpenAI
2659{
27- public partial class AIModel
60+ public enum AIModelKind
2861 {
29- public AIModel ( string model , string modelVersion ) { }
30- public string Model { get { throw null ; } }
31- public string ModelVersion { get { throw null ; } }
62+ Chat = 0 ,
63+ Embedding = 1 ,
3264 }
33- public partial class OpenAIFeature : Azure . Provisioning . CloudMachine . CloudMachineFeature
65+ public partial class OpenAIModel : Azure . Provisioning . CloudMachine . CloudMachineFeature
3466 {
35- public OpenAIFeature ( ) { }
36- public Azure . CloudMachine . OpenAI . AIModel ? Chat { get { throw null ; } set { } }
37- public Azure . CloudMachine . OpenAI . AIModel ? Embeddings { get { throw null ; } set { } }
38- public override void AddTo ( Azure . CloudMachine . CloudMachineInfrastructure cloudMachine ) { }
67+ public OpenAIModel ( string model , string modelVersion , Azure . CloudMachine . OpenAI . AIModelKind kind = Azure . CloudMachine . OpenAI . AIModelKind . Chat ) { }
68+ public string Model { get { throw null ; } }
69+ public string ModelVersion { get { throw null ; } }
70+ public override void AddTo ( Azure . CloudMachine . CloudMachineInfrastructure cm ) { }
71+ protected override Azure . Provisioning . Primitives . ProvisionableResource EmitCore ( Azure . CloudMachine . CloudMachineInfrastructure cm ) { throw null ; }
3972 }
4073}
4174namespace Azure . Provisioning . CloudMachine
@@ -44,7 +77,12 @@ public abstract partial class CloudMachineFeature
4477 {
4578 protected CloudMachineFeature ( ) { }
4679 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
47- public abstract void AddTo ( Azure . CloudMachine . CloudMachineInfrastructure cm ) ;
80+ public Azure . Provisioning . Primitives . ProvisionableResource Emitted { get { throw null ; } protected set { } }
81+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
82+ public virtual void AddTo ( Azure . CloudMachine . CloudMachineInfrastructure cm ) { }
83+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
84+ public void Emit ( Azure . CloudMachine . CloudMachineInfrastructure cm ) { }
85+ protected abstract Azure . Provisioning . Primitives . ProvisionableResource EmitCore ( Azure . CloudMachine . CloudMachineInfrastructure cm ) ;
4886 }
4987}
5088namespace System . ClientModel . TypeSpec
0 commit comments