Skip to content

Commit 1211d41

Browse files
committed
Adding mongodb psh
1 parent 525949e commit 1211d41

Some content is hidden

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

44 files changed

+4637
-0
lines changed

src/Mongodb/MongoDb.sln

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Accounts", "Accounts", "{8711C220-C6C7-4089-8871-CF6894A233BE}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{657CD37A-3D88-4163-90FF-99930FEFD389}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{A3206C24-0C77-4719-973F-A47FD1C27D8E}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{21999D02-9476-4F0C-BB23-ADFB48F3B90B}"
13+
EndProject
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{715ED1D5-D92A-4A67-B61F-3DAB17C59306}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{C5A506BE-295E-4A0F-A8E0-6CCE27EB00F0}"
17+
EndProject
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{D6CFBA6E-2FB1-4C66-B3A4-ABDD9D5522D6}"
19+
EndProject
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDb", "MongoDb\MongoDb.csproj", "{D82BCDC6-A69A-41D2-B795-FCAB563298EB}"
21+
EndProject
22+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MongoDb", "MongoDb.Autorest\Az.MongoDb.csproj", "{5FC5F315-B9F1-48EA-93C4-F7B54E6848BB}"
23+
EndProject
24+
Global
25+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
26+
Debug|Any CPU = Debug|Any CPU
27+
Release|Any CPU = Release|Any CPU
28+
EndGlobalSection
29+
GlobalSection(SolutionProperties) = preSolution
30+
HideSolutionNode = FALSE
31+
EndGlobalSection
32+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
33+
{657CD37A-3D88-4163-90FF-99930FEFD389}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{657CD37A-3D88-4163-90FF-99930FEFD389}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{657CD37A-3D88-4163-90FF-99930FEFD389}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{657CD37A-3D88-4163-90FF-99930FEFD389}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{A3206C24-0C77-4719-973F-A47FD1C27D8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{A3206C24-0C77-4719-973F-A47FD1C27D8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{A3206C24-0C77-4719-973F-A47FD1C27D8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{A3206C24-0C77-4719-973F-A47FD1C27D8E}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{21999D02-9476-4F0C-BB23-ADFB48F3B90B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{21999D02-9476-4F0C-BB23-ADFB48F3B90B}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{21999D02-9476-4F0C-BB23-ADFB48F3B90B}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{21999D02-9476-4F0C-BB23-ADFB48F3B90B}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{715ED1D5-D92A-4A67-B61F-3DAB17C59306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{715ED1D5-D92A-4A67-B61F-3DAB17C59306}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{715ED1D5-D92A-4A67-B61F-3DAB17C59306}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{715ED1D5-D92A-4A67-B61F-3DAB17C59306}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{C5A506BE-295E-4A0F-A8E0-6CCE27EB00F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{C5A506BE-295E-4A0F-A8E0-6CCE27EB00F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{C5A506BE-295E-4A0F-A8E0-6CCE27EB00F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{C5A506BE-295E-4A0F-A8E0-6CCE27EB00F0}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{D6CFBA6E-2FB1-4C66-B3A4-ABDD9D5522D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{D6CFBA6E-2FB1-4C66-B3A4-ABDD9D5522D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{D6CFBA6E-2FB1-4C66-B3A4-ABDD9D5522D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{D6CFBA6E-2FB1-4C66-B3A4-ABDD9D5522D6}.Release|Any CPU.Build.0 = Release|Any CPU
57+
{D82BCDC6-A69A-41D2-B795-FCAB563298EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
58+
{D82BCDC6-A69A-41D2-B795-FCAB563298EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
59+
{D82BCDC6-A69A-41D2-B795-FCAB563298EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
60+
{D82BCDC6-A69A-41D2-B795-FCAB563298EB}.Release|Any CPU.Build.0 = Release|Any CPU
61+
{5FC5F315-B9F1-48EA-93C4-F7B54E6848BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
62+
{5FC5F315-B9F1-48EA-93C4-F7B54E6848BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
63+
{5FC5F315-B9F1-48EA-93C4-F7B54E6848BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
64+
{5FC5F315-B9F1-48EA-93C4-F7B54E6848BB}.Release|Any CPU.Build.0 = Release|Any CPU
65+
EndGlobalSection
66+
GlobalSection(NestedProjects) = preSolution
67+
{657CD37A-3D88-4163-90FF-99930FEFD389} = {8711C220-C6C7-4089-8871-CF6894A233BE}
68+
{A3206C24-0C77-4719-973F-A47FD1C27D8E} = {8711C220-C6C7-4089-8871-CF6894A233BE}
69+
{21999D02-9476-4F0C-BB23-ADFB48F3B90B} = {8711C220-C6C7-4089-8871-CF6894A233BE}
70+
{715ED1D5-D92A-4A67-B61F-3DAB17C59306} = {8711C220-C6C7-4089-8871-CF6894A233BE}
71+
{C5A506BE-295E-4A0F-A8E0-6CCE27EB00F0} = {8711C220-C6C7-4089-8871-CF6894A233BE}
72+
{D6CFBA6E-2FB1-4C66-B3A4-ABDD9D5522D6} = {8711C220-C6C7-4089-8871-CF6894A233BE}
73+
EndGlobalSection
74+
EndGlobal

src/Mongodb/MongoDb/Az.MongoDb.psd1

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
#
2+
# Module manifest for module 'Az.MongoDb'
3+
#
4+
# Generated by: Microsoft Corporation
5+
#
6+
# Generated on: 5/15/2025
7+
#
8+
9+
@{
10+
11+
# Script module or binary module file associated with this manifest.
12+
# RootModule = ''
13+
14+
# Version number of this module.
15+
ModuleVersion = '0.1.0'
16+
17+
# Supported PSEditions
18+
CompatiblePSEditions = 'Core', 'Desktop'
19+
20+
# ID used to uniquely identify this module
21+
GUID = 'accceef6-8113-453a-a31c-4f2ce57893d6'
22+
23+
# Author of this module
24+
Author = 'Microsoft Corporation'
25+
26+
# Company or vendor of this module
27+
CompanyName = 'Microsoft Corporation'
28+
29+
# Copyright statement for this module
30+
Copyright = 'Microsoft Corporation. All rights reserved.'
31+
32+
# Description of the functionality provided by this module
33+
Description = 'Microsoft Azure PowerShell: MongoDb cmdlets'
34+
35+
# Minimum version of the PowerShell engine required by this module
36+
PowerShellVersion = '5.1'
37+
38+
# Name of the PowerShell host required by this module
39+
# PowerShellHostName = ''
40+
41+
# Minimum version of the PowerShell host required by this module
42+
# PowerShellHostVersion = ''
43+
44+
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45+
DotNetFrameworkVersion = '4.7.2'
46+
47+
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48+
# ClrVersion = ''
49+
50+
# Processor architecture (None, X86, Amd64) required by this module
51+
# ProcessorArchitecture = ''
52+
53+
# Modules that must be imported into the global environment prior to importing this module
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.2.0'; })
55+
56+
# Assemblies that must be loaded prior to importing this module
57+
RequiredAssemblies = 'MongoDb.Autorest/bin/Az.MongoDb.private.dll'
58+
59+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60+
ScriptsToProcess = @()
61+
62+
# Type files (.ps1xml) to be loaded when importing this module
63+
TypesToProcess = @()
64+
65+
# Format files (.ps1xml) to be loaded when importing this module
66+
FormatsToProcess = 'MongoDb.Autorest/Az.MongoDb.format.ps1xml'
67+
68+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69+
NestedModules = @('MongoDb.Autorest/Az.MongoDb.psm1')
70+
71+
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72+
FunctionsToExport = 'Get-AzMongodbOrganization', 'New-AzMongodbOrganization',
73+
'Remove-AzMongodbOrganization', 'Update-AzMongodbOrganization'
74+
75+
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
76+
CmdletsToExport = @()
77+
78+
# Variables to export from this module
79+
# VariablesToExport = @()
80+
81+
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
82+
AliasesToExport = @()
83+
84+
# DSC resources to export from this module
85+
# DscResourcesToExport = @()
86+
87+
# List of all modules packaged with this module
88+
# ModuleList = @()
89+
90+
# List of all files packaged with this module
91+
# FileList = @()
92+
93+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
94+
PrivateData = @{
95+
96+
PSData = @{
97+
98+
# Tags applied to this module. These help with module discovery in online galleries.
99+
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'MongoDb'
100+
101+
# A URL to the license for this module.
102+
LicenseUri = 'https://aka.ms/azps-license'
103+
104+
# A URL to the main website for this project.
105+
ProjectUri = 'https://github.com/Azure/azure-powershell'
106+
107+
# A URL to an icon representing this module.
108+
# IconUri = ''
109+
110+
# ReleaseNotes of this module
111+
# ReleaseNotes = ''
112+
113+
# Prerelease string of this module
114+
# Prerelease = ''
115+
116+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
117+
# RequireLicenseAcceptance = $false
118+
119+
# External dependent modules of this module
120+
# ExternalModuleDependencies = @()
121+
122+
} # End of PSData hashtable
123+
124+
} # End of PrivateData hashtable
125+
126+
# HelpInfo URI of this module
127+
# HelpInfoURI = ''
128+
129+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
130+
# DefaultCommandPrefix = ''
131+
132+
}
133+

src/Mongodb/MongoDb/ChangeLog.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!--
2+
Please leave this section at the top of the change log.
3+
4+
Changes for the upcoming release should go under the section titled "Upcoming Release", and should adhere to the following format:
5+
6+
## Upcoming Release
7+
* Overview of change #1
8+
- Additional information about change #1
9+
* Overview of change #2
10+
- Additional information about change #2
11+
- Additional information about change #2
12+
* Overview of change #3
13+
* Overview of change #4
14+
- Additional information about change #4
15+
16+
## YYYY.MM.DD - Version X.Y.Z (Previous Release)
17+
* Overview of change #1
18+
- Additional information about change #1
19+
-->
20+
## Upcoming Release
21+
22+
## Version 0.1.0
23+
* First preview release for module Az.MongoDb
24+

src/Mongodb/MongoDb/MongoDb.csproj

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.props" />
4+
<Import Project="$(MSBuildThisFileDirectory)..\..\psm1.props" />
5+
6+
<PropertyGroup>
7+
<PsModuleName>MongoDb</PsModuleName>
8+
</PropertyGroup>
9+
10+
<PropertyGroup>
11+
<TargetFramework>netstandard2.0</TargetFramework>
12+
<AssemblyName>$(AzAssemblyPrefix)$(PsModuleName)</AssemblyName>
13+
<RootNamespace>$(AzAssemblyPrefix)$(PsModuleName)</RootNamespace>
14+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
15+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
16+
<OutputPath>$(RepoArtifacts)$(Configuration)\Az.$(PsModuleName)\</OutputPath>
17+
<PublishDir>$(OutputPath)</PublishDir>
18+
</PropertyGroup>
19+
20+
<!-- Assets -->
21+
<ItemGroup>
22+
<None Update="Az.$(PsModuleName).psd1" CopyToOutputDirectory="PreserveNewest" />
23+
<None Update="help\*.md" CopyToOutputDirectory="PreserveNewest" />
24+
</ItemGroup>
25+
26+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.Post.props" />
27+
28+
</Project>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Reflection;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: AssemblyTitle("Microsoft Azure Powershell - MongoDb")]
20+
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
21+
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
22+
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
23+
24+
[assembly: ComVisible(false)]
25+
[assembly: CLSCompliant(false)]
26+
[assembly: Guid("052143b8-2be1-4cec-a9e1-23abdb2101e3")]
27+
[assembly: AssemblyVersion("0.1.0")]
28+
[assembly: AssemblyFileVersion("0.1.0")]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
Module Name: Az.MongoDb
3+
Module Guid: accceef6-8113-453a-a31c-4f2ce57893d6
4+
Download Help Link: https://learn.microsoft.com/powershell/module/az.mongodb
5+
Help Version: 1.0.0.0
6+
Locale: en-US
7+
---
8+
9+
# Az.MongoDb Module
10+
## Description
11+
Microsoft Azure PowerShell: MongoDb cmdlets
12+
13+
## Az.MongoDb Cmdlets
14+
### [Get-AzMongodbOrganization](Get-AzMongodbOrganization.md)
15+
Get a OrganizationResource
16+
17+
### [New-AzMongodbOrganization](New-AzMongodbOrganization.md)
18+
create a OrganizationResource
19+
20+
### [Remove-AzMongodbOrganization](Remove-AzMongodbOrganization.md)
21+
Delete a OrganizationResource
22+
23+
### [Update-AzMongodbOrganization](Update-AzMongodbOrganization.md)
24+
update a OrganizationResource
25+

0 commit comments

Comments
 (0)