MachineLearningComputeResource.GetKeys(CancellationToken) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与机器学习计算相关的机密, (存储密钥、服务凭据等) 。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys
- 操作IdCompute_ListKeys
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeSecrets> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeSecrets>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeSecrets>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningComputeSecrets)
参数
- cancellationToken
- CancellationToken
要使用的取消标记。