forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Moving SSHArc changes from private repo to the public repo * Fix linter exclusions * Added license header to constants file * Fixed the local user parameter options for the config command * Changed --local-user-name to --local-user for the config command * Host for arc servers on config is not rg-vm instead of just vm
- Loading branch information
1 parent
a25ce5c
commit 78264f6
Showing
41 changed files
with
10,366 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
||
def cf_connectedmachine_cl(cli_ctx, *_): | ||
from azure.cli.core.commands.client_factory import get_mgmt_service_client | ||
from azext_ssh.vendored_sdks.connectedmachine import ConnectedMachine | ||
return get_mgmt_service_client(cli_ctx, | ||
ConnectedMachine) | ||
|
||
|
||
def cf_machine(cli_ctx, *_): | ||
return cf_connectedmachine_cl(cli_ctx).machines | ||
|
||
|
||
def cf_machine_extension(cli_ctx, *_): | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
|
||
CLIENT_PROXY_VERSION = "1.3.017131" | ||
CLIENT_PROXY_RELEASE = "release10-09-21" | ||
CLIENT_PROXY_STORAGE_URL = "https://sshproxysa.blob.core.windows.net" | ||
CLEANUP_TOTAL_TIME_LIMIT_IN_SECONDS = 120 | ||
CLEANUP_TIME_INTERVAL_IN_SECONDS = 10 |
Oops, something went wrong.