Skip to content

Commit 8945e6e

Browse files
authored
Computeschedule .NET SDK (Azure#45962)
1 parent 8a12438 commit 8945e6e

File tree

85 files changed

+11639
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+11639
-7
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30309.148
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{0E226CD3-25FE-40E7-B1FA-AD1802210A3E}") = "Azure.ResourceManager.ComputeSchedule", "src\Azure.ResourceManager.ComputeSchedule.csproj", "{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}"
7+
EndProject
8+
Project("{0E226CD3-25FE-40E7-B1FA-AD1802210A3E}") = "Azure.ResourceManager.ComputeSchedule.Tests", "tests\Azure.ResourceManager.ComputeSchedule.Tests.csproj", "{A5B31417-952E-4847-BC59-09E9C8603B8C}"
9+
EndProject
10+
Project("{0E226CD3-25FE-40E7-B1FA-AD1802210A3E}") = "Azure.ResourceManager.ComputeSchedule.Samples", "samples\Azure.ResourceManager.ComputeSchedule.Samples.csproj", "{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}"
11+
EndProject
12+
Global
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ExtensibilityGlobals) = postSolution
17+
SolutionGuid = {096C0242-F83C-4CA1-A721-A9115D9AC1B1}
18+
EndGlobalSection
19+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
20+
Debug|Any CPU = Debug|Any CPU
21+
Debug|x64 = Debug|x64
22+
Debug|x86 = Debug|x86
23+
Release|Any CPU = Release|Any CPU
24+
Release|x64 = Release|x64
25+
Release|x86 = Release|x86
26+
EndGlobalSection
27+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
28+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Debug|x64.ActiveCfg = Debug|Any CPU
31+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Debug|x64.Build.0 = Debug|Any CPU
32+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Debug|x86.ActiveCfg = Debug|Any CPU
33+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Debug|x86.Build.0 = Debug|Any CPU
34+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Release|x64.ActiveCfg = Release|Any CPU
37+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Release|x64.Build.0 = Release|Any CPU
38+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Release|x86.ActiveCfg = Release|Any CPU
39+
{28ECCBB5-5288-4C5F-9D0A-2B1CFD93C0A1}.Release|x86.Build.0 = Release|Any CPU
40+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Debug|x64.ActiveCfg = Debug|Any CPU
43+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Debug|x64.Build.0 = Debug|Any CPU
44+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Debug|x86.ActiveCfg = Debug|Any CPU
45+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Debug|x86.Build.0 = Debug|Any CPU
46+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Release|Any CPU.Build.0 = Release|Any CPU
48+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Release|x64.ActiveCfg = Release|Any CPU
49+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Release|x64.Build.0 = Release|Any CPU
50+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Release|x86.ActiveCfg = Release|Any CPU
51+
{A5B31417-952E-4847-BC59-09E9C8603B8C}.Release|x86.Build.0 = Release|Any CPU
52+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
54+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Debug|x64.ActiveCfg = Debug|Any CPU
55+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Debug|x64.Build.0 = Debug|Any CPU
56+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Debug|x86.ActiveCfg = Debug|Any CPU
57+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Debug|x86.Build.0 = Debug|Any CPU
58+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Release|Any CPU.Build.0 = Release|Any CPU
60+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Release|x64.ActiveCfg = Release|Any CPU
61+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Release|x64.Build.0 = Release|Any CPU
62+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Release|x86.ActiveCfg = Release|Any CPU
63+
{FE1DDA4E-EDE2-4DC6-A6BF-9E135C78A7A7}.Release|x86.Build.0 = Release|Any CPU
64+
EndGlobalSection
65+
EndGlobal
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (2024-09-27)
4+
5+
### Features Added
6+
7+
New endpoints were added for the following to be available in public preview
8+
- VirtualMachinesSubmitStart
9+
- VirtualMachinesSubmitDeallocate
10+
- VirtualMachinesSubmitHibernate
11+
- VirtualMachinesExecuteStart
12+
- VirtualMachinesExecuteDeallocate
13+
- VirtualMachinesExecuteHibernate
14+
- VirtualMachinesGetOperationStatus
15+
- VirtualMachinesCancelOperations
16+
- VirtualMachinesGetOperationErrors
17+
18+
The endpoint was also changed from `2024-06-01-preview` to the most recent `2024-08-15-preview` version that includes the `VirtualMachinesGetOperationErrors` endpoint
19+
20+
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
21+
22+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
23+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
24+
- HTTP pipeline with custom policies.
25+
- Better error-handling.
26+
- Support uniform telemetry across all languages.
27+
28+
This package is a Public Preview version, so expect incompatible changes in subsequent releases as we improve the product. To provide feedback, submit an issue in our [Azure SDK for .NET GitHub repo](https://github.com/Azure/azure-sdk-for-net/issues).
29+
30+
> NOTE: For more information about unified authentication, please refer to [Microsoft Azure Identity documentation for .NET](https://docs.microsoft.com//dotnet/api/overview/azure/identity-readme?view=azure-dotnet).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<!--
3+
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props
4+
-->
5+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
6+
</Project>
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Microsoft Azure ComputeSchedule management client library for .NET
2+
3+
Microsoft Azure ComputeSchedule allows customers to schedule one off operations on their virtual machines. These operations include:
4+
- Start
5+
- Deallocate
6+
- Hibernate
7+
8+
There are 2 groups of schedule type operations that customers can perform on their virtual machines
9+
10+
- `Submit Type Operations`: These type of operations can be scheduled at a later date in the future, up to 14 days ahead.
11+
- `Execute Type Operations`: These type of operations allow clients to perform operations on their virtual machines immediately.
12+
13+
Other operations include endpoints to get operation status on virtual machines, cancel operations scheduled on virtual machines and get errors that might have occured during operations.
14+
15+
This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
16+
17+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
18+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
19+
- HTTP pipeline with custom policies.
20+
- Better error-handling.
21+
- Support uniform telemetry across all languages.
22+
23+
## Getting started
24+
25+
### Install the package
26+
27+
Install the Microsoft Azure ComputeSchedule management library for .NET with [NuGet](https://www.nuget.org/):
28+
29+
```dotnetcli
30+
dotnet add package Azure.ResourceManager.ComputeSchedule --prerelease
31+
```
32+
33+
### Prerequisites
34+
35+
* You must have an [Microsoft Azure subscription](https://azure.microsoft.com/free/dotnet/).
36+
37+
### Authenticate the Client
38+
39+
To create an authenticated client and start interacting with Microsoft Azure resources, see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
40+
41+
## Key concepts
42+
43+
Key concepts of the Microsoft Azure SDK for .NET can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html)
44+
45+
## Documentation
46+
47+
Documentation is available to help you learn how to use this package:
48+
49+
- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
50+
- [API References](https://docs.microsoft.com/dotnet/api/?view=azure-dotnet).
51+
- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md).
52+
53+
## Examples
54+
55+
Code samples for using the management library for .NET can be found in the following locations
56+
- [.NET Management Library Code Samples](https://aka.ms/azuresdk-net-mgmt-samples)
57+
58+
## Troubleshooting
59+
60+
- File an issue via [GitHub Issues](https://github.com/Azure/azure-sdk-for-net/issues).
61+
- Check [previous questions](https://stackoverflow.com/questions/tagged/azure+.net) or ask new ones on Stack Overflow using Azure and .NET tags.
62+
63+
## Next steps
64+
65+
For more information about Microsoft Azure SDK, see [this website](https://azure.github.io/azure-sdk/).
66+
67+
## Contributing
68+
69+
For details on contributing to this repository, see the [contributing
70+
guide][cg].
71+
72+
This project welcomes contributions and suggestions. Most contributions
73+
require you to agree to a Contributor License Agreement (CLA) declaring
74+
that you have the right to, and actually do, grant us the rights to use
75+
your contribution. For details, visit <https://cla.microsoft.com>.
76+
77+
When you submit a pull request, a CLA-bot will automatically determine
78+
whether you need to provide a CLA and decorate the PR appropriately
79+
(for example, label, comment). Follow the instructions provided by the
80+
bot. You'll only need to do this action once across all repositories
81+
using our CLA.
82+
83+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For
84+
more information, see the [Code of Conduct FAQ][coc_faq] or contact
85+
<[email protected]> with any other questions or comments.
86+
87+
<!-- LINKS -->
88+
[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md
89+
[coc]: https://opensource.microsoft.com/codeofconduct/
90+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

0 commit comments

Comments
 (0)