Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Identity", "..\..\ide
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Graph.Rbac", "..\..\testcommon\Azure.Graph.Rbac\src\Azure.Graph.Rbac.csproj", "{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.Resource", "..\..\testcommon\Azure.Management.Resource.2017_05\src\Azure.Management.Resource.csproj", "{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.Resources", "..\..\testcommon\Azure.Management.Resources.2017_05\src\Azure.Management.Resources.csproj", "{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -99,18 +99,18 @@ Global
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x64.Build.0 = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x86.ActiveCfg = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x86.Build.0 = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x64.ActiveCfg = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x64.Build.0 = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x86.ActiveCfg = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x86.Build.0 = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|Any CPU.Build.0 = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x64.ActiveCfg = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x64.Build.0 = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x86.ActiveCfg = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x86.Build.0 = Release|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Debug|x64.ActiveCfg = Debug|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Debug|x64.Build.0 = Debug|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Debug|x86.ActiveCfg = Debug|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Debug|x86.Build.0 = Debug|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Release|Any CPU.Build.0 = Release|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Release|x64.ActiveCfg = Release|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Release|x64.Build.0 = Release|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Release|x86.ActiveCfg = Release|Any CPU
{C6E0B5FC-1382-4BBC-BE76-E7B484C60E52}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<ItemGroup>
<ProjectReference Include="..\..\..\testcommon\Azure.Graph.Rbac\src\Azure.Graph.Rbac.csproj" />
<ProjectReference Include="..\..\..\testcommon\Azure.Management.Resource.2017_05\src\Azure.Management.Resource.csproj" />
<ProjectReference Include="..\..\..\testcommon\Azure.Management.Resources.2017_05\src\Azure.Management.Resources.csproj" />
<ProjectReference Include="..\src\Azure.Management.KeyVault.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
using Azure.Core.TestFramework;
using Azure.Graph.Rbac;
using Azure.Management.KeyVault.Models;
using Azure.Management.Resource;
using Azure.Management.Resources;

using NUnit.Framework;

namespace Azure.Management.KeyVault.Tests
{
[ClientTestFixture]
[NonParallelizable]
public abstract class VaultOperationsTestsBase : RecordedTestBase<KeyVaultManagementTestEnvironment>
{
private const string ObjectIdKey = "ObjectId";
Expand Down Expand Up @@ -96,7 +95,7 @@ protected async Task Initialize()
).First().Locations.FirstOrDefault();

ResGroupName = Recording.GenerateAssetName("sdktestrg");
await ResourceGroupsClient.CreateOrUpdateAsync(ResGroupName, new Resource.Models.ResourceGroup(Location));
await ResourceGroupsClient.CreateOrUpdateAsync(ResGroupName, new Resources.Models.ResourceGroup(Location));
VaultName = Recording.GenerateAssetName("sdktestvault");

TenantIdGuid = new Guid(TenantId);
Expand Down Expand Up @@ -134,11 +133,11 @@ internal KeyVaultManagementClient GetKeyVaultManagementClient()
Recording.InstrumentClientOptions(new KeyVaultManagementClientOptions())));
}

internal ResourceManagementClient GetResourceManagementClient()
internal ResourcesManagementClient GetResourceManagementClient()
{
return InstrumentClient(new ResourceManagementClient(this.SubscriptionId,
return InstrumentClient(new ResourcesManagementClient(this.SubscriptionId,
TestEnvironment.Credential,
Recording.InstrumentClientOptions(new ResourceManagementClientOptions())));
Recording.InstrumentClientOptions(new ResourcesManagementClientOptions())));
}

protected ValueTask<Response<T>> WaitForCompletionAsync<T>(Operation<T> operation)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 15.0.26124.0
Project("{A7A2395A-F00B-4FAE-8271-38569A2F941A}") = "Azure.Management.Resources", "src\Azure.Management.Resources.csproj", "{702648AD-F126-470D-BE88-5043E189E102}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "..\..\core\Azure.Core\src\Azure.Core.csproj", "{856C6092-55EB-4C02-B7D0-9846EDD70745}"
EndProject
Project("{A7A2395A-F00B-4FAE-8271-38569A2F941A}") = "Azure.Management.Resources.Tests", "tests\Azure.Management.Resources.Tests.csproj", "{8F603350-192A-483C-9FB9-62FB12FB5ADA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.Resources", "src\Azure.Management.Resources.csproj", "{DEFF4395-FBD0-4205-95DE-7992E79015FA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.Resources.Tests", "tests\Azure.Management.Resources.Tests.csproj", "{9D842058-41AB-42DD-82C8-F3DF49E25297}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -16,33 +20,60 @@ Global
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Debug|Any CPU.Build.0 = Debug|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Debug|x64.ActiveCfg = Debug|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Debug|x64.Build.0 = Debug|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Debug|x86.ActiveCfg = Debug|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Debug|x86.Build.0 = Debug|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Release|Any CPU.ActiveCfg = Release|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Release|Any CPU.Build.0 = Release|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Release|x64.ActiveCfg = Release|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Release|x64.Build.0 = Release|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Release|x86.ActiveCfg = Release|Any CPU
{856C6092-55EB-4C02-B7D0-9846EDD70745}.Release|x86.Build.0 = Release|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Debug|x64.ActiveCfg = Debug|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Debug|x64.Build.0 = Debug|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Debug|x86.ActiveCfg = Debug|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Debug|x86.Build.0 = Debug|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Release|Any CPU.Build.0 = Release|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Release|x64.ActiveCfg = Release|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Release|x64.Build.0 = Release|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Release|x86.ActiveCfg = Release|Any CPU
{62AF7C88-CE3F-416E-B18E-BC6F884C89E2}.Release|x86.Build.0 = Release|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Debug|x64.ActiveCfg = Debug|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Debug|x64.Build.0 = Debug|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Debug|x86.ActiveCfg = Debug|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Debug|x86.Build.0 = Debug|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Release|Any CPU.Build.0 = Release|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Release|x64.ActiveCfg = Release|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Release|x64.Build.0 = Release|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Release|x86.ActiveCfg = Release|Any CPU
{DEFF4395-FBD0-4205-95DE-7992E79015FA}.Release|x86.Build.0 = Release|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Debug|x64.ActiveCfg = Debug|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Debug|x64.Build.0 = Debug|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Debug|x86.ActiveCfg = Debug|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Debug|x86.Build.0 = Debug|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Release|Any CPU.Build.0 = Release|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Release|x64.ActiveCfg = Release|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Release|x64.Build.0 = Release|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Release|x86.ActiveCfg = Release|Any CPU
{9D842058-41AB-42DD-82C8-F3DF49E25297}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{702648AD-F126-470D-BE88-5043E189E102}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Debug|Any CPU.Build.0 = Debug|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Debug|x64.ActiveCfg = Debug|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Debug|x64.Build.0 = Debug|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Debug|x86.ActiveCfg = Debug|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Debug|x86.Build.0 = Debug|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Release|Any CPU.ActiveCfg = Release|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Release|Any CPU.Build.0 = Release|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Release|x64.ActiveCfg = Release|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Release|x64.Build.0 = Release|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Release|x86.ActiveCfg = Release|Any CPU
{702648AD-F126-470D-BE88-5043E189E102}.Release|x86.Build.0 = Release|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Debug|x64.ActiveCfg = Debug|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Debug|x64.Build.0 = Debug|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Debug|x86.ActiveCfg = Debug|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Debug|x86.Build.0 = Debug|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Release|Any CPU.Build.0 = Release|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Release|x64.ActiveCfg = Release|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Release|x64.Build.0 = Release|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Release|x86.ActiveCfg = Release|Any CPU
{8F603350-192A-483C-9FB9-62FB12FB5ADA}.Release|x86.Build.0 = Release|Any CPU
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {62EFD6CB-604F-4B35-8816-C10DF346E98E}
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion sdk/resources/Azure.Management.Resources/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
## 1.0.0-preview.1

### New Features
- Initial preview of Azure Management SDK based on Azure.Core
- Initial preview of Azure Management SDK based on Azure.Core
10 changes: 1 addition & 9 deletions sdk/resources/Azure.Management.Resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Use the guidelines in each section of this template to ensure consistency and re
* All headings, including the H1, should use **sentence-style capitalization**. Refer to the [Microsoft Style Guide][style-guide-msft] and [Microsoft Cloud Style Guide][style-guide-cloud] for more information.
* Example: `# Azure Batch client library for Python`

# Azure Management Resources client library for .NET
# Azure Management Resource client library for .NET

**Introduction**: The introduction appears directly under the title (H1) of your README.

Expand Down Expand Up @@ -44,14 +44,6 @@ The *Key concepts* section should describe the functionality of the main classes

Include code snippets and short descriptions for each task you listed in the [Introduction](#introduction) (the bulleted list). Briefly explain each operation, but include enough clarity to explain complex or otherwise tricky operations.

If possible, use the same example snippets that your in-code documentation uses. For example, use the snippets in your `examples.py` that Sphinx ingests via its [literalinclude](https://www.sphinx-doc.org/en/1.5/markup/code.html?highlight=code%20examples#includes) directive. The `examples.py` file containing the snippets should reside alongside your package's code, and should be tested in an automated fashion.

Each example in the *Examples* section starts with an H3 that describes the example. At the top of this section, just under the *Examples* H2, add a bulleted list linking to each example H3. Each example should deep-link to the types and/or members used in the example.

* [Create the thing](#create-the-thing)
* [Get the thing](#get-the-thing)
* [List the things](#list-the-things)

## Troubleshooting

Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery.
Expand Down
Loading