Skip to content

Instantly share code, notes, and snippets.

@MaryGao
MaryGao / 1-token-crendential.ts
Last active June 13, 2022 14:05
Examples of RLC Sample
/**
{
"parameters": {
"Endpoint": "{Endpoint}",
"farmerId": "FARMER123",
"api-version": "2021-03-31-preview",
"farmer": {
"status": "Active",
"name": "John Smith",
"description": "Some description",
@MaryGao
MaryGao / migration.md
Last active June 7, 2022 02:31
Migrate test files from v1 recorder to v2 recorder

更新test 目录下的文件,注意该目录下的文件可能不止一个。以compute为例我们需要更新 compute_example.ts文件:

Import 改动1

Before

import * as assert from "assert";
import { ClientSecretCredential } from "@azure/identity";

After

import { assert } from "chai";
@MaryGao
MaryGao / MA_Experiement_Summary.md
Last active May 6, 2022 15:56
The summary doc of RLC Metrics Advisor Experiment

Overview of the Experiment

This document summarized the Metrics Advisor RLC experiment work and corresponding discussions.

RLC SDK is optimized for developer experience and bundle size to call REST API and it didn't take everything into consideration so we're supposed to add customization code to satisfy further requirement.

Below are the summerized cases and please notice that we still have open questions so share your opinions on them.

  • Custom paginate helper
  • Clarify client structure
@MaryGao
MaryGao / MA_RLC_Customization_Cases.md
Last active May 5, 2022 17:32
Metrics Advisor RLC Customization Cases

Customization Cases in Metrics Advisor Experiment RLC

When we use Metrics Advisor to do the RLC experiement, we found that there may exist customization cases which are common for other services.

So we summerized these cases which might be included in our customization guide. I also initiated the RLC customization PR and please provide feedbacks.

Customized Authentication