Skip to content

Commit 1cae40e

Browse files
committed
Add formats to Network
1 parent 91740b3 commit 1cae40e

File tree

3 files changed

+77
-2
lines changed

3 files changed

+77
-2
lines changed

src/StackAdmin/Azs.Network.Admin/Module/Azs.Network.Admin/Azs.Network.Admin.psd1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ Licensed under the MIT License. See License.txt in the project root for license
6565
# ScriptsToProcess = @()
6666

6767
# Type files (.ps1xml) to be loaded when importing this module
68-
# TypesToProcess = @()
68+
TypesToProcess = @('Generated.PowerShell.Commands\FormatFiles\Azs.Network.Admin.Type.ps1xml')
6969

7070
# Format files (.ps1xml) to be loaded when importing this module
71-
FormatsToProcess = @()
71+
FormatsToProcess = @('Generated.PowerShell.Commands\FormatFiles\Azs.Network.Admin.Format.ps1xml')
72+
7273

7374
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
7475
NestedModules = @()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
//
4+
// Copyright (c) Microsoft and contributors. All rights reserved.
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
//
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
-->
19+
<Configuration>
20+
<ViewDefinitions></ViewDefinitions>
21+
</Configuration>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
//
4+
// Copyright (c) Microsoft and contributors. All rights reserved.
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
//
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
-->
19+
<Types>
20+
<Type>
21+
<Name>Microsoft.AzureStack.Management.Network.Admin.Models.AdminOverviewResourceHealth</Name>
22+
<Members>
23+
<ScriptMethod>
24+
<Name>ToString</Name>
25+
<Script>
26+
$this | fl | Out-String
27+
</Script>
28+
</ScriptMethod>
29+
</Members>
30+
</Type>
31+
<Type>
32+
<Name>Microsoft.AzureStack.Management.Network.Admin.Models.AdminOverviewResourceUsage</Name>
33+
<Members>
34+
<ScriptMethod>
35+
<Name>ToString</Name>
36+
<Script>
37+
$this | fl | Out-String
38+
</Script>
39+
</ScriptMethod>
40+
</Members>
41+
</Type>
42+
<Type>
43+
<Name>Microsoft.AzureStack.Management.Network.Admin.Models.VirtualNetworkConfigurationState</Name>
44+
<Members>
45+
<ScriptMethod>
46+
<Name>ToString</Name>
47+
<Script>
48+
$this | fl | Out-String
49+
</Script>
50+
</ScriptMethod>
51+
</Members>
52+
</Type>
53+
</Types>

0 commit comments

Comments
 (0)