Skip to content

Commit c757dc6

Browse files
author
azure-sdk
committed
[auto]create by sdk generation
1 parent a7d840b commit c757dc6

12 files changed

+314
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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("{6E8EE024-7C14-4245-B075-62E74366210A}") = "Azure.ResourceManager.Sdkreleaseplannertest", "src\Azure.ResourceManager.Sdkreleaseplannertest.csproj", "{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}"
7+
EndProject
8+
Project("{6E8EE024-7C14-4245-B075-62E74366210A}") = "Azure.ResourceManager.Sdkreleaseplannertest.Tests", "tests\Azure.ResourceManager.Sdkreleaseplannertest.Tests.csproj", "{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionProperties) = preSolution
12+
HideSolutionNode = FALSE
13+
EndGlobalSection
14+
GlobalSection(ExtensibilityGlobals) = postSolution
15+
SolutionGuid = {5AB0AA41-3C82-430F-8DD2-B68A8460D19D}
16+
EndGlobalSection
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|Any CPU = Debug|Any CPU
19+
Debug|x64 = Debug|x64
20+
Debug|x86 = Debug|x86
21+
Release|Any CPU = Release|Any CPU
22+
Release|x64 = Release|x64
23+
Release|x86 = Release|x86
24+
EndGlobalSection
25+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
26+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Debug|x64.ActiveCfg = Debug|Any CPU
29+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Debug|x64.Build.0 = Debug|Any CPU
30+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Debug|x86.ActiveCfg = Debug|Any CPU
31+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Debug|x86.Build.0 = Debug|Any CPU
32+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Release|x64.ActiveCfg = Release|Any CPU
35+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Release|x64.Build.0 = Release|Any CPU
36+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Release|x86.ActiveCfg = Release|Any CPU
37+
{6EC5D33A-F28B-4A7D-83F4-E6F57FB72D9F}.Release|x86.Build.0 = Release|Any CPU
38+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Debug|x64.ActiveCfg = Debug|Any CPU
41+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Debug|x64.Build.0 = Debug|Any CPU
42+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Debug|x86.ActiveCfg = Debug|Any CPU
43+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Debug|x86.Build.0 = Debug|Any CPU
44+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Release|x64.ActiveCfg = Release|Any CPU
47+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Release|x64.Build.0 = Release|Any CPU
48+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Release|x86.ActiveCfg = Release|Any CPU
49+
{7F55B48B-A4FD-45F3-957B-47DEF40CEA7F}.Release|x86.Build.0 = Release|Any CPU
50+
EndGlobalSection
51+
EndGlobal
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
### General New Features
6+
7+
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
8+
9+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
10+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
11+
- HTTP pipeline with custom policies.
12+
- Better error-handling.
13+
- Support uniform telemetry across all languages.
14+
15+
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).
16+
17+
> 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 sdkreleaseplannertest 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 sdkreleaseplannertest management library for .NET with [NuGet](https://www.nuget.org/):
18+
19+
```dotnetcli
20+
dotnet add package Azure.ResourceManager.Sdkreleaseplannertest --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+
<[email protected]> 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/
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.Sdkreleaseplannertest</PackageId>
5+
<Description>Azure Resource Manager client SDK for Azure resource provider sdkreleaseplannertest.</Description>
6+
<PackageTags>azure;management;arm;resource manager;sdkreleaseplannertest</PackageTags>
7+
</PropertyGroup>
8+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System.Runtime.CompilerServices;
5+
6+
[assembly: Azure.Core.AzureResourceProviderNamespace("sdkreleaseplannertest")]
7+
8+
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
9+
[assembly: InternalsVisibleTo("Azure.ResourceManager.Sdkreleaseplannertest.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")]
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Generated code configuration
2+
3+
Run `dotnet build /t:GenerateCode` to generate code.
4+
5+
``` yaml
6+
azure-arm: true
7+
csharp: true
8+
library-name: sdkreleaseplannertest
9+
namespace: Azure.ResourceManager.sdkreleaseplannertest
10+
require: https://github.com/Azure/azure-rest-api-specs/blob/5311a19262a51aa263d5156e21c898e422431abf/specification/sdkreleaseplannertest/resource-manager/readme.md
11+
output-folder: $(this-folder)/Generated
12+
clear-output-folder: true
13+
skip-csproj: true
14+
modelerfour:
15+
flatten-payloads: false
16+
17+
18+
19+
format-by-name-rules:
20+
'tenantId': 'uuid'
21+
'ETag': 'etag'
22+
'location': 'azure-location'
23+
'*Uri': 'Uri'
24+
'*Uris': 'Uri'
25+
26+
rename-rules:
27+
CPU: Cpu
28+
CPUs: Cpus
29+
Os: OS
30+
Ip: IP
31+
Ips: IPs|ips
32+
ID: Id
33+
IDs: Ids
34+
VM: Vm
35+
VMs: Vms
36+
Vmos: VmOS
37+
VMScaleSet: VmScaleSet
38+
DNS: Dns
39+
VPN: Vpn
40+
NAT: Nat
41+
WAN: Wan
42+
Ipv4: IPv4|ipv4
43+
Ipv6: IPv6|ipv6
44+
Ipsec: IPsec|ipsec
45+
SSO: Sso
46+
URI: Uri
47+
Etag: ETag|etag
48+
49+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<ItemGroup>
3+
<ProjectReference Include="..\src\Azure.ResourceManager.Sdkreleaseplannertest.csproj" />
4+
</ItemGroup>
5+
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generated code configuration
2+
3+
Run `dotnet build /t:GenerateTest` to generate code.
4+
5+
# Azure.ResourceManager.sdkreleaseplannertest.Tests
6+
7+
> see https://aka.ms/autorest
8+
``` yaml
9+
require: ../src/autorest.md
10+
include-x-ms-examples-original-file: true
11+
testgen:
12+
sample: true
13+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using Azure.Core;
5+
using Azure.Core.TestFramework;
6+
using Azure.ResourceManager.Resources;
7+
using Azure.ResourceManager.TestFramework;
8+
using NUnit.Framework;
9+
using System.Threading.Tasks;
10+
11+
namespace Azure.ResourceManager.Sdkreleaseplannertest.Tests
12+
{
13+
public class sdkreleaseplannertestManagementTestBase : ManagementRecordedTestBase<sdkreleaseplannertestManagementTestEnvironment>
14+
{
15+
protected ArmClient Client { get; private set; }
16+
17+
protected sdkreleaseplannertestManagementTestBase(bool isAsync, RecordedTestMode mode)
18+
: base(isAsync, mode)
19+
{
20+
}
21+
22+
protected sdkreleaseplannertestManagementTestBase(bool isAsync)
23+
: base(isAsync)
24+
{
25+
}
26+
27+
[SetUp]
28+
public void CreateCommonClient()
29+
{
30+
Client = GetArmClient();
31+
}
32+
33+
protected async Task<ResourceGroupResource> CreateResourceGroup(SubscriptionResource subscription, string rgNamePrefix, AzureLocation location)
34+
{
35+
string rgName = Recording.GenerateAssetName(rgNamePrefix);
36+
ResourceGroupData input = new ResourceGroupData(location);
37+
var lro = await subscription.GetResourceGroups().CreateOrUpdateAsync(WaitUntil.Completed, rgName, input);
38+
return lro.Value;
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using Azure.Core.TestFramework;
5+
6+
namespace Azure.ResourceManager.Sdkreleaseplannertest.Tests
7+
{
8+
public class sdkreleaseplannertestManagementTestEnvironment : TestEnvironment
9+
{
10+
}
11+
}

sdk/sdkreleaseplannertest/ci.mgmt.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
2+
3+
trigger: none
4+
5+
pr:
6+
branches:
7+
include:
8+
- main
9+
- feature/*
10+
- hotfix/*
11+
- release/*
12+
paths:
13+
include:
14+
- sdk/sdkreleaseplannertest/ci.mgmt.yml
15+
- sdk/sdkreleaseplannertest/Azure.ResourceManager.Sdkreleaseplannertest/
16+
17+
extends:
18+
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
19+
parameters:
20+
ServiceDirectory: sdkreleaseplannertest
21+
LimitForPullRequest: true
22+
Artifacts:
23+
- name: Azure.ResourceManager.Sdkreleaseplannertest
24+
safeName: AzureResourceManagerSdkreleaseplannertest

0 commit comments

Comments
 (0)