SQL MIAA list now accounts for new text output from Azure CLI (#20305)

* SQL MIAA list now accounts for new text output in line 1

* Version bump

Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
Candice Ye
2022-08-10 22:46:55 -07:00
committed by GitHub
parent f73cf78001
commit 4d91a32bed
6 changed files with 27 additions and 7 deletions

View File

@@ -29,6 +29,11 @@ declare module 'az-ext' {
protocol: string // "https"
}
export interface SqlMiListRawOutput {
text: string,
miaaList: SqlMiListResult[]
}
export interface SqlMiListResult {
name: string, // "arc-miaa"
replicas: string, // "1/1"
@@ -592,7 +597,7 @@ declare module 'az-ext' {
},
// Additional arguments
additionalEnvVars?: AdditionalEnvVars
): Promise<AzOutput<SqlMiListResult[]>>,
): Promise<AzOutput<SqlMiListRawOutput>>,
show(
name: string,
args: {