Skip to content

Commit f370d01

Browse files
authored
Merge pull request #14678 from Azure/internal/release
[Do not squash] [CloudService] Second preview release for CloudService (#14653)
2 parents f77db5b + 5e6d34b commit f370d01

File tree

362 files changed

+14321
-5828
lines changed

Some content is hidden

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

362 files changed

+14321
-5828
lines changed

src/CloudService/Az.CloudService.format.ps1xml

Lines changed: 330 additions & 62 deletions
Large diffs are not rendered by default.

src/CloudService/Az.CloudService.psd1

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2021-03-02
6+
# Generated on: 2021-03-30
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = './Az.CloudService.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.1.0'
15+
ModuleVersion = '0.2.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -70,8 +70,8 @@ FormatsToProcess = './Az.CloudService.format.ps1xml'
7070

7171
# 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.
7272
FunctionsToExport = 'Get-AzCloudService', 'Get-AzCloudServiceInstanceView',
73-
'Get-AzCloudServiceNetworkInterfaces',
74-
'Get-AzCloudServicePublicIPAddress',
73+
'Get-AzCloudServiceNetworkInterfaces', 'Get-AzCloudServiceOSFamily',
74+
'Get-AzCloudServiceOSVersion', 'Get-AzCloudServicePublicIPAddress',
7575
'Get-AzCloudServiceRoleInstance',
7676
'Get-AzCloudServiceRoleInstanceRemoteDesktopFile',
7777
'Get-AzCloudServiceRoleInstanceView',
@@ -127,7 +127,8 @@ PrivateData = @{
127127
# IconUri = ''
128128

129129
# ReleaseNotes of this module
130-
# ReleaseNotes = ''
130+
ReleaseNotes = '* Bumped API version to stable 2021-03-01
131+
* Supported OSFamily and OSVersion'
131132

132133
# Prerelease string of this module
133134
# Prerelease = ''

src/CloudService/Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
-->
2020
## Upcoming Release
2121

22+
## Version 0.2.0
23+
* Bumped API version to stable 2021-03-01
24+
* Supported OSFamily and OSVersion
25+
2226
## Version 0.1.0
2327
* First preview release for module Az.CloudService
2428

src/CloudService/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
[assembly: ComVisible(false)]
2525
[assembly: CLSCompliant(false)]
2626
[assembly: Guid("1fe4b4c7-44d2-4800-a935-733381e663ae")]
27-
[assembly: AssemblyVersion("0.1.0")]
28-
[assembly: AssemblyFileVersion("0.1.0")]
27+
[assembly: AssemblyVersion("0.2.0")]
28+
[assembly: AssemblyFileVersion("0.2.0")]

src/CloudService/custom/Get-AzCloudServiceNetworkInterface.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function Get-AzCloudServiceNetworkInterfaces {
4444
[string] $RoleInstanceName,
4545

4646
[Parameter(Mandatory=$true, ParameterSetName="CloudService", HelpMessage="CloudService instance.")]
47-
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService] $CloudService
47+
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService] $CloudService
4848
)
4949
process {
5050
$ApiVersion = "2020-06-01"

src/CloudService/custom/Get-AzCloudServicePublicIPAddress.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function Get-AzCloudServicePublicIPAddress {
3838
[string] $CloudServiceName,
3939

4040
[Parameter(Mandatory=$true, ParameterSetName="CloudService", HelpMessage="CloudService instance.")]
41-
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService] $CloudService
41+
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService] $CloudService
4242
)
4343
process {
4444
$ApiVersion = "2020-06-01"

src/CloudService/custom/New-AzCloudServiceDiagnosticsExtension.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ Create a in-memory object for Diagnostics Extension
1919
Create a in-memory object for Diagnostics Extension
2020
2121
.Outputs
22-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
22+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
23+
.Link
24+
https://docs.microsoft.com/powershell/module/az.CloudService/New-AzCloudServiceDiagnosticsExtension
2325
#>
2426

2527
function New-AzCloudServiceDiagnosticsExtension {
26-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension')]
2729
param(
2830
[Parameter(HelpMessage="Name of Diagnostics Extension.", Mandatory)]
2931
[string] $Name,

src/CloudService/custom/New-AzCloudServiceExtensionObject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Create a in-memory object for Extension
2020
Create a in-memory object for Extension
2121
2222
.Outputs
23-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
23+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
2424
.Link
2525
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceExtensionObject
2626
#>
2727
function New-AzCloudServiceExtensionObject {
28-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension')]
2929
[CmdletBinding(PositionalBinding=$false)]
3030
Param(
3131

@@ -56,7 +56,7 @@ function New-AzCloudServiceExtensionObject {
5656
)
5757

5858
process {
59-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension]::New()
59+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension]::New()
6060

6161
$Object.AutoUpgradeMinorVersion = $AutoUpgradeMinorVersion
6262
$Object.Name = $Name

src/CloudService/custom/New-AzCloudServiceLoadBalancerConfigurationObject.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ Create a in-memory object for LoadBalancerConfiguration
2020
Create a in-memory object for LoadBalancerConfiguration
2121
2222
.Outputs
23-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration
23+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration
2424
.Link
2525
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceLoadBalancerConfigurationObject
2626
#>
2727
function New-AzCloudServiceLoadBalancerConfigurationObject {
28-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration')]
2929
[CmdletBinding(PositionalBinding=$false)]
3030
Param(
3131

3232
[Parameter(HelpMessage="FrontendIPConfiguration.")]
33-
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ILoadBalancerFrontendIPConfiguration[]]
33+
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ILoadBalancerFrontendIPConfiguration[]]
3434
$FrontendIPConfiguration,
3535
[Parameter(HelpMessage="Name of LoadBalancerConfiguration.")]
3636
[string]
3737
$Name
3838
)
3939

4040
process {
41-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration]::New()
41+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration]::New()
4242

4343
$Object.FrontendIPConfiguration = $FrontendIPConfiguration
4444
$Object.Name = $Name

src/CloudService/custom/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Create a in-memory object for LoadBalancerFrontendIPConfiguration
2020
Create a in-memory object for LoadBalancerFrontendIPConfiguration
2121
2222
.Outputs
23-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration
23+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration
2424
.Link
2525
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceLoadBalancerFrontendIPConfigurationObject
2626
#>
2727
function New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject {
28-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration')]
2929
[CmdletBinding(PositionalBinding=$false)]
3030
Param(
3131

@@ -38,7 +38,7 @@ function New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject {
3838
)
3939

4040
process {
41-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration]::New()
41+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration]::New()
4242

4343
$Object.Name = $Name
4444
$Object.PublicIPAddressId = $PublicIPAddressId

src/CloudService/custom/New-AzCloudServiceRemoteDesktopExtensionObject.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@
1717
Create a in-memory object for Remote Desktop Extension
1818
.Description
1919
Create a in-memory object for Remote Desktop Extension
20+
21+
.Outputs
22+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
23+
.Link
24+
https://docs.microsoft.com/powershell/module/az.CloudService/New-AzCloudServiceRemoteDesktopExtensionObject
2025
#>
2126

2227
function New-AzCloudServiceRemoteDesktopExtensionObject {
23-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension')]
2429
param(
2530
[Parameter(HelpMessage="Name of Remote Desktop Extension.", Mandatory)]
2631
[string] $Name,

src/CloudService/custom/New-AzCloudServiceRoleProfilePropertiesObject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Create a in-memory object for CloudServiceRoleProfileProperties
2020
Create a in-memory object for CloudServiceRoleProfileProperties
2121
2222
.Outputs
23-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties
23+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties
2424
.Link
2525
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceRoleProfilePropertiesObject
2626
#>
2727
function New-AzCloudServiceRoleProfilePropertiesObject {
28-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties')]
2929
[CmdletBinding(PositionalBinding=$false)]
3030
Param(
3131

@@ -44,7 +44,7 @@ function New-AzCloudServiceRoleProfilePropertiesObject {
4444
)
4545

4646
process {
47-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties]::New()
47+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties]::New()
4848

4949
$Object.Name = $Name
5050
$Object.SkuCapacity = $SkuCapacity

src/CloudService/custom/New-AzCloudServiceVaultSecretGroupObject.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Create a in-memory object for Vault Secret Group
1919
Create a in-memory object for Secret Group
2020
2121
.Outputs
22-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup
22+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup
2323
.Link
2424
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceVaultSecretGroupObject
2525
#>
2626

2727
function New-AzCloudServiceVaultSecretGroupObject {
28-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup')]
28+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup')]
2929
[CmdletBinding(PositionalBinding=$false)]
3030
Param(
3131
[Parameter(HelpMessage="Key Vault Resource Id.")]
@@ -41,12 +41,12 @@ function New-AzCloudServiceVaultSecretGroupObject {
4141
$certificateUrls = @()
4242
ForEach ($url in $CertificateUrl)
4343
{
44-
$cloudServiceVaultCertificate = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultCertificate]::New()
44+
$cloudServiceVaultCertificate = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultCertificate]::New()
4545
$cloudServiceVaultCertificate.CertificateUrl = $url
4646
$certificateUrls = $certificateUrls + $cloudServiceVaultCertificate
4747
}
4848

49-
$cloudServiceVaultSecretGroup = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup]::New()
49+
$cloudServiceVaultSecretGroup = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup]::New()
5050
$cloudServiceVaultSecretGroup.SourceVaultId = $Id
5151
$cloudServiceVaultSecretGroup.VaultCertificate = $certificateUrls
5252

src/CloudService/custom/Serialization/CloudService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
77
{
88
public partial class CloudService
99
{

src/CloudService/custom/Serialization/CloudServiceTags.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
77
{
88
public partial class CloudServiceTags
99
{

src/CloudService/custom/Serialization/CloudServiceVaultCertificate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
77
{
88
public partial class CloudServiceVaultCertificate
99
{

src/CloudService/custom/Serialization/ResourceInstanceViewStatus.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
77
{
88
public partial class ResourceInstanceViewStatus
99
{

src/CloudService/custom/Serialization/RoleInstanceTags.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
77
{
88
public partial class RoleInstanceTags
99
{

src/CloudService/custom/Serialization/StatusCodeCount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
77
{
88
public partial class StatusCodeCount
99
{

src/CloudService/custom/Switch-AzCloudService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function Switch-AzCloudService {
3939

4040
[Parameter(Mandatory=$true, ParameterSetName="CloudService")]
4141
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
42-
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService]
42+
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService]
4343
${CloudService},
4444

4545
[Parameter(Mandatory=$true, ParameterSetName="CloudServiceName")]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### Example 1: Get all OS families in a location
2+
```powershell
3+
PS C:\> Get-AzCloudServiceOSFamily -location 'westus2'
4+
5+
Name Label
6+
---- -----
7+
5 Windows Server 2016
8+
4 Windows Server 2012 R2
9+
6 Windows Server 2019
10+
3 Windows Server 2012
11+
2 Windows Server 2008 R2
12+
```
13+
14+
This command gets all OS families in location westus2
15+
16+
### Example 2: Get OS family
17+
```powershell
18+
PS C:\> Get-AzCloudServiceOSFamily -location 'westus2' -OSFamilyName 5
19+
20+
Name Label
21+
---- -----
22+
5 Windows Server 2016
23+
```
24+
25+
This command gets OS family named 5 that is located in westus2.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### Example 1: Get all OS versions in a location
2+
```powershell
3+
PS C:\> Get-AzCloudServiceOSVersion -location 'westus2'
4+
5+
Name Label IsDefault IsActive Family FamilyLabel
6+
---- ----- --------- -------- ------ -----------
7+
WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
8+
WA-GUEST-OS-3.21_201411-01 Windows Azure Guest OS 3.21 (Release 201411-01) False False 3 Windows Server 2012
9+
WA-GUEST-OS-3.34_201512-01 Windows Azure Guest OS 3.34 (Release 201512-01) False False 3 Windows Server 2012
10+
WA-GUEST-OS-3.26_201504-01 Windows Azure Guest OS 3.26 (Release 201504-01) False False 3 Windows Server 2012
11+
WA-GUEST-OS-2.46_201512-01 Windows Azure Guest OS 2.46 (Release 201512-01) False False 2 Windows Server 2008 R2
12+
```
13+
14+
This command gets all OS versions in location westus2
15+
16+
### Example 2: Get OS version
17+
```powershell
18+
PS C:\> Get-AzCloudServiceOSVersion -location 'westus2' -OSVersionName 'WA-GUEST-OS-6.7_201905-01'
19+
20+
Name Label IsDefault IsActive Family FamilyLabel
21+
---- ----- --------- -------- ------ -----------
22+
WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
23+
```
24+
25+
This command gets OS version named WA-GUEST-OS-6.7_201905-01 that is located in westus2.

src/CloudService/exports/Get-AzCloudService.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ UpgradeMode : Auto
5858
.Inputs
5959
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
6060
.Outputs
61-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService
61+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService
6262
.Notes
6363
COMPLEX PARAMETER PROPERTIES
6464
@@ -67,6 +67,9 @@ To create the parameters described below, construct a hash table containing the
6767
INPUTOBJECT <ICloudServiceIdentity>: Identity Parameter
6868
[CloudServiceName <String>]:
6969
[Id <String>]: Resource identity path
70+
[Location <String>]: Name of the location that the OS version pertains to.
71+
[OSFamilyName <String>]: Name of the OS family.
72+
[OSVersionName <String>]: Name of the OS version.
7073
[ResourceGroupName <String>]:
7174
[RoleInstanceName <String>]: Name of the role instance.
7275
[RoleName <String>]: Name of the role.
@@ -76,7 +79,7 @@ INPUTOBJECT <ICloudServiceIdentity>: Identity Parameter
7679
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudservice
7780
#>
7881
function Get-AzCloudService {
79-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService])]
82+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService])]
8083
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
8184
param(
8285
[Parameter(ParameterSetName='Get', Mandatory)]

src/CloudService/exports/Get-AzCloudServiceInstanceView.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ PS C:\>$cloudServiceInstanceView.ToJsonString()
6767
}
6868
6969
.Outputs
70-
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceInstanceView
70+
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceInstanceView
7171
.Link
7272
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceinstanceview
7373
#>
7474
function Get-AzCloudServiceInstanceView {
75-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceInstanceView])]
75+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceInstanceView])]
7676
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
7777
param(
7878
[Parameter(Mandatory)]

0 commit comments

Comments
 (0)