Skip to content
Closed
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
@@ -1,11 +1,11 @@
{
"commit": "2bd9b148ec4232e878641ccbb2bdde671e575add",
"commit": "a79db12e32636b390465da136f154e221725def1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.4.6",
"@autorest/python@6.4.8",
"@autorest/modelerfour@4.24.3"
],
"autorest_command": "autorest specification/paloaltonetworks/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.4.6 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/paloaltonetworks/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.4.8 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/paloaltonetworks/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs
self.subscription_id = subscription_id
self.api_version = api_version
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
kwargs.setdefault("sdk_moniker", "mgmt-paloaltonetworks/{}".format(VERSION))
kwargs.setdefault("sdk_moniker", "mgmt-paloaltonetworksngfw/{}".format(VERSION))
self._configure(**kwargs)

def _configure(self, **kwargs: Any) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from .operations import (
CertificateObjectGlobalRulestackOperations,
CertificateObjectLocalRulestackOperations,
FirewallStatusOperations,
FirewallsOperations,
FqdnListGlobalRulestackOperations,
FqdnListLocalRulestackOperations,
Expand All @@ -40,38 +41,40 @@ class PaloAltoNetworksNgfwMgmtClient: # pylint: disable=client-accepts-api-vers
"""PaloAltoNetworksNgfwMgmtClient.

:ivar global_rulestack: GlobalRulestackOperations operations
:vartype global_rulestack: azure.mgmt.paloaltonetworks.operations.GlobalRulestackOperations
:vartype global_rulestack: azure.mgmt.paloaltonetworksngfw.operations.GlobalRulestackOperations
:ivar certificate_object_global_rulestack: CertificateObjectGlobalRulestackOperations
operations
:vartype certificate_object_global_rulestack:
azure.mgmt.paloaltonetworks.operations.CertificateObjectGlobalRulestackOperations
azure.mgmt.paloaltonetworksngfw.operations.CertificateObjectGlobalRulestackOperations
:ivar fqdn_list_global_rulestack: FqdnListGlobalRulestackOperations operations
:vartype fqdn_list_global_rulestack:
azure.mgmt.paloaltonetworks.operations.FqdnListGlobalRulestackOperations
azure.mgmt.paloaltonetworksngfw.operations.FqdnListGlobalRulestackOperations
:ivar post_rules: PostRulesOperations operations
:vartype post_rules: azure.mgmt.paloaltonetworks.operations.PostRulesOperations
:vartype post_rules: azure.mgmt.paloaltonetworksngfw.operations.PostRulesOperations
:ivar prefix_list_global_rulestack: PrefixListGlobalRulestackOperations operations
:vartype prefix_list_global_rulestack:
azure.mgmt.paloaltonetworks.operations.PrefixListGlobalRulestackOperations
azure.mgmt.paloaltonetworksngfw.operations.PrefixListGlobalRulestackOperations
:ivar pre_rules: PreRulesOperations operations
:vartype pre_rules: azure.mgmt.paloaltonetworks.operations.PreRulesOperations
:vartype pre_rules: azure.mgmt.paloaltonetworksngfw.operations.PreRulesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.paloaltonetworks.operations.Operations
:vartype operations: azure.mgmt.paloaltonetworksngfw.operations.Operations
:ivar firewalls: FirewallsOperations operations
:vartype firewalls: azure.mgmt.paloaltonetworks.operations.FirewallsOperations
:vartype firewalls: azure.mgmt.paloaltonetworksngfw.operations.FirewallsOperations
:ivar local_rulestacks: LocalRulestacksOperations operations
:vartype local_rulestacks: azure.mgmt.paloaltonetworks.operations.LocalRulestacksOperations
:vartype local_rulestacks: azure.mgmt.paloaltonetworksngfw.operations.LocalRulestacksOperations
:ivar firewall_status: FirewallStatusOperations operations
:vartype firewall_status: azure.mgmt.paloaltonetworksngfw.operations.FirewallStatusOperations
:ivar certificate_object_local_rulestack: CertificateObjectLocalRulestackOperations operations
:vartype certificate_object_local_rulestack:
azure.mgmt.paloaltonetworks.operations.CertificateObjectLocalRulestackOperations
azure.mgmt.paloaltonetworksngfw.operations.CertificateObjectLocalRulestackOperations
:ivar fqdn_list_local_rulestack: FqdnListLocalRulestackOperations operations
:vartype fqdn_list_local_rulestack:
azure.mgmt.paloaltonetworks.operations.FqdnListLocalRulestackOperations
azure.mgmt.paloaltonetworksngfw.operations.FqdnListLocalRulestackOperations
:ivar local_rules: LocalRulesOperations operations
:vartype local_rules: azure.mgmt.paloaltonetworks.operations.LocalRulesOperations
:vartype local_rules: azure.mgmt.paloaltonetworksngfw.operations.LocalRulesOperations
:ivar prefix_list_local_rulestack: PrefixListLocalRulestackOperations operations
:vartype prefix_list_local_rulestack:
azure.mgmt.paloaltonetworks.operations.PrefixListLocalRulestackOperations
azure.mgmt.paloaltonetworksngfw.operations.PrefixListLocalRulestackOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
Expand Down Expand Up @@ -120,6 +123,7 @@ def __init__(
self.local_rulestacks = LocalRulestacksOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.firewall_status = FirewallStatusOperations(self._client, self._config, self._serialize, self._deserialize)
self.certificate_object_local_rulestack = CertificateObjectLocalRulestackOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **k
self.subscription_id = subscription_id
self.api_version = api_version
self.credential_scopes = kwargs.pop("credential_scopes", ["https://management.azure.com/.default"])
kwargs.setdefault("sdk_moniker", "mgmt-paloaltonetworks/{}".format(VERSION))
kwargs.setdefault("sdk_moniker", "mgmt-paloaltonetworksngfw/{}".format(VERSION))
self._configure(**kwargs)

def _configure(self, **kwargs: Any) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from .operations import (
CertificateObjectGlobalRulestackOperations,
CertificateObjectLocalRulestackOperations,
FirewallStatusOperations,
FirewallsOperations,
FqdnListGlobalRulestackOperations,
FqdnListLocalRulestackOperations,
Expand All @@ -40,38 +41,43 @@ class PaloAltoNetworksNgfwMgmtClient: # pylint: disable=client-accepts-api-vers
"""PaloAltoNetworksNgfwMgmtClient.

:ivar global_rulestack: GlobalRulestackOperations operations
:vartype global_rulestack: azure.mgmt.paloaltonetworks.aio.operations.GlobalRulestackOperations
:vartype global_rulestack:
azure.mgmt.paloaltonetworksngfw.aio.operations.GlobalRulestackOperations
:ivar certificate_object_global_rulestack: CertificateObjectGlobalRulestackOperations
operations
:vartype certificate_object_global_rulestack:
azure.mgmt.paloaltonetworks.aio.operations.CertificateObjectGlobalRulestackOperations
azure.mgmt.paloaltonetworksngfw.aio.operations.CertificateObjectGlobalRulestackOperations
:ivar fqdn_list_global_rulestack: FqdnListGlobalRulestackOperations operations
:vartype fqdn_list_global_rulestack:
azure.mgmt.paloaltonetworks.aio.operations.FqdnListGlobalRulestackOperations
azure.mgmt.paloaltonetworksngfw.aio.operations.FqdnListGlobalRulestackOperations
:ivar post_rules: PostRulesOperations operations
:vartype post_rules: azure.mgmt.paloaltonetworks.aio.operations.PostRulesOperations
:vartype post_rules: azure.mgmt.paloaltonetworksngfw.aio.operations.PostRulesOperations
:ivar prefix_list_global_rulestack: PrefixListGlobalRulestackOperations operations
:vartype prefix_list_global_rulestack:
azure.mgmt.paloaltonetworks.aio.operations.PrefixListGlobalRulestackOperations
azure.mgmt.paloaltonetworksngfw.aio.operations.PrefixListGlobalRulestackOperations
:ivar pre_rules: PreRulesOperations operations
:vartype pre_rules: azure.mgmt.paloaltonetworks.aio.operations.PreRulesOperations
:vartype pre_rules: azure.mgmt.paloaltonetworksngfw.aio.operations.PreRulesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.paloaltonetworks.aio.operations.Operations
:vartype operations: azure.mgmt.paloaltonetworksngfw.aio.operations.Operations
:ivar firewalls: FirewallsOperations operations
:vartype firewalls: azure.mgmt.paloaltonetworks.aio.operations.FirewallsOperations
:vartype firewalls: azure.mgmt.paloaltonetworksngfw.aio.operations.FirewallsOperations
:ivar local_rulestacks: LocalRulestacksOperations operations
:vartype local_rulestacks: azure.mgmt.paloaltonetworks.aio.operations.LocalRulestacksOperations
:vartype local_rulestacks:
azure.mgmt.paloaltonetworksngfw.aio.operations.LocalRulestacksOperations
:ivar firewall_status: FirewallStatusOperations operations
:vartype firewall_status:
azure.mgmt.paloaltonetworksngfw.aio.operations.FirewallStatusOperations
:ivar certificate_object_local_rulestack: CertificateObjectLocalRulestackOperations operations
:vartype certificate_object_local_rulestack:
azure.mgmt.paloaltonetworks.aio.operations.CertificateObjectLocalRulestackOperations
azure.mgmt.paloaltonetworksngfw.aio.operations.CertificateObjectLocalRulestackOperations
:ivar fqdn_list_local_rulestack: FqdnListLocalRulestackOperations operations
:vartype fqdn_list_local_rulestack:
azure.mgmt.paloaltonetworks.aio.operations.FqdnListLocalRulestackOperations
azure.mgmt.paloaltonetworksngfw.aio.operations.FqdnListLocalRulestackOperations
:ivar local_rules: LocalRulesOperations operations
:vartype local_rules: azure.mgmt.paloaltonetworks.aio.operations.LocalRulesOperations
:vartype local_rules: azure.mgmt.paloaltonetworksngfw.aio.operations.LocalRulesOperations
:ivar prefix_list_local_rulestack: PrefixListLocalRulestackOperations operations
:vartype prefix_list_local_rulestack:
azure.mgmt.paloaltonetworks.aio.operations.PrefixListLocalRulestackOperations
azure.mgmt.paloaltonetworksngfw.aio.operations.PrefixListLocalRulestackOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
Expand Down Expand Up @@ -120,6 +126,7 @@ def __init__(
self.local_rulestacks = LocalRulestacksOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.firewall_status = FirewallStatusOperations(self._client, self._config, self._serialize, self._deserialize)
self.certificate_object_local_rulestack = CertificateObjectLocalRulestackOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from ._operations import Operations
from ._firewalls_operations import FirewallsOperations
from ._local_rulestacks_operations import LocalRulestacksOperations
from ._firewall_status_operations import FirewallStatusOperations
from ._certificate_object_local_rulestack_operations import CertificateObjectLocalRulestackOperations
from ._fqdn_list_local_rulestack_operations import FqdnListLocalRulestackOperations
from ._local_rules_operations import LocalRulesOperations
Expand All @@ -34,6 +35,7 @@
"Operations",
"FirewallsOperations",
"LocalRulestacksOperations",
"FirewallStatusOperations",
"CertificateObjectLocalRulestackOperations",
"FqdnListLocalRulestackOperations",
"LocalRulesOperations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CertificateObjectGlobalRulestackOperations:
**DO NOT** instantiate this class directly.

Instead, you should access the following operations through
:class:`~azure.mgmt.paloaltonetworks.aio.PaloAltoNetworksNgfwMgmtClient`'s
:class:`~azure.mgmt.paloaltonetworksngfw.aio.PaloAltoNetworksNgfwMgmtClient`'s
:attr:`certificate_object_global_rulestack` attribute.
"""

Expand All @@ -72,7 +72,7 @@ def list(
:return: An iterator like instance of either CertificateObjectGlobalRulestackResource or the
result of cls(response)
:rtype:
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource]
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource]
:raises ~azure.core.exceptions.HttpResponseError:
"""
_headers = kwargs.pop("headers", {}) or {}
Expand Down Expand Up @@ -159,7 +159,7 @@ async def get(
:type name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: CertificateObjectGlobalRulestackResource or the result of cls(response)
:rtype: ~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource
:rtype: ~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource
:raises ~azure.core.exceptions.HttpResponseError:
"""
error_map = {
Expand Down Expand Up @@ -298,7 +298,8 @@ async def begin_create_or_update(
:param name: certificate name. Required.
:type name: str
:param resource: Resource create parameters. Required.
:type resource: ~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource
:type resource:
~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
Default value is "application/json".
:paramtype content_type: str
Expand All @@ -313,7 +314,7 @@ async def begin_create_or_update(
:return: An instance of AsyncLROPoller that returns either
CertificateObjectGlobalRulestackResource or the result of cls(response)
:rtype:
~azure.core.polling.AsyncLROPoller[~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource]
~azure.core.polling.AsyncLROPoller[~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource]
:raises ~azure.core.exceptions.HttpResponseError:
"""

Expand Down Expand Up @@ -349,7 +350,7 @@ async def begin_create_or_update(
:return: An instance of AsyncLROPoller that returns either
CertificateObjectGlobalRulestackResource or the result of cls(response)
:rtype:
~azure.core.polling.AsyncLROPoller[~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource]
~azure.core.polling.AsyncLROPoller[~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource]
:raises ~azure.core.exceptions.HttpResponseError:
"""

Expand All @@ -369,8 +370,8 @@ async def begin_create_or_update(
:type name: str
:param resource: Resource create parameters. Is either a
CertificateObjectGlobalRulestackResource type or a IO type. Required.
:type resource: ~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource or
IO
:type resource:
~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource or IO
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
Default value is None.
:paramtype content_type: str
Expand All @@ -385,7 +386,7 @@ async def begin_create_or_update(
:return: An instance of AsyncLROPoller that returns either
CertificateObjectGlobalRulestackResource or the result of cls(response)
:rtype:
~azure.core.polling.AsyncLROPoller[~azure.mgmt.paloaltonetworks.models.CertificateObjectGlobalRulestackResource]
~azure.core.polling.AsyncLROPoller[~azure.mgmt.paloaltonetworksngfw.models.CertificateObjectGlobalRulestackResource]
:raises ~azure.core.exceptions.HttpResponseError:
"""
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
Expand Down
Loading