Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/CloudService/CloudService.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - CloudService")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
199 changes: 199 additions & 0 deletions src/CloudService/CloudService.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,203 @@ directive:
transform: >-
return "string"

- where:
verb: Get|Update
subject: CloudService
set:
breaking-change:
deprecated-output-properties:
- Extension
- LoadBalancerConfiguration
- Secret
- Role
- Zone
new-output-properties:
- Extension
- LoadBalancerConfiguration
- Secret
- Role
- Zone
change-description: The types of the properties 'Extension', 'LoadBalancerConfiguration', 'Secret', 'Role', and 'Zone' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: CloudServiceInstanceView
set:
breaking-change:
deprecated-output-properties:
- Statuses
- RoleInstanceStatusesSummary
- PrivateId
new-output-properties:
- Statuses
- RoleInstanceStatusesSummary
- PrivateId
change-description: The types of the properties 'Statuses', 'RoleInstanceStatusesSummary', and 'PrivateId' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: NetworkInterface
set:
breaking-change:
deprecated-output-properties:
- ApplicationSecurityGroup
- CustomDnsConfig
- FlowLog
- LoadBalancerFrontendIPConfiguration
- NetworkSecurityGroupPropertiesNetworkInterface
- PrivateEndpointPropertiesNetworkInterface
- PrivateLinkServicePropertiesNetworkInterface
- IPConfiguration
- TapConfiguration
- PrivateEndpointConnection
- PrivateEndpointPropertiesIPConfiguration
- PrivateLinkServiceConnection
- ManualPrivateLinkServiceConnection
- PrivateLinkServicePropertiesIPConfiguration
- SecurityRule
- DefaultSecurityRule
- ApplicationGatewayIPConfiguration
- Delegation
- FlowLog
- IPConfiguration
- IPConfigurationProfile
- NetworkInterface
- PrivateEndpoint
- ResourceNavigationLink
- Route
- DefaultSecurityRule
- SecurityRule
- ServiceAssociationLink
- ServiceEndpointPolicy
- ServiceEndpoint
- NetworkSecurityGroupPropertiesSubnet
- RouteTablePropertiesSubnet
- IPAllocation
- PropertiesAddressPrefixes
- PropertiesNetworkSecurityGroupPropertiesSubnets
- HostedWorkload
- VisibilitySubscription
- DnsSettingDnsServer
- DnsSettingAppliedDnsServer
- AutoApprovalSubscription
- Fqdn
new-output-properties:
- ApplicationSecurityGroup
- CustomDnsConfig
- FlowLog
- LoadBalancerFrontendIPConfiguration
- NetworkSecurityGroupPropertiesNetworkInterface
- PrivateEndpointPropertiesNetworkInterface
- PrivateLinkServicePropertiesNetworkInterface
- IPConfiguration
- TapConfiguration
- PrivateEndpointConnection
- PrivateEndpointPropertiesIPConfiguration
- PrivateLinkServiceConnection
- ManualPrivateLinkServiceConnection
- PrivateLinkServicePropertiesIPConfiguration
- SecurityRule
- DefaultSecurityRule
- ApplicationGatewayIPConfiguration
- Delegation
- FlowLog
- IPConfiguration
- IPConfigurationProfile
- NetworkInterface
- PrivateEndpoint
- ResourceNavigationLink
- Route
- DefaultSecurityRule
- SecurityRule
- ServiceAssociationLink
- ServiceEndpointPolicy
- ServiceEndpoint
- NetworkSecurityGroupPropertiesSubnet
- RouteTablePropertiesSubnet
- IPAllocation
- PropertiesAddressPrefixes
- PropertiesNetworkSecurityGroupPropertiesSubnets
- HostedWorkload
- VisibilitySubscription
- DnsSettingDnsServer
- DnsSettingAppliedDnsServer
- AutoApprovalSubscription
- Fqdn
change-description: The types of the properties 'ApplicationSecurityGroup', 'CustomDnsConfig', 'FlowLog', 'LoadBalancerFrontendIPConfiguration', 'NetworkSecurityGroupPropertiesNetworkInterface', 'PrivateEndpointPropertiesNetworkInterface', 'PrivateLinkServicePropertiesNetworkInterface', 'IPConfiguration', 'TapConfiguration', 'PrivateEndpointConnection', 'PrivateEndpointPropertiesIPConfiguration', 'PrivateLinkServiceConnection', 'ManualPrivateLinkServiceConnection', 'PrivateLinkServicePropertiesIPConfiguration', 'SecurityRule', 'DefaultSecurityRule', 'ApplicationGatewayIPConfiguration', 'Delegation', 'FlowLog', 'IPConfiguration', 'IPConfigurationProfile', 'NetworkInterface', 'PrivateEndpoint', 'ResourceNavigationLink', 'Route', 'DefaultSecurityRule', 'SecurityRule', 'ServiceAssociationLink', 'ServiceEndpointPolicy', 'ServiceEndpoint', 'NetworkSecurityGroupPropertiesSubnet', 'RouteTablePropertiesSubnet', 'IPAllocation', 'PropertiesAddressPrefixes', 'PropertiesNetworkSecurityGroupPropertiesSubnets', 'HostedWorkload', 'VisibilitySubscription', 'DnsSettingDnsServer', 'DnsSettingAppliedDnsServer', 'AutoApprovalSubscription', 'Fqdn' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: CloudServiceOSFamily
set:
breaking-change:
deprecated-output-properties:
- Version
new-output-properties:
- Version
change-description: The types of the properties 'Version' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: PublicIPAddress
set:
breaking-change:
deprecated-output-properties:
- Zone
- IPTag
- PublicIPAddress
- PublicIPPrefix
- Subnet
new-output-properties:
- Zone
- IPTag
- PublicIPAddress
- PublicIPPrefix
- Subnet
change-description: The types of the properties 'Zone', 'IPTag', 'PublicIPAddress', 'PublicIPPrefix', and 'Subnet' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: CloudServiceRoleInstance
set:
breaking-change:
deprecated-output-properties:
- NetworkProfileNetworkInterface
- InstanceViewStatuses
new-output-properties:
- NetworkProfileNetworkInterface
- InstanceViewStatuses
change-description: The types of the properties 'NetworkProfileNetworkInterface' and 'InstanceViewStatuses' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: CloudServiceRoleInstanceView
set:
breaking-change:
deprecated-output-properties:
- Statuses
new-output-properties:
- Statuses
change-description: The types of the properties 'Statuses' will be changed from object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03
```
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Create a CloudService Resource

function New-AzCloudService {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.ICloudService')]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.ICloudService", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudService", DeprecatedOutputProperties = ("Zone, Extension, LoadBalancerConfiguration, Secret, Role"), NewOutputProperties = ("Zone, Extension, LoadBalancerConfiguration, Secret, Role will be changed from object to 'List'."))]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='quickCreateParameterSetWithoutStorage', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Create a in-memory object for Diagnostics Extension

function New-AzCloudServiceDiagnosticsExtension {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.Extension')]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.Extension", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Extension", DeprecatedOutputProperties = ("RolesAppliedTo System.String[]"), NewOutputProperties = ("RolesAppliedTo System.Collections.Generic.List`1[System.String]"))]
param(
[Parameter(HelpMessage="Name of Diagnostics Extension.", Mandatory)]
[string] $Name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Create a in-memory object for Extension
#>
function New-AzCloudServiceExtensionObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.Extension')]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.Extension", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Extension", DeprecatedOutputProperties = ("RolesAppliedTo System.String[]"), NewOutputProperties = ("RolesAppliedTo System.Collections.Generic.List`1[System.String]"))]
[CmdletBinding(PositionalBinding=$false)]
Param(

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Create a in-memory object for LoadBalancerConfiguration
#>
function New-AzCloudServiceLoadBalancerConfigurationObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.LoadBalancerConfiguration')]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.LoadBalancerConfiguration", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.LoadBalancerConfiguration", DeprecatedOutputProperties = ("FrontendIPConfiguration Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ILoadBalancerFrontendIPConfiguration"), NewOutputProperties = ("FrontendIPConfiguration System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ILoadBalancerFrontendIPConfiguration]"))]
[CmdletBinding(PositionalBinding=$false)]
Param(

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Create a in-memory object for Remote Desktop Extension

function New-AzCloudServiceRemoteDesktopExtensionObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.Extension')]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.Extension", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Extension", DeprecatedOutputProperties = ("RolesAppliedTo System.String[]"), NewOutputProperties = ("RolesAppliedTo System.Collections.Generic.List`1[System.String]"))]
param(
[Parameter(HelpMessage="Name of Remote Desktop Extension.", Mandatory)]
[string] $Name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Create a in-memory object for Secret Group

function New-AzCloudServiceVaultSecretGroupObject {
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.CloudServiceVaultSecretGroup')]
[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.CloudServiceVaultSecretGroup", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.CloudServiceVaultSecretGroup", DeprecatedOutputProperties = ("VaultCertificate Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceVaultCertificate"), NewOutputProperties = ("VaultCertificate System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.ICloudServiceVaultCertificate]"))]
[CmdletBinding(PositionalBinding=$false)]
Param(
[Parameter(HelpMessage="Key Vault Resource Id.")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.CloudService
Module Guid: a41eb61d-c5a1-4e9b-81a7-b8905fff7f2c
Module Guid: b17f5e3c-8402-4201-baa8-385dd3e406ff
Download Help Link: https://learn.microsoft.com/powershell/module/az.cloudservice
Help Version: 1.0.0.0
Locale: en-US
Expand Down
2 changes: 1 addition & 1 deletion src/CloudService/CloudService.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "f75fc427-d5a9-4621-809f-472136726c10"
"generate_Id": "0c134ecb-184e-4347-ac0b-b64bbaaa9e6f"
}
11 changes: 11 additions & 0 deletions src/CloudService/CloudService.Autorest/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Resources
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.

## Info
- Modifiable: yes
- Generated: no
- Committed: yes
- Packaged: no

## Purpose
Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
Loading