|
| 1 | +namespace Azure.CloudMachine |
| 2 | +{ |
| 3 | + public partial class CloudMachineClient : Azure.CloudMachine.CloudMachineWorkspace |
| 4 | + { |
| 5 | + protected CloudMachineClient() : base (default(Azure.Core.TokenCredential), default(Microsoft.Extensions.Configuration.IConfiguration)) { } |
| 6 | + public CloudMachineClient(Azure.Core.TokenCredential credential = null, Microsoft.Extensions.Configuration.IConfiguration configuration = null) : base (default(Azure.Core.TokenCredential), default(Microsoft.Extensions.Configuration.IConfiguration)) { } |
| 7 | + public Azure.CloudMachine.MessagingServices Messaging { get { throw null; } } |
| 8 | + public Azure.CloudMachine.StorageServices Storage { get { throw null; } } |
| 9 | + } |
| 10 | + public partial class CloudMachineWorkspace : Azure.Core.ClientWorkspace |
| 11 | + { |
| 12 | + public CloudMachineWorkspace(Azure.Core.TokenCredential credential = null, Microsoft.Extensions.Configuration.IConfiguration configuration = null) { } |
| 13 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 14 | + public string Id { get { throw null; } } |
| 15 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 16 | + public override bool Equals(object obj) { throw null; } |
| 17 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 18 | + public override Azure.Core.ClientConnectionOptions GetConnectionOptions(System.Type clientType, string instanceId = null) { throw null; } |
| 19 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 20 | + public override int GetHashCode() { throw null; } |
| 21 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 22 | + public override string ToString() { throw null; } |
| 23 | + } |
| 24 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 25 | + public readonly partial struct MessagingServices |
| 26 | + { |
| 27 | + private readonly object _dummy; |
| 28 | + private readonly int _dummyPrimitive; |
| 29 | + public void SendMessage(object serializable) { } |
| 30 | + public void WhenMessageReceived(System.Action<string> received) { } |
| 31 | + } |
| 32 | + public partial class StorageFile |
| 33 | + { |
| 34 | + internal StorageFile() { } |
| 35 | + public System.Threading.CancellationToken CancellationToken { get { throw null; } } |
| 36 | + public string Path { get { throw null; } } |
| 37 | + public string RequestId { get { throw null; } } |
| 38 | + public void Delete() { } |
| 39 | + public System.BinaryData Download() { throw null; } |
| 40 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 41 | + public override bool Equals(object obj) { throw null; } |
| 42 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 43 | + public override int GetHashCode() { throw null; } |
| 44 | + public static implicit operator Azure.Response (Azure.CloudMachine.StorageFile result) { throw null; } |
| 45 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 46 | + public override string ToString() { throw null; } |
| 47 | + } |
| 48 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 49 | + public readonly partial struct StorageServices |
| 50 | + { |
| 51 | + private readonly object _dummy; |
| 52 | + private readonly int _dummyPrimitive; |
| 53 | + public void DeleteBlob(string path) { } |
| 54 | + public System.BinaryData DownloadBlob(string path) { throw null; } |
| 55 | + public string UploadBinaryData(System.BinaryData data, string name = null, bool overwrite = false) { throw null; } |
| 56 | + public string UploadBytes(byte[] bytes, string name = null, bool overwrite = false) { throw null; } |
| 57 | + public string UploadBytes(System.ReadOnlyMemory<byte> bytes, string name = null, bool overwrite = false) { throw null; } |
| 58 | + public string UploadJson(object json, string name = null, bool overwrite = false) { throw null; } |
| 59 | + public string UploadStream(System.IO.Stream fileStream, string name = null, bool overwrite = false) { throw null; } |
| 60 | + public void WhenBlobUploaded(System.Action<Azure.CloudMachine.StorageFile> function) { } |
| 61 | + } |
| 62 | +} |
| 63 | +namespace Azure.CloudMachine.KeyVault |
| 64 | +{ |
| 65 | + public static partial class KeyVaultExtensions |
| 66 | + { |
| 67 | + public static Azure.Security.KeyVault.Secrets.SecretClient GetKeyVaultSecretsClient(this Azure.Core.ClientWorkspace workspace) { throw null; } |
| 68 | + } |
| 69 | +} |
| 70 | +namespace Azure.CloudMachine.OpenAI |
| 71 | +{ |
| 72 | + public static partial class AzureOpenAIExtensions |
| 73 | + { |
| 74 | + public static OpenAI.Chat.ChatClient GetOpenAIChatClient(this Azure.Core.ClientWorkspace workspace) { throw null; } |
| 75 | + public static OpenAI.Embeddings.EmbeddingClient GetOpenAIEmbeddingsClient(this Azure.Core.ClientWorkspace workspace) { throw null; } |
| 76 | + } |
| 77 | +} |
| 78 | +namespace Azure.Core |
| 79 | +{ |
| 80 | + public partial class ClientCache |
| 81 | + { |
| 82 | + public ClientCache() { } |
| 83 | + public T Get<T>(System.Func<T> value, string id = null) where T : class { throw null; } |
| 84 | + } |
| 85 | + public enum ClientConnectionKind |
| 86 | + { |
| 87 | + EntraId = 0, |
| 88 | + ApiKey = 1, |
| 89 | + OutOfBand = 2, |
| 90 | + } |
| 91 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 92 | + public readonly partial struct ClientConnectionOptions |
| 93 | + { |
| 94 | + private readonly object _dummy; |
| 95 | + private readonly int _dummyPrimitive; |
| 96 | + public ClientConnectionOptions(string subclientId) { throw null; } |
| 97 | + public ClientConnectionOptions(System.Uri endpoint, Azure.Core.TokenCredential credential) { throw null; } |
| 98 | + public ClientConnectionOptions(System.Uri endpoint, string apiKey) { throw null; } |
| 99 | + public string ApiKeyCredential { get { throw null; } } |
| 100 | + public Azure.Core.ClientConnectionKind ConnectionKind { get { throw null; } } |
| 101 | + public System.Uri Endpoint { get { throw null; } } |
| 102 | + public string Id { get { throw null; } } |
| 103 | + public Azure.Core.TokenCredential TokenCredential { get { throw null; } } |
| 104 | + } |
| 105 | + public abstract partial class ClientWorkspace |
| 106 | + { |
| 107 | + protected ClientWorkspace() { } |
| 108 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 109 | + public Azure.Core.ClientCache Subclients { get { throw null; } } |
| 110 | + public abstract Azure.Core.ClientConnectionOptions GetConnectionOptions(System.Type clientType, string instanceId = null); |
| 111 | + } |
| 112 | +} |
0 commit comments