|
| 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.Gallery.Admin.Models.GalleryItemPropertiesIconFileUris</Name> |
| 22 | + <Members> |
| 23 | + <ScriptMethod> |
| 24 | + <Name>ToString</Name> |
| 25 | + <Script> |
| 26 | + $this | % { |
| 27 | + if ($null -ne $_.Small) { $_.Small + "`n" } |
| 28 | + if ($null -ne $_.Medium) { $_.Medium + "`n" } |
| 29 | + if ($null -ne $_.Large) { $_.Large + "`n" } |
| 30 | + if ($null -ne $_.Wide) { $_.Wide + "`n" } |
| 31 | + if ($null -ne $_.Hero) { $_.Hero + "`n" } |
| 32 | + } |
| 33 | + </Script> |
| 34 | + </ScriptMethod> |
| 35 | + </Members> |
| 36 | + </Type> |
| 37 | + <Type> |
| 38 | + <Name>Microsoft.AzureStack.Management.Gallery.Admin.Models.OpenProperty</Name> |
| 39 | + <Members> |
| 40 | + <ScriptMethod> |
| 41 | + <Name>ToString</Name> |
| 42 | + <Script> |
| 43 | + $result = "" |
| 44 | + if($this.Properties.Keys -ne $null) { |
| 45 | + $result += "Keys=$($this.Properties.Keys) " |
| 46 | + } |
| 47 | + if($this.Properties.Values -ne $null) { |
| 48 | + $result += "Values=$($this.Properties.Values)" |
| 49 | + } |
| 50 | + |
| 51 | + $result -replace " $","" |
| 52 | + </Script> |
| 53 | + </ScriptMethod> |
| 54 | + </Members> |
| 55 | + </Type> |
| 56 | + <Type> |
| 57 | + <Name>Microsoft.AzureStack.Management.Gallery.Admin.Models.ImageGroup</Name> |
| 58 | + <Members> |
| 59 | + <ScriptMethod> |
| 60 | + <Name>ToString</Name> |
| 61 | + <Script> |
| 62 | + $result = "" |
| 63 | + if($this.Context -ne $null) { |
| 64 | + $result += "Context=$($this.Context) " |
| 65 | + } |
| 66 | + if($this.Items -ne $null) { |
| 67 | + $result += "Items=$($this.Items)" |
| 68 | + } |
| 69 | + |
| 70 | + $result -replace " $","" |
| 71 | + </Script> |
| 72 | + </ScriptMethod> |
| 73 | + </Members> |
| 74 | + </Type> |
| 75 | + <Type> |
| 76 | + <Name>Microsoft.AzureStack.Management.Gallery.Admin.Models.DefinitionTemplates</Name> |
| 77 | + <Members> |
| 78 | + <ScriptMethod> |
| 79 | + <Name>ToString</Name> |
| 80 | + <Script> |
| 81 | + $result = "" |
| 82 | + if($this.DefaultDeploymentTemplateId -ne $null) { |
| 83 | + $result += "DefaultDeploymentTemplateId=$($this.DefaultDeploymentTemplateId) `n" |
| 84 | + } |
| 85 | + if($this.DeploymentFragmentFileUris -ne $null) { |
| 86 | + $result += "DeploymentFragmentFileUris=$($this.DeploymentFragmentFileUris.Values) `n" |
| 87 | + } |
| 88 | + if($this.DeploymentTemplateFileUris -ne $null) { |
| 89 | + $result += "DeploymentTemplateFileUris=$($this.DeploymentTemplateFileUris.Values) `n" |
| 90 | + } |
| 91 | + if($this.UiDefinitionFileUri -ne $null) { |
| 92 | + $result += "UiDefinitionFileUri=$($this.UiDefinitionFileUri) `n" |
| 93 | + } |
| 94 | + |
| 95 | + $result -replace " $","" |
| 96 | + </Script> |
| 97 | + </ScriptMethod> |
| 98 | + </Members> |
| 99 | + </Type> |
| 100 | +</Types> |
0 commit comments