Skip to content

Commit

Permalink
sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
t-lstauber committed Jul 10, 2024
1 parent 0b416ab commit c8570b5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/azure-firewall/azext_firewall/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AzureFirewallCommandsLoader(AzCommandsLoader):
def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from .profiles import CUSTOM_FIREWALL
register_resource_type('latest', CUSTOM_FIREWALL, '2021-08-01')
register_resource_type('latest', CUSTOM_FIREWALL, '2023-09-01')

super().__init__(
cli_ctx=cli_ctx,
Expand Down
2 changes: 1 addition & 1 deletion src/azure-firewall/azext_firewall/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def network_client_factory(cli_ctx, aux_subscriptions=None, **_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from .profiles import CUSTOM_FIREWALL
return get_mgmt_service_client(cli_ctx, CUSTOM_FIREWALL, aux_subscriptions=aux_subscriptions,
api_version='2021-08-01')
api_version='2023-09-01')


def cf_firewalls(cli_ctx, _):
Expand Down
2 changes: 1 addition & 1 deletion src/azure-firewall/azext_firewall/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load_command_table(self, _):
)

network_firewall_sdk = CliCommandType(
operations_tmpl='azext_firewall.vendored_sdks.v2021_08_01.operations#AzureFirewallsOperations.{}',
operations_tmpl='azext_firewall.vendored_sdks.v2023_09_01.operations#AzureFirewallsOperations.{}',
client_factory=cf_firewalls,
resource_type=CUSTOM_FIREWALL,
min_api='2018-08-01'
Expand Down
2 changes: 1 addition & 1 deletion src/azure-firewall/azext_firewall/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

from azure.cli.core.profiles import CustomResourceType

CUSTOM_FIREWALL = CustomResourceType('azext_firewall.vendored_sdks.v2021_08_01', 'NetworkManagementClient')
CUSTOM_FIREWALL = CustomResourceType('azext_firewall.vendored_sdks.v2023_09_01', 'NetworkManagementClient')
2 changes: 1 addition & 1 deletion src/azure-firewall/azext_firewall/tests/latest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

from azure.cli.core.profiles import register_resource_type
from azext_firewall.profiles import CUSTOM_FIREWALL
register_resource_type('latest', CUSTOM_FIREWALL, '2021-08-01')
register_resource_type('latest', CUSTOM_FIREWALL, '2023-09-01')

0 comments on commit c8570b5

Please sign in to comment.