Skip to content

stack resources module for 2018-03-01-hybrid profile #7051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Sep 5, 2018
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 @@ -202,7 +202,6 @@
<ItemGroup>
<OutFiles Include="$(OutDir)\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(OutFiles)" DestinationFiles="@(OutFiles->'..\..\..\Stack\$(Configuration)\ResourceManager\AzureResourceManager\AzureRM.Resources\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutputPath)\help\" ContinueOnError="false" />
</Target>
</Project>
16 changes: 4 additions & 12 deletions src/StackAdmin/AzureRM/AzureRM.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = "AzureRM.psm1"

# Version number of this module.
ModuleVersion = '1.2.11'
ModuleVersion = '2.3.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand All @@ -33,7 +33,7 @@
Description = 'Azure Resource Manager Module'

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'
PowerShellVersion = '5.0'

# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''
Expand All @@ -51,16 +51,8 @@
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; RequiredVersion = '3.4.1'; },
@{ModuleName = 'Azure.Storage'; RequiredVersion = '1.0.5.4'; },
@{ModuleName = 'AzureRM.Compute'; RequiredVersion = '1.2.3.4'; },
@{ModuleName = 'AzureRM.Dns'; RequiredVersion = '3.4.1'; },
@{ModuleName = 'AzureRM.KeyVault'; RequiredVersion = '3.4.1'; },
@{ModuleName = 'AzureRM.Network'; RequiredVersion = '1.0.5.4'; },
@{ModuleName = 'AzureRM.Resources'; RequiredVersion = '4.4.1'; },
@{ModuleName = 'AzureRM.Storage'; RequiredVersion = '1.0.5.4'; },
@{ModuleName = 'AzureRM.Tags'; RequiredVersion = '3.4.1'; },
@{ModuleName = 'AzureRM.UsageAggregates'; RequiredVersion = '3.4.1'; })
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; RequiredVersion = '5.5.1'; },
@{ModuleName = 'AzureRM.Resources'; RequiredVersion = '6.0.2'; })

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
Expand Down
25 changes: 25 additions & 0 deletions src/StackAdmin/Resources/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
Please leave this section at the top of the change log.

Changes for the current release should go under the section titled "Current Release", and should adhere to the following format:

## Current Release
* Overview of change #1
- Additional information about change #1
* Overview of change #2
- Additional information about change #2
- Additional information about change #2
* Overview of change #3
* Overview of change #4
- Additional information about change #4

## YYYY.MM.DD - Version X.Y.Z (Previous Release)
* Overview of change #1
- Additional information about change #1
-->
## Current Release

AzureStack version of AzureRm.Resources module, Changes till Azure powershell version 6.0.0 are included in this module.

The authorization client has been modified to support the api-version 2017-07-01

Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------

namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Collections
{
using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Json;
using System;
using System.Collections.Generic;
using Commands.Common.Authentication.Abstractions;

/// <summary>
/// The insensitive version of dictionary.
/// </summary>
/// <typeparam name="TValue">The type of the value.</typeparam>
[JsonPreserveCaseDictionary]
public class InsensitiveDictionary<TValue> : Dictionary<string, TValue>
{
/// <summary>
/// The empty dictionary.
/// </summary>
public static readonly InsensitiveDictionary<TValue> Empty = new InsensitiveDictionary<TValue>();

/// <summary>
/// Initializes a new instance of the <see cref="InsensitiveDictionary{TValue}"/> class.
/// </summary>
public InsensitiveDictionary()
: base(StringComparer.InvariantCultureIgnoreCase)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="InsensitiveDictionary{TValue}"/> class.
/// </summary>
/// <param name="capacity">The initial number of elements that the <see cref="T:System.Collections.Generic.Dictionary`2" /> can contain.</param>
public InsensitiveDictionary(int capacity)
: base(capacity, StringComparer.InvariantCultureIgnoreCase)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="InsensitiveDictionary{TValue}"/> class.
/// </summary>
/// <param name="dictionary">The dictionary.</param>
public InsensitiveDictionary(IDictionary<string, TValue> dictionary)
: base(dictionary, StringComparer.InvariantCultureIgnoreCase)
{
}
}
}
Loading