Skip to content

Commit 4ef12b9

Browse files
authored
[Cloud Machine] Rename CloudMachineInfrastructure and CloudMachineClient (Azure#48130)
1 parent 002bc59 commit 4ef12b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

sdk/cloudmachine/Azure.CloudMachine/samples/RAGMachine/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
using Azure.CloudMachine;
44
using OpenAI.Chat;
55

6-
CloudMachineInfrastructure infrastructure = new();
6+
ProjectInfrastructure infrastructure = new();
77
infrastructure.AddFeature(new OpenAIModelFeature("gpt-35-turbo", "0125"));
88
infrastructure.AddFeature(new OpenAIModelFeature("text-embedding-ada-002", "2", AIModelKind.Embedding));
99
infrastructure.AddFeature(new AppServiceFeature());
10-
CloudMachineClient client = infrastructure.GetClient();
10+
ProjectClient client = infrastructure.GetClient();
1111

1212
// the app can be called with -init switch to generate bicep and prepare for azd deployment.
1313
if (infrastructure.TryExecuteCommand(args)) return;

sdk/cloudmachine/Azure.CloudMachine/samples/RAGMachine/RAGMachine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
</NoWarn>
1616
</PropertyGroup>
1717
<ItemGroup>
18-
<PackageReference Include="Azure.CloudMachine.All" Version="1.0.0-alpha.20241213.1" />
18+
<PackageReference Include="Azure.CloudMachine.All" Version="1.0.0-alpha.20250205.1" />
1919
</ItemGroup>
2020
</Project>

sdk/cloudmachine/Azure.Provisioning.CloudMachine/src/FeaturesBuiltIn/AIFoundryFeature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected internal override void EmitConnections(ConnectionCollection connection
6565
/// <summary>
6666
/// Emit any necessary resources for provisioning (currently no-op).
6767
/// </summary>
68-
/// <param name="cm">The CloudMachineInfrastructure context.</param>
68+
/// <param name="cm">The ProjectInfrastructure context.</param>
6969
/// <returns>A placeholder or no-op resource, as provisioning is out-of-band for now.</returns>
7070
protected override ProvisionableResource EmitResources(ProjectInfrastructure cm)
7171
{

0 commit comments

Comments
 (0)