问题标签 [azure-cloud-shell]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
152 浏览

azureportal - 如何在 Azure 门户(或 Cloud Shell)中检索 ACI 部署的身份验证密钥?

我已经使用 Azure ML 服务在 ACI 上创建了一个部署,它的状态是健康的。
部署时,我设置auth_enabled=True了 ,以便服务需要授权密钥才能响应。

ws我可以通过 Python 控制台在我的 Azure ML 服务工作区中获取该部署的服务身份验证密钥

但是,通过 Azure 门户或 Cloud Shell 访问这些信息会很方便。

在 Azure 门户中(与 AKS 发生的情况不同)没有显示身份验证字段,在通过尝试编辑部署访问高级设置时也是如此:

在此处输入图像描述

您能建议访问这些凭据的方法吗?

0 投票
3 回答
9177 浏览

azure - Set-AzContext 在 Azure Cloud Shell 中有效,但在 Azure PowerShell 中无效

当我执行以下命令时

Azure PowerShell我得到这个错误。

Azure Cloud Shell如果我在它运行相同的命令

我从免费试用切换到即用即付订阅,并在两种环境中使用即用即付凭据,但它不起作用。谁能帮忙

0 投票
0 回答
490 浏览

azure - 请求 Cloud Shell。无法配置 Cloud Shell:{"code":"ServerTimeout","message":"请求超时

突然从最近几个小时我收到来自云外壳的超时消息。因为这个,我被困住了。任何人都可以请。指出可能是什么问题以及我应该如何解决它。

我正在开发一些原型,并且可以免费订阅。

0 投票
1 回答
211 浏览

azure - AcquireTokenAsyn in Azure cloud shell

I'm trying to make some graph API calls from AZure CloudShell. To make the API call I have to acquire a token. I have a 100% working code in Azure Desktop version (PSVersion 5.1) But same code not working in CloudShell, which runs s with (Core - 6.2)

Cloudshell libraries have couple of mismatches with documentations

Im trying to use this version of AcuireTokenAsync.

For which I have to initial PlatmforParameter but when Im getting an error

$platformParameters = New-Object "Microsoft.IdentityModel.Clients.ActiveDirectory.PlatformParameters" "Auto" New-Object : Cannot find an overload for "PlatformParameters" and the argument count: "1". At line:1 char:23 + ... arameters = New-Object "Microsoft.IdentityModel.Clients.ActiveDirecto ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [New-Object], MethodException + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

Seems PlatformParameters accepting no arg constructor

This is my working code in Powershell Desktop 5.1 version

But same code doesn't work in CloudShell

Is there any well known variation of acquiring token from Azure Cloud shell

0 投票
1 回答
649 浏览

azure-logic-apps - 如何在逻辑应用模板文件中添加 Blob 存储连接

我想使用 Azure 云外壳将逻辑应用部署到门户,我已经修改了所有文件,并且能够成功部署逻辑应用。但是当我看到门户中的更改时,所有操作都在显示,但 blob 存储部分显示为无效连接。

请帮助我们如何在逻辑应用模板文件中提供与 Blob 存储相关的连接和所有内容。

提前致谢。

问候, Manikanta P.

0 投票
1 回答
2123 浏览

azure - Azure Cloud Shell 无法请求终端

通过门户网站,我可以请求 Cloud Shell,但无法请求终端。有谁知道如何解决这个问题?

我已经删除了我的存储帐户。当我从 Web 门户重新打开 Cloud Shell 时,这会提示我创建一个新的存储帐户。创建新的存储帐户后,我仍然收到 Failed to request a terminal 消息。

请求 Cloud Shell。成功。连接终端...

请求终端失败。

0 投票
1 回答
1524 浏览

azure - Azure 云外壳中缺少 New-AzureADPolicy

Azure 云外壳中缺少 New-AzureADPolicy

此外,如果尝试安装 AzureADPreview

结果是:

是否可以在 Web 云外壳中以某种方式使用 Azure AD?

0 投票
1 回答
392 浏览

azure - Azure Cloud Shell 对于 $keyVault = Get-AzKeyVault -VaultName $keyVaultName -ResourceGroupName $rgName 命令始终返回 Null

我正在运行以下命令以在我的 Azure Cloud Shell 实例中获取我的 KeyVault 实例。但同样的总是空的。

在此处输入图像描述

因为 的值$diskEncryptionKeyVaultUrl始终为 null,所以我无法继续进行。有人遇到过这个问题吗?

0 投票
2 回答
176 浏览

azure - 无法从 Azure 云外壳打开浏览器

我试图从云外壳打开浏览器。我在 cloud shell 中安装了 firefox,但无法启动它。

收到此错误:

文件 ...../firefox/libxul.so 的 XPCOMGlueLoad 错误:libgtk-x11-2.0.so.0:无法打开共享对象文件:没有这样的文件或目录 无法加载 XPCOM。

我在谷歌上找到了几个解决方案,但没有奏效。所以想检查是否允许从 Azure 云 Shell 启动浏览器?

0 投票
2 回答
922 浏览

c# - VS Code:Azure:在 Cloud Shell 中打开 Bash,选择目录.. 挂起

在 Visual Studio Code 中,我进行了 Azure 登录。然后 Azure:在 Cloud Shell 中打开 Bash。它提示输入目录。当我选择所需的 1 时,什么也没有发生。请帮忙。参考以下:- Azure:在 Cloud Shell 中打开 Bash