diff --git a/src/CloudService/Az.CloudService.format.ps1xml b/src/CloudService/Az.CloudService.format.ps1xml
index 388b41a0ac03..b802a5e00071 100644
--- a/src/CloudService/Az.CloudService.format.ps1xml
+++ b/src/CloudService/Az.CloudService.format.ps1xml
@@ -11,6 +11,15 @@
+
+
+
+
+
+
+
+
+
@@ -33,6 +42,15 @@
CloudServiceName
+
+ Location
+
+
+ OSFamilyName
+
+
+ OSVersionName
+ ResourceGroupName
@@ -54,9 +72,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService
@@ -94,9 +112,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceTags
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceTags
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceTags
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceTags
@@ -116,9 +134,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultCertificate
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultCertificate
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultCertificate
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultCertificate
@@ -138,9 +156,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ResourceInstanceViewStatus
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ResourceInstanceViewStatus
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ResourceInstanceViewStatus
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ResourceInstanceViewStatus
@@ -184,9 +202,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstanceTags
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstanceTags
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstanceTags
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstanceTags
@@ -206,9 +224,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.StatusCodeCount
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.StatusCodeCount
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.StatusCodeCount
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.StatusCodeCount
@@ -234,9 +252,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ApiError
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ApiError
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ApiError
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ApiError
@@ -268,9 +286,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ApiErrorBase
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ApiErrorBase
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ApiErrorBase
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ApiErrorBase
@@ -302,9 +320,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceExtensionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceExtensionProperties
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceExtensionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceExtensionProperties
@@ -372,9 +390,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceInstanceView
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceInstanceView
@@ -400,9 +418,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceListResult
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceListResult
@@ -422,12 +440,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceProperties
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceProperties
+
+
+
@@ -453,6 +474,9 @@
+
+ AllowModelOverride
+ Configuration
@@ -480,9 +504,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRole
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRole
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRole
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRole
@@ -514,9 +538,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleListResult
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleListResult
@@ -536,9 +560,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties
@@ -576,9 +600,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProperties
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProperties
@@ -598,9 +622,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleSku
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleSku
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleSku
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleSku
@@ -632,9 +656,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceUpdateTags
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceUpdateTags
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceUpdateTags
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceUpdateTags
@@ -654,9 +678,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultAndSecretReference
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultAndSecretReference
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultAndSecretReference
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultAndSecretReference
@@ -676,9 +700,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
@@ -722,9 +746,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.InnerError
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.InnerError
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.InnerError
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.InnerError
@@ -750,9 +774,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.InstanceSku
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.InstanceSku
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.InstanceSku
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.InstanceSku
@@ -778,9 +802,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration
@@ -806,9 +830,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration
@@ -828,9 +852,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfigurationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfigurationProperties
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfigurationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfigurationProperties
@@ -850,9 +874,253 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstance
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSFamily
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSFamily
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Label
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSFamilyListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSFamilyListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSFamilyProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSFamilyProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Label
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersion
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersion
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Label
+
+
+ IsDefault
+
+
+ IsActive
+
+
+ Family
+
+
+ FamilyLabel
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersionListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersionListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersionProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Family
+
+
+ FamilyLabel
+
+
+ IsActive
+
+
+ IsDefault
+
+
+ Label
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersionPropertiesBase
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.OSVersionPropertiesBase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IsActive
+
+
+ IsDefault
+
+
+ Label
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstance
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstance
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstance
@@ -890,9 +1158,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstanceListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstanceListResult
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstanceListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstanceListResult
@@ -912,9 +1180,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstances
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstances
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstances
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstances
@@ -934,9 +1202,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstanceView
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.RoleInstanceView
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RoleInstanceView
@@ -968,9 +1236,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.UpdateDomain
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.UpdateDomain
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.UpdateDomain
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.UpdateDomain
@@ -990,9 +1258,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.UpdateDomainListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.UpdateDomainListResult
- Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.UpdateDomainListResult
+ Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.UpdateDomainListResult
diff --git a/src/CloudService/Az.CloudService.psd1 b/src/CloudService/Az.CloudService.psd1
index 93846506058d..3d4f18d8e5ee 100644
--- a/src/CloudService/Az.CloudService.psd1
+++ b/src/CloudService/Az.CloudService.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 2021-03-02
+# Generated on: 2021-03-30
#
@{
@@ -12,7 +12,7 @@
RootModule = './Az.CloudService.psm1'
# Version number of this module.
-ModuleVersion = '0.1.0'
+ModuleVersion = '0.2.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -70,8 +70,8 @@ FormatsToProcess = './Az.CloudService.format.ps1xml'
# 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.
FunctionsToExport = 'Get-AzCloudService', 'Get-AzCloudServiceInstanceView',
- 'Get-AzCloudServiceNetworkInterfaces',
- 'Get-AzCloudServicePublicIPAddress',
+ 'Get-AzCloudServiceNetworkInterfaces', 'Get-AzCloudServiceOSFamily',
+ 'Get-AzCloudServiceOSVersion', 'Get-AzCloudServicePublicIPAddress',
'Get-AzCloudServiceRoleInstance',
'Get-AzCloudServiceRoleInstanceRemoteDesktopFile',
'Get-AzCloudServiceRoleInstanceView',
@@ -127,7 +127,8 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- # ReleaseNotes = ''
+ ReleaseNotes = '* Bumped API version to stable 2021-03-01
+ * Supported OSFamily and OSVersion'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/CloudService/Changelog.md b/src/CloudService/Changelog.md
index d8b33fa77979..fd667da2dce8 100644
--- a/src/CloudService/Changelog.md
+++ b/src/CloudService/Changelog.md
@@ -19,6 +19,10 @@
-->
## Upcoming Release
+## Version 0.2.0
+* Bumped API version to stable 2021-03-01
+* Supported OSFamily and OSVersion
+
## Version 0.1.0
* First preview release for module Az.CloudService
diff --git a/src/CloudService/Properties/AssemblyInfo.cs b/src/CloudService/Properties/AssemblyInfo.cs
index 3264b6b31b59..9ae2aeda4a93 100644
--- a/src/CloudService/Properties/AssemblyInfo.cs
+++ b/src/CloudService/Properties/AssemblyInfo.cs
@@ -24,5 +24,5 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("1fe4b4c7-44d2-4800-a935-733381e663ae")]
-[assembly: AssemblyVersion("0.1.0")]
-[assembly: AssemblyFileVersion("0.1.0")]
+[assembly: AssemblyVersion("0.2.0")]
+[assembly: AssemblyFileVersion("0.2.0")]
diff --git a/src/CloudService/custom/Get-AzCloudServiceNetworkInterface.ps1 b/src/CloudService/custom/Get-AzCloudServiceNetworkInterface.ps1
index 9ff1d5179499..639aa088ca23 100644
--- a/src/CloudService/custom/Get-AzCloudServiceNetworkInterface.ps1
+++ b/src/CloudService/custom/Get-AzCloudServiceNetworkInterface.ps1
@@ -44,7 +44,7 @@ function Get-AzCloudServiceNetworkInterfaces {
[string] $RoleInstanceName,
[Parameter(Mandatory=$true, ParameterSetName="CloudService", HelpMessage="CloudService instance.")]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService] $CloudService
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService] $CloudService
)
process {
$ApiVersion = "2020-06-01"
diff --git a/src/CloudService/custom/Get-AzCloudServicePublicIPAddress.ps1 b/src/CloudService/custom/Get-AzCloudServicePublicIPAddress.ps1
index e0bf42990c10..6cf76b784e4b 100644
--- a/src/CloudService/custom/Get-AzCloudServicePublicIPAddress.ps1
+++ b/src/CloudService/custom/Get-AzCloudServicePublicIPAddress.ps1
@@ -38,7 +38,7 @@ function Get-AzCloudServicePublicIPAddress {
[string] $CloudServiceName,
[Parameter(Mandatory=$true, ParameterSetName="CloudService", HelpMessage="CloudService instance.")]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService] $CloudService
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService] $CloudService
)
process {
$ApiVersion = "2020-06-01"
diff --git a/src/CloudService/custom/New-AzCloudServiceDiagnosticsExtension.ps1 b/src/CloudService/custom/New-AzCloudServiceDiagnosticsExtension.ps1
index 870ad039da73..552fff5f63f6 100644
--- a/src/CloudService/custom/New-AzCloudServiceDiagnosticsExtension.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceDiagnosticsExtension.ps1
@@ -19,11 +19,13 @@ Create a in-memory object for Diagnostics Extension
Create a in-memory object for Diagnostics Extension
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
+.Link
+https://docs.microsoft.com/powershell/module/az.CloudService/New-AzCloudServiceDiagnosticsExtension
#>
function New-AzCloudServiceDiagnosticsExtension {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension')]
param(
[Parameter(HelpMessage="Name of Diagnostics Extension.", Mandatory)]
[string] $Name,
diff --git a/src/CloudService/custom/New-AzCloudServiceExtensionObject.ps1 b/src/CloudService/custom/New-AzCloudServiceExtensionObject.ps1
index 7440e112eabb..db7fc1d24486 100644
--- a/src/CloudService/custom/New-AzCloudServiceExtensionObject.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceExtensionObject.ps1
@@ -20,12 +20,12 @@ Create a in-memory object for Extension
Create a in-memory object for Extension
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceExtensionObject
#>
function New-AzCloudServiceExtensionObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -56,7 +56,7 @@ function New-AzCloudServiceExtensionObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension]::New()
$Object.AutoUpgradeMinorVersion = $AutoUpgradeMinorVersion
$Object.Name = $Name
diff --git a/src/CloudService/custom/New-AzCloudServiceLoadBalancerConfigurationObject.ps1 b/src/CloudService/custom/New-AzCloudServiceLoadBalancerConfigurationObject.ps1
index d6921be9ab86..ac7a801b6bc1 100644
--- a/src/CloudService/custom/New-AzCloudServiceLoadBalancerConfigurationObject.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceLoadBalancerConfigurationObject.ps1
@@ -20,17 +20,17 @@ Create a in-memory object for LoadBalancerConfiguration
Create a in-memory object for LoadBalancerConfiguration
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceLoadBalancerConfigurationObject
#>
function New-AzCloudServiceLoadBalancerConfigurationObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="FrontendIPConfiguration.")]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ILoadBalancerFrontendIPConfiguration[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ILoadBalancerFrontendIPConfiguration[]]
$FrontendIPConfiguration,
[Parameter(HelpMessage="Name of LoadBalancerConfiguration.")]
[string]
@@ -38,7 +38,7 @@ function New-AzCloudServiceLoadBalancerConfigurationObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration]::New()
$Object.FrontendIPConfiguration = $FrontendIPConfiguration
$Object.Name = $Name
diff --git a/src/CloudService/custom/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1 b/src/CloudService/custom/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1
index 1f1db847f60f..31976a395c56 100644
--- a/src/CloudService/custom/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1
@@ -20,12 +20,12 @@ Create a in-memory object for LoadBalancerFrontendIPConfiguration
Create a in-memory object for LoadBalancerFrontendIPConfiguration
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceLoadBalancerFrontendIPConfigurationObject
#>
function New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -38,7 +38,7 @@ function New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration]::New()
$Object.Name = $Name
$Object.PublicIPAddressId = $PublicIPAddressId
diff --git a/src/CloudService/custom/New-AzCloudServiceRemoteDesktopExtensionObject.ps1 b/src/CloudService/custom/New-AzCloudServiceRemoteDesktopExtensionObject.ps1
index 92e1915fed54..94ce2a09a18a 100644
--- a/src/CloudService/custom/New-AzCloudServiceRemoteDesktopExtensionObject.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceRemoteDesktopExtensionObject.ps1
@@ -17,10 +17,15 @@
Create a in-memory object for Remote Desktop Extension
.Description
Create a in-memory object for Remote Desktop Extension
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
+.Link
+https://docs.microsoft.com/powershell/module/az.CloudService/New-AzCloudServiceRemoteDesktopExtensionObject
#>
function New-AzCloudServiceRemoteDesktopExtensionObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension')]
param(
[Parameter(HelpMessage="Name of Remote Desktop Extension.", Mandatory)]
[string] $Name,
diff --git a/src/CloudService/custom/New-AzCloudServiceRoleProfilePropertiesObject.ps1 b/src/CloudService/custom/New-AzCloudServiceRoleProfilePropertiesObject.ps1
index 9e6e47c4f00d..ffd5e2966fc3 100644
--- a/src/CloudService/custom/New-AzCloudServiceRoleProfilePropertiesObject.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceRoleProfilePropertiesObject.ps1
@@ -20,12 +20,12 @@ Create a in-memory object for CloudServiceRoleProfileProperties
Create a in-memory object for CloudServiceRoleProfileProperties
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceRoleProfilePropertiesObject
#>
function New-AzCloudServiceRoleProfilePropertiesObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -44,7 +44,7 @@ function New-AzCloudServiceRoleProfilePropertiesObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties]::New()
$Object.Name = $Name
$Object.SkuCapacity = $SkuCapacity
diff --git a/src/CloudService/custom/New-AzCloudServiceVaultSecretGroupObject.ps1 b/src/CloudService/custom/New-AzCloudServiceVaultSecretGroupObject.ps1
index 0700742482d3..7aeacaafe8a0 100644
--- a/src/CloudService/custom/New-AzCloudServiceVaultSecretGroupObject.ps1
+++ b/src/CloudService/custom/New-AzCloudServiceVaultSecretGroupObject.ps1
@@ -19,13 +19,13 @@ Create a in-memory object for Vault Secret Group
Create a in-memory object for Secret Group
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceVaultSecretGroupObject
#>
function New-AzCloudServiceVaultSecretGroupObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup')]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="Key Vault Resource Id.")]
@@ -41,12 +41,12 @@ function New-AzCloudServiceVaultSecretGroupObject {
$certificateUrls = @()
ForEach ($url in $CertificateUrl)
{
- $cloudServiceVaultCertificate = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultCertificate]::New()
+ $cloudServiceVaultCertificate = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultCertificate]::New()
$cloudServiceVaultCertificate.CertificateUrl = $url
$certificateUrls = $certificateUrls + $cloudServiceVaultCertificate
}
- $cloudServiceVaultSecretGroup = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup]::New()
+ $cloudServiceVaultSecretGroup = [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup]::New()
$cloudServiceVaultSecretGroup.SourceVaultId = $Id
$cloudServiceVaultSecretGroup.VaultCertificate = $certificateUrls
diff --git a/src/CloudService/custom/Serialization/CloudService.cs b/src/CloudService/custom/Serialization/CloudService.cs
index 4cc1936adaa7..472242bf6f8b 100644
--- a/src/CloudService/custom/Serialization/CloudService.cs
+++ b/src/CloudService/custom/Serialization/CloudService.cs
@@ -3,7 +3,7 @@
using System.Text;
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
-namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
{
public partial class CloudService
{
diff --git a/src/CloudService/custom/Serialization/CloudServiceTags.cs b/src/CloudService/custom/Serialization/CloudServiceTags.cs
index 15db3d2243a9..dac635f1f567 100644
--- a/src/CloudService/custom/Serialization/CloudServiceTags.cs
+++ b/src/CloudService/custom/Serialization/CloudServiceTags.cs
@@ -3,7 +3,7 @@
using System.Text;
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
-namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
{
public partial class CloudServiceTags
{
diff --git a/src/CloudService/custom/Serialization/CloudServiceVaultCertificate.cs b/src/CloudService/custom/Serialization/CloudServiceVaultCertificate.cs
index b78f1bf8e2a0..6d4b473cf830 100644
--- a/src/CloudService/custom/Serialization/CloudServiceVaultCertificate.cs
+++ b/src/CloudService/custom/Serialization/CloudServiceVaultCertificate.cs
@@ -3,7 +3,7 @@
using System.Text;
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
-namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
{
public partial class CloudServiceVaultCertificate
{
diff --git a/src/CloudService/custom/Serialization/ResourceInstanceViewStatus.cs b/src/CloudService/custom/Serialization/ResourceInstanceViewStatus.cs
index cb142c0a1f58..f60bf2d62a65 100644
--- a/src/CloudService/custom/Serialization/ResourceInstanceViewStatus.cs
+++ b/src/CloudService/custom/Serialization/ResourceInstanceViewStatus.cs
@@ -3,7 +3,7 @@
using System.Text;
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
-namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
{
public partial class ResourceInstanceViewStatus
{
diff --git a/src/CloudService/custom/Serialization/RoleInstanceTags.cs b/src/CloudService/custom/Serialization/RoleInstanceTags.cs
index 5586d44f530c..6200353ad038 100644
--- a/src/CloudService/custom/Serialization/RoleInstanceTags.cs
+++ b/src/CloudService/custom/Serialization/RoleInstanceTags.cs
@@ -3,7 +3,7 @@
using System.Text;
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
-namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
{
public partial class RoleInstanceTags
{
diff --git a/src/CloudService/custom/Serialization/StatusCodeCount.cs b/src/CloudService/custom/Serialization/StatusCodeCount.cs
index 0b55b653cc46..4c83a51361af 100644
--- a/src/CloudService/custom/Serialization/StatusCodeCount.cs
+++ b/src/CloudService/custom/Serialization/StatusCodeCount.cs
@@ -3,7 +3,7 @@
using System.Text;
using Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Json;
-namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview
+namespace Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301
{
public partial class StatusCodeCount
{
diff --git a/src/CloudService/custom/Switch-AzCloudService.ps1 b/src/CloudService/custom/Switch-AzCloudService.ps1
index 841cc6b6e4b8..9f263e0760f4 100644
--- a/src/CloudService/custom/Switch-AzCloudService.ps1
+++ b/src/CloudService/custom/Switch-AzCloudService.ps1
@@ -39,7 +39,7 @@ function Switch-AzCloudService {
[Parameter(Mandatory=$true, ParameterSetName="CloudService")]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService]
${CloudService},
[Parameter(Mandatory=$true, ParameterSetName="CloudServiceName")]
diff --git a/src/CloudService/examples/Get-AzCloudServiceOSFamily.md b/src/CloudService/examples/Get-AzCloudServiceOSFamily.md
new file mode 100644
index 000000000000..459d250136d3
--- /dev/null
+++ b/src/CloudService/examples/Get-AzCloudServiceOSFamily.md
@@ -0,0 +1,25 @@
+### Example 1: Get all OS families in a location
+```powershell
+PS C:\> Get-AzCloudServiceOSFamily -location 'westus2'
+
+Name Label
+---- -----
+5 Windows Server 2016
+4 Windows Server 2012 R2
+6 Windows Server 2019
+3 Windows Server 2012
+2 Windows Server 2008 R2
+```
+
+This command gets all OS families in location westus2
+
+### Example 2: Get OS family
+```powershell
+PS C:\> Get-AzCloudServiceOSFamily -location 'westus2' -OSFamilyName 5
+
+Name Label
+---- -----
+5 Windows Server 2016
+```
+
+This command gets OS family named 5 that is located in westus2.
diff --git a/src/CloudService/examples/Get-AzCloudServiceOSVersion.md b/src/CloudService/examples/Get-AzCloudServiceOSVersion.md
new file mode 100644
index 000000000000..52ade37f7d42
--- /dev/null
+++ b/src/CloudService/examples/Get-AzCloudServiceOSVersion.md
@@ -0,0 +1,25 @@
+### Example 1: Get all OS versions in a location
+```powershell
+PS C:\> Get-AzCloudServiceOSVersion -location 'westus2'
+
+Name Label IsDefault IsActive Family FamilyLabel
+---- ----- --------- -------- ------ -----------
+WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
+WA-GUEST-OS-3.21_201411-01 Windows Azure Guest OS 3.21 (Release 201411-01) False False 3 Windows Server 2012
+WA-GUEST-OS-3.34_201512-01 Windows Azure Guest OS 3.34 (Release 201512-01) False False 3 Windows Server 2012
+WA-GUEST-OS-3.26_201504-01 Windows Azure Guest OS 3.26 (Release 201504-01) False False 3 Windows Server 2012
+WA-GUEST-OS-2.46_201512-01 Windows Azure Guest OS 2.46 (Release 201512-01) False False 2 Windows Server 2008 R2
+```
+
+This command gets all OS versions in location westus2
+
+### Example 2: Get OS version
+```powershell
+PS C:\> Get-AzCloudServiceOSVersion -location 'westus2' -OSVersionName 'WA-GUEST-OS-6.7_201905-01'
+
+Name Label IsDefault IsActive Family FamilyLabel
+---- ----- --------- -------- ------ -----------
+WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
+```
+
+This command gets OS version named WA-GUEST-OS-6.7_201905-01 that is located in westus2.
diff --git a/src/CloudService/exports/Get-AzCloudService.ps1 b/src/CloudService/exports/Get-AzCloudService.ps1
index 29f8bb999cdb..75c5a60de178 100644
--- a/src/CloudService/exports/Get-AzCloudService.ps1
+++ b/src/CloudService/exports/Get-AzCloudService.ps1
@@ -58,7 +58,7 @@ UpgradeMode : Auto
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -67,6 +67,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -76,7 +79,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudservice
#>
function Get-AzCloudService {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/CloudService/exports/Get-AzCloudServiceInstanceView.ps1 b/src/CloudService/exports/Get-AzCloudServiceInstanceView.ps1
index 4602ea107095..3baa34d070e0 100644
--- a/src/CloudService/exports/Get-AzCloudServiceInstanceView.ps1
+++ b/src/CloudService/exports/Get-AzCloudServiceInstanceView.ps1
@@ -67,12 +67,12 @@ PS C:\>$cloudServiceInstanceView.ToJsonString()
}
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceInstanceView
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceInstanceView
.Link
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceinstanceview
#>
function Get-AzCloudServiceInstanceView {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceInstanceView])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceInstanceView])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/CloudService/exports/Get-AzCloudServiceNetworkInterfaces.ps1 b/src/CloudService/exports/Get-AzCloudServiceNetworkInterfaces.ps1
index c0e5dddaa626..3e2af9bb70c5 100644
--- a/src/CloudService/exports/Get-AzCloudServiceNetworkInterfaces.ps1
+++ b/src/CloudService/exports/Get-AzCloudServiceNetworkInterfaces.ps1
@@ -36,6 +36,7 @@ To create the parameters described below, construct a hash table containing the
CLOUDSERVICE : CloudService instance.
Location : Resource location.
+ [AllowModelOverride ]: (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is `false`.
[Configuration ]: Specifies the XML service configuration (.cscfg) for the cloud service.
[ConfigurationUrl ]: Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
[ExtensionProfile ]: Describes a cloud service extension profile.
@@ -52,14 +53,15 @@ CLOUDSERVICE : CloudService instance.
[Type ]: Specifies the type of the extension.
[TypeHandlerVersion ]: Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
[NetworkProfile ]: Network Profile for the cloud service.
- [LoadBalancerConfiguration ]: The list of load balancer configurations for the cloud service.
- [FrontendIPConfiguration ]: List of IP
- [Name ]:
- [PrivateIPAddress ]: The private IP address referenced by the cloud service.
+ [LoadBalancerConfiguration ]: List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
+ FrontendIPConfiguration : Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
+ Name : The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ [PrivateIPAddress ]: The virtual network private IP address of the IP configuration.
[PublicIPAddressId ]: Resource Id
[SubnetId ]: Resource Id
- [Name ]: Resource Name
- [SwappableCloudService ]:
+ Name : The name of the Load balancer
+ [Id ]: Resource Id
+ [SwappableCloudService ]: The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
[Id ]: Resource Id
[OSProfile ]: Describes the OS profile for the cloud service.
[Secret ]: Specifies set of certificates that should be installed onto the role instances.
@@ -92,7 +94,7 @@ param(
[Parameter(ParameterSetName='CloudService', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService]
# CloudService instance.
# To construct, see NOTES section for CLOUDSERVICE properties and create a hash table.
${CloudService},
diff --git a/src/CloudService/exports/Get-AzCloudServiceOSFamily.ps1 b/src/CloudService/exports/Get-AzCloudServiceOSFamily.ps1
new file mode 100644
index 000000000000..467e35c464ea
--- /dev/null
+++ b/src/CloudService/exports/Get-AzCloudServiceOSFamily.ps1
@@ -0,0 +1,181 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Description
+Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Example
+PS C:\> Get-AzCloudServiceOSFamily -location 'westus2'
+
+Name Label
+---- -----
+5 Windows Server 2016
+4 Windows Server 2012 R2
+6 Windows Server 2019
+3 Windows Server 2012
+2 Windows Server 2008 R2
+.Example
+PS C:\> Get-AzCloudServiceOSFamily -location 'westus2' -OSFamilyName 5
+
+Name Label
+---- -----
+5 Windows Server 2016
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSFamily
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [CloudServiceName ]:
+ [Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
+ [ResourceGroupName ]:
+ [RoleInstanceName ]: Name of the role instance.
+ [RoleName ]: Name of the role.
+ [SubscriptionId ]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ [UpdateDomain ]: Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.
+.Link
+https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceosfamily
+#>
+function Get-AzCloudServiceOSFamily {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSFamily])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the location that the OS family pertains to.
+ ${Location},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the OS family.
+ ${OSFamilyName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # Subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.CloudService.private\Get-AzCloudServiceOSFamily_Get';
+ GetViaIdentity = 'Az.CloudService.private\Get-AzCloudServiceOSFamily_GetViaIdentity';
+ List = 'Az.CloudService.private\Get-AzCloudServiceOSFamily_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/CloudService/exports/Get-AzCloudServiceOSVersion.ps1 b/src/CloudService/exports/Get-AzCloudServiceOSVersion.ps1
new file mode 100644
index 000000000000..cb8d6ca39105
--- /dev/null
+++ b/src/CloudService/exports/Get-AzCloudServiceOSVersion.ps1
@@ -0,0 +1,181 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Description
+Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Example
+PS C:\> Get-AzCloudServiceOSVersion -location 'westus2'
+
+Name Label IsDefault IsActive Family FamilyLabel
+---- ----- --------- -------- ------ -----------
+WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
+WA-GUEST-OS-3.21_201411-01 Windows Azure Guest OS 3.21 (Release 201411-01) False False 3 Windows Server 2012
+WA-GUEST-OS-3.34_201512-01 Windows Azure Guest OS 3.34 (Release 201512-01) False False 3 Windows Server 2012
+WA-GUEST-OS-3.26_201504-01 Windows Azure Guest OS 3.26 (Release 201504-01) False False 3 Windows Server 2012
+WA-GUEST-OS-2.46_201512-01 Windows Azure Guest OS 2.46 (Release 201512-01) False False 2 Windows Server 2008 R2
+.Example
+PS C:\> Get-AzCloudServiceOSVersion -location 'westus2' -OSVersionName 'WA-GUEST-OS-6.7_201905-01'
+
+Name Label IsDefault IsActive Family FamilyLabel
+---- ----- --------- -------- ------ -----------
+WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSVersion
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [CloudServiceName ]:
+ [Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
+ [ResourceGroupName ]:
+ [RoleInstanceName ]: Name of the role instance.
+ [RoleName ]: Name of the role.
+ [SubscriptionId ]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ [UpdateDomain ]: Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.
+.Link
+https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceosversion
+#>
+function Get-AzCloudServiceOSVersion {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSVersion])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the location that the OS version pertains to.
+ ${Location},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the OS version.
+ ${OSVersionName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # Subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.CloudService.private\Get-AzCloudServiceOSVersion_Get';
+ GetViaIdentity = 'Az.CloudService.private\Get-AzCloudServiceOSVersion_GetViaIdentity';
+ List = 'Az.CloudService.private\Get-AzCloudServiceOSVersion_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/CloudService/exports/Get-AzCloudServicePublicIPAddress.ps1 b/src/CloudService/exports/Get-AzCloudServicePublicIPAddress.ps1
index 4cfd0b7f2898..754c9a67d4c5 100644
--- a/src/CloudService/exports/Get-AzCloudServicePublicIPAddress.ps1
+++ b/src/CloudService/exports/Get-AzCloudServicePublicIPAddress.ps1
@@ -33,6 +33,7 @@ To create the parameters described below, construct a hash table containing the
CLOUDSERVICE : CloudService instance.
Location : Resource location.
+ [AllowModelOverride ]: (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is `false`.
[Configuration ]: Specifies the XML service configuration (.cscfg) for the cloud service.
[ConfigurationUrl ]: Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
[ExtensionProfile ]: Describes a cloud service extension profile.
@@ -49,14 +50,15 @@ CLOUDSERVICE : CloudService instance.
[Type ]: Specifies the type of the extension.
[TypeHandlerVersion ]: Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
[NetworkProfile ]: Network Profile for the cloud service.
- [LoadBalancerConfiguration ]: The list of load balancer configurations for the cloud service.
- [FrontendIPConfiguration ]: List of IP
- [Name ]:
- [PrivateIPAddress ]: The private IP address referenced by the cloud service.
+ [LoadBalancerConfiguration ]: List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
+ FrontendIPConfiguration : Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
+ Name : The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ [PrivateIPAddress ]: The virtual network private IP address of the IP configuration.
[PublicIPAddressId ]: Resource Id
[SubnetId ]: Resource Id
- [Name ]: Resource Name
- [SwappableCloudService ]:
+ Name : The name of the Load balancer
+ [Id ]: Resource Id
+ [SwappableCloudService ]: The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
[Id ]: Resource Id
[OSProfile ]: Describes the OS profile for the cloud service.
[Secret ]: Specifies set of certificates that should be installed onto the role instances.
@@ -101,7 +103,7 @@ param(
[Parameter(ParameterSetName='CloudService', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudService]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudService]
# CloudService instance.
# To construct, see NOTES section for CLOUDSERVICE properties and create a hash table.
${CloudService}
diff --git a/src/CloudService/exports/Get-AzCloudServiceRoleInstance.ps1 b/src/CloudService/exports/Get-AzCloudServiceRoleInstance.ps1
index 2300bc42ef15..91be5b59a98c 100644
--- a/src/CloudService/exports/Get-AzCloudServiceRoleInstance.ps1
+++ b/src/CloudService/exports/Get-AzCloudServiceRoleInstance.ps1
@@ -39,7 +39,7 @@ ContosoFrontEnd_IN_0 eastus2euap Standard_D1_v2 Standard
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstance
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstance
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -48,6 +48,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -57,7 +60,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceroleinstance
#>
function Get-AzCloudServiceRoleInstance {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstance])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstance])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/CloudService/exports/Get-AzCloudServiceRoleInstanceView.ps1 b/src/CloudService/exports/Get-AzCloudServiceRoleInstanceView.ps1
index d15cac342d6f..e3f55cc7127c 100644
--- a/src/CloudService/exports/Get-AzCloudServiceRoleInstanceView.ps1
+++ b/src/CloudService/exports/Get-AzCloudServiceRoleInstanceView.ps1
@@ -27,12 +27,12 @@ Statuses PlatformFaultDomain PlatformUpdateDomain
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstanceView
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstanceView
.Link
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceroleinstanceview
#>
function Get-AzCloudServiceRoleInstanceView {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstanceView])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstanceView])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/CloudService/exports/Invoke-AzCloudServiceRebuild.ps1 b/src/CloudService/exports/Invoke-AzCloudServiceRebuild.ps1
index 76b27684e677..4aa80423851c 100644
--- a/src/CloudService/exports/Invoke-AzCloudServiceRebuild.ps1
+++ b/src/CloudService/exports/Invoke-AzCloudServiceRebuild.ps1
@@ -38,6 +38,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
diff --git a/src/CloudService/exports/Invoke-AzCloudServiceReimage.ps1 b/src/CloudService/exports/Invoke-AzCloudServiceReimage.ps1
index 2b2d19353e89..b620b4c8b111 100644
--- a/src/CloudService/exports/Invoke-AzCloudServiceReimage.ps1
+++ b/src/CloudService/exports/Invoke-AzCloudServiceReimage.ps1
@@ -36,6 +36,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
diff --git a/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceRebuild.ps1 b/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceRebuild.ps1
index e75e3a17bf5a..560c9a6cc28b 100644
--- a/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceRebuild.ps1
+++ b/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceRebuild.ps1
@@ -35,6 +35,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
diff --git a/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceReimage.ps1 b/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceReimage.ps1
index 415c5c9ce652..b07d4fa14f88 100644
--- a/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceReimage.ps1
+++ b/src/CloudService/exports/Invoke-AzCloudServiceRoleInstanceReimage.ps1
@@ -33,6 +33,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
diff --git a/src/CloudService/exports/New-AzCloudService.ps1 b/src/CloudService/exports/New-AzCloudService.ps1
index b02a4f6142a7..70fe7e8b5f2c 100644
--- a/src/CloudService/exports/New-AzCloudService.ps1
+++ b/src/CloudService/exports/New-AzCloudService.ps1
@@ -151,7 +151,7 @@ $cloudService = New-AzCloudService
-Tag $tag
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -172,14 +172,15 @@ EXTENSIONPROFILE : Describes a cloud service exte
[TypeHandlerVersion ]: Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
NETWORKPROFILE : Network Profile for the cloud service.
- [LoadBalancerConfiguration ]: The list of load balancer configurations for the cloud service.
- [FrontendIPConfiguration ]: List of IP
- [Name ]:
- [PrivateIPAddress ]: The private IP address referenced by the cloud service.
+ [LoadBalancerConfiguration ]: List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
+ FrontendIPConfiguration : Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
+ Name : The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ [PrivateIPAddress ]: The virtual network private IP address of the IP configuration.
[PublicIPAddressId ]: Resource Id
[SubnetId ]: Resource Id
- [Name ]: Resource Name
- [SwappableCloudService ]:
+ Name : The name of the Load balancer
+ [Id ]: Resource Id
+ [SwappableCloudService ]: The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
[Id ]: Resource Id
OSPROFILE : Describes the OS profile for the cloud service.
@@ -198,7 +199,7 @@ ROLEPROFILE : Describes the role profile for the cloud
https://docs.microsoft.com/powershell/module/az.cloudservice/new-azcloudservice
#>
function New-AzCloudService {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -228,6 +229,12 @@ param(
# Resource location.
${Location},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.The default value is `false`.
+ ${AllowModelOverride},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
[System.String]
@@ -243,21 +250,21 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceExtensionProfile]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceExtensionProfile]
# Describes a cloud service extension profile.
# To construct, see NOTES section for EXTENSIONPROFILE properties and create a hash table.
${ExtensionProfile},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceNetworkProfile]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceNetworkProfile]
# Network Profile for the cloud service.
# To construct, see NOTES section for NETWORKPROFILE properties and create a hash table.
${NetworkProfile},
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceOSProfile]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceOSProfile]
# Describes the OS profile for the cloud service.
# To construct, see NOTES section for OSPROFILE properties and create a hash table.
${OSProfile},
@@ -271,7 +278,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceRoleProfile]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceRoleProfile]
# Describes the role profile for the cloud service.
# To construct, see NOTES section for ROLEPROFILE properties and create a hash table.
${RoleProfile},
@@ -287,7 +294,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceTags]))]
[System.Collections.Hashtable]
# Resource tags.
${Tag},
diff --git a/src/CloudService/exports/New-AzCloudServiceDiagnosticsExtension.ps1 b/src/CloudService/exports/New-AzCloudServiceDiagnosticsExtension.ps1
index ccb6ad958618..2f01b82813dc 100644
--- a/src/CloudService/exports/New-AzCloudServiceDiagnosticsExtension.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceDiagnosticsExtension.ps1
@@ -24,12 +24,12 @@ PS C:\> $configFile = ""
PS C:\> $extension = New-AzCloudServiceDiagnosticsExtension -Name "WADExtension" -ResourceGroupName "ContosOrg" -CloudServiceName "ContosCS" -StorageAccountName "ContosSA" -StorageAccountKey $storageAccountKey[0].Value -DiagnosticsConfigurationPath $configFile -TypeHandlerVersion "1.5" -AutoUpgradeMinorVersion $true
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
.Link
-https://docs.microsoft.com/powershell/module/az.cloudservice/new-azcloudservicediagnosticsextension
+https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceExtensionObject
#>
function New-AzCloudServiceDiagnosticsExtension {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Position=1)]
diff --git a/src/CloudService/exports/New-AzCloudServiceExtensionObject.ps1 b/src/CloudService/exports/New-AzCloudServiceExtensionObject.ps1
index b85be307bb1c..015fc51b02db 100644
--- a/src/CloudService/exports/New-AzCloudServiceExtensionObject.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceExtensionObject.ps1
@@ -22,12 +22,12 @@ Create a in-memory object for Extension
PS C:\> $extension = New-AzCloudServiceExtensionObject -Name "GenevaExtension" -Publisher "Microsoft.Azure.Geneva" -Type "GenevaMonitoringPaaS" -TypeHandlerVersion "2.14.0.2"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceExtensionObject
#>
function New-AzCloudServiceExtensionObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
diff --git a/src/CloudService/exports/New-AzCloudServiceLoadBalancerConfigurationObject.ps1 b/src/CloudService/exports/New-AzCloudServiceLoadBalancerConfigurationObject.ps1
index 4e60cb4b8791..ae7400b438db 100644
--- a/src/CloudService/exports/New-AzCloudServiceLoadBalancerConfigurationObject.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceLoadBalancerConfigurationObject.ps1
@@ -24,27 +24,27 @@ PS C:\> $feIpConfig = New-AzCloudServiceLoadBalancerFrontendIPConfigurationObjec
PS C:\> $loadBalancerConfig = New-AzCloudServiceLoadBalancerConfigurationObject -Name 'ContosoLB' -FrontendIPConfiguration $feIpConfig
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
FRONTENDIPCONFIGURATION : FrontendIPConfiguration.
- [Name ]:
- [PrivateIPAddress ]: The private IP address referenced by the cloud service.
+ Name : The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ [PrivateIPAddress ]: The virtual network private IP address of the IP configuration.
[PublicIPAddressId ]: Resource Id
[SubnetId ]: Resource Id
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceLoadBalancerConfigurationObject
#>
function New-AzCloudServiceLoadBalancerConfigurationObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerConfiguration])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerConfiguration])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ILoadBalancerFrontendIPConfiguration[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ILoadBalancerFrontendIPConfiguration[]]
# FrontendIPConfiguration.
# To construct, see NOTES section for FRONTENDIPCONFIGURATION properties and create a hash table.
${FrontendIPConfiguration},
diff --git a/src/CloudService/exports/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1 b/src/CloudService/exports/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1
index 38a694edacbb..e4f85e6f3473 100644
--- a/src/CloudService/exports/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1
@@ -24,12 +24,12 @@ PS C:\> $feIpConfig = New-AzCloudServiceLoadBalancerFrontendIPConfigurationObjec
PS C:\> $loadBalancerConfig = New-AzCloudServiceLoadBalancerConfigurationObject -Name 'ContosoLB' -FrontendIPConfiguration $feIpConfig
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceLoadBalancerFrontendIPConfigurationObject
#>
function New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.LoadBalancerFrontendIPConfiguration])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.LoadBalancerFrontendIPConfiguration])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
diff --git a/src/CloudService/exports/New-AzCloudServiceRemoteDesktopExtensionObject.ps1 b/src/CloudService/exports/New-AzCloudServiceRemoteDesktopExtensionObject.ps1
index 1d2610d25cb4..57bbc77af876 100644
--- a/src/CloudService/exports/New-AzCloudServiceRemoteDesktopExtensionObject.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceRemoteDesktopExtensionObject.ps1
@@ -24,12 +24,12 @@ PS C:\> $expiration = (Get-Date).AddYears(1)
PS C:\> $extension = New-AzCloudServiceRemoteDesktopExtensionObject -Name 'RDPExtension' -Credential $credential -Expiration $expiration -TypeHandlerVersion '1.2.1'
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension
.Link
-https://docs.microsoft.com/powershell/module/az.cloudservice/new-azcloudserviceremotedesktopextensionobject
+https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceExtensionObject
#>
function New-AzCloudServiceRemoteDesktopExtensionObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.Extension])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.Extension])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Position=0, Mandatory)]
diff --git a/src/CloudService/exports/New-AzCloudServiceRoleProfilePropertiesObject.ps1 b/src/CloudService/exports/New-AzCloudServiceRoleProfilePropertiesObject.ps1
index 31a507edf56d..ea1c2d9195b9 100644
--- a/src/CloudService/exports/New-AzCloudServiceRoleProfilePropertiesObject.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceRoleProfilePropertiesObject.ps1
@@ -22,12 +22,12 @@ Create a in-memory object for CloudServiceRoleProfileProperties
$role = New-AzCloudServiceRoleProfilePropertiesObject -Name 'WebRole' -SkuName 'Standard_D1_v2' -SkuTier 'Standard' -SkuCapacity 2
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceRoleProfilePropertiesObject
#>
function New-AzCloudServiceRoleProfilePropertiesObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceRoleProfileProperties])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceRoleProfileProperties])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
diff --git a/src/CloudService/exports/New-AzCloudServiceVaultSecretGroupObject.ps1 b/src/CloudService/exports/New-AzCloudServiceVaultSecretGroupObject.ps1
index 64ff7e22070d..2624ee9a7a0c 100644
--- a/src/CloudService/exports/New-AzCloudServiceVaultSecretGroupObject.ps1
+++ b/src/CloudService/exports/New-AzCloudServiceVaultSecretGroupObject.ps1
@@ -24,12 +24,12 @@ $certificate = Get-AzKeyVaultCertificate -VaultName 'ContosoKeyVault' -Name 'Con
$secretGroup = New-AzCloudServiceVaultSecretGroupObject -Id $keyVault.ResourceId -CertificateUrl $certificate.SecretId
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup
.Link
https://docs.microsoft.com/powershell/module/az.CloudService/new-AzCloudServiceVaultSecretGroupObject
#>
function New-AzCloudServiceVaultSecretGroupObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.CloudServiceVaultSecretGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.CloudServiceVaultSecretGroup])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
diff --git a/src/CloudService/exports/ProxyCmdletDefinitions.ps1 b/src/CloudService/exports/ProxyCmdletDefinitions.ps1
index 59ae0d06d4eb..4787ee92d87e 100644
--- a/src/CloudService/exports/ProxyCmdletDefinitions.ps1
+++ b/src/CloudService/exports/ProxyCmdletDefinitions.ps1
@@ -67,12 +67,12 @@ PS C:\>$cloudServiceInstanceView.ToJsonString()
}
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceInstanceView
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceInstanceView
.Link
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceinstanceview
#>
function Get-AzCloudServiceInstanceView {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudServiceInstanceView])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudServiceInstanceView])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -196,6 +196,368 @@ end {
# limitations under the License.
# ----------------------------------------------------------------------------------
+<#
+.Synopsis
+Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Description
+Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Example
+PS C:\> Get-AzCloudServiceOSFamily -location 'westus2'
+
+Name Label
+---- -----
+5 Windows Server 2016
+4 Windows Server 2012 R2
+6 Windows Server 2019
+3 Windows Server 2012
+2 Windows Server 2008 R2
+.Example
+PS C:\> Get-AzCloudServiceOSFamily -location 'westus2' -OSFamilyName 5
+
+Name Label
+---- -----
+5 Windows Server 2016
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSFamily
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [CloudServiceName ]:
+ [Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
+ [ResourceGroupName ]:
+ [RoleInstanceName ]: Name of the role instance.
+ [RoleName ]: Name of the role.
+ [SubscriptionId ]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ [UpdateDomain ]: Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.
+.Link
+https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceosfamily
+#>
+function Get-AzCloudServiceOSFamily {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSFamily])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the location that the OS family pertains to.
+ ${Location},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the OS family.
+ ${OSFamilyName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # Subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.CloudService.private\Get-AzCloudServiceOSFamily_Get';
+ GetViaIdentity = 'Az.CloudService.private\Get-AzCloudServiceOSFamily_GetViaIdentity';
+ List = 'Az.CloudService.private\Get-AzCloudServiceOSFamily_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Description
+Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
+.Example
+PS C:\> Get-AzCloudServiceOSVersion -location 'westus2'
+
+Name Label IsDefault IsActive Family FamilyLabel
+---- ----- --------- -------- ------ -----------
+WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
+WA-GUEST-OS-3.21_201411-01 Windows Azure Guest OS 3.21 (Release 201411-01) False False 3 Windows Server 2012
+WA-GUEST-OS-3.34_201512-01 Windows Azure Guest OS 3.34 (Release 201512-01) False False 3 Windows Server 2012
+WA-GUEST-OS-3.26_201504-01 Windows Azure Guest OS 3.26 (Release 201504-01) False False 3 Windows Server 2012
+WA-GUEST-OS-2.46_201512-01 Windows Azure Guest OS 2.46 (Release 201512-01) False False 2 Windows Server 2008 R2
+.Example
+PS C:\> Get-AzCloudServiceOSVersion -location 'westus2' -OSVersionName 'WA-GUEST-OS-6.7_201905-01'
+
+Name Label IsDefault IsActive Family FamilyLabel
+---- ----- --------- -------- ------ -----------
+WA-GUEST-OS-6.7_201905-01 Windows Azure Guest OS 6.7 (Release 201905-01) False False 6 Windows Server 2019
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSVersion
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [CloudServiceName ]:
+ [Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
+ [ResourceGroupName ]:
+ [RoleInstanceName ]: Name of the role instance.
+ [RoleName ]: Name of the role.
+ [SubscriptionId ]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ [UpdateDomain ]: Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.
+.Link
+https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceosversion
+#>
+function Get-AzCloudServiceOSVersion {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IOSVersion])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the location that the OS version pertains to.
+ ${Location},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [System.String]
+ # Name of the OS version.
+ ${OSVersionName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # Subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.CloudService.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.CloudService.private\Get-AzCloudServiceOSVersion_Get';
+ GetViaIdentity = 'Az.CloudService.private\Get-AzCloudServiceOSVersion_GetViaIdentity';
+ List = 'Az.CloudService.private\Get-AzCloudServiceOSVersion_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
<#
.Synopsis
Gets a remote desktop file for a role instance in a cloud service.
@@ -367,12 +729,12 @@ Statuses PlatformFaultDomain PlatformUpdateDomain
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstanceView
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstanceView
.Link
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceroleinstanceview
#>
function Get-AzCloudServiceRoleInstanceView {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstanceView])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstanceView])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -528,7 +890,7 @@ ContosoFrontEnd_IN_0 eastus2euap Standard_D1_v2 Standard
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstance
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstance
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -537,6 +899,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -546,7 +911,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudserviceroleinstance
#>
function Get-AzCloudServiceRoleInstance {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.IRoleInstance])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoleInstance])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -740,7 +1105,7 @@ UpgradeMode : Auto
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -749,6 +1114,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -758,7 +1126,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/powershell/module/az.cloudservice/get-azcloudservice
#>
function Get-AzCloudService {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -921,6 +1289,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -1110,6 +1481,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -1299,6 +1673,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -1484,6 +1861,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[CloudServiceName ]:
[Id ]: Resource identity path
+ [Location ]: Name of the location that the OS version pertains to.
+ [OSFamilyName ]: Name of the OS family.
+ [OSVersionName ]: Name of the OS version.
[ResourceGroupName ]:
[RoleInstanceName ]: Name of the role instance.
[RoleName ]: Name of the role.
@@ -1787,7 +2167,7 @@ $cloudService = New-AzCloudService
-Tag $tag
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20201001Preview.ICloudService
+Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ICloudService
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1808,14 +2188,15 @@ EXTENSIONPROFILE : Describes a cloud service exte
[TypeHandlerVersion ]: Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
NETWORKPROFILE : Network Profile for the cloud service.
- [LoadBalancerConfiguration ]: The list of load balancer configurations for the cloud service.
- [FrontendIPConfiguration ]: List of IP
- [Name ]:
- [PrivateIPAddress ]: The private IP address referenced by the cloud service.
+ [LoadBalancerConfiguration ]: List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
+ FrontendIPConfiguration : Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
+ Name : The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ [PrivateIPAddress