Skip to content

Commit 531a36a

Browse files
Initial release for Azure.ResourceManager.Resources.Deployments
1 parent 0dc8c1f commit 531a36a

File tree

173 files changed

+26194
-0
lines changed

Some content is hidden

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

173 files changed

+26194
-0
lines changed
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("{253F8803-5FF3-4345-A524-F318A4F8C4F2}") = "Azure.ResourceManager.Resources.Deployments", "src\Azure.ResourceManager.Resources.Deployments.csproj", "{70707234-62A2-48BF-A674-485AB4E6DF75}"
7+
EndProject
8+
Project("{253F8803-5FF3-4345-A524-F318A4F8C4F2}") = "Azure.ResourceManager.Resources.Deployments.Tests", "tests\Azure.ResourceManager.Resources.Deployments.Tests.csproj", "{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}"
9+
EndProject
10+
Project("{253F8803-5FF3-4345-A524-F318A4F8C4F2}") = "Azure.ResourceManager.Resources.Deployments.Samples", "samples\Azure.ResourceManager.Resources.Deployments.Samples.csproj", "{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}"
11+
EndProject
12+
Global
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ExtensibilityGlobals) = postSolution
17+
SolutionGuid = {DE5873FE-D480-4F0F-A3A1-A0CF4C4028D2}
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+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Debug|x64.ActiveCfg = Debug|Any CPU
31+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Debug|x64.Build.0 = Debug|Any CPU
32+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Debug|x86.ActiveCfg = Debug|Any CPU
33+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Debug|x86.Build.0 = Debug|Any CPU
34+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Release|x64.ActiveCfg = Release|Any CPU
37+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Release|x64.Build.0 = Release|Any CPU
38+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Release|x86.ActiveCfg = Release|Any CPU
39+
{70707234-62A2-48BF-A674-485AB4E6DF75}.Release|x86.Build.0 = Release|Any CPU
40+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Debug|x64.ActiveCfg = Debug|Any CPU
43+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Debug|x64.Build.0 = Debug|Any CPU
44+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Debug|x86.ActiveCfg = Debug|Any CPU
45+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Debug|x86.Build.0 = Debug|Any CPU
46+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Release|Any CPU.Build.0 = Release|Any CPU
48+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Release|x64.ActiveCfg = Release|Any CPU
49+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Release|x64.Build.0 = Release|Any CPU
50+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Release|x86.ActiveCfg = Release|Any CPU
51+
{DEBFD95F-D4F9-4054-9EE9-A9930E2E3DC6}.Release|x86.Build.0 = Release|Any CPU
52+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Debug|Any CPU.Build.0 = Debug|Any CPU
54+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Debug|x64.ActiveCfg = Debug|Any CPU
55+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Debug|x64.Build.0 = Debug|Any CPU
56+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Debug|x86.ActiveCfg = Debug|Any CPU
57+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Debug|x86.Build.0 = Debug|Any CPU
58+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Release|Any CPU.Build.0 = Release|Any CPU
60+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Release|x64.ActiveCfg = Release|Any CPU
61+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Release|x64.Build.0 = Release|Any CPU
62+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Release|x86.ActiveCfg = Release|Any CPU
63+
{D64D92DA-48F2-4EA6-A444-90BAE6A99B45}.Release|x86.Build.0 = Release|Any CPU
64+
EndGlobalSection
65+
EndGlobal
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
6+
7+
### Features Added
8+
9+
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
10+
11+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
12+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
13+
- HTTP pipeline with custom policies.
14+
- Better error-handling.
15+
- Support uniform telemetry across all languages.
16+
17+
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).
18+
19+
> 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: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Microsoft Azure Resources.Deployments management client library for .NET
2+
3+
**[Describe the service briefly first.]**
4+
5+
This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
6+
7+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
8+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
9+
- HTTP pipeline with custom policies.
10+
- Better error-handling.
11+
- Support uniform telemetry across all languages.
12+
13+
## Getting started
14+
15+
### Install the package
16+
17+
Install the Microsoft Azure Resources.Deployments management library for .NET with [NuGet](https://www.nuget.org/):
18+
19+
```dotnetcli
20+
dotnet add package Azure.ResourceManager.Resources.Deployments --prerelease
21+
```
22+
23+
### Prerequisites
24+
25+
* You must have an [Microsoft Azure subscription](https://azure.microsoft.com/free/dotnet/).
26+
27+
### Authenticate the Client
28+
29+
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).
30+
31+
## Key concepts
32+
33+
Key concepts of the Microsoft Azure SDK for .NET can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html)
34+
35+
## Documentation
36+
37+
Documentation is available to help you learn how to use this package:
38+
39+
- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
40+
- [API References](https://docs.microsoft.com/dotnet/api/?view=azure-dotnet).
41+
- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md).
42+
43+
## Examples
44+
45+
Code samples for using the management library for .NET can be found in the following locations
46+
- [.NET Management Library Code Samples](https://aka.ms/azuresdk-net-mgmt-samples)
47+
48+
## Troubleshooting
49+
50+
- File an issue via [GitHub Issues](https://github.com/Azure/azure-sdk-for-net/issues).
51+
- Check [previous questions](https://stackoverflow.com/questions/tagged/azure+.net) or ask new ones on Stack Overflow using Azure and .NET tags.
52+
53+
## Next steps
54+
55+
For more information about Microsoft Azure SDK, see [this website](https://azure.github.io/azure-sdk/).
56+
57+
## Contributing
58+
59+
For details on contributing to this repository, see the [contributing
60+
guide][cg].
61+
62+
This project welcomes contributions and suggestions. Most contributions
63+
require you to agree to a Contributor License Agreement (CLA) declaring
64+
that you have the right to, and actually do, grant us the rights to use
65+
your contribution. For details, visit <https://cla.microsoft.com>.
66+
67+
When you submit a pull request, a CLA-bot will automatically determine
68+
whether you need to provide a CLA and decorate the PR appropriately
69+
(for example, label, comment). Follow the instructions provided by the
70+
bot. You'll only need to do this action once across all repositories
71+
using our CLA.
72+
73+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For
74+
more information, see the [Code of Conduct FAQ][coc_faq] or contact
75+
<opencode@microsoft.com> with any other questions or comments.
76+
77+
<!-- LINKS -->
78+
[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md
79+
[coc]: https://opensource.microsoft.com/codeofconduct/
80+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"AssetsRepo": "Azure/azure-sdk-assets",
3+
"AssetsRepoPrefixPath": "net",
4+
"TagPrefix": "net/resources.deployments/Azure.ResourceManager.Resources.Deployments",
5+
"Tag": ""
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<ItemGroup>
3+
<PackageReference Include="Azure.Identity"/>
4+
<PackageReference Include="NUnit" />
5+
<PackageReference Include="NUnit3TestAdapter" />
6+
</ItemGroup>
7+
<ItemGroup>
8+
<ProjectReference Include="..\src\Azure.ResourceManager.Resources.Deployments.csproj" />
9+
</ItemGroup>
10+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<Version>1.0.0-beta.1</Version>
4+
<PackageId>Azure.ResourceManager.Resources.Deployments</PackageId>
5+
<Description>Azure Resource Manager client SDK for Azure resource provider Resources.Deployments.</Description>
6+
<PackageTags>azure;management;arm;resource manager;resources.deployments</PackageTags>
7+
</PropertyGroup>
8+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.Collections.Generic;
7+
using System.ComponentModel;
8+
using System.Linq;
9+
using Azure.Core;
10+
using Azure.ResourceManager.Models;
11+
using Azure.ResourceManager.Resources.Models;
12+
13+
namespace Azure.ResourceManager.Resources.Deployments.Models
14+
{
15+
/// <summary> Deployment properties with additional details. </summary>
16+
[CodeGenSuppress("DebugSettingDetailLevel")]
17+
public partial class ArmDeploymentPropertiesExtended
18+
{
19+
/// <summary> Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations. </summary>
20+
public string DebugSettingDetailLevel
21+
{
22+
get => DebugSetting?.DetailLevel;
23+
[EditorBrowsable(EditorBrowsableState.Never)]
24+
set => DebugSetting.DetailLevel = value;
25+
}
26+
27+
/// <summary>
28+
/// Array of provisioned resources.
29+
/// </summary>
30+
[EditorBrowsable(EditorBrowsableState.Never)]
31+
[WirePath("outputResources")]
32+
public IReadOnlyList<SubResource> OutputResources
33+
=> OutputResourceDetails.Select(d => ResourceManagerModelFactory.SubResource(d.Id != null ? new ResourceIdentifier(d.Id) : null)).ToArray();
34+
35+
/// <summary>
36+
/// Array of validated resources.
37+
/// </summary>
38+
[EditorBrowsable(EditorBrowsableState.Never)]
39+
[WirePath("validatedResources")]
40+
public IReadOnlyList<SubResource> ValidatedResources
41+
=> ValidatedResourceDetails.Select(d => ResourceManagerModelFactory.SubResource(d.Id != null ? new ResourceIdentifier(d.Id) : null)).ToArray();
42+
}
43+
}

0 commit comments

Comments
 (0)