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
6 changes: 5 additions & 1 deletion src/palo-alto-networks/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
1.1.2b2
++++++
* Further Updates to CLI descriptions.

1.1.2b1
++++++
* updated CLI descriptions.
Expand All @@ -12,4 +16,4 @@ Release History

1.0.0b1
++++++
* Initial release.
* Initial release.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall create",
)
class Create(AAZCommand):
"""Create a FirewallResource
"""Create a new Palo Alto Networks Cloud NGFW on Azure.

:example: Create a FirewallResource
:example: Create a new Palo Alto Networks Cloud NGFW on Azure
az palo-alto cloudngfw firewall create --name MyCloudngfwFirewall -g MyResourceGroup --location eastus --associated-rulestack "{location:eastus,resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/MyLocalRulestacks}" --dns-settings "{enable-dns-proxy:DISABLED,enabled-dns-type:CUSTOM}" --is-panorama-managed FALSE --marketplace-details "{marketplace-subscription-status:Subscribed,offer-id:offer-id,publisher-id:publisher-id}" --network-profile "{egress-nat-ip:[],enable-egress-nat:DISABLED,network-type:VNET,public-ips:[{address:10.0.0.0/16,resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Network/publicIPAddresses/MypublicIP}],vnet-configuration:{ip-of-trust-subnet-for-udr:{address:10.0.0.0/16},trust-subnet:{resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/subnet1},un-trust-subnet:{resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/subnet1},vnet:{resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualNetworks/MyVnet}}}" --panorama-config "{config-string:bas64EncodedString}" --plan-data "{billing-cycle:MONTHLY,plan-id:plan-id,usage-type:PAYG}"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall delete",
)
class Delete(AAZCommand):
"""Delete a FirewallResource
"""Delete an existing Palo Alto Networks Cloud NGFW on Azure.

:example: Delete a FirewallResource
:example: Delete an existing Palo Alto Networks Cloud NGFW on Azure
az palo-alto cloudngfw firewall delete --resource-group MyResourceGroup -n MyCloudngfwFirewall
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall list",
)
class List(AAZCommand):
"""List FirewallResource resources by subscription ID
"""List all Palo Alto Networks Cloud NGFW on Azure resources under the current subscription.

:example: List FirewallResource resources by subscription ID
:example: List all Palo Alto Networks Cloud NGFW on Azure resources under the current subscription.
az palo-alto cloudngfw firewall list --resource-group MyResourceGroup
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall save-log-profile",
)
class SaveLogProfile(AAZCommand):
"""Save Log Profile for Firewall
"""Save log profile settings for a Palo Alto Networks Cloud NGFW on Azure.

:example: Save Log Profile for Firewall
:example: Save log profile settings for a Palo Alto Networks Cloud NGFW on Azure.
az palo-alto cloudngfw firewall save-log-profile --resource-group MyResourceGroup -n MyCloudngfwFirewall --log-option "SAME_DESTINATION" --log-type "TRAFFIC"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall show",
)
class Show(AAZCommand):
"""Get a FirewallResource
"""Retrieve details of a specific Palo Alto Networks Cloud NGFW on Azure resource.

:example: Get a FirewallResource
:example: Retrieve details of a specific Palo Alto Networks Cloud NGFW on Azure resource.
az palo-alto cloudngfw firewall show --name MyCloudngfwFirewall -g MyResourceGroup
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall show-log-profile",
)
class ShowLogProfile(AAZCommand):
"""Get Log Profile for Firewall
"""Get log profile information for a Palo Alto Networks Cloud NGFW on Azure.

:example: Get Log Profile for Firewall
:example: Get log profile information for a Palo Alto Networks Cloud NGFW on Azure.
az palo-alto cloudngfw firewall show-log-profile --resource-group MyResourceGroup -n MyCloudngfwFirewall
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall show-support-info",
)
class ShowSupportInfo(AAZCommand):
"""Support info for firewall.
"""Retrieve support information of a specific Palo Alto Networks firewall.

:example: Get support info for firewall.
:example: Retrieve support information of a specific Palo Alto Networks firewall.
az palo-alto cloudngfw firewall show-support-info --resource-group MyResourceGroup -n MyCloudngfwFirewall
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall update",
)
class Update(AAZCommand):
"""Update a FirewallResource
"""Update configuration or metadata for a Palo Alto Networks Cloud NGFW resource on Azure.

:example: Update a FirewallResource
:example: Update configuration or metadata for a Palo Alto Networks Cloud NGFW resource on Azure.
az palo-alto cloudngfw firewall update --name MyCloudngfwFirewall -g MyResourceGroup --tags "{tagName:value}"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"palo-alto cloudngfw firewall wait",
)
class Wait(AAZWaitCommand):
"""Place the CLI in a waiting state until a condition is met.
"""Wait until a specified condition is met for the Palo Alto Networks Cloud NGFW resource operation to complete.
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall status list",
)
class List(AAZCommand):
"""List FirewallStatusResource resources by Firewalls
"""List all firewall status resources associated with Palo Alto Networks firewalls.

:example: List FirewallStatusResource resources by Firewalls
:example: List all firewall status resources associated with Palo Alto Networks firewalls.
az palo-alto cloudngfw firewall status list --resource-group MyResourceGroup -n MyCloudngfwFirewall
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw firewall status default show",
)
class Show(AAZCommand):
"""Get a FirewallStatusResource
"""Retrieve details of a specific firewall status resource in Palo Alto Networks.

:example: Get a FirewallStatusResource
:example: Retrieve details of a specific firewall status resource in Palo Alto Networks.
az palo-alto cloudngfw firewall status default show --resource-group MyResourceGroup -n MyCloudngfwFirewall
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"palo-alto cloudngfw local-rulestack commit",
)
class Commit(AAZCommand):
"""Commit rulestack configuration
"""Commit configuration changes to a Palo Alto Networks local rulestack.
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack create",
)
class Create(AAZCommand):
"""Create a LocalRulestackResource
"""Create a new Palo Alto Networks local rulestack resource.

:example: Create a LocalRulestackResource
:example: Create a new Palo Alto Networks local rulestack resource.
az palo-alto cloudngfw local-rulestack create -g MyResourceGroup -n MyLocalRulestacks --identity "{type:None}" --location eastus --default-mode IPS --description "local rulestacks" --min-app-id-version "8595-7473" --scope "LOCAL" --security-services "{vulnerability-profile:BestPractice,anti-spyware-profile:BestPractice,anti-virus-profile:BestPractice,url-filtering-profile:BestPractice,file-blocking-profile:BestPractice,dns-subscription:BestPractice}"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack delete",
)
class Delete(AAZCommand):
"""Delete a LocalRulestackResource
"""Delete an existing Palo Alto Networks local rulestack resource.

:example: Delete a LocalRulestackResource
:example: Delete an existing Palo Alto Networks local rulestack resource.
az palo-alto cloudngfw local-rulestack delete -g MyResourceGroup -n MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack revert",
)
class Revert(AAZCommand):
"""Revert rulestack configuration
"""Revert configuration changes to a Palo Alto Networks local rulestack resource.

:example: Revert rulestack configuration
:example: Revert configuration changes to a Palo Alto Networks local rulestack resource.
az palo-alto cloudngfw local-rulestack revert -g MyResourceGroup -n MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack show",
)
class Show(AAZCommand):
"""Get a LocalRulestackResource
"""Retrieve details of a specific Palo Alto Networks local rulestack resource.

:example: Get a LocalRulestackResource
:example: Retrieve details of a specific Palo Alto Networks local rulestack resource.
az palo-alto cloudngfw local-rulestack show -g MyResourceGroup -n MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack show-change-log",
)
class ShowChangeLog(AAZCommand):
"""Get changelog
"""Get the changelog for a Palo Alto Networks local rulestack.

:example: Get changelog
:example: Get the changelog for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack show-change-log -g MyResourceGroup -n MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack show-support-info",
)
class ShowSupportInfo(AAZCommand):
"""Support info for rulestack.
"""Retrieve support information for a Palo Alto Networks local rulestack.

:example: Support info for rulestack.
:example: Retrieve support information for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack show-support-info -g MyResourceGroup -n MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack update",
)
class Update(AAZCommand):
"""Update a LocalRulestackResource
"""Update configuration or metadata for a Palo Alto Networks local rulestack.

:example: Update a LocalRulestackResource
:example: Update configuration or metadata for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack update -g MyResourceGroup -n MyLocalRulestacks --tags "{tag-name:value}"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"palo-alto cloudngfw local-rulestack wait",
)
class Wait(AAZWaitCommand):
"""Place the CLI in a waiting state until a condition is met.
"""Wait until a specified condition is met for the Palo Alto Networks local rulestack operation to complete.
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack certificate create",
)
class Create(AAZCommand):
"""Create a CertificateObjectLocalRulestackResource
"""Create a new certificate for a Palo Alto Networks local rulestack.

:example: Create a CertificateObjectLocalRulestackResource
:example: Create a new certificate for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack certificate create -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyCertificate --audit-comment "comment" --certificate-self-signed "TRUE" --description "description"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack certificate delete",
)
class Delete(AAZCommand):
"""Delete a CertificateObjectLocalRulestackResource
"""Delete an existing certificate for a Palo Alto Networks local rulestack.

:example: Delete a CertificateObjectLocalRulestackResource
:example: Delete an existing certificate for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack certificate delete -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyCertificate
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack certificate list",
)
class List(AAZCommand):
"""List CertificateObjectLocalRulestackResource resources by LocalRulestacks
"""List all certificates linked with the Palo Alto Networks local rulestacks.

:example: List CertificateObjectLocalRulestackResource resources by LocalRulestacks
:example: List all certificates linked with the Palo Alto Networks local rulestacks.
az palo-alto cloudngfw local-rulestack certificate list -g MyResourceGroup --local-rulestack-name MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack certificate show",
)
class Show(AAZCommand):
"""Get a CertificateObjectLocalRulestackResource
"""Retrieve details of a specific certificate for a Palo Alto Networks local rulestack.

:example: Get a CertificateObjectLocalRulestackResource
:example: Retrieve details of a specific certificate for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack certificate show -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyCertificate
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"palo-alto cloudngfw local-rulestack certificate wait",
)
class Wait(AAZWaitCommand):
"""Place the CLI in a waiting state until a condition is met.
"""Wait until a specified condition is met for the Palo Alto Networks local rulestack certificate operation to complete.
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"palo-alto cloudngfw local-rulestack fqdnlist",
)
class __CMDGroup(AAZCommandGroup):
"""Manage local-rulestack fqdnlist resource
"""Manage FQDN list for Palo Alto Networks local rulestacks.
"""
pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack fqdnlist create",
)
class Create(AAZCommand):
"""Create a FqdnListLocalRulestackResource
"""Create a new FQDN list resource for a Palo Alto Networks local rulestack.

:example: Create a FqdnListLocalRulestackResource
:example: Create a new FQDN list resource for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack fqdnlist create -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyFqdnlist --audit-comment "string" --description "description" --fqdn-list "string1" "string2"
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack fqdnlist delete",
)
class Delete(AAZCommand):
"""Delete a FqdnListLocalRulestackResource
"""Delete an existing FQDN list resource for a Palo Alto Networks local rulestack.

:example: Delete a FqdnListLocalRulestackResource
:example: Delete an existing FQDN list resource for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack fqdnlist delete -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyFqdnlist
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack fqdnlist list",
)
class List(AAZCommand):
"""List FqdnListLocalRulestackResource resources by LocalRulestacks
"""List all FQDN list resources associated with local rulestacks in Palo Alto Networks.

:example: List FqdnListLocalRulestackResource resources by LocalRulestacks
:example: List all FQDN list resources associated with local rulestacks in Palo Alto Networks.
az palo-alto cloudngfw local-rulestack fqdnlist list -g MyResourceGroup --local-rulestack-name MyLocalRulestacks
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"palo-alto cloudngfw local-rulestack fqdnlist show",
)
class Show(AAZCommand):
"""Get a FqdnListLocalRulestackResource
"""Retrieve details of a specific FQDN for a Palo Alto Networks local rulestack.

:example: Get a FqdnListLocalRulestackResource
:example: Retrieve details of a specific FQDN for a Palo Alto Networks local rulestack.
az palo-alto cloudngfw local-rulestack fqdnlist show -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyFqdnlist
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"palo-alto cloudngfw local-rulestack fqdnlist wait",
)
class Wait(AAZWaitCommand):
"""Place the CLI in a waiting state until a condition is met.
"""Wait until a specified condition is met for the Palo Alto Networks local rulestack FQDN list operation to complete.
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ interactions:
User-Agent:
- AZURECLI/2.52.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2024-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2024-07-01
response:
body:
string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n
Expand Down Expand Up @@ -577,7 +577,7 @@ interactions:
User-Agent:
- AZURECLI/2.52.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2024-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2024-07-01
response:
body:
string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n
Expand Down Expand Up @@ -1014,7 +1014,7 @@ interactions:
User-Agent:
- AZURECLI/2.52.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2024-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2024-07-01
response:
body:
string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_palo_alto_networks_cloudngfw_firewall000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n
Expand Down
Loading
Loading