Skip to content

Commit c954045

Browse files
author
SDKAuto
committed
CodeGen from PR 26337 in Azure/azure-rest-api-specs
mgmt, recoveryservicesdatareplication, java config (Azure#26337)
1 parent d4e9e97 commit c954045

13 files changed

+339
-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("{753A668E-532B-441E-9CC6-CBCBEA04D6A9}") = "Azure.ResourceManager.Recoveryservicesdatareplication", "src\Azure.ResourceManager.Recoveryservicesdatareplication.csproj", "{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}"
7+
EndProject
8+
Project("{753A668E-532B-441E-9CC6-CBCBEA04D6A9}") = "Azure.ResourceManager.Recoveryservicesdatareplication.Tests", "tests\Azure.ResourceManager.Recoveryservicesdatareplication.Tests.csproj", "{24FD2260-E77A-49B2-BFEA-E2F065314739}"
9+
EndProject
10+
Project("{753A668E-532B-441E-9CC6-CBCBEA04D6A9}") = "Azure.ResourceManager.Recoveryservicesdatareplication.Samples", "samples\Azure.ResourceManager.Recoveryservicesdatareplication.Samples.csproj", "{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}"
11+
EndProject
12+
Global
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ExtensibilityGlobals) = postSolution
17+
SolutionGuid = {9E2E2049-979A-4FE3-BF35-EF7F398BCAC6}
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+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Debug|x64.ActiveCfg = Debug|Any CPU
31+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Debug|x64.Build.0 = Debug|Any CPU
32+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Debug|x86.ActiveCfg = Debug|Any CPU
33+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Debug|x86.Build.0 = Debug|Any CPU
34+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Release|x64.ActiveCfg = Release|Any CPU
37+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Release|x64.Build.0 = Release|Any CPU
38+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Release|x86.ActiveCfg = Release|Any CPU
39+
{9005C564-A42C-4A9A-8D04-2B95D1F5D6DF}.Release|x86.Build.0 = Release|Any CPU
40+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Debug|x64.ActiveCfg = Debug|Any CPU
43+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Debug|x64.Build.0 = Debug|Any CPU
44+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Debug|x86.ActiveCfg = Debug|Any CPU
45+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Debug|x86.Build.0 = Debug|Any CPU
46+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Release|Any CPU.Build.0 = Release|Any CPU
48+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Release|x64.ActiveCfg = Release|Any CPU
49+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Release|x64.Build.0 = Release|Any CPU
50+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Release|x86.ActiveCfg = Release|Any CPU
51+
{24FD2260-E77A-49B2-BFEA-E2F065314739}.Release|x86.Build.0 = Release|Any CPU
52+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
54+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Debug|x64.ActiveCfg = Debug|Any CPU
55+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Debug|x64.Build.0 = Debug|Any CPU
56+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Debug|x86.ActiveCfg = Debug|Any CPU
57+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Debug|x86.Build.0 = Debug|Any CPU
58+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Release|Any CPU.Build.0 = Release|Any CPU
60+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Release|x64.ActiveCfg = Release|Any CPU
61+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Release|x64.Build.0 = Release|Any CPU
62+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Release|x86.ActiveCfg = Release|Any CPU
63+
{1FE2F74D-D84D-41D5-94C0-39D1259EF4A2}.Release|x86.Build.0 = Release|Any CPU
64+
EndGlobalSection
65+
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).
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 recoveryservicesdatareplication 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 recoveryservicesdatareplication management library for .NET with [NuGet](https://www.nuget.org/):
18+
19+
```dotnetcli
20+
dotnet add package Azure.ResourceManager.Recoveryservicesdatareplication --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,6 @@
1+
{
2+
"AssetsRepo": "Azure/azure-sdk-assets",
3+
"AssetsRepoPrefixPath": "net",
4+
"TagPrefix": "net/<service name>/Azure.ResourceManager.Recoveryservicesdatareplication",
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.Recoveryservicesdatareplication.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.Recoveryservicesdatareplication</PackageId>
5+
<Description>Azure Resource Manager client SDK for Azure resource provider recoveryservicesdatareplication.</Description>
6+
<PackageTags>azure;management;arm;resource manager;recoveryservicesdatareplication</PackageTags>
7+
</PropertyGroup>
8+
</Project>
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("recoveryservicesdatareplication")]
7+
8+
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
9+
[assembly: InternalsVisibleTo("Azure.ResourceManager.Recoveryservicesdatareplication.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")]
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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: recoveryservicesdatareplication
9+
namespace: Azure.ResourceManager.recoveryservicesdatareplication
10+
require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicesdatareplication/resource-manager/readme.md
11+
output-folder: $(this-folder)/Generated
12+
clear-output-folder: true
13+
sample-gen:
14+
output-folder: $(this-folder)/../samples/Generated
15+
clear-output-folder: true
16+
skip-csproj: true
17+
modelerfour:
18+
flatten-payloads: false
19+
20+
#mgmt-debug:
21+
# show-serialized-names: true
22+
23+
24+
25+
format-by-name-rules:
26+
'tenantId': 'uuid'
27+
'ETag': 'etag'
28+
'location': 'azure-location'
29+
'*Uri': 'Uri'
30+
'*Uris': 'Uri'
31+
32+
acronym-mapping:
33+
CPU: Cpu
34+
CPUs: Cpus
35+
Os: OS
36+
Ip: IP
37+
Ips: IPs|ips
38+
ID: Id
39+
IDs: Ids
40+
VM: Vm
41+
VMs: Vms
42+
Vmos: VmOS
43+
VMScaleSet: VmScaleSet
44+
DNS: Dns
45+
VPN: Vpn
46+
NAT: Nat
47+
WAN: Wan
48+
Ipv4: IPv4|ipv4
49+
Ipv6: IPv6|ipv6
50+
Ipsec: IPsec|ipsec
51+
SSO: Sso
52+
URI: Uri
53+
Etag: ETag|etag
54+
55+
```
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.Recoveryservicesdatareplication.csproj" />
4+
</ItemGroup>
5+
</Project>

0 commit comments

Comments
 (0)