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
32 changes: 32 additions & 0 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1555,6 +1555,38 @@
"sha256Digest": "c6a2e75f3387bbe308d51255ab2133eddd81198cdbf4fa2d60e9b4b0046a1da9"
}
],
"ip-group": [
{
"downloadUrl": "https://azurecliprod.blob.core.windows.net/cli-extensions/ip_group-0.1.0-py2.py3-none-any.whl",
"filename": "ip_group-0.1.0-py2.py3-none-any.whl",
"metadata": {
"extensions": {
"python.details": {
"contacts": [
{
"email": "azpycli@microsoft.com",
"name": "Microsoft Corporation",
"role": "author"
}
],
"document_names": {
"description": "DESCRIPTION.rst"
},
"project_urls": {
"Home": "https://github.com/Azure/azure-cli-extensions"
}
}
},
"generator": "bdist_wheel (0.30.0)",
"license": "MIT",
"metadata_version": "2.0",
"name": "ip-group",
"summary": "Microsoft Azure Command-Line Tools IpGroup Extension",
"version": "0.1.0"
},
"sha256Digest": "a565f38827c2e86248cb939a3c72ef33f88d6e46198910904228d5a3ac52a2b9"
}
],
"keyvault-preview": [
{
"downloadUrl": "https://github.com/Azure/azure-keyvault-cli-extension/releases/download/keyvault-preview_0.1.3/keyvault_preview-0.1.3-py2.py3-none-any.whl",
Expand Down
4 changes: 2 additions & 2 deletions src/ip-group/azext_ip_group/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@


def network_client_factory(cli_ctx, **kwargs):
from azure.cli.core.profiles import ResourceType
from .profiles import CUSTOM_IP_GROUPS
from azure.cli.core.commands.client_factory import get_mgmt_service_client
return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_NETWORK, **kwargs)
return get_mgmt_service_client(cli_ctx, CUSTOM_IP_GROUPS, **kwargs)


def cf_ip_groups(cli_ctx, _):
Expand Down
2 changes: 1 addition & 1 deletion src/ip-group/azext_ip_group/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def load_command_table(self, _):

network_ip_groups_sdk = CliCommandType(
operations_tmpl='azure.mgmt.network.operations#IpGroupsOperations.{}',
operations_tmpl='azext_ip_group.vendored_sdks.operations#IpGroupsOperations.{}',
client_factory=cf_ip_groups,
min_api='2019-09-01'
)
Expand Down