Skip to content
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

Move ContainerInstance to main #18428

Merged
merged 1 commit into from
Jun 9, 2022
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ContainerInstance/Az.ContainerInstance.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 4/22/2022
# Generated on: 6/8/2022
#

@{
Expand Down Expand Up @@ -95,7 +95,7 @@ CmdletsToExport = @()
# VariablesToExport = @()

# 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.
AliasesToExport = 'Get-AzContainerGroupOutboundNetworkDependencyEndpoint'
AliasesToExport = 'Get-AzContainerGroupOutboundNetworkDependencyEndpoint', '*'

# DSC resources to export from this module
# DscResourcesToExport = @()
Expand Down Expand Up @@ -124,7 +124,7 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Supported empty directory volume and secret volume for creating container group [#17410]'
# ReleaseNotes = ''

# Prerelease string of this module
# Prerelease = ''
Expand Down
156 changes: 78 additions & 78 deletions src/ContainerInstance/ContainerInstance.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{5E36A58C-9179-4197-803B-876929202A3B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{9433CDAB-693E-446D-8DCF-DECB258391FE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{F47B96CE-C45D-476D-86D3-3E54860BD161}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{910BDC36-DAE5-42F2-8289-D02536741ACE}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{B8E38007-E317-429B-ADD2-D14FC32A56B8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{9DEAD20A-4771-43D3-BCB9-BE3347089E62}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{1485DC84-9655-447E-84B6-295696A6AE0C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{29825CB6-7123-417D-8420-6F63B42E048B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ContainerInstance", "Az.ContainerInstance.csproj", "{B205CE86-4CD8-464C-90D9-42DFD1766B70}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ContainerInstance", "Az.ContainerInstance.csproj", "{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -28,77 +28,77 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5E36A58C-9179-4197-803B-876929202A3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Debug|x64.ActiveCfg = Debug|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Debug|x64.Build.0 = Debug|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Debug|x86.ActiveCfg = Debug|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Debug|x86.Build.0 = Debug|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Release|Any CPU.Build.0 = Release|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Release|x64.ActiveCfg = Release|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Release|x64.Build.0 = Release|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Release|x86.ActiveCfg = Release|Any CPU
{5E36A58C-9179-4197-803B-876929202A3B}.Release|x86.Build.0 = Release|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Debug|x64.ActiveCfg = Debug|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Debug|x64.Build.0 = Debug|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Debug|x86.ActiveCfg = Debug|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Debug|x86.Build.0 = Debug|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Release|Any CPU.Build.0 = Release|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Release|x64.ActiveCfg = Release|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Release|x64.Build.0 = Release|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Release|x86.ActiveCfg = Release|Any CPU
{F47B96CE-C45D-476D-86D3-3E54860BD161}.Release|x86.Build.0 = Release|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Debug|x64.ActiveCfg = Debug|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Debug|x64.Build.0 = Debug|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Debug|x86.ActiveCfg = Debug|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Debug|x86.Build.0 = Debug|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Release|Any CPU.Build.0 = Release|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Release|x64.ActiveCfg = Release|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Release|x64.Build.0 = Release|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Release|x86.ActiveCfg = Release|Any CPU
{910BDC36-DAE5-42F2-8289-D02536741ACE}.Release|x86.Build.0 = Release|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Debug|x64.ActiveCfg = Debug|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Debug|x64.Build.0 = Debug|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Debug|x86.ActiveCfg = Debug|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Debug|x86.Build.0 = Debug|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Release|Any CPU.Build.0 = Release|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Release|x64.ActiveCfg = Release|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Release|x64.Build.0 = Release|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Release|x86.ActiveCfg = Release|Any CPU
{9DEAD20A-4771-43D3-BCB9-BE3347089E62}.Release|x86.Build.0 = Release|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Debug|x64.ActiveCfg = Debug|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Debug|x64.Build.0 = Debug|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Debug|x86.ActiveCfg = Debug|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Debug|x86.Build.0 = Debug|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Release|Any CPU.Build.0 = Release|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Release|x64.ActiveCfg = Release|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Release|x64.Build.0 = Release|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Release|x86.ActiveCfg = Release|Any CPU
{29825CB6-7123-417D-8420-6F63B42E048B}.Release|x86.Build.0 = Release|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Debug|x64.ActiveCfg = Debug|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Debug|x64.Build.0 = Debug|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Debug|x86.ActiveCfg = Debug|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Debug|x86.Build.0 = Debug|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Release|Any CPU.Build.0 = Release|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Release|x64.ActiveCfg = Release|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Release|x64.Build.0 = Release|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Release|x86.ActiveCfg = Release|Any CPU
{B205CE86-4CD8-464C-90D9-42DFD1766B70}.Release|x86.Build.0 = Release|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Debug|x64.ActiveCfg = Debug|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Debug|x64.Build.0 = Debug|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Debug|x86.ActiveCfg = Debug|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Debug|x86.Build.0 = Debug|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Release|Any CPU.Build.0 = Release|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Release|x64.ActiveCfg = Release|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Release|x64.Build.0 = Release|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Release|x86.ActiveCfg = Release|Any CPU
{9433CDAB-693E-446D-8DCF-DECB258391FE}.Release|x86.Build.0 = Release|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Debug|x64.ActiveCfg = Debug|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Debug|x64.Build.0 = Debug|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Debug|x86.ActiveCfg = Debug|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Debug|x86.Build.0 = Debug|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Release|Any CPU.Build.0 = Release|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Release|x64.ActiveCfg = Release|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Release|x64.Build.0 = Release|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Release|x86.ActiveCfg = Release|Any CPU
{9E558BEC-91B8-4FC8-976F-1CCA7001B3B5}.Release|x86.Build.0 = Release|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Debug|x64.ActiveCfg = Debug|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Debug|x64.Build.0 = Debug|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Debug|x86.ActiveCfg = Debug|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Debug|x86.Build.0 = Debug|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Release|Any CPU.Build.0 = Release|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Release|x64.ActiveCfg = Release|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Release|x64.Build.0 = Release|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Release|x86.ActiveCfg = Release|Any CPU
{B8E38007-E317-429B-ADD2-D14FC32A56B8}.Release|x86.Build.0 = Release|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Debug|x64.ActiveCfg = Debug|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Debug|x64.Build.0 = Debug|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Debug|x86.ActiveCfg = Debug|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Debug|x86.Build.0 = Debug|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Release|Any CPU.Build.0 = Release|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Release|x64.ActiveCfg = Release|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Release|x64.Build.0 = Release|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Release|x86.ActiveCfg = Release|Any CPU
{1485DC84-9655-447E-84B6-295696A6AE0C}.Release|x86.Build.0 = Release|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Debug|x64.ActiveCfg = Debug|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Debug|x64.Build.0 = Debug|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Debug|x86.ActiveCfg = Debug|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Debug|x86.Build.0 = Debug|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Release|Any CPU.Build.0 = Release|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Release|x64.ActiveCfg = Release|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Release|x64.Build.0 = Release|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Release|x86.ActiveCfg = Release|Any CPU
{B816AEE4-7172-44AE-B59B-29DCBD3E4A0F}.Release|x86.Build.0 = Release|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Debug|x64.ActiveCfg = Debug|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Debug|x64.Build.0 = Debug|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Debug|x86.ActiveCfg = Debug|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Debug|x86.Build.0 = Debug|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Release|Any CPU.Build.0 = Release|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Release|x64.ActiveCfg = Release|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Release|x64.Build.0 = Release|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Release|x86.ActiveCfg = Release|Any CPU
{BC2CC76A-7F5A-497C-B48E-FBAE076ED359}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion src/ContainerInstance/check-dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if(-not $Isolated) {
function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
if($predicate) {
$module = Get-Module -ListAvailable -Name $moduleName
if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0)) {
if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0) -or ($requiredVersion -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -eq [System.Version]$requiredVersion } | Measure-Object).Count -eq 0)) {
$null = New-Item -ItemType Directory -Force -Path $path
Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
if ($requiredVersion) {
Expand Down
5 changes: 3 additions & 2 deletions src/ContainerInstance/examples/New-AzContainerGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ This commands creates a container group with a container instance, whose image i
### Example 6: Create a container group that mounts Azure File volume
```powershell
$volume = New-AzContainerGroupVolumeObject -Name "myvolume" -AzureFileShareName "myshare" -AzureFileStorageAccountName "username" -AzureFileStorageAccountKey (ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force)
$container = New-AzContainerInstanceObject -Name test-container -Image alpine
$mount = New-AzContainerInstanceVolumeMountObject -MountPath "/aci/logs" -Name "myvolume"
$container = New-AzContainerInstanceObject -Name test-container -Image alpine -VolumeMount $mount
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -Volume $volume
```

Expand All @@ -92,7 +93,7 @@ This commands creates a container group with a container instance, whose image i
### Example 7: Create a container group with system assigned and user assigned identity
```powershell
$container = New-AzContainerInstanceObject -Name test-container -Image alpine
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -IdentityType "SystemAssigned, UserAssigned" -IdentityUserAssignedIdentity /subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<UserIdentityName>
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -IdentityType "SystemAssigned, UserAssigned" -IdentityUserAssignedIdentity @{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" = @{}}
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
Expand Down
2 changes: 1 addition & 1 deletion src/ContainerInstance/exports/Get-AzContainerGroup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName

if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
Expand Down
Loading