Skip to content

Commit

Permalink
CodeGen from PR 14481 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6c7d18282f3a587ef456ef2abfe8a46ed854fbaf into 08f5e39
  • Loading branch information
SDKAuto committed Jun 1, 2021
1 parent 4f21314 commit 45ad746
Show file tree
Hide file tree
Showing 39 changed files with 6,367 additions and 2,176 deletions.
13 changes: 0 additions & 13 deletions src/connectedmachine/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
Release History
===============

0.3.0
+++++
* Renamed machine-extension subgroup to extension
* Moved all commands under the machine subgroup to the extension level

0.2.0
+++++
* machineextensions support

0.1.1
+++++
* Remove the limitation of max compatible cli core version

0.1.0
++++++
* Initial release.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.11.0"
"azext.minCliCoreVersion": "2.15.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,26 @@

def cf_connectedmachine_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from ..vendored_sdks.connectedmachine import ConnectedMachine
from azext_connectedmachine.vendored_sdks.connectedmachine import ConnectedMachine
return get_mgmt_service_client(cli_ctx,
ConnectedMachine)


def cf_machine(cli_ctx, *_):
return cf_connectedmachine_cl(cli_ctx).machine
return cf_connectedmachine_cl(cli_ctx).machines


def cf_machine_extension(cli_ctx, *_):
return cf_connectedmachine_cl(cli_ctx).machine_extension
return cf_connectedmachine_cl(cli_ctx).machine_extensions


def cf_private_link_scope(cli_ctx, *_):
return cf_connectedmachine_cl(cli_ctx).private_link_scopes


def cf_private_link_resource(cli_ctx, *_):
return cf_connectedmachine_cl(cli_ctx).private_link_resources


def cf_private_endpoint_connection(cli_ctx, *_):
return cf_connectedmachine_cl(cli_ctx).private_endpoint_connections
Loading

0 comments on commit 45ad746

Please sign in to comment.