Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
[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.Reflection.AssemblyFileVersionAttribute("2.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]


252 changes: 34 additions & 218 deletions src/CloudService/CloudService.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ input-file:
title: CloudService
module-version: 0.1.0

identity-correction-for-post: true

# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
"@autorest/powershell": "3.x"

directive:
- where:
subject: ^CloudServiceOperatingSystemOSFamily$
Expand All @@ -71,8 +65,23 @@ directive:
set:
subject: CloudServiceOSVersion
- where:
variant: ^Restart$|^RestartViaIdentity$|^Reimage$|^ReimageViaIdentity$|^Rebuild$|^RebuildViaIdentity$
subject: ^CloudService$|^RebuildCloudService$
variant: ^Rebuild$|^RebuildViaIdentity$|^RebuildViaJsonFilePathViaJsonFilePath$|^RebuildViaJsonStringViaJsonString$
subject: RebuildCloudService
remove: true
- where:
subject: ^RebuildCloudService$
set:
subject: Rebuild
- where:
subject: Rebuild
hide: true
- where:
variant: ^Restart$|^RestartViaIdentity$|^Reimage$|^ReimageViaIdentity$
subject: ^CloudService$
remove: true
- where:
variant: ^RebuildViaIdentityRoleInstance$
subject: ^RebuildCloudServiceRoleInstance$
remove: true

- where:
Expand All @@ -88,27 +97,22 @@ directive:
subject: CloudServiceRoleInstanceReimage
verb: Invoke

- where:
subject: ^RebuildCloudService$
variant: ^RebuildExpanded$|^RebuildViaIdentityExpanded$
set:
subject: Rebuild
- where:
subject: ^RebuildCloudServiceRoleInstance$
variant: ^Rebuild$|^RebuildViaIdentity$
set:
subject: RoleInstanceRebuild

- where:
subject: ^CloudServiceUpdateDomain$
verb: Get
subject: ^CloudServicesUpdateDomain$
verb: Get|Update
remove: true
- where:
subject: ^WalkCloudServiceUpdateDomain$
variant: ^Walk$
subject: ^WalkCloudServicesUpdateDomain$
variant: ^Walk$|^WalkViaIdentity$|^WalkViaIdentityCloudService$|^WalkViaIdentityCloudServiceExpanded$|^WalkViaIdentityExpanded$|^WalkViaJsonFilePathViaJsonFilePath$|^WalkViaJsonStringViaJsonString$
remove: true
- where:
subject: ^WalkCloudServiceUpdateDomain$
subject: ^WalkCloudServicesUpdateDomain$
set:
subject: UpdateDomain
verb: Set
Expand All @@ -119,7 +123,7 @@ directive:
remove: true
- where:
subject: ^CloudServiceRoleInstance$
verb: Remove
verb: Remove|Update
remove: true
- where:
variant: ^Delete$|^DeleteViaIdentity$
Expand Down Expand Up @@ -320,203 +324,15 @@ 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
- model-cmdlet:
- model-name: Extension
cmdlet-name: New-AzCloudServiceExtensionObject
- model-name: LoadBalancerConfiguration
cmdlet-name: New-AzCloudServiceLoadBalancerConfigurationObject
# - model-name: LoadBalancerFrontendIPConfiguration
# cmdlet-name: New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject
- model-name: CloudServiceRoleProfileProperties
cmdlet-name: New-AzCloudServiceRoleProfilePropertiesObject
# - model-name: CloudServiceVaultSecretGroup
# cmdlet-name: New-AzCloudServiceVaultSecretGroupObject
```
Loading