Skip to content

Commit 7591313

Browse files
Migrate PaloAltoNetworks from generation to main (#23719)
* Move PaloAltoNetworks to main * Update ChangeLog.md for PaloAltoNetworks --------- Co-authored-by: Xiaogang <[email protected]>
1 parent 524d3af commit 7591313

File tree

741 files changed

+60343
-28481
lines changed

Some content is hidden

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

741 files changed

+60343
-28481
lines changed

src/PaloAltoNetworks/PaloAltoNetworks.Autorest/Az.PaloAltoNetworks.format.ps1xml

Lines changed: 553 additions & 727 deletions
Large diffs are not rendered by default.
Lines changed: 20 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,166 +1,23 @@
1-
#
2-
# Module manifest for module 'Az.PaloAltoNetworks'
3-
#
4-
# Generated by: Microsoft Corporation
5-
#
6-
# Generated on: 7/24/2023
7-
#
8-
91
@{
10-
11-
# Script module or binary module file associated with this manifest.
12-
RootModule = './Az.PaloAltoNetworks.psm1'
13-
14-
# Version number of this module.
15-
ModuleVersion = '0.2.0'
16-
17-
# Supported PSEditions
18-
CompatiblePSEditions = 'Core', 'Desktop'
19-
20-
# ID used to uniquely identify this module
21-
GUID = '787ef00f-9345-469d-9156-0654cdc69286'
22-
23-
# Author of this module
24-
Author = 'Microsoft Corporation'
25-
26-
# Company or vendor of this module
27-
CompanyName = 'Microsoft Corporation'
28-
29-
# Copyright statement for this module
30-
Copyright = 'Microsoft Corporation. All rights reserved.'
31-
32-
# Description of the functionality provided by this module
33-
Description = 'Microsoft Azure PowerShell: PaloAltoNetworks cmdlets'
34-
35-
# Minimum version of the PowerShell engine required by this module
36-
PowerShellVersion = '5.1'
37-
38-
# Name of the PowerShell host required by this module
39-
# PowerShellHostName = ''
40-
41-
# Minimum version of the PowerShell host required by this module
42-
# PowerShellHostVersion = ''
43-
44-
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45-
DotNetFrameworkVersion = '4.7.2'
46-
47-
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48-
# ClrVersion = ''
49-
50-
# Processor architecture (None, X86, Amd64) required by this module
51-
# ProcessorArchitecture = ''
52-
53-
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.4'; })
55-
56-
# Assemblies that must be loaded prior to importing this module
57-
RequiredAssemblies = './bin/Az.PaloAltoNetworks.private.dll'
58-
59-
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60-
# ScriptsToProcess = @()
61-
62-
# Type files (.ps1xml) to be loaded when importing this module
63-
# TypesToProcess = @()
64-
65-
# Format files (.ps1xml) to be loaded when importing this module
66-
FormatsToProcess = './Az.PaloAltoNetworks.format.ps1xml'
67-
68-
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69-
# NestedModules = @()
70-
71-
# 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.
72-
FunctionsToExport = 'Get-AzPaloAltoNetworksCertificateObjectLocalRulestack',
73-
'Get-AzPaloAltoNetworksFirewall',
74-
'Get-AzPaloAltoNetworksFirewallLogProfile',
75-
'Get-AzPaloAltoNetworksFirewallStatus',
76-
'Get-AzPaloAltoNetworksFqdnListLocalRulestack',
77-
'Get-AzPaloAltoNetworksLocalRule',
78-
'Get-AzPaloAltoNetworksLocalRulestack',
79-
'Get-AzPaloAltoNetworksLocalRulestackAppId',
80-
'Get-AzPaloAltoNetworksLocalRulestackChangeLog',
81-
'Get-AzPaloAltoNetworksLocalRulestackFirewall',
82-
'Get-AzPaloAltoNetworksLocalRulestackSupportInfo',
83-
'Get-AzPaloAltoNetworksPrefixListLocalRulestack',
84-
'Invoke-AzPaloAltoNetworksCommitLocalRulestack',
85-
'Invoke-AzPaloAltoNetworksRevertLocalRulestack',
86-
'New-AzPaloAltoNetworksCertificateObjectLocalRulestack',
87-
'New-AzPaloAltoNetworksFirewall',
88-
'New-AzPaloAltoNetworksFqdnListLocalRulestack',
89-
'New-AzPaloAltoNetworksFrontendSettingObject',
90-
'New-AzPaloAltoNetworksIPAddressObject',
91-
'New-AzPaloAltoNetworksLocalRule',
92-
'New-AzPaloAltoNetworksLocalRulestack',
93-
'New-AzPaloAltoNetworksPrefixListLocalRulestack',
94-
'New-AzPaloAltoNetworksProfileObject',
95-
'New-AzPaloAltoNetworksTagInfoObject',
96-
'Remove-AzPaloAltoNetworksCertificateObjectLocalRulestack',
97-
'Remove-AzPaloAltoNetworksFirewall',
98-
'Remove-AzPaloAltoNetworksFqdnListLocalRulestack',
99-
'Remove-AzPaloAltoNetworksLocalRule',
100-
'Remove-AzPaloAltoNetworksLocalRulestack',
101-
'Remove-AzPaloAltoNetworksPrefixListLocalRulestack',
102-
'Reset-AzPaloAltoNetworksLocalRuleCounter',
103-
'Save-AzPaloAltoNetworksFirewallLogProfile',
104-
'Update-AzPaloAltoNetworksFirewall',
105-
'Update-AzPaloAltoNetworksLocalRuleCounter',
106-
'Update-AzPaloAltoNetworksLocalRulestack'
107-
108-
# Cmdlets 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 cmdlets to export.
109-
CmdletsToExport = @()
110-
111-
# Variables to export from this module
112-
# VariablesToExport = @()
113-
114-
# Aliases 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 aliases to export.
115-
AliasesToExport = '*'
116-
117-
# DSC resources to export from this module
118-
# DscResourcesToExport = @()
119-
120-
# List of all modules packaged with this module
121-
# ModuleList = @()
122-
123-
# List of all files packaged with this module
124-
# FileList = @()
125-
126-
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
127-
PrivateData = @{
128-
2+
GUID = '787ef00f-9345-469d-9156-0654cdc69286'
3+
RootModule = './Az.PaloAltoNetworks.psm1'
4+
ModuleVersion = '0.2.0'
5+
CompatiblePSEditions = 'Core', 'Desktop'
6+
Author = 'Microsoft Corporation'
7+
CompanyName = 'Microsoft Corporation'
8+
Copyright = 'Microsoft Corporation. All rights reserved.'
9+
Description = 'Microsoft Azure PowerShell: PaloAltoNetworks cmdlets'
10+
PowerShellVersion = '5.1'
11+
DotNetFrameworkVersion = '4.7.2'
12+
RequiredAssemblies = './bin/Az.PaloAltoNetworks.private.dll'
13+
FormatsToProcess = './Az.PaloAltoNetworks.format.ps1xml'
14+
FunctionsToExport = 'Get-AzPaloAltoNetworksCertificateObjectLocalRulestack', 'Get-AzPaloAltoNetworksFirewall', 'Get-AzPaloAltoNetworksFirewallLogProfile', 'Get-AzPaloAltoNetworksFirewallStatus', 'Get-AzPaloAltoNetworksFqdnListLocalRulestack', 'Get-AzPaloAltoNetworksLocalRule', 'Get-AzPaloAltoNetworksLocalRulestack', 'Get-AzPaloAltoNetworksLocalRulestackAppId', 'Get-AzPaloAltoNetworksLocalRulestackChangeLog', 'Get-AzPaloAltoNetworksLocalRulestackFirewall', 'Get-AzPaloAltoNetworksLocalRulestackSupportInfo', 'Get-AzPaloAltoNetworksPrefixListLocalRulestack', 'Invoke-AzPaloAltoNetworksCommitLocalRulestack', 'Invoke-AzPaloAltoNetworksRevertLocalRulestack', 'New-AzPaloAltoNetworksCertificateObjectLocalRulestack', 'New-AzPaloAltoNetworksFirewall', 'New-AzPaloAltoNetworksFqdnListLocalRulestack', 'New-AzPaloAltoNetworksFrontendSettingObject', 'New-AzPaloAltoNetworksIPAddressObject', 'New-AzPaloAltoNetworksLocalRule', 'New-AzPaloAltoNetworksLocalRulestack', 'New-AzPaloAltoNetworksPrefixListLocalRulestack', 'New-AzPaloAltoNetworksProfileObject', 'New-AzPaloAltoNetworksTagInfoObject', 'Remove-AzPaloAltoNetworksCertificateObjectLocalRulestack', 'Remove-AzPaloAltoNetworksFirewall', 'Remove-AzPaloAltoNetworksFqdnListLocalRulestack', 'Remove-AzPaloAltoNetworksLocalRule', 'Remove-AzPaloAltoNetworksLocalRulestack', 'Remove-AzPaloAltoNetworksPrefixListLocalRulestack', 'Reset-AzPaloAltoNetworksLocalRuleCounter', 'Save-AzPaloAltoNetworksFirewallLogProfile', 'Update-AzPaloAltoNetworksFirewall', 'Update-AzPaloAltoNetworksLocalRuleCounter', 'Update-AzPaloAltoNetworksLocalRulestack'
15+
PrivateData = @{
12916
PSData = @{
130-
131-
# Tags applied to this module. These help with module discovery in online galleries.
132-
Tags = 'Azure','ResourceManager','ARM','PSModule','PaloAltoNetworks'
133-
134-
# A URL to the license for this module.
135-
LicenseUri = 'https://aka.ms/azps-license'
136-
137-
# A URL to the main website for this project.
138-
ProjectUri = 'https://github.com/Azure/azure-powershell'
139-
140-
# A URL to an icon representing this module.
141-
# IconUri = ''
142-
143-
# ReleaseNotes of this module
144-
# ReleaseNotes = ''
145-
146-
# Prerelease string of this module
147-
# Prerelease = ''
148-
149-
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
150-
# RequireLicenseAcceptance = $false
151-
152-
# External dependent modules of this module
153-
# ExternalModuleDependencies = @()
154-
155-
} # End of PSData hashtable
156-
157-
} # End of PrivateData hashtable
158-
159-
# HelpInfo URI of this module
160-
# HelpInfoURI = ''
161-
162-
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
163-
# DefaultCommandPrefix = ''
164-
17+
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'PaloAltoNetworks'
18+
LicenseUri = 'https://aka.ms/azps-license'
19+
ProjectUri = 'https://github.com/Azure/azure-powershell'
20+
ReleaseNotes = ''
21+
}
22+
}
16523
}
166-

src/PaloAltoNetworks/PaloAltoNetworks.Autorest/README.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,16 @@ For information on how to develop for `Az.PaloAltoNetworks`, see [how-to.md](how
3030
> see https://aka.ms/autorest
3131
3232
``` yaml
33-
branch: 53f6cced1504a476ba001c9d7250ab195e9c299b
33+
commit: 1e00aa55113c2a47b26cf588b732758071d6f05f
3434
require:
35-
- $(this-folder)/../readme.azure.noprofile.md
35+
- $(this-folder)/../../readme.azure.noprofile.md
3636
input-file:
37-
- $(repo)/specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2022-08-29/PaloAltoNetworks.Cloudngfw.json
37+
- $(repo)/specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/PaloAltoNetworks.Cloudngfw.json
3838

3939
title: PaloAltoNetworks
4040
module-version: 0.2.0
4141
subject-prefix: $(service-name)
4242

43-
identity-correction-for-post: true
44-
resourcegroup-append: true
45-
nested-object-to-string: true
46-
4743
directive:
4844
- from: swagger-document
4945
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/commit"].post.responses
@@ -58,7 +54,7 @@ directive:
5854
"default": {
5955
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
6056
"schema": {
61-
"$ref": "https://github.com/Azure/azure-rest-api-specs/blob/53f6cced1504a476ba001c9d7250ab195e9c299b/specification/common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
57+
"$ref": "https://github.com/Azure/azure-rest-api-specs/blob/1e00aa55113c2a47b26cf588b732758071d6f05f/specification/common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
6258
}
6359
}
6460
}
@@ -76,18 +72,21 @@ directive:
7672
"default": {
7773
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
7874
"schema": {
79-
"$ref": "https://github.com/Azure/azure-rest-api-specs/blob/53f6cced1504a476ba001c9d7250ab195e9c299b/specification/common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
75+
"$ref": "https://github.com/Azure/azure-rest-api-specs/blob/1e00aa55113c2a47b26cf588b732758071d6f05f/specification/common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
8076
}
8177
}
8278
}
8379
8480
- where:
85-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Save$|^SaveViaIdentity$
81+
variant: ^(Create|Update|Save)(?!.*?Expanded)
8682
remove: true
8783
- where:
88-
verb: Set
84+
variant: ^CreateViaIdentity.*$
8985
remove: true
9086

87+
- where:
88+
verb: Set
89+
remove: true
9190
# # Some of the parameters are of type Object and need to be expanded into a command for the convenience of the user
9291
# # The following are commented out and their generated cmdlets may be renamed and custom logic
9392
# # Do not delete this code
@@ -153,7 +152,11 @@ directive:
153152
- where:
154153
subject: RevertGlobalRulestack
155154
remove: true
156-
155+
# Remove update cmdlets generated from get->put, since service team does not need them now.
156+
- where:
157+
verb: Update
158+
subject: ^CertificateObjectLocalRulestack$|^FqdnListLocalRulestack$|^PrefixListLocalRulestack$|^LocalRule$
159+
remove: true
157160
- where:
158161
parameter-name: StackName
159162
set:

0 commit comments

Comments
 (0)