diff --git a/README.md b/README.md index fb745c0e7..ef6c12886 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ debug-output-folder: $(az-output-folder)/_az_debug use-extension: "@autorest/python": "5.0.0-preview.7" - "@autorest/clicommon": "0.4.9" + "@autorest/clicommon": "0.4.10" #"@autorest/python": "latest" cli: @@ -49,6 +49,11 @@ modelerfour: pipeline: python/m2r: input: clicommon/identity + az/hider: + input: python/namer + #output-artifact: source-file-az-hider + python/codegen: + input: az/hider az/merger: input: python/namer #output-artifact: source-file-merger @@ -63,6 +68,7 @@ pipeline: output-artifact: source-file-extension az/emitter: input: + #- az/hider #- az/clicommon #- az/merger #- az/aznamer @@ -73,6 +79,7 @@ pipeline: scope-az: is-object: false output-artifact: + #- source-file-az-hider #- source-file-pynamer #- source-file-aznamer #- source-file-modifiers diff --git a/readme.az.common.md b/readme.az.common.md index d0b904618..29f0e9744 100644 --- a/readme.az.common.md +++ b/readme.az.common.md @@ -1,14 +1,17 @@ # configuration for az common - + ``` yaml $(az) extension-mode: experimental - + cli: naming: default: singularize: - operationGroup - operation + split-operation: + cli-split-operation-enabled: true + cli-split-operation-extend-poly-resource: true cli-directive: - where: operation: CheckNameAvailability @@ -17,13 +20,18 @@ cli: operationGroup: Operations operation: List hidden: true + - where: + op: CreateOrUpdate + split-operation-names: + - Create + - Update flatten: cli-flatten-set-enabled: true cli-flatten-payload: true cli-flatten-schema: false cli-flatten-all-overwrite-swagger: false ``` - + ``` yaml $(python) add-credential: true no-namespace-folders: true diff --git a/src/index.ts b/src/index.ts index f648b7a1a..f57985f1f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import { AutoRestExtension, Channel, Host } from "@azure-tools/autorest-extension-base"; +import { processRequest as hider } from './plugins/hider'; import { processRequest as aznamer } from './plugins/aznamer'; import { processRequest as modifiers } from './plugins/modifiers'; import { processRequest as merger } from './plugins/merger'; @@ -8,6 +9,7 @@ export type LogCallback = (message: string) => void; export type FileCallback = (path: string, rows: string[]) => void; export async function initializePlugins(pluginHost: AutoRestExtension) { + pluginHost.Add('hider', hider); pluginHost.Add("aznamer", aznamer); pluginHost.Add("modifiers", modifiers); pluginHost.Add('merger', merger); diff --git a/src/plugins/azgenerator/CodeModelAz.ts b/src/plugins/azgenerator/CodeModelAz.ts index d5278dbb4..1d508709e 100644 --- a/src/plugins/azgenerator/CodeModelAz.ts +++ b/src/plugins/azgenerator/CodeModelAz.ts @@ -85,11 +85,10 @@ export interface CodeModelAz { Command_MethodName: string; Command_FunctionName: string; Command_GetOriginalOperation: any; + Command_NeedGeneric: boolean; Command_GenericSetterParameter(Operation): Parameter; Command_Help: string; - - Command_CanSplit: boolean; Command_IsLongRun: boolean; Command_SubGroupName: string; @@ -106,8 +105,9 @@ export interface CodeModelAz { Method_BodyParameterName: string; Method_IsLongRun: boolean; Method_GetOriginalOperation: any; - Method_CanSplit: boolean; Method_GenericSetterParameter(Operation): Parameter; + Method_NeedGeneric: boolean; + Operation_IsHidden(op?: Operation): boolean; SelectFirstMethodParameter(containHidden?: boolean): boolean; diff --git a/src/plugins/azgenerator/CodeModelAzImpl.ts b/src/plugins/azgenerator/CodeModelAzImpl.ts index 95d63a6f9..4c7fa7527 100644 --- a/src/plugins/azgenerator/CodeModelAzImpl.ts +++ b/src/plugins/azgenerator/CodeModelAzImpl.ts @@ -280,6 +280,9 @@ export class CodeModelCliImpl implements CodeModelAz { let param = this.MethodParameter; let originParam = this.MethodParameter; let flattenedNames = param?.['targetProperty']?.['flattenedNames']; + if (isNullOrUndefined(flattenedNames) && !isNullOrUndefined(param.language['cli']['flattenedNames'])) { + flattenedNames = param.language['cli']['flattenedNames']; + } let mapName: Array = []; let paramFlattenedName = this.Parameter_MapsTo(param); let names = this.Method_NameAz.split(' '); @@ -587,14 +590,14 @@ export class CodeModelCliImpl implements CodeModelAz { let operation = this.Command; this.preMethodIndex = this.currentOperationIndex; let needNext = false; - if (operation.language['cli'].hidden || operation.language['cli'].removed) { + if (this.Operation_IsHidden(operation)) { needNext = true; } while (this.currentOperationIndex + 1 < this.CommandGroup.operations.length) { let tmpOperation = this.CommandGroup.operations[this.currentOperationIndex + 1]; if (tmpOperation.language['az'].command == operation.language['az'].command) { this.currentOperationIndex++; - if (tmpOperation.language['cli'].hidden != true && tmpOperation.language['cli'].removed != true) { + if (!this.Operation_IsHidden(tmpOperation)) { needNext = false; } } else { @@ -619,14 +622,14 @@ export class CodeModelCliImpl implements CodeModelAz { this.preMethodIndex = this.currentOperationIndex; let operation = this.Command; let needNext = false; - if (operation.language['cli'].hidden || operation.language['cli'].removed) { + if (this.Operation_IsHidden(operation)) { needNext = true; } while (this.currentOperationIndex < this.CommandGroup.operations.length - 1) { let tmpOperation = this.CommandGroup.operations[this.currentOperationIndex + 1]; if (operation.language['az'].command == tmpOperation.language['az'].command) { this.currentOperationIndex++; - if (tmpOperation.language['cli'].hidden != true && tmpOperation.language['cli'].removed != true) { + if (!this.Operation_IsHidden(tmpOperation)) { needNext = false; } } else { @@ -645,6 +648,13 @@ export class CodeModelCliImpl implements CodeModelAz { } } + public Operation_IsHidden(op: Operation = this.Method): boolean { + if (op.language['cli'].hidden || op.language['cli'].removed || op.language['cli']['cli-operation-splitted']) { + return true; + } + return false; + } + public get Command() { return this.CommandGroup.operations[this.currentOperationIndex]; } @@ -662,6 +672,9 @@ export class CodeModelCliImpl implements CodeModelAz { } public Command_GenericSetterParameter(op: Operation = this.Command): Parameter { + if (isNullOrUndefined(op)) { + return null; + } return op['genericSetterParam']; } @@ -669,19 +682,24 @@ export class CodeModelCliImpl implements CodeModelAz { return this.Command.language['az'].description.replace(/\n/g, " "); } - public get Command_CanSplit(): boolean { - if(this.CommandGroup.language['az']['hasUpdate']) { - return false; + public get Command_GetOriginalOperation(): any { + let polyOriginal = this.Command.extensions?.['cli-poly-as-resource-original-operation']; + if(!isNullOrUndefined(polyOriginal) && !isNullOrUndefined(polyOriginal.extensions['cli-split-operation-original-operation'])) { + let splitOriginal = polyOriginal.extensions['cli-split-operation-original-operation']; + return splitOriginal; } - this.SelectFirstMethod(); - if(this.Method_IsLast && this.Method_IsFirst) { - return this.Command['canSplitOperation'] ? true : false; - } - return false; + let splittedOriginal = this.Command.extensions['cli-split-operation-original-operation']; + if(!isNullOrUndefined(splittedOriginal)) { + return splittedOriginal; + } + return polyOriginal; } - public get Command_GetOriginalOperation(): any { - return this.Command.extensions?.['cli-poly-as-resource-original-operation']; + public get Command_NeedGeneric(): boolean { + if(this.Command.language['az']['isSplitUpdate'] && !isNullOrUndefined(this.Command_GenericSetterParameter(this.Command_GetOriginalOperation))) { + return true; + } + return false; } public get Command_IsLongRun(): boolean { @@ -710,7 +728,7 @@ export class CodeModelCliImpl implements CodeModelAz { if (this.currentOperationIndex >= this.preMethodIndex) { this.currentMethodIndex = this.preMethodIndex; let method = this.Method; - if (method.language['cli'].removed || method.language['cli'].hidden) { + if (this.Operation_IsHidden(method)) { if (!this.SelectNextMethod()) { return false; } @@ -727,7 +745,7 @@ export class CodeModelCliImpl implements CodeModelAz { if (this.currentMethodIndex < this.currentOperationIndex) { this.currentMethodIndex++; let method = this.Method; - if (method.language['cli'].removed || method.language['cli'].hidden) { + if (this.Operation_IsHidden(method)) { if (!this.SelectNextMethod()) { return false; } @@ -762,7 +780,16 @@ export class CodeModelCliImpl implements CodeModelAz { if (this.currentMethodIndex == this.currentOperationIndex) { return true; } else { - return false; + let curIndex = this.currentMethodIndex + 1; + let hasNext = false; + while(curIndex <= this.currentOperationIndex) { + if(!this.Operation_IsHidden(this.CommandGroup.operations[curIndex])) { + hasNext = true; + break; + } + curIndex++; + } + return hasNext? false: true; } } @@ -798,15 +825,18 @@ export class CodeModelCliImpl implements CodeModelAz { return ret.toLowerCase(); } - public get Method_CanSplit(): boolean { - if(this.CommandGroup.language['az']['hasUpdate']) { - return false; + public Method_GenericSetterParameter(op: Operation = this.Method): Parameter { + if (isNullOrUndefined(op)) { + return null; } - return this.Method['canSplitOperation'] ? true : false; + return op['genericSetterParam']; } - public Method_GenericSetterParameter(op: Operation = this.Method): Parameter { - return op['genericSetterParam']; + public get Method_NeedGeneric(): boolean { + if(this.Method.language['az']['isSplitUpdate'] && !isNullOrUndefined(this.Method_GenericSetterParameter(this.Method_GetOriginalOperation))) { + return true; + } + return false; } public Get_Method_Name(language = "az"): string { @@ -814,7 +844,16 @@ export class CodeModelCliImpl implements CodeModelAz { } public get Method_GetOriginalOperation(): any { - return this.Method.extensions?.['cli-poly-as-resource-original-operation']; + let polyOriginal = this.Method.extensions?.['cli-poly-as-resource-original-operation']; + if(!isNullOrUndefined(polyOriginal) && !isNullOrUndefined(polyOriginal.extensions?.['cli-split-operation-original-operation'])) { + let splitOriginal = polyOriginal.extensions?.['cli-split-operation-original-operation']; + return splitOriginal; + } + let splittedOriginal = this.Method.extensions?.['cli-split-operation-original-operation']; + if(!isNullOrUndefined(splittedOriginal)) { + return splittedOriginal; + } + return polyOriginal; } //================================================================================================================= // Methods Parameters. @@ -1226,7 +1265,7 @@ export class CodeModelCliImpl implements CodeModelAz { return false; } - if (this.isComplexSchema(this.MethodParameter_Type)) { + if (this.isComplexSchema(this.Parameter_Type(param))) { return true; } return false; @@ -1330,6 +1369,9 @@ export class CodeModelCliImpl implements CodeModelAz { this.ExitSubMethodParameters(); } + if (parameter.language['az']['name'] == 'identity') { + parameter; + } // Handle simple parameter if (parameter?.language?.['cli']?.removed || parameter?.language?.['cli']?.hidden) { if (this.Parameter_DefaultValue(parameter) == undefined && parameter.required == true) { diff --git a/src/plugins/azgenerator/TemplateAzureCliCommands.ts b/src/plugins/azgenerator/TemplateAzureCliCommands.ts index b4306ec55..6ecad3865 100644 --- a/src/plugins/azgenerator/TemplateAzureCliCommands.ts +++ b/src/plugins/azgenerator/TemplateAzureCliCommands.ts @@ -50,9 +50,6 @@ export function GenerateAzureCliCommands(model: CodeModelAz): string[] { needWait = true; } output = output.concat(getCommandBody(model)); - if (model.Command_CanSplit) { - output = output.concat(getCommandBody(model, true)); - } } while (model.SelectNextCommand()); if (needWait) { @@ -74,7 +71,7 @@ export function GenerateAzureCliCommands(model: CodeModelAz): string[] { return header.getLines().concat(output); } -function getCommandBody(model: CodeModelAz, needUpdate: boolean = false) { +function getCommandBody(model: CodeModelAz) { let output: string[] = []; let functionName = model.Command_FunctionName; let methodName = model.Command_MethodName; @@ -83,32 +80,22 @@ function getCommandBody(model: CodeModelAz, needUpdate: boolean = false) { endStr = ", supports_no_wait=True" + endStr; } if (methodName != "show") { - if (needUpdate) { + if (model.Command_NeedGeneric) { let argument = ""; let geneParam = null; if (model.SelectFirstMethod()) { - let originalOperation = model.Method_GetOriginalOperation; - if (!isNullOrUndefined(originalOperation)) { - geneParam = model.Method_GenericSetterParameter(originalOperation); - } else { - geneParam = model.Method_GenericSetterParameter(model.Method); - } + geneParam = model.Method_GenericSetterParameter(model.Method_GetOriginalOperation); if (!isNullOrUndefined(geneParam)) { argument = model.Parameter_NamePython(geneParam); } - } - if(isNullOrUndefined(geneParam)) { - // generic update doesn't apply here - ToMultiLine(" g.custom_command('" + methodName.replace(/create/g, 'update') + "', '" + functionName.replace(/_create/g, '_update') + "'" + endStr, output); - } else { - let generic_update = " g.generic_update_command('" + model.Command_MethodName.replace(/create/g, 'update'); + let generic_update = " g.generic_update_command('" + model.Command_MethodName; if (argument && argument != "" && argument != "parameters") { generic_update += "', setter_arg_name='" + argument; } if (model.Command_IsLongRun) { generic_update += "', setter_name='begin_create_or_update"; } - generic_update += "', custom_func_name='" + functionName.replace(/_create/g, '_update') + "'" + endStr; + generic_update += "', custom_func_name='" + functionName + "'" + endStr; ToMultiLine(generic_update, output); } } else { diff --git a/src/plugins/azgenerator/TemplateAzureCliCustom.ts b/src/plugins/azgenerator/TemplateAzureCliCustom.ts index bd3de6635..17bd9fc22 100644 --- a/src/plugins/azgenerator/TemplateAzureCliCustom.ts +++ b/src/plugins/azgenerator/TemplateAzureCliCustom.ts @@ -55,26 +55,20 @@ function GenerateBody(model: CodeModelAz, required: any): string[] { do { if (model.SelectFirstCommand()) { do { - let originalOperation = model.Command_GetOriginalOperation; - let genericParameter = null; - if (!isNullOrUndefined(originalOperation)) { - genericParameter = model.Command_GenericSetterParameter(originalOperation); - } else { - genericParameter = model.Command_GenericSetterParameter(model.Command); - } - - let needGeneric = false; - if (!isNullOrUndefined(genericParameter)) { - needGeneric = true; - } - let needUpdate = model.Command_CanSplit; - output = output.concat(GetCommandBody(model, required, false, originalOperation, false, genericParameter)); - if (needUpdate) { - output = output.concat(GetCommandBody(model, required, needUpdate, originalOperation, needGeneric, genericParameter)); - } - if (needGeneric) { - required['disableUnusedArgument'] = true; + if(model.SelectFirstMethod()) { + let originalOperation = model.Method_GetOriginalOperation; + let genericParameter = null; + if (!isNullOrUndefined(originalOperation)) { + genericParameter = model.Method_GenericSetterParameter(originalOperation); + } + + let needGeneric = model.Method_NeedGeneric; + output = output.concat(GetCommandBody(model, required, originalOperation, needGeneric, genericParameter)); + if (needGeneric) { + required['disableUnusedArgument'] = true; + } } + } while (model.SelectNextCommand()); } @@ -102,7 +96,7 @@ function ConstructMethodBodyParameter(model: CodeModelAz, needGeneric: boolean = skip = false; } if (model.MethodParameter_IsFlattened) { - if (isNullOrUndefined(model.MethodParameter['extensions']?.['cli-poly-as-resource-base-schema'])) { + if (isNullOrUndefined(model.MethodParameter['extensions']?.['cli-poly-as-resource-base-schema']) && isNullOrUndefined(model.MethodParameter['extensions']?.['cli-flattened'])) { continue; } originalParameterStack.push(model.MethodParameter); @@ -116,8 +110,13 @@ function ConstructMethodBodyParameter(model: CodeModelAz, needGeneric: boolean = let access = ""; let paramName = model.Parameter_NamePython(model.MethodParameter['targetProperty']); - if (!isNullOrUndefined(valueToMatch) && model.MethodParameter['targetProperty']?.['isDiscriminator']) { - access = ConstructValuation(needGeneric, prefixIndent, originalParameterNameStack, paramName, "'" + valueToMatch + "'"); + if (model.MethodParameter['targetProperty']?.['isDiscriminator'] == true) { + if (!isNullOrUndefined(valueToMatch)) { + access = ConstructValuation(needGeneric, prefixIndent, originalParameterNameStack, paramName, "'" + valueToMatch + "'"); + } else { + continue; + } + } else { if (!model.MethodParameter_IsHidden) { @@ -182,13 +181,11 @@ function ConstructValuation(isGeneric: boolean, prefix: string, classNames: stri } -function GetSingleCommandDef(model: CodeModelAz, required: any, originalOperation: Operation, needUpdate: boolean = false, needGeneric: boolean = false, genericParameter: Parameter = null) { +function GetSingleCommandDef(model: CodeModelAz, required: any, originalOperation: Operation, needGeneric: boolean = false, genericParameter: Parameter = null) { let output: string[] = []; let updatedMethodName: string = model.Command_FunctionName; - if (needUpdate) { - updatedMethodName = updatedMethodName.replace(/_create/g, '_update'); - } + let call = "def " + updatedMethodName + "("; let indent = " ".repeat(call.length); if (needGeneric) { @@ -215,7 +212,7 @@ function GetSingleCommandDef(model: CodeModelAz, required: any, originalOperatio continue; } - if(needUpdate && !isNullOrUndefined(genericParameter) && model.MethodParameter_MapsTo == model.Parameter_MapsTo(genericParameter)) { + if(needGeneric && !isNullOrUndefined(genericParameter) && model.MethodParameter_MapsTo == model.Parameter_MapsTo(genericParameter)) { continue; } if (model.MethodParameter_IsList && !model.MethodParameter_IsListOfSimple) { @@ -252,7 +249,7 @@ function GetSingleCommandDef(model: CodeModelAz, required: any, originalOperatio continue; } - if(needUpdate && !isNullOrUndefined(genericParameter) && model.MethodParameter_MapsTo == model.Parameter_MapsTo(genericParameter)) { + if(needGeneric && !isNullOrUndefined(genericParameter) && model.MethodParameter_MapsTo == model.Parameter_MapsTo(genericParameter)) { continue; } @@ -287,7 +284,7 @@ function GetSingleCommandDef(model: CodeModelAz, required: any, originalOperatio return output; } -function GetSingleCommandBody(model: CodeModelAz, required, originalOperation: Operation = null, needGeneric: boolean = false, genericParameter: Parameter = null, needUpdate: boolean = false) { +function GetSingleCommandBody(model: CodeModelAz, required, originalOperation: Operation = null, needGeneric: boolean = false, genericParameter: Parameter = null) { let originalParameters = null; if (!isNullOrUndefined(originalOperation)) { originalParameters = originalOperation.parameters; @@ -308,7 +305,7 @@ function GetSingleCommandBody(model: CodeModelAz, required, originalOperation: O do { if (model.SelectFirstMethodParameter()) { do { - if(needUpdate && !isNullOrUndefined(genericParameter) && model.MethodParameter_MapsTo == model.Parameter_MapsTo(genericParameter)) { + if(needGeneric && !isNullOrUndefined(genericParameter) && model.MethodParameter_MapsTo == model.Parameter_MapsTo(genericParameter)) { continue; } if (model.MethodParameter_IsList && !model.MethodParameter_IsListOfSimple && !model.MethodParameter_IsSimpleArray) { @@ -404,7 +401,7 @@ function GetSingleCommandBody(model: CodeModelAz, required, originalOperation: O if (needGeneric) { output_method_call = output_method_call.concat(" return instance"); } else { - output_method_call = output_method_call.concat(GetPolyMethodCall(model, prefix, originalOperation, originalParameters)); + output_method_call = output_method_call.concat(GetPolyMethodCall(model, prefix, originalOperation, originalParameters, required)); } } else { if (needGeneric) { @@ -422,18 +419,18 @@ function GetSingleCommandBody(model: CodeModelAz, required, originalOperation: O return output; } -function GetCommandBody(model: CodeModelAz, required: any, needUpdate: boolean = false, originalOperation: Operation = null, needGeneric: boolean = false, genericParameter: Parameter = null) { +function GetCommandBody(model: CodeModelAz, required: any, originalOperation: Operation = null, needGeneric: boolean = false, genericParameter: Parameter = null) { // create, delete, list, show, update let output: string[] = []; output.push(""); output.push(""); - output = output.concat(GetSingleCommandDef(model, required, originalOperation, needUpdate, needGeneric, genericParameter)); - output = output.concat(GetSingleCommandBody(model, required, originalOperation, needGeneric, genericParameter, needUpdate)) + output = output.concat(GetSingleCommandDef(model, required, originalOperation, needGeneric, genericParameter)); + output = output.concat(GetSingleCommandBody(model, required, originalOperation, needGeneric, genericParameter)) return output; } -function GetPolyMethodCall(model: CodeModelAz, prefix: any, originalOperation: Operation, originalParameters: Parameter[]): string[] { +function GetPolyMethodCall(model: CodeModelAz, prefix: any, originalOperation: Operation, originalParameters: Parameter[], required: any): string[] { let methodCall: string = prefix + "return "; //methodCall += "client." + mode.GetModuleOperationName() +"." + ctx.Methods[methodIdx].Name + "("; let indent = ""; @@ -465,17 +462,32 @@ function GetPolyMethodCall(model: CodeModelAz, prefix: any, originalOperation: O if (model.Parameter_InGlobal(param)) { continue; } - if (model.Parameter_IsHidden(param)) { - continue; - } let optionName = model.Parameter_SubMapsTo(model.Method_NameCli, param); let parameterName = model.Parameter_NamePython(param); + let parameterPair = ''; + if (model.Parameter_IsHidden(param)) { + if (model.Parameter_DefaultValue(param)) { + if (model.Schema_Type(param.schema) == SchemaType.Object) { + parameterPair = model.Parameter_NamePython(param) + "=json.loads(" + ToPythonString(model.Parameter_DefaultValue(param), model.Parameter_Type(param)) + ")"; + required['json'] = true; + } + else { + parameterPair = model.Parameter_NamePython(param) + "=" + ToPythonString(model.Parameter_DefaultValue(param), model.Parameter_Type(param)); + } + } + else { + parameterPair = model.Parameter_NamePython(param) + "=None"; + } + } else { + parameterPair = parameterName + "=" + optionName; + } + if (methodCall.endsWith("(")) { // XXX - split and pop is a hack - methodCall += parameterName + "=" + optionName; + methodCall += parameterPair } else { - methodCall += "," + "\n" + indent + parameterName + "=" + optionName; + methodCall += "," + "\n" + indent + parameterPair; } if (model.Parameter_IsPolyOfSimple(param)) { diff --git a/src/plugins/azgenerator/TemplateAzureCliHelp.ts b/src/plugins/azgenerator/TemplateAzureCliHelp.ts index d305cc248..7c5f8d612 100644 --- a/src/plugins/azgenerator/TemplateAzureCliHelp.ts +++ b/src/plugins/azgenerator/TemplateAzureCliHelp.ts @@ -52,14 +52,8 @@ export function GenerateAzureCliHelp(model: CodeModelAz, debug: boolean): string allLongRunCommand.push(waitParam + "d"); } } - let commandOutput: string [] = generateCommandHelp(model, false, debug); - //output.push("before output.length: " + output.length); + let commandOutput: string [] = generateCommandHelp(model, debug); output = output.concat(commandOutput); - //output.push("after output.length: " + output.length); - if (model.Command_CanSplit) { - let tmpoutput: string[] = generateCommandHelp(model, true, debug); - output = output.concat(tmpoutput); - } } while (model.SelectNextCommand()); if (hasWait) { @@ -261,7 +255,7 @@ function GetActionOptions( model: CodeModelAz, param: Parameter, keyToMatch: str return options; } -function generateCommandHelp(model: CodeModelAz, needUpdate: boolean = false, debug: boolean = false) { +function generateCommandHelp(model: CodeModelAz, debug: boolean = false) { // create, delete, list, show, update //let method: string = methods[mi]; //let ctx = model.SelectCommand(method); @@ -270,7 +264,7 @@ function generateCommandHelp(model: CodeModelAz, needUpdate: boolean = false, de // continue; let output: string[] = []; output.push(""); - let commandHead = needUpdate? model.Command_Name.replace(/ create/gi, " update"): model.Command_Name; + let commandHead = model.Command_Name; output.push("helps['" + commandHead + "'] = \"\"\""); output.push(" type: command"); diff --git a/src/plugins/azgenerator/TemplateAzureCliParams.ts b/src/plugins/azgenerator/TemplateAzureCliParams.ts index 91145976f..be9996055 100644 --- a/src/plugins/azgenerator/TemplateAzureCliParams.ts +++ b/src/plugins/azgenerator/TemplateAzureCliParams.ts @@ -37,25 +37,13 @@ export function GenerateAzureCliParams(model: CodeModelAz, debug: boolean): stri if (model.Command_IsLongRun && model.CommandGroup_HasShowCommand) { needWait = true; } - let command_output = getCommandBody(model, false, false, debug); + let needGeneric = model.Command_NeedGeneric; + let command_output = getCommandBody(model, needGeneric, debug); if (model.Command_MethodName == "show") { show_output = command_output - } - + } output_args = output_args.concat(command_output); - let originalOperation = model.Command_GetOriginalOperation; - let genericParam = model.Command_GenericSetterParameter(model.Command); - if(!isNullOrUndefined(originalOperation)) { - genericParam = model.Command_GenericSetterParameter(originalOperation); - } - let needGeneric = false; - if (!isNullOrUndefined(genericParam)) { - needGeneric = true; - } - let needUpdate = model.Command_CanSplit; - if (needUpdate) { - output_args = output_args.concat(getCommandBody(model, needUpdate, needGeneric, debug)); - } + } while (model.SelectNextCommand()); if (needWait && show_output.length > 1) { @@ -107,7 +95,7 @@ export function GenerateAzureCliParams(model: CodeModelAz, debug: boolean): stri return header.getLines().concat(output); } -function getCommandBody(model: CodeModelAz, needUpdate: boolean = false, needGeneric: boolean = false, debug: boolean = false) { +function getCommandBody(model: CodeModelAz, needGeneric: boolean = false, debug: boolean = false) { //let method: string = methods[mi]; //let ctx = model.SelectCommand(method); @@ -115,11 +103,7 @@ function getCommandBody(model: CodeModelAz, needUpdate: boolean = false, needGen // continue; let output_args: string[] = []; output_args.push(""); - if (needUpdate) { - output_args.push(" with self.argument_context('" + model.Command_Name.replace(/ create/g, " update") + "') as c:"); - } else { - output_args.push(" with self.argument_context('" + model.Command_Name + "') as c:"); - } + output_args.push(" with self.argument_context('" + model.Command_Name + "') as c:"); let hasParam = false; let allParam: Map = new Map(); @@ -326,7 +310,7 @@ function getCommandBody(model: CodeModelAz, needUpdate: boolean = false, needGen argument += ", arg_group='" + Capitalize(ToCamelCase(model.Parameter_MapsTo(baseParam))) + "'"; } } - if(!model.Method_NameAz.startsWith('list') && !model.Method_NameAz.split(' ').last.startsWith('create') || needUpdate) { + if(!model.Method_NameAz.startsWith('list') && !model.Method_NameAz.split(' ').last.startsWith('create')) { if(!isNullOrUndefined(model.MethodParameter_IdPart)) { argument += ", id_part='" + model.MethodParameter_IdPart + "'"; } diff --git a/src/plugins/azgenerator/TemplateAzureCliReport.ts b/src/plugins/azgenerator/TemplateAzureCliReport.ts index a429cbb3b..8663f956d 100644 --- a/src/plugins/azgenerator/TemplateAzureCliReport.ts +++ b/src/plugins/azgenerator/TemplateAzureCliReport.ts @@ -29,10 +29,6 @@ export function GenerateAzureCliReport(model: CodeModelAz) : string[] { { mo = getCommandBody(model); cmds[model.Command_Name] = mo; - if(model.Command_CanSplit) { - mo = getCommandBody(model, true); - cmds[model.Command_Name.replace(/ create/g, " update")] = mo; - } } while (model.SelectNextCommand()); } @@ -51,19 +47,11 @@ export function GenerateAzureCliReport(model: CodeModelAz) : string[] { return output; } -function getCommandBody(model: CodeModelAz, needUpdate: boolean = false) { +function getCommandBody(model: CodeModelAz) { let mo: string [] = []; - if(needUpdate) { - mo.push("### " + model.Command_Name.replace(/ create/g, " update")); - } else { - mo.push("### " + model.Command_Name); - } + mo.push("### " + model.Command_Name); mo.push(""); - if(needUpdate) { - mo.push(model.Command_MethodName.replace(/_create/g, "_update") + " a " + model.CommandGroup_Name + "."); - } else { - mo.push(model.Command_MethodName + " a " + model.CommandGroup_Name + "."); - } + mo.push(model.Command_MethodName + " a " + model.CommandGroup_Name + "."); mo.push(""); @@ -157,9 +145,6 @@ function getCommandBody(model: CodeModelAz, needUpdate: boolean = false) { mo.push("```"); let next: string = model.Command_Name + " " + model.Command_MethodName + " "; - if(needUpdate) { - next = model.Command_Name.replace(/ create/g, " update") + " " + model.Command_MethodName.replace(/_create/g, "_update") + " "; - } for (let k in model.Example_Params) { let v: string = model.Example_Params[k]; diff --git a/src/plugins/aznamer.ts b/src/plugins/aznamer.ts index e822f4402..9cec8da32 100644 --- a/src/plugins/aznamer.ts +++ b/src/plugins/aznamer.ts @@ -1,4 +1,4 @@ -import { CodeModel, codeModelSchema, Language } from "@azure-tools/codemodel"; +import { CodeModel, codeModelSchema, Language, SchemaType } from "@azure-tools/codemodel"; import { Session, startSession, Host, Channel } from "@azure-tools/autorest-extension-base"; import { serialize, deserialize } from "@azure-tools/codegen"; import { values, items, length, Dictionary } from "@azure-tools/linq"; @@ -158,14 +158,7 @@ export class AzNamer { } let operations = operationGroup.operations; - var hasUpdate = false; - var operationIndex = -1; operations.forEach(operation => { - operation.parameters.forEach(parameter => { - if(!isNullOrUndefined(parameter.language['cli'])) { - this.getAzName(parameter); - } - }); operation.requests.forEach(request => { let operationName = ""; if(!isNullOrUndefined(operation.language['cli'])) { @@ -181,29 +174,58 @@ export class AzNamer { if(commandName.indexOf(" ") > -1) { operation.language['az']['subCommandGroup'] = operationGroupName + " " + commandName.split(' ')[0]; } - if(operation.language['cli']['name'].toLowerCase() == "createorupdate" || operation.language['cli']['name'].toLowerCase().startsWith("createorupdate#")) { - operation['canSplitOperation'] = true; + if(operation.language['az']['command'].endsWith(" update") && !isNullOrUndefined(operation.extensions?.['cli-split-operation-original-operation'])) { + operation.language['az']['isSplitUpdate'] = true; } } else { this.session.message({Channel:Channel.Warning, Text: "OperationGroup " + operationGroup.language.default.name + " operation " + operation.language.default.name + " doesn't have cli"}); } + operation.parameters.forEach(parameter => { + if(!isNullOrUndefined(parameter.language['cli'])) { + this.getAzName(parameter); + } + }); if(request.parameters) { request.parameters.forEach(parameter => { if(parameter.language['cli'] != undefined) { this.getAzName(parameter); } - }); + }); } }); - - - if(operation.language['cli']['name'].toLowerCase() == "update") { - hasUpdate = true; + //if generic update exists, set the setter_arg_name in the original operation + if(operation.language['az']['isSplitUpdate']) { + let listCnt = 0; + let param = null; + operation.extensions['cli-split-operation-original-operation'].parameters.forEach(parameter => { + if(!isNullOrUndefined(parameter.language['az'])) { + if(operation.language['az'].name.endsWith("create") && parameter['flattened'] != true) { + let paramType = parameter.schema.type; + if(paramType == SchemaType.Any || paramType == SchemaType.Array || paramType == SchemaType.Object || paramType == SchemaType.Dictionary) { + param = parameter; + listCnt++; + } + } + } + }); + operation.extensions['cli-split-operation-original-operation'].requests.forEach(request => { + request.parameters.forEach(parameter => { + if(!isNullOrUndefined(parameter.language['az'])) { + if(operation.language['az'].command.endsWith(' update') && parameter['flattened'] != true) { + let paramType = parameter.schema.type; + if(paramType == SchemaType.Any || paramType == SchemaType.Array || paramType == SchemaType.Object || paramType == SchemaType.Dictionary) { + param = parameter; + listCnt++; + } + } + } + }); + }) + if(listCnt == 1) { + operation.extensions['cli-split-operation-original-operation']['genericSetterParam'] = param; + } } }); - if(hasUpdate) { - operationGroup.language['az']['hasUpdate'] = hasUpdate; - } }); } } diff --git a/src/plugins/hider.ts b/src/plugins/hider.ts new file mode 100644 index 000000000..eeebcb10c --- /dev/null +++ b/src/plugins/hider.ts @@ -0,0 +1,57 @@ +import { CodeModel, codeModelSchema, Language, Parameter } from "@azure-tools/codemodel"; +import { Session, startSession, Host, Channel } from "@azure-tools/autorest-extension-base"; +import { serialize, deserialize } from "@azure-tools/codegen"; +import { values, items, length, Dictionary } from "@azure-tools/linq"; +import { changeCamelToDash } from '../utils/helper'; +import { isNullOrUndefined } from "util"; + +export class Hider { + codeModel: CodeModel; + + constructor(protected session: Session) { + this.codeModel = session.model; + } + + async process() { + this.mergeOperation(); + return this.codeModel; + } + + mergeOperation() { + this.codeModel.operationGroups.forEach(operationGroup => { + let operations = operationGroup.operations.filter(function cliSplitOperation(operation, index, array) { + if (!isNullOrUndefined(operation.extensions) && !isNullOrUndefined(operation.extensions['cli-split-operation-original-operation'])) { + let originalOperation = operation.extensions['cli-split-operation-original-operation']; + if(isNullOrUndefined(originalOperation.extensions['cli-splitted-operations'])) { + originalOperation.extensions['cli-splitted-operations'] = []; + } + originalOperation.extensions['cli-splitted-operations'].push(operation); + return false; + } + return true; + }); + operationGroup.operations = operations; + }); + } +} + +export async function processRequest(host: Host) { + const debug = await host.GetValue('debug') || false; + const extensionMode = await host.GetValue('extension-mode'); + //host.Message({Channel:Channel.Warning, Text:"in aznamer processRequest"}); + + //console.error(extensionName); + try { + const session = await startSession(host, {}, codeModelSchema); + const plugin = new Hider(session); + plugin.codeModel.info['extensionMode'] = extensionMode; + const result = await plugin.process(); + host.WriteFile('code-model-v4-no-tags.yaml', serialize(result)); + } catch (E) { + if (debug) { + console.error(`${__filename} - FAILURE ${JSON.stringify(E)} ${E.stack}`); + } + throw E; + } + +} \ No newline at end of file diff --git a/src/plugins/merger.ts b/src/plugins/merger.ts index b3ce1d7b5..4395f83f0 100644 --- a/src/plugins/merger.ts +++ b/src/plugins/merger.ts @@ -21,7 +21,7 @@ export class Merger { this.codeModel.operationGroups.forEach(operationGroup => { let operations = operationGroup.operations; operationGroup.operations.forEach(operation => { - if (!isNullOrUndefined(operation.extensions) && !isNullOrUndefined(operation.extensions['cli-operations'])) { + if (!isNullOrUndefined(operation.extensions) && !isNullOrUndefined(operation.extensions['cli-operations']) && !operation.language['cli']['cli-operation-splitted']) { let nameIndexMap: Map = new Map(); let index = 0; operation.parameters.forEach(param => { diff --git a/src/plugins/modifiers.ts b/src/plugins/modifiers.ts index a0919de15..9c03ee3ce 100644 --- a/src/plugins/modifiers.ts +++ b/src/plugins/modifiers.ts @@ -241,43 +241,6 @@ export class Modifiers { } } } - // add NameMapsTo after modifier and if generic update exists, set the setter_arg_name - this.codeModel.operationGroups.forEach(operationGroup => { - let operations = operationGroup.operations; - operations.forEach(operation => { - let listCnt = 0; - let param = null; - operation.parameters.forEach(parameter => { - if(!isNullOrUndefined(parameter.language['az'])) { - if(operation.language['az'].name.endsWith("create") && parameter['flattened'] != true) { - let paramType = parameter.schema.type; - if(paramType == SchemaType.Any || paramType == SchemaType.Array || paramType == SchemaType.Object || paramType == SchemaType.Dictionary) { - param = parameter; - listCnt++; - } - } - } - }); - operation.requests.forEach(request => { - if(request.parameters) { - request.parameters.forEach(parameter => { - if(!isNullOrUndefined(parameter.language['az'])) { - if(operation.language['az'].name.endsWith("create") && parameter['flattened'] != true) { - let paramType = parameter.schema.type; - if(paramType == SchemaType.Any || paramType == SchemaType.Array || paramType == SchemaType.Object || paramType == SchemaType.Dictionary) { - param = parameter; - listCnt++; - } - } - } - }); - } - }); - if(operation.language['az'].name.endsWith("create") && listCnt == 1) { - operation['genericSetterParam'] = param; - } - }); - }); return this.codeModel; } } diff --git a/src/test/resources/attestation/attestation-az-modifier.yaml b/src/test/resources/attestation/attestation-az-modifier.yaml index fc961eef1..a198e51ee 100644 --- a/src/test/resources/attestation/attestation-az-modifier.yaml +++ b/src/test/resources/attestation/attestation-az-modifier.yaml @@ -3,3038 +3,3037 @@ info: title: AttestationManagementClient schemas: strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - az: - name: string - description: simple string - mapsto: string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDefinitionName - description: Name of the operation. - az: - name: operations-definition-name - description: Name of the operation. - mapsto: operations_definition_name - cli: - name: OperationsDefinitionName - description: Name of the operation. - protocol: {} - - &ref_3 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionProvider - description: Resource provider of the operation. - az: - name: operations-display-definition-provider - description: Resource provider of the operation. - mapsto: operations_display_definition_provider - cli: - name: OperationsDisplayDefinitionProvider - description: Resource provider of the operation. - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionResource - description: Resource for the operation. - az: - name: operations-display-definition-resource - description: Resource for the operation. - mapsto: operations_display_definition_resource - cli: - name: OperationsDisplayDefinitionResource - description: Resource for the operation. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionOperation - description: Short description of the operation. - az: - name: operations-display-definition-operation - description: Short description of the operation. - mapsto: operations_display_definition_operation - cli: - name: OperationsDisplayDefinitionOperation - description: Short description of the operation. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionDescription - description: Description of the operation. - az: - name: operations-display-definition-description - description: Description of the operation. - mapsto: operations_display_definition_description - cli: - name: OperationsDisplayDefinitionDescription - description: Description of the operation. - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: CloudErrorBodyCode - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - az: - name: cloud-error-body-code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - mapsto: cloud_error_body_code - cli: - name: CloudErrorBodyCode - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: CloudErrorBodyMessage - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - az: - name: cloud-error-body-message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - mapsto: cloud_error_body_message - cli: - name: CloudErrorBodyMessage - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2018-09-01-preview - minLength: 1 - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_58 - type: string - apiVersions: - - version: 2018-09-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._\(\)]+$' - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_20 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - az: - name: resource-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: resource_id - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_21 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: ResourceName - description: The name of the resource - az: - name: resource-name - description: The name of the resource - mapsto: resource_name - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_22 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - az: - name: resource-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: resource_type - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_19 - type: string - apiVersions: - - version: 2018-09-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives - az: - name: tracked-resource-location - description: The geo-location where the resource lives - mapsto: tracked_resource_location - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: StatusResultTrustModel - description: Trust model for the attestation service instance. - az: - name: status-result-trust-model - description: Trust model for the attestation service instance. - mapsto: status_result_trust_model - cli: - name: StatusResultTrustModel - description: Trust model for the attestation service instance. - protocol: {} - - &ref_16 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: StatusResultAttestUri - description: Gets the uri of attestation service - az: - name: status-result-attest-uri - description: Gets the uri of attestation service - mapsto: status_result_attest_uri - cli: - name: StatusResultAttestUri - description: Gets the uri of attestation service - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: AttestationServiceCreationParamsLocation - description: The supported Azure location where the attestation service instance should be created. - az: - name: attestation-service-creation-params-location - description: The supported Azure location where the attestation service instance should be created. - mapsto: attestation_service_creation_params_location - cli: - name: AttestationServiceCreationParamsLocation - description: The supported Azure location where the attestation service instance should be created. - protocol: {} - - &ref_25 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: AttestationServiceCreationSpecificParamsAttestationPolicy - description: Name of attestation policy. - az: - name: attestation-service-creation-specific-params-attestation-policy - description: Name of attestation policy. - mapsto: attestation_service_creation_specific_params_attestation_policy - cli: - name: AttestationServiceCreationSpecificParamsAttestationPolicy - description: Name of attestation policy. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyAlg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - az: - name: json-web-key-alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - mapsto: json_web_key_alg - cli: - name: JsonWebKeyAlg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - protocol: {} - - &ref_27 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyCrv - description: The "crv" (curve) parameter identifies the curve type - az: - name: json-web-key-crv - description: The "crv" (curve) parameter identifies the curve type - mapsto: json_web_key_crv - cli: - name: JsonWebKeyCrv - description: The "crv" (curve) parameter identifies the curve type - protocol: {} - - &ref_28 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyD - description: RSA private exponent or ECC private key - az: - name: json-web-key-d - description: RSA private exponent or ECC private key - mapsto: json_web_key_d - cli: - name: JsonWebKeyD - description: RSA private exponent or ECC private key - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyDp - description: RSA Private Key Parameter - az: - name: json-web-key-dp - description: RSA Private Key Parameter - mapsto: json_web_key_dp - cli: - name: JsonWebKeyDp - description: RSA Private Key Parameter - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyDq - description: RSA Private Key Parameter - az: - name: json-web-key-dq - description: RSA Private Key Parameter - mapsto: json_web_key_dq - cli: - name: JsonWebKeyDq - description: RSA Private Key Parameter - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyE - description: 'RSA public exponent, in Base64' - az: - name: json-web-key-e - description: 'RSA public exponent, in Base64' - mapsto: json_web_key_e - cli: - name: JsonWebKeyE - description: 'RSA public exponent, in Base64' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyK - description: Symmetric key - az: - name: json-web-key-k - description: Symmetric key - mapsto: json_web_key_k - cli: - name: JsonWebKeyK - description: Symmetric key - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyKid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - az: - name: json-web-key-kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - mapsto: json_web_key_kid - cli: - name: JsonWebKeyKid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - protocol: {} - - &ref_34 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyKty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - az: - name: json-web-key-kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - mapsto: json_web_key_kty - cli: - name: JsonWebKeyKty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - protocol: {} - - &ref_35 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyN - description: 'RSA modulus, in Base64' - az: - name: json-web-key-n - description: 'RSA modulus, in Base64' - mapsto: json_web_key_n - cli: - name: JsonWebKeyN - description: 'RSA modulus, in Base64' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyP - description: RSA secret prime - az: - name: json-web-key-p - description: RSA secret prime - mapsto: json_web_key_p - cli: - name: JsonWebKeyP - description: RSA secret prime - protocol: {} - - &ref_37 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyQ - description: 'RSA secret prime, with p < q' - az: - name: json-web-key-q - description: 'RSA secret prime, with p < q' - mapsto: json_web_key_q - cli: - name: JsonWebKeyQ - description: 'RSA secret prime, with p < q' - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyQi - description: RSA Private Key Parameter - az: - name: json-web-key-qi - description: RSA Private Key Parameter - mapsto: json_web_key_qi - cli: - name: JsonWebKeyQi - description: RSA Private Key Parameter - protocol: {} - - &ref_39 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyUse - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - az: - name: json-web-key-use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - mapsto: json_web_key_use - cli: - name: JsonWebKeyUse - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - protocol: {} - - &ref_40 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyX - description: X coordinate for the Elliptic Curve point - az: - name: json-web-key-x - description: X coordinate for the Elliptic Curve point - mapsto: json_web_key_x - cli: - name: JsonWebKeyX - description: X coordinate for the Elliptic Curve point - protocol: {} - - &ref_41 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyX5CItem - description: '' - az: - name: json-web-key-x5-c-item - description: '' - mapsto: json_web_key_x5_c_item - cli: - name: JsonWebKeyX5CItem - description: '' - protocol: {} - - &ref_42 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyY - description: Y coordinate for the Elliptic Curve point - az: - name: json-web-key-y - description: Y coordinate for the Elliptic Curve point - mapsto: json_web_key_y - cli: - name: JsonWebKeyY - description: Y coordinate for the Elliptic Curve point - protocol: {} + - &ref_0 + type: string + language: + default: + name: String + description: simple string + az: + name: string + description: simple string + mapsto: string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDefinitionName + description: Name of the operation. + az: + name: operations-definition-name + description: Name of the operation. + mapsto: operations_definition_name + cli: + name: OperationsDefinitionName + description: Name of the operation. + protocol: {} + - &ref_3 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionProvider + description: Resource provider of the operation. + az: + name: operations-display-definition-provider + description: Resource provider of the operation. + mapsto: operations_display_definition_provider + cli: + name: OperationsDisplayDefinitionProvider + description: Resource provider of the operation. + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionResource + description: Resource for the operation. + az: + name: operations-display-definition-resource + description: Resource for the operation. + mapsto: operations_display_definition_resource + cli: + name: OperationsDisplayDefinitionResource + description: Resource for the operation. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionOperation + description: Short description of the operation. + az: + name: operations-display-definition-operation + description: Short description of the operation. + mapsto: operations_display_definition_operation + cli: + name: OperationsDisplayDefinitionOperation + description: Short description of the operation. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionDescription + description: Description of the operation. + az: + name: operations-display-definition-description + description: Description of the operation. + mapsto: operations_display_definition_description + cli: + name: OperationsDisplayDefinitionDescription + description: Description of the operation. + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: CloudErrorBodyCode + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + az: + name: cloud-error-body-code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + mapsto: cloud_error_body_code + cli: + name: CloudErrorBodyCode + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: CloudErrorBodyMessage + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + az: + name: cloud-error-body-message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + mapsto: cloud_error_body_message + cli: + name: CloudErrorBodyMessage + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2018-09-01-preview + minLength: 1 + language: + default: + name: String + description: '' + az: + name: string + description: '' + mapsto: string + cli: + name: String + description: '' + protocol: {} + - &ref_58 + type: string + apiVersions: + - version: 2018-09-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._\(\)]+$' + language: + default: + name: String + description: '' + az: + name: string + description: '' + mapsto: string + cli: + name: String + description: '' + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: String + description: '' + az: + name: string + description: '' + mapsto: string + cli: + name: String + description: '' + protocol: {} + - &ref_20 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + az: + name: resource-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: resource_id + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_21 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: ResourceName + description: The name of the resource + az: + name: resource-name + description: The name of the resource + mapsto: resource_name + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_22 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + az: + name: resource-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: resource_type + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_19 + type: string + apiVersions: + - version: 2018-09-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives + az: + name: tracked-resource-location + description: The geo-location where the resource lives + mapsto: tracked_resource_location + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: StatusResultTrustModel + description: Trust model for the attestation service instance. + az: + name: status-result-trust-model + description: Trust model for the attestation service instance. + mapsto: status_result_trust_model + cli: + name: StatusResultTrustModel + description: Trust model for the attestation service instance. + protocol: {} + - &ref_16 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: StatusResultAttestUri + description: Gets the uri of attestation service + az: + name: status-result-attest-uri + description: Gets the uri of attestation service + mapsto: status_result_attest_uri + cli: + name: StatusResultAttestUri + description: Gets the uri of attestation service + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: AttestationServiceCreationParamsLocation + description: The supported Azure location where the attestation service instance should be created. + az: + name: attestation-service-creation-params-location + description: The supported Azure location where the attestation service instance should be created. + mapsto: attestation_service_creation_params_location + cli: + name: AttestationServiceCreationParamsLocation + description: The supported Azure location where the attestation service instance should be created. + protocol: {} + - &ref_25 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: AttestationServiceCreationSpecificParamsAttestationPolicy + description: Name of attestation policy. + az: + name: attestation-service-creation-specific-params-attestation-policy + description: Name of attestation policy. + mapsto: attestation_service_creation_specific_params_attestation_policy + cli: + name: AttestationServiceCreationSpecificParamsAttestationPolicy + description: Name of attestation policy. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyAlg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + az: + name: json-web-key-alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + mapsto: json_web_key_alg + cli: + name: JsonWebKeyAlg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + protocol: {} + - &ref_27 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyCrv + description: The "crv" (curve) parameter identifies the curve type + az: + name: json-web-key-crv + description: The "crv" (curve) parameter identifies the curve type + mapsto: json_web_key_crv + cli: + name: JsonWebKeyCrv + description: The "crv" (curve) parameter identifies the curve type + protocol: {} + - &ref_28 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyD + description: RSA private exponent or ECC private key + az: + name: json-web-key-d + description: RSA private exponent or ECC private key + mapsto: json_web_key_d + cli: + name: JsonWebKeyD + description: RSA private exponent or ECC private key + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyDp + description: RSA Private Key Parameter + az: + name: json-web-key-dp + description: RSA Private Key Parameter + mapsto: json_web_key_dp + cli: + name: JsonWebKeyDp + description: RSA Private Key Parameter + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyDq + description: RSA Private Key Parameter + az: + name: json-web-key-dq + description: RSA Private Key Parameter + mapsto: json_web_key_dq + cli: + name: JsonWebKeyDq + description: RSA Private Key Parameter + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyE + description: 'RSA public exponent, in Base64' + az: + name: json-web-key-e + description: 'RSA public exponent, in Base64' + mapsto: json_web_key_e + cli: + name: JsonWebKeyE + description: 'RSA public exponent, in Base64' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyK + description: Symmetric key + az: + name: json-web-key-k + description: Symmetric key + mapsto: json_web_key_k + cli: + name: JsonWebKeyK + description: Symmetric key + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyKid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + az: + name: json-web-key-kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + mapsto: json_web_key_kid + cli: + name: JsonWebKeyKid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + protocol: {} + - &ref_34 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyKty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + az: + name: json-web-key-kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + mapsto: json_web_key_kty + cli: + name: JsonWebKeyKty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + protocol: {} + - &ref_35 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyN + description: 'RSA modulus, in Base64' + az: + name: json-web-key-n + description: 'RSA modulus, in Base64' + mapsto: json_web_key_n + cli: + name: JsonWebKeyN + description: 'RSA modulus, in Base64' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyP + description: RSA secret prime + az: + name: json-web-key-p + description: RSA secret prime + mapsto: json_web_key_p + cli: + name: JsonWebKeyP + description: RSA secret prime + protocol: {} + - &ref_37 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyQ + description: 'RSA secret prime, with p < q' + az: + name: json-web-key-q + description: 'RSA secret prime, with p < q' + mapsto: json_web_key_q + cli: + name: JsonWebKeyQ + description: 'RSA secret prime, with p < q' + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyQi + description: RSA Private Key Parameter + az: + name: json-web-key-qi + description: RSA Private Key Parameter + mapsto: json_web_key_qi + cli: + name: JsonWebKeyQi + description: RSA Private Key Parameter + protocol: {} + - &ref_39 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyUse + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + az: + name: json-web-key-use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + mapsto: json_web_key_use + cli: + name: JsonWebKeyUse + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + protocol: {} + - &ref_40 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyX + description: X coordinate for the Elliptic Curve point + az: + name: json-web-key-x + description: X coordinate for the Elliptic Curve point + mapsto: json_web_key_x + cli: + name: JsonWebKeyX + description: X coordinate for the Elliptic Curve point + protocol: {} + - &ref_41 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyX5CItem + description: '' + az: + name: json-web-key-x5-c-item + description: '' + mapsto: json_web_key_x5_c_item + cli: + name: JsonWebKeyX5CItem + description: '' + protocol: {} + - &ref_42 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyY + description: Y coordinate for the Elliptic Curve point + az: + name: json-web-key-y + description: Y coordinate for the Elliptic Curve point + mapsto: json_web_key_y + cli: + name: JsonWebKeyY + description: Y coordinate for the Elliptic Curve point + protocol: {} choices: - - &ref_15 - choices: - - value: Ready + - &ref_15 + choices: + - value: Ready + language: + default: + name: ready + description: '' + az: + name: ready + description: '' + mapsto: ready + cli: + name: Ready + description: '' + cliKey: Ready + - value: NotReady + language: + default: + name: not_ready + description: '' + az: + name: not-ready + description: '' + mapsto: not_ready + cli: + name: NotReady + description: '' + cliKey: NotReady + - value: Error + language: + default: + name: error + description: '' + az: + name: error + description: '' + mapsto: error + cli: + name: Error + description: '' + cliKey: Error + type: choice + apiVersions: + - version: 2018-09-01-preview + choiceType: *ref_0 language: default: - name: ready - description: '' + name: AttestationServiceStatus + description: Status of attestation service. az: - name: ready - description: '' - mapsto: ready + name: attestation-service-status + description: Status of attestation service. + mapsto: attestation_service_status cli: - name: Ready - description: '' - cliKey: Ready - - value: NotReady + name: AttestationServiceStatus + description: Status of attestation service. + cliKey: AttestationServiceStatus + protocol: {} + constants: + - &ref_52 + type: constant + value: + value: 2018-09-01-preview + valueType: *ref_0 language: default: - name: not_ready - description: '' + name: api_version2018_09_01_preview + description: Api Version (2018-09-01-preview) az: - name: not-ready - description: '' - mapsto: not_ready + name: api-version20180901-preview + description: Api Version (2018-09-01-preview) + mapsto: api_version20180901_preview cli: - name: NotReady - description: '' - cliKey: NotReady - - value: Error + name: ApiVersion20180901Preview + description: Api Version (2018-09-01-preview) + protocol: {} + dictionaries: + - &ref_18 + type: dictionary + elementType: *ref_1 language: default: - name: error - description: '' + name: TrackedResourceTags + description: Resource tags. az: - name: error - description: '' - mapsto: error + name: tracked-resource-tags + description: Resource tags. + mapsto: tracked_resource_tags cli: - name: Error - description: '' - cliKey: Error - type: choice - apiVersions: - - version: 2018-09-01-preview - choiceType: *ref_0 - language: - default: - name: AttestationServiceStatus - description: Status of attestation service. - az: - name: attestation-service-status - description: Status of attestation service. - mapsto: attestation_service_status - cli: - name: AttestationServiceStatus - description: Status of attestation service. - cliKey: AttestationServiceStatus - protocol: {} - constants: - - &ref_52 - type: constant - value: - value: 2018-09-01-preview - valueType: *ref_0 - language: - default: - name: api_version2018_09_01_preview - description: Api Version (2018-09-01-preview) - az: - name: api-version20180901-preview - description: Api Version (2018-09-01-preview) - mapsto: api_version20180901_preview - cli: - name: ApiVersion20180901Preview - description: Api Version (2018-09-01-preview) - protocol: {} - dictionaries: - - &ref_18 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - az: - name: tracked-resource-tags - description: Resource tags. - mapsto: tracked_resource_tags - cli: - name: TrackedResourceTags - description: Resource tags. - protocol: {} - - &ref_24 - type: dictionary - elementType: *ref_1 - language: - default: - name: AttestationServiceCreationParamsTags - description: The tags that will be assigned to the attestation service instance. - az: - name: attestation-service-creation-params-tags - description: The tags that will be assigned to the attestation service instance. - mapsto: attestation_service_creation_params_tags - cli: - name: AttestationServiceCreationParamsTags - description: The tags that will be assigned to the attestation service instance. - protocol: {} - - &ref_46 - type: dictionary - elementType: *ref_1 - language: - default: - name: AttestationServicePatchParamsTags - description: The tags that will be assigned to the attestation service instance. - az: - name: attestation-service-patch-params-tags - description: The tags that will be assigned to the attestation service instance. - mapsto: attestation_service_patch_params_tags - cli: - name: AttestationServicePatchParamsTags - description: The tags that will be assigned to the attestation service instance. - protocol: {} + name: TrackedResourceTags + description: Resource tags. + protocol: {} + - &ref_24 + type: dictionary + elementType: *ref_1 + language: + default: + name: AttestationServiceCreationParamsTags + description: The tags that will be assigned to the attestation service instance. + az: + name: attestation-service-creation-params-tags + description: The tags that will be assigned to the attestation service instance. + mapsto: attestation_service_creation_params_tags + cli: + name: AttestationServiceCreationParamsTags + description: The tags that will be assigned to the attestation service instance. + protocol: {} + - &ref_46 + type: dictionary + elementType: *ref_1 + language: + default: + name: AttestationServicePatchParamsTags + description: The tags that will be assigned to the attestation service instance. + az: + name: attestation-service-patch-params-tags + description: The tags that will be assigned to the attestation service instance. + mapsto: attestation_service_patch_params_tags + cli: + name: AttestationServicePatchParamsTags + description: The tags that will be assigned to the attestation service instance. + protocol: {} objects: - - &ref_55 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: &ref_47 - type: array - apiVersions: + - &ref_55 + type: object + apiVersions: - version: 2018-09-01-preview - elementType: &ref_7 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: *ref_2 - serializedName: name - language: - default: - name: name - description: Name of the operation. - az: - name: name - description: Name of the operation. - mapsto: name - cli: - name: name - description: Name of the operation. - cliKey: name - protocol: {} - - schema: &ref_8 + properties: + - schema: &ref_47 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: &ref_7 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview properties: - - schema: *ref_3 - serializedName: provider - language: - default: - name: provider - description: Resource provider of the operation. - az: - name: provider - description: Resource provider of the operation. - mapsto: provider - cli: - name: provider - description: Resource provider of the operation. - cliKey: provider - protocol: {} - - schema: *ref_4 - serializedName: resource - language: - default: - name: resource - description: Resource for the operation. - az: - name: resource - description: Resource for the operation. - mapsto: resource - cli: - name: resource - description: Resource for the operation. - cliKey: resource - protocol: {} - - schema: *ref_5 - serializedName: operation - language: - default: - name: operation - description: Short description of the operation. - az: - name: operation - description: Short description of the operation. - mapsto: operation - cli: - name: operation - description: Short description of the operation. - cliKey: operation - protocol: {} - - schema: *ref_6 - serializedName: description - language: - default: - name: description - description: Description of the operation. - az: - name: description - description: Description of the operation. - mapsto: description - cli: - name: description - description: Description of the operation. - cliKey: description - protocol: {} + - schema: *ref_2 + serializedName: name + language: + default: + name: name + description: Name of the operation. + az: + name: name + description: Name of the operation. + mapsto: name + cli: + name: name + description: Name of the operation. + cliKey: name + protocol: {} + - schema: &ref_8 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - schema: *ref_3 + serializedName: provider + language: + default: + name: provider + description: Resource provider of the operation. + az: + name: provider + description: Resource provider of the operation. + mapsto: provider + cli: + name: provider + description: Resource provider of the operation. + cliKey: provider + protocol: {} + - schema: *ref_4 + serializedName: resource + language: + default: + name: resource + description: Resource for the operation. + az: + name: resource + description: Resource for the operation. + mapsto: resource + cli: + name: resource + description: Resource for the operation. + cliKey: resource + protocol: {} + - schema: *ref_5 + serializedName: operation + language: + default: + name: operation + description: Short description of the operation. + az: + name: operation + description: Short description of the operation. + mapsto: operation + cli: + name: operation + description: Short description of the operation. + cliKey: operation + protocol: {} + - schema: *ref_6 + serializedName: description + language: + default: + name: description + description: Description of the operation. + az: + name: description + description: Description of the operation. + mapsto: description + cli: + name: description + description: Description of the operation. + cliKey: description + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OperationsDisplayDefinition + description: Display object with properties of the operation. + namespace: '' + az: + name: operations-display-definition + description: Display object with properties of the operation. + mapsto: operations_display_definition + cli: + name: OperationsDisplayDefinition + description: Display object with properties of the operation. + cliKey: OperationsDisplayDefinition + protocol: {} + serializedName: display + language: + default: + name: display + description: Display object with properties of the operation. + az: + name: display + description: Display object with properties of the operation. + mapsto: display + cli: + name: display + description: Display object with properties of the operation. + cliKey: display + protocol: {} serializationFormats: - - json + - json usage: - - output + - output language: default: - name: OperationsDisplayDefinition - description: Display object with properties of the operation. + name: OperationsDefinition + description: Definition object with the name and properties of an operation. namespace: '' az: - name: operations-display-definition - description: Display object with properties of the operation. - mapsto: operations_display_definition + name: operations-definition + description: Definition object with the name and properties of an operation. + mapsto: operations_definition cli: - name: OperationsDisplayDefinition - description: Display object with properties of the operation. - cliKey: OperationsDisplayDefinition + name: OperationsDefinition + description: Definition object with the name and properties of an operation. + cliKey: OperationsDefinition protocol: {} - serializedName: display language: default: - name: display - description: Display object with properties of the operation. + name: OperationListValue + description: List of supported operations. az: - name: display - description: Display object with properties of the operation. - mapsto: display + name: operation-list-value + description: List of supported operations. + mapsto: operation_list_value cli: - name: display - description: Display object with properties of the operation. - cliKey: display + name: OperationListValue + description: List of supported operations. protocol: {} - serializationFormats: - - json - usage: - - output + serializedName: value language: default: - name: OperationsDefinition - description: Definition object with the name and properties of an operation. - namespace: '' + name: value + description: List of supported operations. az: - name: operations-definition - description: Definition object with the name and properties of an operation. - mapsto: operations_definition + name: value + description: List of supported operations. + mapsto: value cli: - name: OperationsDefinition - description: Definition object with the name and properties of an operation. - cliKey: OperationsDefinition + name: value + description: List of supported operations. + cliKey: value protocol: {} - language: - default: - name: OperationListValue - description: List of supported operations. - az: - name: operation-list-value - description: List of supported operations. - mapsto: operation_list_value - cli: - name: OperationListValue - description: List of supported operations. - protocol: {} - serializedName: value + serializationFormats: + - json + usage: + - output language: default: - name: value + name: OperationList description: List of supported operations. + namespace: '' az: - name: value + name: operation-list description: List of supported operations. - mapsto: value + mapsto: operation_list cli: - name: value + name: OperationList description: List of supported operations. - cliKey: value + cliKey: OperationList protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OperationList - description: List of supported operations. - namespace: '' - az: - name: operation-list - description: List of supported operations. - mapsto: operation_list - cli: - name: OperationList - description: List of supported operations. - cliKey: OperationList - protocol: {} - - *ref_7 - - *ref_8 - - &ref_56 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: &ref_11 - type: object - apiVersions: + - *ref_7 + - *ref_8 + - &ref_56 + type: object + apiVersions: - version: 2018-09-01-preview - properties: - - schema: *ref_9 - serializedName: code - language: - default: - name: code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - az: - name: code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - mapsto: code - cli: - name: code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - cliKey: code - protocol: {} - - schema: *ref_10 - serializedName: message + properties: + - schema: &ref_11 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - schema: *ref_9 + serializedName: code + language: + default: + name: code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + az: + name: code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + mapsto: code + cli: + name: code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + cliKey: code + protocol: {} + - schema: *ref_10 + serializedName: message + language: + default: + name: message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + az: + name: message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + mapsto: message + cli: + name: message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + cliKey: message + protocol: {} + serializationFormats: + - json + usage: + - output + extensions: + x-ms-external: true + language: + default: + name: CloudErrorBody + description: An error response from Attestation. + namespace: '' + az: + name: cloud-error-body + description: An error response from Attestation. + mapsto: cloud_error_body + cli: + name: CloudErrorBody + description: An error response from Attestation. + cliKey: CloudErrorBody + protocol: {} + serializedName: error language: default: - name: message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + name: error + description: An error response from Attestation. az: - name: message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - mapsto: message + name: error + description: An error response from Attestation. + mapsto: error cli: - name: message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - cliKey: message + name: error + description: An error response from Attestation. + cliKey: error protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - output - extensions: - x-ms-external: true - language: - default: - name: CloudErrorBody - description: An error response from Attestation. - namespace: '' - az: - name: cloud-error-body - description: An error response from Attestation. - mapsto: cloud_error_body - cli: - name: CloudErrorBody - description: An error response from Attestation. - cliKey: CloudErrorBody - protocol: {} - serializedName: error + extensions: + x-ms-external: true language: default: - name: error + name: CloudError description: An error response from Attestation. + namespace: '' az: - name: error + name: cloud-error description: An error response from Attestation. - mapsto: error + mapsto: cloud_error cli: - name: error + name: CloudError description: An error response from Attestation. - cliKey: error + cliKey: CloudError protocol: {} - serializationFormats: - - json - usage: - - output - extensions: - x-ms-external: true - language: - default: - name: CloudError - description: An error response from Attestation. - namespace: '' - az: - name: cloud-error - description: An error response from Attestation. - mapsto: cloud_error - cli: - name: CloudError - description: An error response from Attestation. - cliKey: CloudError - protocol: {} - - *ref_11 - - &ref_13 - type: object - apiVersions: - - version: 2018-09-01-preview - children: - all: - - &ref_12 - type: object - apiVersions: + - *ref_11 + - &ref_13 + type: object + apiVersions: - version: 2018-09-01-preview - children: - all: - - &ref_17 + children: + all: + - &ref_12 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview + children: + all: + - &ref_17 + type: object + apiVersions: + - version: 2018-09-01-preview + parents: + all: + - *ref_12 + - *ref_13 + immediate: + - *ref_12 + properties: + - schema: *ref_14 + flattenedNames: + - properties + - trustModel + required: false + serializedName: trustModel + language: + default: + name: trust_model + description: Trust model for the attestation service instance. + az: + name: trust-model + description: Trust model for the attestation service instance. + mapsto: trust_model + cli: + name: trustModel + description: Trust model for the attestation service instance. + cliKey: trustModel + protocol: {} + - schema: *ref_15 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Status of attestation service. + az: + name: status + description: Status of attestation service. + mapsto: status + cli: + name: status + description: Status of attestation service. + cliKey: status + protocol: {} + - schema: *ref_16 + flattenedNames: + - properties + - attestUri + required: false + serializedName: attestUri + language: + default: + name: attest_uri + description: Gets the uri of attestation service + az: + name: attest-uri + description: Gets the uri of attestation service + mapsto: attest_uri + cli: + name: attestUri + description: Gets the uri of attestation service + cliKey: attestUri + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: AttestationProvider + description: Attestation service response message. + namespace: '' + az: + name: attestation-provider + description: Attestation service response message. + mapsto: attestation_provider + cli: + name: AttestationProvider + description: Attestation service response message. + cliKey: AttestationProvider + protocol: {} + immediate: + - *ref_17 parents: all: - - *ref_12 - - *ref_13 + - *ref_13 immediate: - - *ref_12 + - *ref_13 properties: - - schema: *ref_14 - flattenedNames: - - properties - - trustModel - required: false - serializedName: trustModel - language: - default: - name: trust_model - description: Trust model for the attestation service instance. - az: - name: trust-model - description: Trust model for the attestation service instance. - mapsto: trust_model - cli: - name: trustModel - description: Trust model for the attestation service instance. - cliKey: trustModel - protocol: {} - - schema: *ref_15 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Status of attestation service. - az: - name: status - description: Status of attestation service. - mapsto: status - cli: - name: status - description: Status of attestation service. - cliKey: status - protocol: {} - - schema: *ref_16 - flattenedNames: - - properties - - attestUri - required: false - serializedName: attestUri - language: - default: - name: attest_uri - description: Gets the uri of attestation service - az: - name: attest-uri - description: Gets the uri of attestation service - mapsto: attest_uri - cli: - name: attestUri - description: Gets the uri of attestation service - cliKey: attestUri - protocol: {} + - schema: *ref_18 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + az: + name: tags + description: Resource tags. + mapsto: tags + cli: + name: tags + description: Resource tags. + cliKey: tags + protocol: {} + - schema: *ref_19 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: + name: location + description: The geo-location where the resource lives + cliKey: location + protocol: {} serializationFormats: - - json + - json usage: - - output + - output language: default: - name: AttestationProvider - description: Attestation service response message. + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource namespace: '' az: - name: attestation-provider - description: Attestation service response message. - mapsto: attestation_provider + name: tracked-resource + description: The resource model definition for a ARM tracked top level resource + mapsto: tracked_resource cli: - name: AttestationProvider - description: Attestation service response message. - cliKey: AttestationProvider + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource + cliKey: TrackedResource protocol: {} - immediate: - *ref_17 - parents: - all: - - *ref_13 - immediate: - - *ref_13 - properties: - - schema: *ref_18 - required: false - serializedName: tags + immediate: + - *ref_12 + properties: + - schema: *ref_20 + readOnly: true + serializedName: id language: default: - name: tags - description: Resource tags. + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' az: - name: tags - description: Resource tags. - mapsto: tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: id cli: - name: tags - description: Resource tags. - cliKey: tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id protocol: {} - - schema: *ref_19 - required: true - serializedName: location + - schema: *ref_21 + readOnly: true + serializedName: name language: default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: - name: location - description: The geo-location where the resource lives - cliKey: location - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - namespace: '' - az: - name: tracked-resource - description: The resource model definition for a ARM tracked top level resource - mapsto: tracked_resource - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - cliKey: TrackedResource - protocol: {} - - *ref_17 - immediate: - - *ref_12 - properties: - - schema: *ref_20 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - az: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: id - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - protocol: {} - - schema: *ref_21 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - az: - name: name - description: The name of the resource - mapsto: name - cli: - name: name - description: The name of the resource - cliKey: name - protocol: {} - - schema: *ref_22 - readOnly: true - serializedName: type + name: name + description: The name of the resource + az: + name: name + description: The name of the resource + mapsto: name + cli: + name: name + description: The name of the resource + cliKey: name + protocol: {} + - schema: *ref_22 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + az: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: type + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + protocol: {} + serializationFormats: + - json + usage: + - output + extensions: + x-ms-azure-resource: true language: default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + name: Resource + description: '' + namespace: '' az: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: type + name: resource + description: '' + mapsto: resource cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - protocol: {} - serializationFormats: - - json - usage: - - output - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: '' - namespace: '' - az: - name: resource - description: '' - mapsto: resource - cli: - name: Resource - description: '' - cliKey: Resource - protocol: {} - - *ref_12 - - *ref_17 - - &ref_61 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - &ref_63 - schema: *ref_23 - required: true - serializedName: location - language: - default: - name: location - description: The supported Azure location where the attestation service instance should be created. - az: - name: location - description: The supported Azure location where the attestation service instance should be created. - mapsto: location - cli: &ref_64 - name: location - description: The supported Azure location where the attestation service instance should be created. - cliKey: location - protocol: {} - - &ref_65 - schema: *ref_24 - required: false - serializedName: tags - language: - default: - name: tags - description: The tags that will be assigned to the attestation service instance. - az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: &ref_66 - name: tags - description: The tags that will be assigned to the attestation service instance. - cliKey: tags + name: Resource + description: '' + cliKey: Resource protocol: {} - - &ref_67 - schema: &ref_43 - type: object - apiVersions: + - *ref_12 + - *ref_17 + - &ref_61 + type: object + apiVersions: - version: 2018-09-01-preview - properties: - - schema: *ref_25 - serializedName: attestationPolicy + properties: + - &ref_63 + schema: *ref_23 + required: true + serializedName: location language: default: - name: attestation_policy - description: Name of attestation policy. + name: location + description: The supported Azure location where the attestation service instance should be created. az: - name: attestation-policy - description: Name of attestation policy. - mapsto: attestation_policy - cli: - name: attestationPolicy - description: Name of attestation policy. - cliKey: attestationPolicy + name: location + description: The supported Azure location where the attestation service instance should be created. + mapsto: location + cli: &ref_64 + name: location + description: The supported Azure location where the attestation service instance should be created. + cliKey: location + protocol: {} + - &ref_65 + schema: *ref_24 + required: false + serializedName: tags + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: &ref_66 + name: tags + description: The tags that will be assigned to the attestation service instance. + cliKey: tags protocol: {} - - schema: &ref_44 + - &ref_67 + schema: &ref_43 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview properties: - - schema: &ref_49 - type: array - apiVersions: - - version: 2018-09-01-preview - elementType: &ref_45 + - schema: *ref_25 + serializedName: attestationPolicy + language: + default: + name: attestation_policy + description: Name of attestation policy. + az: + name: attestation-policy + description: Name of attestation policy. + mapsto: attestation_policy + cli: + name: attestationPolicy + description: Name of attestation policy. + cliKey: attestationPolicy + protocol: {} + - schema: &ref_44 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview properties: - - schema: *ref_26 - required: true - serializedName: alg - language: - default: - name: alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - az: - name: alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - mapsto: alg - cli: - name: alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - cliKey: alg - protocol: {} - - schema: *ref_27 - required: false - serializedName: crv - language: - default: - name: crv - description: The "crv" (curve) parameter identifies the curve type - az: - name: crv - description: The "crv" (curve) parameter identifies the curve type - mapsto: crv - cli: - name: crv - description: The "crv" (curve) parameter identifies the curve type - cliKey: crv - protocol: {} - - schema: *ref_28 - required: false - serializedName: d - language: - default: - name: d - description: RSA private exponent or ECC private key - az: - name: d - description: RSA private exponent or ECC private key - mapsto: d - cli: - name: d - description: RSA private exponent or ECC private key - cliKey: d - protocol: {} - - schema: *ref_29 - required: false - serializedName: dp - language: - default: - name: dp - description: RSA Private Key Parameter - az: - name: dp - description: RSA Private Key Parameter - mapsto: dp - cli: - name: dp - description: RSA Private Key Parameter - cliKey: dp - protocol: {} - - schema: *ref_30 - required: false - serializedName: dq - language: - default: - name: dq - description: RSA Private Key Parameter - az: - name: dq - description: RSA Private Key Parameter - mapsto: dq - cli: - name: dq - description: RSA Private Key Parameter - cliKey: dq - protocol: {} - - schema: *ref_31 - required: false - serializedName: e - language: - default: - name: e - description: 'RSA public exponent, in Base64' - az: - name: e - description: 'RSA public exponent, in Base64' - mapsto: e - cli: - name: e - description: 'RSA public exponent, in Base64' - cliKey: e - protocol: {} - - schema: *ref_32 - required: false - serializedName: k - language: - default: - name: k - description: Symmetric key - az: - name: k - description: Symmetric key - mapsto: k - cli: - name: k - description: Symmetric key - cliKey: k - protocol: {} - - schema: *ref_33 - required: true - serializedName: kid - language: - default: - name: kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - az: - name: kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - mapsto: kid - cli: - name: kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - cliKey: kid - protocol: {} - - schema: *ref_34 - required: true - serializedName: kty - language: - default: - name: kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - az: - name: kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - mapsto: kty - cli: - name: kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - cliKey: kty - protocol: {} - - schema: *ref_35 - required: false - serializedName: 'n' - language: - default: - name: 'n' - description: 'RSA modulus, in Base64' - az: - name: 'n' - description: 'RSA modulus, in Base64' - mapsto: 'n' - cli: - name: 'n' - description: 'RSA modulus, in Base64' - cliKey: 'n' - protocol: {} - - schema: *ref_36 - required: false - serializedName: p - language: - default: - name: p - description: RSA secret prime - az: - name: p - description: RSA secret prime - mapsto: p - cli: - name: p - description: RSA secret prime - cliKey: p - protocol: {} - - schema: *ref_37 - required: false - serializedName: q - language: - default: - name: q - description: 'RSA secret prime, with p < q' - az: - name: q - description: 'RSA secret prime, with p < q' - mapsto: q - cli: - name: q - description: 'RSA secret prime, with p < q' - cliKey: q - protocol: {} - - schema: *ref_38 - required: false - serializedName: qi - language: - default: - name: qi - description: RSA Private Key Parameter - az: - name: qi - description: RSA Private Key Parameter - mapsto: qi - cli: - name: qi - description: RSA Private Key Parameter - cliKey: qi - protocol: {} - - schema: *ref_39 - required: true - serializedName: use - language: - default: - name: use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - az: - name: use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - mapsto: use - cli: - name: use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - cliKey: use - protocol: {} - - schema: *ref_40 - required: false - serializedName: x - language: - default: - name: x - description: X coordinate for the Elliptic Curve point - az: - name: x - description: X coordinate for the Elliptic Curve point - mapsto: x - cli: - name: x - description: X coordinate for the Elliptic Curve point - cliKey: x - protocol: {} - - schema: &ref_48 - type: array - apiVersions: - - version: 2018-09-01-preview - elementType: *ref_41 + - schema: &ref_49 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: &ref_45 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - schema: *ref_26 + required: true + serializedName: alg + language: + default: + name: alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + az: + name: alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + mapsto: alg + cli: + name: alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + cliKey: alg + protocol: {} + - schema: *ref_27 + required: false + serializedName: crv + language: + default: + name: crv + description: The "crv" (curve) parameter identifies the curve type + az: + name: crv + description: The "crv" (curve) parameter identifies the curve type + mapsto: crv + cli: + name: crv + description: The "crv" (curve) parameter identifies the curve type + cliKey: crv + protocol: {} + - schema: *ref_28 + required: false + serializedName: d + language: + default: + name: d + description: RSA private exponent or ECC private key + az: + name: d + description: RSA private exponent or ECC private key + mapsto: d + cli: + name: d + description: RSA private exponent or ECC private key + cliKey: d + protocol: {} + - schema: *ref_29 + required: false + serializedName: dp + language: + default: + name: dp + description: RSA Private Key Parameter + az: + name: dp + description: RSA Private Key Parameter + mapsto: dp + cli: + name: dp + description: RSA Private Key Parameter + cliKey: dp + protocol: {} + - schema: *ref_30 + required: false + serializedName: dq + language: + default: + name: dq + description: RSA Private Key Parameter + az: + name: dq + description: RSA Private Key Parameter + mapsto: dq + cli: + name: dq + description: RSA Private Key Parameter + cliKey: dq + protocol: {} + - schema: *ref_31 + required: false + serializedName: e + language: + default: + name: e + description: 'RSA public exponent, in Base64' + az: + name: e + description: 'RSA public exponent, in Base64' + mapsto: e + cli: + name: e + description: 'RSA public exponent, in Base64' + cliKey: e + protocol: {} + - schema: *ref_32 + required: false + serializedName: k + language: + default: + name: k + description: Symmetric key + az: + name: k + description: Symmetric key + mapsto: k + cli: + name: k + description: Symmetric key + cliKey: k + protocol: {} + - schema: *ref_33 + required: true + serializedName: kid + language: + default: + name: kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + az: + name: kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + mapsto: kid + cli: + name: kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + cliKey: kid + protocol: {} + - schema: *ref_34 + required: true + serializedName: kty + language: + default: + name: kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + az: + name: kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + mapsto: kty + cli: + name: kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + cliKey: kty + protocol: {} + - schema: *ref_35 + required: false + serializedName: 'n' + language: + default: + name: 'n' + description: 'RSA modulus, in Base64' + az: + name: 'n' + description: 'RSA modulus, in Base64' + mapsto: 'n' + cli: + name: 'n' + description: 'RSA modulus, in Base64' + cliKey: 'n' + protocol: {} + - schema: *ref_36 + required: false + serializedName: p + language: + default: + name: p + description: RSA secret prime + az: + name: p + description: RSA secret prime + mapsto: p + cli: + name: p + description: RSA secret prime + cliKey: p + protocol: {} + - schema: *ref_37 + required: false + serializedName: q + language: + default: + name: q + description: 'RSA secret prime, with p < q' + az: + name: q + description: 'RSA secret prime, with p < q' + mapsto: q + cli: + name: q + description: 'RSA secret prime, with p < q' + cliKey: q + protocol: {} + - schema: *ref_38 + required: false + serializedName: qi + language: + default: + name: qi + description: RSA Private Key Parameter + az: + name: qi + description: RSA Private Key Parameter + mapsto: qi + cli: + name: qi + description: RSA Private Key Parameter + cliKey: qi + protocol: {} + - schema: *ref_39 + required: true + serializedName: use + language: + default: + name: use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + az: + name: use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + mapsto: use + cli: + name: use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + cliKey: use + protocol: {} + - schema: *ref_40 + required: false + serializedName: x + language: + default: + name: x + description: X coordinate for the Elliptic Curve point + az: + name: x + description: X coordinate for the Elliptic Curve point + mapsto: x + cli: + name: x + description: X coordinate for the Elliptic Curve point + cliKey: x + protocol: {} + - schema: &ref_48 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: *ref_41 + language: + default: + name: JsonWebKeyX5C + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + az: + name: json-web-key-x5-c + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + mapsto: json_web_key_x5_c + cli: + name: JsonWebKeyX5C + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + protocol: {} + required: false + serializedName: x5c + language: + default: + name: x5_c + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + az: + name: x5-c + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + mapsto: x5_c + cli: + name: x5C + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + cliKey: x5c + protocol: {} + - schema: *ref_42 + required: false + serializedName: 'y' + language: + default: + name: 'y' + description: Y coordinate for the Elliptic Curve point + az: + name: 'y' + description: Y coordinate for the Elliptic Curve point + mapsto: 'y' + cli: + name: 'y' + description: Y coordinate for the Elliptic Curve point + cliKey: 'y' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: JsonWebKey + description: '' + namespace: '' + az: + name: json-web-key + description: '' + mapsto: json_web_key + cli: + name: JsonWebKey + description: '' + cliKey: JSONWebKey + protocol: {} + language: + default: + name: JsonWebKeySetKeys + description: |- + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + az: + name: json-web-key-set-keys + description: |- + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + mapsto: json_web_key_set_keys + cli: + name: JsonWebKeySetKeys + description: |- + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + protocol: {} + serializedName: keys language: default: - name: JsonWebKeyX5C + name: keys description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. az: - name: json-web-key-x5-c + name: keys description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - mapsto: json_web_key_x5_c + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + mapsto: keys cli: - name: JsonWebKeyX5C + name: keys description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + cliKey: keys protocol: {} - required: false - serializedName: x5c - language: - default: - name: x5_c - description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - az: - name: x5-c - description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - mapsto: x5_c - cli: - name: x5C - description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - cliKey: x5c - protocol: {} - - schema: *ref_42 - required: false - serializedName: 'y' - language: - default: - name: 'y' - description: Y coordinate for the Elliptic Curve point - az: - name: 'y' - description: Y coordinate for the Elliptic Curve point - mapsto: 'y' - cli: - name: 'y' - description: Y coordinate for the Elliptic Curve point - cliKey: 'y' - protocol: {} serializationFormats: - - json + - json usage: - - input + - input language: default: - name: JsonWebKey + name: JsonWebKeySet description: '' namespace: '' az: - name: json-web-key + name: json-web-key-set description: '' - mapsto: json_web_key + mapsto: json_web_key_set cli: - name: JsonWebKey + name: JsonWebKeySet description: '' - cliKey: JSONWebKey + cliKey: JSONWebKeySet protocol: {} + serializedName: policySigningCertificates language: default: - name: JsonWebKeySetKeys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. + name: policy_signing_certificates + description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations az: - name: json-web-key-set-keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - mapsto: json_web_key_set_keys + name: policy-signing-certificates + description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations + mapsto: policy_signing_certificates cli: - name: JsonWebKeySetKeys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. + name: policySigningCertificates + description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations + cliKey: policySigningCertificates protocol: {} - serializedName: keys - language: - default: - name: keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - az: - name: keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - mapsto: keys - cli: - name: keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - cliKey: keys - protocol: {} serializationFormats: - - json + - json usage: - - input + - input language: default: - name: JsonWebKeySet - description: '' + name: AttestationServiceCreationSpecificParams + description: Client supplied parameters used to create a new attestation service instance. namespace: '' az: - name: json-web-key-set - description: '' - mapsto: json_web_key_set + name: attestation-service-creation-specific-params + description: Client supplied parameters used to create a new attestation service instance. + mapsto: attestation_service_creation_specific_params cli: - name: JsonWebKeySet - description: '' - cliKey: JSONWebKeySet + name: AttestationServiceCreationSpecificParams + description: Client supplied parameters used to create a new attestation service instance. + cliKey: AttestationServiceCreationSpecificParams protocol: {} - serializedName: policySigningCertificates + required: true + serializedName: properties language: default: - name: policy_signing_certificates - description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations + name: properties + description: Properties of the attestation service instance az: - name: policy-signing-certificates - description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations - mapsto: policy_signing_certificates - cli: - name: policySigningCertificates - description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations - cliKey: policySigningCertificates + name: properties + description: Properties of the attestation service instance + mapsto: properties + cli: &ref_68 + name: properties + description: Properties of the attestation service instance + cliKey: properties protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - input - language: - default: - name: AttestationServiceCreationSpecificParams - description: Client supplied parameters used to create a new attestation service instance. - namespace: '' - az: - name: attestation-service-creation-specific-params - description: Client supplied parameters used to create a new attestation service instance. - mapsto: attestation_service_creation_specific_params - cli: - name: AttestationServiceCreationSpecificParams - description: Client supplied parameters used to create a new attestation service instance. - cliKey: AttestationServiceCreationSpecificParams - protocol: {} - required: true - serializedName: properties + extensions: + x-ms-azure-resource: true language: default: - name: properties - description: Properties of the attestation service instance + name: AttestationServiceCreationParams + description: Parameters for creating an attestation service instance + namespace: '' az: - name: properties - description: Properties of the attestation service instance - mapsto: properties - cli: &ref_68 - name: properties - description: Properties of the attestation service instance - cliKey: properties + name: attestation-service-creation-params + description: Parameters for creating an attestation service instance + mapsto: attestation_service_creation_params + cli: + name: AttestationServiceCreationParams + description: Parameters for creating an attestation service instance + cliKey: AttestationServiceCreationParams protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: AttestationServiceCreationParams - description: Parameters for creating an attestation service instance - namespace: '' - az: - name: attestation-service-creation-params - description: Parameters for creating an attestation service instance - mapsto: attestation_service_creation_params - cli: - name: AttestationServiceCreationParams - description: Parameters for creating an attestation service instance - cliKey: AttestationServiceCreationParams - protocol: {} - - *ref_43 - - *ref_44 - - *ref_45 - - &ref_74 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - &ref_76 - schema: *ref_46 - serializedName: tags + - *ref_43 + - *ref_44 + - *ref_45 + - &ref_74 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - &ref_76 + schema: *ref_46 + serializedName: tags + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: &ref_77 + name: tags + description: The tags that will be assigned to the attestation service instance. + cliKey: tags + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true language: default: - name: tags - description: The tags that will be assigned to the attestation service instance. + name: AttestationServicePatchParams + description: Parameters for patching an attestation service instance + namespace: '' az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: &ref_77 - name: tags - description: The tags that will be assigned to the attestation service instance. - cliKey: tags + name: attestation-service-patch-params + description: Parameters for patching an attestation service instance + mapsto: attestation_service_patch_params + cli: + name: AttestationServicePatchParams + description: Parameters for patching an attestation service instance + cliKey: AttestationServicePatchParams protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: AttestationServicePatchParams - description: Parameters for patching an attestation service instance - namespace: '' - az: - name: attestation-service-patch-params - description: Parameters for patching an attestation service instance - mapsto: attestation_service_patch_params - cli: - name: AttestationServicePatchParams - description: Parameters for patching an attestation service instance - cliKey: AttestationServicePatchParams - protocol: {} - - &ref_83 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: &ref_50 - type: array - apiVersions: + - &ref_83 + type: object + apiVersions: - version: 2018-09-01-preview - elementType: *ref_17 - language: - default: - name: AttestationProviderListResultValue - description: Attestation Provider array. - az: - name: attestation-provider-list-result-value - description: Attestation Provider array. - mapsto: attestation_provider_list_result_value - cli: - name: AttestationProviderListResultValue - description: Attestation Provider array. - protocol: {} - serializedName: value + properties: + - schema: &ref_50 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: *ref_17 + language: + default: + name: AttestationProviderListResultValue + description: Attestation Provider array. + az: + name: attestation-provider-list-result-value + description: Attestation Provider array. + mapsto: attestation_provider_list_result_value + cli: + name: AttestationProviderListResultValue + description: Attestation Provider array. + protocol: {} + serializedName: value + language: + default: + name: value + description: Attestation Provider array. + az: + name: value + description: Attestation Provider array. + mapsto: value + cli: + name: value + description: Attestation Provider array. + cliKey: value + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: value - description: Attestation Provider array. + name: AttestationProviderListResult + description: Attestation Providers List. + namespace: '' az: - name: value - description: Attestation Provider array. - mapsto: value + name: attestation-provider-list-result + description: Attestation Providers List. + mapsto: attestation_provider_list_result cli: - name: value - description: Attestation Provider array. - cliKey: value + name: AttestationProviderListResult + description: Attestation Providers List. + cliKey: AttestationProviderListResult protocol: {} - serializationFormats: - - json - usage: - - output + arrays: + - *ref_47 + - *ref_48 + - *ref_49 + - *ref_50 +globalParameters: + - &ref_57 + schema: *ref_51 + implementation: Client + required: true + extensions: + x-ms-priority: 0 language: default: - name: AttestationProviderListResult - description: Attestation Providers List. - namespace: '' + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId az: - name: attestation-provider-list-result - description: Attestation Providers List. - mapsto: attestation_provider_list_result + name: subscription-id + description: The ID of the target subscription. + mapsto: subscription_id cli: - name: AttestationProviderListResult - description: Attestation Providers List. - cliKey: AttestationProviderListResult - protocol: {} - arrays: - - *ref_47 - - *ref_48 - - *ref_49 - - *ref_50 -globalParameters: -- &ref_57 - schema: *ref_51 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - az: - name: subscription-id - description: The ID of the target subscription. - mapsto: subscription_id - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - protocol: - http: - in: path -- &ref_53 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - az: - name: $host - description: server parameter - mapsto: $host - cli: - name: $host - description: server parameter - cliKey: $host - protocol: - http: - in: uri -- &ref_54 - schema: *ref_52 - implementation: Client - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - az: - name: api-version - description: Api Version - mapsto: api_version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - protocol: - http: - in: query -operationGroups: -- $key: Operations - operations: - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_54 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.Attestation/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_55 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + protocol: + http: + in: path + - &ref_53 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + required: true extensions: - x-ms-examples: - Operations_List: - parameters: - api-version: 2018-09-01-preview - responses: - '200': - body: - - name: Microsoft.Attestation/attestationProviders/attestation/read - display: - description: Get status of attestation service. - operation: Get status of attestation service - provider: Microsoft Azure Attestation - resource: Attestation - - name: Microsoft.Attestation/attestationProviders/attestation/write - display: - description: Adds attestation service. - operation: Adds attestation service. - provider: Microsoft Azure Attestation - resource: Attestation - - name: Microsoft.Attestation/attestationProviders/attestation/delete - display: - description: Removes attestation service - operation: Removes attestation service - provider: Microsoft Azure Attestation - resource: Attestation + x-ms-skip-url-encoding: true language: default: - name: list - description: Lists all of the available Azure attestation operations. + name: $host + description: server parameter + serializedName: $host az: - name: list - description: Lists all of the available Azure attestation operations. - command: attestation operation list + name: $host + description: server parameter + mapsto: $host cli: - name: List - description: Lists all of the available Azure attestation operations. - cliKey: List - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - az: - name: Operation - description: '' - command: attestation operation - cli: - name: Operation - description: '' - cliKey: Operations - protocol: {} -- $key: AttestationProviders - operations: - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_59 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_60 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service instance - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service instance - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service instance - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_59 - - *ref_60 - responses: - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Get: - parameters: - api-version: 2018-09-01-preview - providerName: myattestationprovider - resourceGroupName: MyResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 + name: $host + description: server parameter + cliKey: $host + protocol: + http: + in: uri + - &ref_54 + schema: *ref_52 + implementation: Client + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + az: + name: api-version + description: Api Version + mapsto: api_version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_54 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.Attestation/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_55 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Operations_List: + parameters: + api-version: 2018-09-01-preview + responses: + '200': + body: + - name: Microsoft.Attestation/attestationProviders/attestation/read + display: + description: Get status of attestation service. + operation: Get status of attestation service + provider: Microsoft Azure Attestation + resource: Attestation + - name: Microsoft.Attestation/attestationProviders/attestation/write + display: + description: Adds attestation service. + operation: Adds attestation service. + provider: Microsoft Azure Attestation + resource: Attestation + - name: Microsoft.Attestation/attestationProviders/attestation/delete + display: + description: Removes attestation service + operation: Removes attestation service + provider: Microsoft Azure Attestation + resource: Attestation + language: + default: + name: list + description: Lists all of the available Azure attestation operations. + az: + name: list + description: Lists all of the available Azure attestation operations. + command: attestation operation list + cli: + name: List + description: Lists all of the available Azure attestation operations. + cliKey: List + hidden: true + protocol: {} language: default: - name: get - description: Get the status of Attestation Provider. + name: Operation + description: '' az: - name: show - description: Get the status of Attestation Provider. - command: attestation attestation-provider show + name: Operation + description: '' + command: attestation operation cli: - name: Get - description: Get the status of Attestation Provider. - cliKey: Get + name: Operation + description: '' + cliKey: Operations protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_72 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_73 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - parameters: - - &ref_62 - schema: *ref_61 - flattened: true - implementation: Method - required: true + - $key: AttestationProviders + operations: + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_59 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_60 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service instance + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service instance + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service instance + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_59 + - *ref_60 + responses: + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + AttestationProviders_Get: + parameters: + api-version: 2018-09-01-preview + providerName: myattestationprovider + resourceGroupName: MyResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 language: default: - name: _creation_params - description: Client supplied parameters. + name: get + description: Get the status of Attestation Provider. az: - name: _creation_params - description: Client supplied parameters. - mapsto: _creation_params + name: show + description: Get the status of Attestation Provider. + command: attestation attestation-provider show cli: - name: _creation_params - description: Client supplied parameters. - cliKey: creationParams - protocol: - http: - in: body - style: json - - &ref_69 - schema: *ref_23 - implementation: Method - originalParameter: *ref_62 - pathToProperty: [] - required: true - targetProperty: *ref_63 + name: Get + description: Get the status of Attestation Provider. + cliKey: Get + protocol: {} + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_72 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_73 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - parameters: + - &ref_62 + schema: *ref_61 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _creation_params + description: Client supplied parameters. + az: + name: _creation_params + description: Client supplied parameters. + mapsto: _creation_params + cli: + name: _creation_params + description: Client supplied parameters. + cliKey: creationParams + protocol: + http: + in: body + style: json + - &ref_69 + schema: *ref_23 + implementation: Method + originalParameter: *ref_62 + pathToProperty: [] + required: true + targetProperty: *ref_63 + language: + default: + name: location + description: The supported Azure location where the attestation service instance should be created. + az: + name: location + description: The supported Azure location where the attestation service instance should be created. + mapsto: location + cli: *ref_64 + protocol: {} + - &ref_70 + schema: *ref_24 + implementation: Method + originalParameter: *ref_62 + pathToProperty: [] + required: false + targetProperty: *ref_65 + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: *ref_66 + protocol: {} + - &ref_71 + schema: *ref_43 + implementation: Method + originalParameter: *ref_62 + pathToProperty: [] + required: true + targetProperty: *ref_67 + language: + default: + name: properties + description: Properties of the attestation service instance + az: + name: properties + description: Properties of the attestation service instance + mapsto: properties + cli: *ref_68 + protocol: {} + signatureParameters: + - *ref_69 + - *ref_70 + - *ref_71 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_72 + - *ref_73 + responses: + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_Create: + parameters: + api-version: 2018-09-01-preview + creationParams: test + providerName: myattestationprovider + resourceGroupName: MyResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 + '201': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 language: default: - name: location - description: The supported Azure location where the attestation service instance should be created. + name: create + description: Creates or updates the Attestation Provider. az: - name: location - description: The supported Azure location where the attestation service instance should be created. - mapsto: location - cli: *ref_64 + name: create + description: Creates or updates the Attestation Provider. + command: attestation attestation-provider create + cli: + name: Create + description: Creates or updates the Attestation Provider. + cliKey: Create protocol: {} - - &ref_70 - schema: *ref_24 - implementation: Method - originalParameter: *ref_62 - pathToProperty: [] - required: false - targetProperty: *ref_65 + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_79 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_80 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - parameters: + - &ref_75 + schema: *ref_74 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _update_params + description: Client supplied parameters. + az: + name: _update_params + description: Client supplied parameters. + mapsto: _update_params + cli: + name: _update_params + description: Client supplied parameters. + cliKey: updateParams + protocol: + http: + in: body + style: json + - &ref_78 + schema: *ref_46 + implementation: Method + originalParameter: *ref_75 + pathToProperty: [] + targetProperty: *ref_76 + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: *ref_77 + protocol: {} + signatureParameters: + - *ref_78 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_79 + - *ref_80 + responses: + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_Update: + parameters: + api-version: 2018-09-01-preview + providerName: myattestationprovider + resourceGroupName: MyResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + updateParams: + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 + responses: + '200': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 language: default: - name: tags - description: The tags that will be assigned to the attestation service instance. + name: update + description: Updates the Attestation Provider. az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: *ref_66 + name: update + description: Updates the Attestation Provider. + command: attestation attestation-provider update + cli: + name: Update + description: Updates the Attestation Provider. + cliKey: Update protocol: {} - - &ref_71 - schema: *ref_43 - implementation: Method - originalParameter: *ref_62 - pathToProperty: [] - required: true - targetProperty: *ref_67 + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_81 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_82 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_81 + - *ref_82 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_Delete: + parameters: + api-version: 2018-09-01-preview + providerName: myattestationprovider + resourceGroupName: sample-resource-group + serviceName: sampleservicename + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + description: Resource exists and was deleted successfully + '202': + description: Request accepted for deletion of attestation service + '204': + description: Resource does not exist language: default: - name: properties - description: Properties of the attestation service instance + name: delete + description: Delete Attestation Service. az: - name: properties - description: Properties of the attestation service instance - mapsto: properties - cli: *ref_68 + name: delete + description: Delete Attestation Service. + command: attestation attestation-provider delete + cli: + name: Delete + description: Delete Attestation Service. + cliKey: Delete protocol: {} - signatureParameters: - - *ref_69 - - *ref_70 - - *ref_71 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_72 - - *ref_73 - responses: - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Create: - parameters: - api-version: 2018-09-01-preview - creationParams: test - providerName: myattestationprovider - resourceGroupName: MyResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 - '201': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 - language: - default: - name: create - description: Creates or updates the Attestation Provider. - az: - name: create - description: Creates or updates the Attestation Provider. - command: attestation attestation-provider create - cli: - name: Create - description: Creates or updates the Attestation Provider. - cliKey: Create - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_79 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_80 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - parameters: - - &ref_75 - schema: *ref_74 - flattened: true - implementation: Method - required: true + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_54 + - *ref_57 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_83 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + AttestationProviders_List: + parameters: + api-version: 2018-09-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + status: Ready + - name: codes2 + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2 + location: East US + properties: + status: Ready language: default: - name: _update_params - description: Client supplied parameters. + name: list + description: Returns a list of attestation providers in a subscription. az: - name: _update_params - description: Client supplied parameters. - mapsto: _update_params + name: list + description: Returns a list of attestation providers in a subscription. + command: attestation attestation-provider list cli: - name: _update_params - description: Client supplied parameters. - cliKey: updateParams - protocol: - http: - in: body - style: json - - &ref_78 - schema: *ref_46 - implementation: Method - originalParameter: *ref_75 - pathToProperty: [] - targetProperty: *ref_76 + name: List + description: Returns a list of attestation providers in a subscription. + cliKey: List + protocol: {} + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - &ref_84 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - *ref_54 + - *ref_57 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders' + method: get + uri: '{$host}' + signatureParameters: + - *ref_84 + responses: + - schema: *ref_83 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_ListByResourceGroup: + parameters: + api-version: 2018-09-01-preview + resourceGroupName: testrg1 + subscriptionId: 6c96b33e-f5b8-40a6-9011-5cb1c58b0915 + responses: + '200': + body: + value: + - name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + status: Ready + - name: codes2 + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2 + location: East US + properties: + status: Ready language: default: - name: tags - description: The tags that will be assigned to the attestation service instance. + name: list_by_resource_group + description: Returns attestation providers list in a resource group. az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: *ref_77 + name: list + description: Returns attestation providers list in a resource group. + command: attestation attestation-provider list + cli: + name: ListByResourceGroup + description: Returns attestation providers list in a resource group. + cliKey: ListByResourceGroup protocol: {} - signatureParameters: - - *ref_78 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_79 - - *ref_80 - responses: - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Update: - parameters: - api-version: 2018-09-01-preview - providerName: myattestationprovider - resourceGroupName: MyResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - updateParams: - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 - responses: - '200': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 language: default: - name: update - description: Updates the Attestation Provider. - az: - name: update - description: Updates the Attestation Provider. - command: attestation attestation-provider update - cli: - name: Update - description: Updates the Attestation Provider. - cliKey: Update - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_81 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_82 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_81 - - *ref_82 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Delete: - parameters: - api-version: 2018-09-01-preview - providerName: myattestationprovider - resourceGroupName: sample-resource-group - serviceName: sampleservicename - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - description: Resource exists and was deleted successfully - '202': - description: Request accepted for deletion of attestation service - '204': - description: Resource does not exist - language: - default: - name: delete - description: Delete Attestation Service. - az: - name: delete - description: Delete Attestation Service. - command: attestation attestation-provider delete - cli: - name: Delete - description: Delete Attestation Service. - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_54 - - *ref_57 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_83 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_List: - parameters: - api-version: 2018-09-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - status: Ready - - name: codes2 - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2 - location: East US - properties: - status: Ready - language: - default: - name: list - description: Returns a list of attestation providers in a subscription. - az: - name: list - description: Returns a list of attestation providers in a subscription. - command: attestation attestation-provider list - cli: - name: List - description: Returns a list of attestation providers in a subscription. - cliKey: List - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - &ref_84 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - *ref_54 - - *ref_57 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders' - method: get - uri: '{$host}' - signatureParameters: - - *ref_84 - responses: - - schema: *ref_83 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_ListByResourceGroup: - parameters: - api-version: 2018-09-01-preview - resourceGroupName: testrg1 - subscriptionId: 6c96b33e-f5b8-40a6-9011-5cb1c58b0915 - responses: - '200': - body: - value: - - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - status: Ready - - name: codes2 - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2 - location: East US - properties: - status: Ready - language: - default: - name: list_by_resource_group - description: Returns attestation providers list in a resource group. + name: AttestationProvider + description: '' az: - name: list - description: Returns attestation providers list in a resource group. - command: attestation attestation-provider list + name: AttestationProvider + description: '' + command: attestation attestation-provider + hasShowCommand: true cli: - name: ListByResourceGroup - description: Returns attestation providers list in a resource group. - cliKey: ListByResourceGroup + name: AttestationProvider + description: '' + cliKey: AttestationProviders protocol: {} - language: - default: - name: AttestationProvider - description: '' - az: - name: AttestationProvider - description: '' - command: attestation attestation-provider - hasShowCommand: true - hasUpdate: true - cli: - name: AttestationProvider - description: '' - cliKey: AttestationProviders - protocol: {} language: default: name: AttestationManagementClient diff --git a/src/test/resources/attestation/attestation-az-namer.yaml b/src/test/resources/attestation/attestation-az-namer.yaml index fc961eef1..a198e51ee 100644 --- a/src/test/resources/attestation/attestation-az-namer.yaml +++ b/src/test/resources/attestation/attestation-az-namer.yaml @@ -3,3038 +3,3037 @@ info: title: AttestationManagementClient schemas: strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - az: - name: string - description: simple string - mapsto: string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDefinitionName - description: Name of the operation. - az: - name: operations-definition-name - description: Name of the operation. - mapsto: operations_definition_name - cli: - name: OperationsDefinitionName - description: Name of the operation. - protocol: {} - - &ref_3 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionProvider - description: Resource provider of the operation. - az: - name: operations-display-definition-provider - description: Resource provider of the operation. - mapsto: operations_display_definition_provider - cli: - name: OperationsDisplayDefinitionProvider - description: Resource provider of the operation. - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionResource - description: Resource for the operation. - az: - name: operations-display-definition-resource - description: Resource for the operation. - mapsto: operations_display_definition_resource - cli: - name: OperationsDisplayDefinitionResource - description: Resource for the operation. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionOperation - description: Short description of the operation. - az: - name: operations-display-definition-operation - description: Short description of the operation. - mapsto: operations_display_definition_operation - cli: - name: OperationsDisplayDefinitionOperation - description: Short description of the operation. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: OperationsDisplayDefinitionDescription - description: Description of the operation. - az: - name: operations-display-definition-description - description: Description of the operation. - mapsto: operations_display_definition_description - cli: - name: OperationsDisplayDefinitionDescription - description: Description of the operation. - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: CloudErrorBodyCode - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - az: - name: cloud-error-body-code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - mapsto: cloud_error_body_code - cli: - name: CloudErrorBodyCode - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: CloudErrorBodyMessage - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - az: - name: cloud-error-body-message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - mapsto: cloud_error_body_message - cli: - name: CloudErrorBodyMessage - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2018-09-01-preview - minLength: 1 - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_58 - type: string - apiVersions: - - version: 2018-09-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._\(\)]+$' - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_20 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - az: - name: resource-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: resource_id - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_21 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: ResourceName - description: The name of the resource - az: - name: resource-name - description: The name of the resource - mapsto: resource_name - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_22 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - az: - name: resource-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: resource_type - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_19 - type: string - apiVersions: - - version: 2018-09-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives - az: - name: tracked-resource-location - description: The geo-location where the resource lives - mapsto: tracked_resource_location - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: StatusResultTrustModel - description: Trust model for the attestation service instance. - az: - name: status-result-trust-model - description: Trust model for the attestation service instance. - mapsto: status_result_trust_model - cli: - name: StatusResultTrustModel - description: Trust model for the attestation service instance. - protocol: {} - - &ref_16 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: StatusResultAttestUri - description: Gets the uri of attestation service - az: - name: status-result-attest-uri - description: Gets the uri of attestation service - mapsto: status_result_attest_uri - cli: - name: StatusResultAttestUri - description: Gets the uri of attestation service - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: AttestationServiceCreationParamsLocation - description: The supported Azure location where the attestation service instance should be created. - az: - name: attestation-service-creation-params-location - description: The supported Azure location where the attestation service instance should be created. - mapsto: attestation_service_creation_params_location - cli: - name: AttestationServiceCreationParamsLocation - description: The supported Azure location where the attestation service instance should be created. - protocol: {} - - &ref_25 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: AttestationServiceCreationSpecificParamsAttestationPolicy - description: Name of attestation policy. - az: - name: attestation-service-creation-specific-params-attestation-policy - description: Name of attestation policy. - mapsto: attestation_service_creation_specific_params_attestation_policy - cli: - name: AttestationServiceCreationSpecificParamsAttestationPolicy - description: Name of attestation policy. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyAlg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - az: - name: json-web-key-alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - mapsto: json_web_key_alg - cli: - name: JsonWebKeyAlg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - protocol: {} - - &ref_27 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyCrv - description: The "crv" (curve) parameter identifies the curve type - az: - name: json-web-key-crv - description: The "crv" (curve) parameter identifies the curve type - mapsto: json_web_key_crv - cli: - name: JsonWebKeyCrv - description: The "crv" (curve) parameter identifies the curve type - protocol: {} - - &ref_28 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyD - description: RSA private exponent or ECC private key - az: - name: json-web-key-d - description: RSA private exponent or ECC private key - mapsto: json_web_key_d - cli: - name: JsonWebKeyD - description: RSA private exponent or ECC private key - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyDp - description: RSA Private Key Parameter - az: - name: json-web-key-dp - description: RSA Private Key Parameter - mapsto: json_web_key_dp - cli: - name: JsonWebKeyDp - description: RSA Private Key Parameter - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyDq - description: RSA Private Key Parameter - az: - name: json-web-key-dq - description: RSA Private Key Parameter - mapsto: json_web_key_dq - cli: - name: JsonWebKeyDq - description: RSA Private Key Parameter - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyE - description: 'RSA public exponent, in Base64' - az: - name: json-web-key-e - description: 'RSA public exponent, in Base64' - mapsto: json_web_key_e - cli: - name: JsonWebKeyE - description: 'RSA public exponent, in Base64' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyK - description: Symmetric key - az: - name: json-web-key-k - description: Symmetric key - mapsto: json_web_key_k - cli: - name: JsonWebKeyK - description: Symmetric key - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyKid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - az: - name: json-web-key-kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - mapsto: json_web_key_kid - cli: - name: JsonWebKeyKid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - protocol: {} - - &ref_34 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyKty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - az: - name: json-web-key-kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - mapsto: json_web_key_kty - cli: - name: JsonWebKeyKty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - protocol: {} - - &ref_35 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyN - description: 'RSA modulus, in Base64' - az: - name: json-web-key-n - description: 'RSA modulus, in Base64' - mapsto: json_web_key_n - cli: - name: JsonWebKeyN - description: 'RSA modulus, in Base64' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyP - description: RSA secret prime - az: - name: json-web-key-p - description: RSA secret prime - mapsto: json_web_key_p - cli: - name: JsonWebKeyP - description: RSA secret prime - protocol: {} - - &ref_37 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyQ - description: 'RSA secret prime, with p < q' - az: - name: json-web-key-q - description: 'RSA secret prime, with p < q' - mapsto: json_web_key_q - cli: - name: JsonWebKeyQ - description: 'RSA secret prime, with p < q' - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyQi - description: RSA Private Key Parameter - az: - name: json-web-key-qi - description: RSA Private Key Parameter - mapsto: json_web_key_qi - cli: - name: JsonWebKeyQi - description: RSA Private Key Parameter - protocol: {} - - &ref_39 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyUse - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - az: - name: json-web-key-use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - mapsto: json_web_key_use - cli: - name: JsonWebKeyUse - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - protocol: {} - - &ref_40 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyX - description: X coordinate for the Elliptic Curve point - az: - name: json-web-key-x - description: X coordinate for the Elliptic Curve point - mapsto: json_web_key_x - cli: - name: JsonWebKeyX - description: X coordinate for the Elliptic Curve point - protocol: {} - - &ref_41 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyX5CItem - description: '' - az: - name: json-web-key-x5-c-item - description: '' - mapsto: json_web_key_x5_c_item - cli: - name: JsonWebKeyX5CItem - description: '' - protocol: {} - - &ref_42 - type: string - apiVersions: - - version: 2018-09-01-preview - language: - default: - name: JsonWebKeyY - description: Y coordinate for the Elliptic Curve point - az: - name: json-web-key-y - description: Y coordinate for the Elliptic Curve point - mapsto: json_web_key_y - cli: - name: JsonWebKeyY - description: Y coordinate for the Elliptic Curve point - protocol: {} + - &ref_0 + type: string + language: + default: + name: String + description: simple string + az: + name: string + description: simple string + mapsto: string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDefinitionName + description: Name of the operation. + az: + name: operations-definition-name + description: Name of the operation. + mapsto: operations_definition_name + cli: + name: OperationsDefinitionName + description: Name of the operation. + protocol: {} + - &ref_3 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionProvider + description: Resource provider of the operation. + az: + name: operations-display-definition-provider + description: Resource provider of the operation. + mapsto: operations_display_definition_provider + cli: + name: OperationsDisplayDefinitionProvider + description: Resource provider of the operation. + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionResource + description: Resource for the operation. + az: + name: operations-display-definition-resource + description: Resource for the operation. + mapsto: operations_display_definition_resource + cli: + name: OperationsDisplayDefinitionResource + description: Resource for the operation. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionOperation + description: Short description of the operation. + az: + name: operations-display-definition-operation + description: Short description of the operation. + mapsto: operations_display_definition_operation + cli: + name: OperationsDisplayDefinitionOperation + description: Short description of the operation. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: OperationsDisplayDefinitionDescription + description: Description of the operation. + az: + name: operations-display-definition-description + description: Description of the operation. + mapsto: operations_display_definition_description + cli: + name: OperationsDisplayDefinitionDescription + description: Description of the operation. + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: CloudErrorBodyCode + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + az: + name: cloud-error-body-code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + mapsto: cloud_error_body_code + cli: + name: CloudErrorBodyCode + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: CloudErrorBodyMessage + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + az: + name: cloud-error-body-message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + mapsto: cloud_error_body_message + cli: + name: CloudErrorBodyMessage + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2018-09-01-preview + minLength: 1 + language: + default: + name: String + description: '' + az: + name: string + description: '' + mapsto: string + cli: + name: String + description: '' + protocol: {} + - &ref_58 + type: string + apiVersions: + - version: 2018-09-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._\(\)]+$' + language: + default: + name: String + description: '' + az: + name: string + description: '' + mapsto: string + cli: + name: String + description: '' + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: String + description: '' + az: + name: string + description: '' + mapsto: string + cli: + name: String + description: '' + protocol: {} + - &ref_20 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + az: + name: resource-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: resource_id + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_21 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: ResourceName + description: The name of the resource + az: + name: resource-name + description: The name of the resource + mapsto: resource_name + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_22 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + az: + name: resource-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: resource_type + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_19 + type: string + apiVersions: + - version: 2018-09-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives + az: + name: tracked-resource-location + description: The geo-location where the resource lives + mapsto: tracked_resource_location + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: StatusResultTrustModel + description: Trust model for the attestation service instance. + az: + name: status-result-trust-model + description: Trust model for the attestation service instance. + mapsto: status_result_trust_model + cli: + name: StatusResultTrustModel + description: Trust model for the attestation service instance. + protocol: {} + - &ref_16 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: StatusResultAttestUri + description: Gets the uri of attestation service + az: + name: status-result-attest-uri + description: Gets the uri of attestation service + mapsto: status_result_attest_uri + cli: + name: StatusResultAttestUri + description: Gets the uri of attestation service + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: AttestationServiceCreationParamsLocation + description: The supported Azure location where the attestation service instance should be created. + az: + name: attestation-service-creation-params-location + description: The supported Azure location where the attestation service instance should be created. + mapsto: attestation_service_creation_params_location + cli: + name: AttestationServiceCreationParamsLocation + description: The supported Azure location where the attestation service instance should be created. + protocol: {} + - &ref_25 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: AttestationServiceCreationSpecificParamsAttestationPolicy + description: Name of attestation policy. + az: + name: attestation-service-creation-specific-params-attestation-policy + description: Name of attestation policy. + mapsto: attestation_service_creation_specific_params_attestation_policy + cli: + name: AttestationServiceCreationSpecificParamsAttestationPolicy + description: Name of attestation policy. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyAlg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + az: + name: json-web-key-alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + mapsto: json_web_key_alg + cli: + name: JsonWebKeyAlg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + protocol: {} + - &ref_27 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyCrv + description: The "crv" (curve) parameter identifies the curve type + az: + name: json-web-key-crv + description: The "crv" (curve) parameter identifies the curve type + mapsto: json_web_key_crv + cli: + name: JsonWebKeyCrv + description: The "crv" (curve) parameter identifies the curve type + protocol: {} + - &ref_28 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyD + description: RSA private exponent or ECC private key + az: + name: json-web-key-d + description: RSA private exponent or ECC private key + mapsto: json_web_key_d + cli: + name: JsonWebKeyD + description: RSA private exponent or ECC private key + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyDp + description: RSA Private Key Parameter + az: + name: json-web-key-dp + description: RSA Private Key Parameter + mapsto: json_web_key_dp + cli: + name: JsonWebKeyDp + description: RSA Private Key Parameter + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyDq + description: RSA Private Key Parameter + az: + name: json-web-key-dq + description: RSA Private Key Parameter + mapsto: json_web_key_dq + cli: + name: JsonWebKeyDq + description: RSA Private Key Parameter + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyE + description: 'RSA public exponent, in Base64' + az: + name: json-web-key-e + description: 'RSA public exponent, in Base64' + mapsto: json_web_key_e + cli: + name: JsonWebKeyE + description: 'RSA public exponent, in Base64' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyK + description: Symmetric key + az: + name: json-web-key-k + description: Symmetric key + mapsto: json_web_key_k + cli: + name: JsonWebKeyK + description: Symmetric key + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyKid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + az: + name: json-web-key-kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + mapsto: json_web_key_kid + cli: + name: JsonWebKeyKid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + protocol: {} + - &ref_34 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyKty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + az: + name: json-web-key-kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + mapsto: json_web_key_kty + cli: + name: JsonWebKeyKty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + protocol: {} + - &ref_35 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyN + description: 'RSA modulus, in Base64' + az: + name: json-web-key-n + description: 'RSA modulus, in Base64' + mapsto: json_web_key_n + cli: + name: JsonWebKeyN + description: 'RSA modulus, in Base64' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyP + description: RSA secret prime + az: + name: json-web-key-p + description: RSA secret prime + mapsto: json_web_key_p + cli: + name: JsonWebKeyP + description: RSA secret prime + protocol: {} + - &ref_37 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyQ + description: 'RSA secret prime, with p < q' + az: + name: json-web-key-q + description: 'RSA secret prime, with p < q' + mapsto: json_web_key_q + cli: + name: JsonWebKeyQ + description: 'RSA secret prime, with p < q' + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyQi + description: RSA Private Key Parameter + az: + name: json-web-key-qi + description: RSA Private Key Parameter + mapsto: json_web_key_qi + cli: + name: JsonWebKeyQi + description: RSA Private Key Parameter + protocol: {} + - &ref_39 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyUse + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + az: + name: json-web-key-use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + mapsto: json_web_key_use + cli: + name: JsonWebKeyUse + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + protocol: {} + - &ref_40 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyX + description: X coordinate for the Elliptic Curve point + az: + name: json-web-key-x + description: X coordinate for the Elliptic Curve point + mapsto: json_web_key_x + cli: + name: JsonWebKeyX + description: X coordinate for the Elliptic Curve point + protocol: {} + - &ref_41 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyX5CItem + description: '' + az: + name: json-web-key-x5-c-item + description: '' + mapsto: json_web_key_x5_c_item + cli: + name: JsonWebKeyX5CItem + description: '' + protocol: {} + - &ref_42 + type: string + apiVersions: + - version: 2018-09-01-preview + language: + default: + name: JsonWebKeyY + description: Y coordinate for the Elliptic Curve point + az: + name: json-web-key-y + description: Y coordinate for the Elliptic Curve point + mapsto: json_web_key_y + cli: + name: JsonWebKeyY + description: Y coordinate for the Elliptic Curve point + protocol: {} choices: - - &ref_15 - choices: - - value: Ready + - &ref_15 + choices: + - value: Ready + language: + default: + name: ready + description: '' + az: + name: ready + description: '' + mapsto: ready + cli: + name: Ready + description: '' + cliKey: Ready + - value: NotReady + language: + default: + name: not_ready + description: '' + az: + name: not-ready + description: '' + mapsto: not_ready + cli: + name: NotReady + description: '' + cliKey: NotReady + - value: Error + language: + default: + name: error + description: '' + az: + name: error + description: '' + mapsto: error + cli: + name: Error + description: '' + cliKey: Error + type: choice + apiVersions: + - version: 2018-09-01-preview + choiceType: *ref_0 language: default: - name: ready - description: '' + name: AttestationServiceStatus + description: Status of attestation service. az: - name: ready - description: '' - mapsto: ready + name: attestation-service-status + description: Status of attestation service. + mapsto: attestation_service_status cli: - name: Ready - description: '' - cliKey: Ready - - value: NotReady + name: AttestationServiceStatus + description: Status of attestation service. + cliKey: AttestationServiceStatus + protocol: {} + constants: + - &ref_52 + type: constant + value: + value: 2018-09-01-preview + valueType: *ref_0 language: default: - name: not_ready - description: '' + name: api_version2018_09_01_preview + description: Api Version (2018-09-01-preview) az: - name: not-ready - description: '' - mapsto: not_ready + name: api-version20180901-preview + description: Api Version (2018-09-01-preview) + mapsto: api_version20180901_preview cli: - name: NotReady - description: '' - cliKey: NotReady - - value: Error + name: ApiVersion20180901Preview + description: Api Version (2018-09-01-preview) + protocol: {} + dictionaries: + - &ref_18 + type: dictionary + elementType: *ref_1 language: default: - name: error - description: '' + name: TrackedResourceTags + description: Resource tags. az: - name: error - description: '' - mapsto: error + name: tracked-resource-tags + description: Resource tags. + mapsto: tracked_resource_tags cli: - name: Error - description: '' - cliKey: Error - type: choice - apiVersions: - - version: 2018-09-01-preview - choiceType: *ref_0 - language: - default: - name: AttestationServiceStatus - description: Status of attestation service. - az: - name: attestation-service-status - description: Status of attestation service. - mapsto: attestation_service_status - cli: - name: AttestationServiceStatus - description: Status of attestation service. - cliKey: AttestationServiceStatus - protocol: {} - constants: - - &ref_52 - type: constant - value: - value: 2018-09-01-preview - valueType: *ref_0 - language: - default: - name: api_version2018_09_01_preview - description: Api Version (2018-09-01-preview) - az: - name: api-version20180901-preview - description: Api Version (2018-09-01-preview) - mapsto: api_version20180901_preview - cli: - name: ApiVersion20180901Preview - description: Api Version (2018-09-01-preview) - protocol: {} - dictionaries: - - &ref_18 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - az: - name: tracked-resource-tags - description: Resource tags. - mapsto: tracked_resource_tags - cli: - name: TrackedResourceTags - description: Resource tags. - protocol: {} - - &ref_24 - type: dictionary - elementType: *ref_1 - language: - default: - name: AttestationServiceCreationParamsTags - description: The tags that will be assigned to the attestation service instance. - az: - name: attestation-service-creation-params-tags - description: The tags that will be assigned to the attestation service instance. - mapsto: attestation_service_creation_params_tags - cli: - name: AttestationServiceCreationParamsTags - description: The tags that will be assigned to the attestation service instance. - protocol: {} - - &ref_46 - type: dictionary - elementType: *ref_1 - language: - default: - name: AttestationServicePatchParamsTags - description: The tags that will be assigned to the attestation service instance. - az: - name: attestation-service-patch-params-tags - description: The tags that will be assigned to the attestation service instance. - mapsto: attestation_service_patch_params_tags - cli: - name: AttestationServicePatchParamsTags - description: The tags that will be assigned to the attestation service instance. - protocol: {} + name: TrackedResourceTags + description: Resource tags. + protocol: {} + - &ref_24 + type: dictionary + elementType: *ref_1 + language: + default: + name: AttestationServiceCreationParamsTags + description: The tags that will be assigned to the attestation service instance. + az: + name: attestation-service-creation-params-tags + description: The tags that will be assigned to the attestation service instance. + mapsto: attestation_service_creation_params_tags + cli: + name: AttestationServiceCreationParamsTags + description: The tags that will be assigned to the attestation service instance. + protocol: {} + - &ref_46 + type: dictionary + elementType: *ref_1 + language: + default: + name: AttestationServicePatchParamsTags + description: The tags that will be assigned to the attestation service instance. + az: + name: attestation-service-patch-params-tags + description: The tags that will be assigned to the attestation service instance. + mapsto: attestation_service_patch_params_tags + cli: + name: AttestationServicePatchParamsTags + description: The tags that will be assigned to the attestation service instance. + protocol: {} objects: - - &ref_55 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: &ref_47 - type: array - apiVersions: + - &ref_55 + type: object + apiVersions: - version: 2018-09-01-preview - elementType: &ref_7 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: *ref_2 - serializedName: name - language: - default: - name: name - description: Name of the operation. - az: - name: name - description: Name of the operation. - mapsto: name - cli: - name: name - description: Name of the operation. - cliKey: name - protocol: {} - - schema: &ref_8 + properties: + - schema: &ref_47 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: &ref_7 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview properties: - - schema: *ref_3 - serializedName: provider - language: - default: - name: provider - description: Resource provider of the operation. - az: - name: provider - description: Resource provider of the operation. - mapsto: provider - cli: - name: provider - description: Resource provider of the operation. - cliKey: provider - protocol: {} - - schema: *ref_4 - serializedName: resource - language: - default: - name: resource - description: Resource for the operation. - az: - name: resource - description: Resource for the operation. - mapsto: resource - cli: - name: resource - description: Resource for the operation. - cliKey: resource - protocol: {} - - schema: *ref_5 - serializedName: operation - language: - default: - name: operation - description: Short description of the operation. - az: - name: operation - description: Short description of the operation. - mapsto: operation - cli: - name: operation - description: Short description of the operation. - cliKey: operation - protocol: {} - - schema: *ref_6 - serializedName: description - language: - default: - name: description - description: Description of the operation. - az: - name: description - description: Description of the operation. - mapsto: description - cli: - name: description - description: Description of the operation. - cliKey: description - protocol: {} + - schema: *ref_2 + serializedName: name + language: + default: + name: name + description: Name of the operation. + az: + name: name + description: Name of the operation. + mapsto: name + cli: + name: name + description: Name of the operation. + cliKey: name + protocol: {} + - schema: &ref_8 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - schema: *ref_3 + serializedName: provider + language: + default: + name: provider + description: Resource provider of the operation. + az: + name: provider + description: Resource provider of the operation. + mapsto: provider + cli: + name: provider + description: Resource provider of the operation. + cliKey: provider + protocol: {} + - schema: *ref_4 + serializedName: resource + language: + default: + name: resource + description: Resource for the operation. + az: + name: resource + description: Resource for the operation. + mapsto: resource + cli: + name: resource + description: Resource for the operation. + cliKey: resource + protocol: {} + - schema: *ref_5 + serializedName: operation + language: + default: + name: operation + description: Short description of the operation. + az: + name: operation + description: Short description of the operation. + mapsto: operation + cli: + name: operation + description: Short description of the operation. + cliKey: operation + protocol: {} + - schema: *ref_6 + serializedName: description + language: + default: + name: description + description: Description of the operation. + az: + name: description + description: Description of the operation. + mapsto: description + cli: + name: description + description: Description of the operation. + cliKey: description + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OperationsDisplayDefinition + description: Display object with properties of the operation. + namespace: '' + az: + name: operations-display-definition + description: Display object with properties of the operation. + mapsto: operations_display_definition + cli: + name: OperationsDisplayDefinition + description: Display object with properties of the operation. + cliKey: OperationsDisplayDefinition + protocol: {} + serializedName: display + language: + default: + name: display + description: Display object with properties of the operation. + az: + name: display + description: Display object with properties of the operation. + mapsto: display + cli: + name: display + description: Display object with properties of the operation. + cliKey: display + protocol: {} serializationFormats: - - json + - json usage: - - output + - output language: default: - name: OperationsDisplayDefinition - description: Display object with properties of the operation. + name: OperationsDefinition + description: Definition object with the name and properties of an operation. namespace: '' az: - name: operations-display-definition - description: Display object with properties of the operation. - mapsto: operations_display_definition + name: operations-definition + description: Definition object with the name and properties of an operation. + mapsto: operations_definition cli: - name: OperationsDisplayDefinition - description: Display object with properties of the operation. - cliKey: OperationsDisplayDefinition + name: OperationsDefinition + description: Definition object with the name and properties of an operation. + cliKey: OperationsDefinition protocol: {} - serializedName: display language: default: - name: display - description: Display object with properties of the operation. + name: OperationListValue + description: List of supported operations. az: - name: display - description: Display object with properties of the operation. - mapsto: display + name: operation-list-value + description: List of supported operations. + mapsto: operation_list_value cli: - name: display - description: Display object with properties of the operation. - cliKey: display + name: OperationListValue + description: List of supported operations. protocol: {} - serializationFormats: - - json - usage: - - output + serializedName: value language: default: - name: OperationsDefinition - description: Definition object with the name and properties of an operation. - namespace: '' + name: value + description: List of supported operations. az: - name: operations-definition - description: Definition object with the name and properties of an operation. - mapsto: operations_definition + name: value + description: List of supported operations. + mapsto: value cli: - name: OperationsDefinition - description: Definition object with the name and properties of an operation. - cliKey: OperationsDefinition + name: value + description: List of supported operations. + cliKey: value protocol: {} - language: - default: - name: OperationListValue - description: List of supported operations. - az: - name: operation-list-value - description: List of supported operations. - mapsto: operation_list_value - cli: - name: OperationListValue - description: List of supported operations. - protocol: {} - serializedName: value + serializationFormats: + - json + usage: + - output language: default: - name: value + name: OperationList description: List of supported operations. + namespace: '' az: - name: value + name: operation-list description: List of supported operations. - mapsto: value + mapsto: operation_list cli: - name: value + name: OperationList description: List of supported operations. - cliKey: value + cliKey: OperationList protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OperationList - description: List of supported operations. - namespace: '' - az: - name: operation-list - description: List of supported operations. - mapsto: operation_list - cli: - name: OperationList - description: List of supported operations. - cliKey: OperationList - protocol: {} - - *ref_7 - - *ref_8 - - &ref_56 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: &ref_11 - type: object - apiVersions: + - *ref_7 + - *ref_8 + - &ref_56 + type: object + apiVersions: - version: 2018-09-01-preview - properties: - - schema: *ref_9 - serializedName: code - language: - default: - name: code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - az: - name: code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - mapsto: code - cli: - name: code - description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - cliKey: code - protocol: {} - - schema: *ref_10 - serializedName: message + properties: + - schema: &ref_11 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - schema: *ref_9 + serializedName: code + language: + default: + name: code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + az: + name: code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + mapsto: code + cli: + name: code + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + cliKey: code + protocol: {} + - schema: *ref_10 + serializedName: message + language: + default: + name: message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + az: + name: message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + mapsto: message + cli: + name: message + description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + cliKey: message + protocol: {} + serializationFormats: + - json + usage: + - output + extensions: + x-ms-external: true + language: + default: + name: CloudErrorBody + description: An error response from Attestation. + namespace: '' + az: + name: cloud-error-body + description: An error response from Attestation. + mapsto: cloud_error_body + cli: + name: CloudErrorBody + description: An error response from Attestation. + cliKey: CloudErrorBody + protocol: {} + serializedName: error language: default: - name: message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' + name: error + description: An error response from Attestation. az: - name: message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - mapsto: message + name: error + description: An error response from Attestation. + mapsto: error cli: - name: message - description: 'A message describing the error, intended to be suitable for displaying in a user interface.' - cliKey: message + name: error + description: An error response from Attestation. + cliKey: error protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - output - extensions: - x-ms-external: true - language: - default: - name: CloudErrorBody - description: An error response from Attestation. - namespace: '' - az: - name: cloud-error-body - description: An error response from Attestation. - mapsto: cloud_error_body - cli: - name: CloudErrorBody - description: An error response from Attestation. - cliKey: CloudErrorBody - protocol: {} - serializedName: error + extensions: + x-ms-external: true language: default: - name: error + name: CloudError description: An error response from Attestation. + namespace: '' az: - name: error + name: cloud-error description: An error response from Attestation. - mapsto: error + mapsto: cloud_error cli: - name: error + name: CloudError description: An error response from Attestation. - cliKey: error + cliKey: CloudError protocol: {} - serializationFormats: - - json - usage: - - output - extensions: - x-ms-external: true - language: - default: - name: CloudError - description: An error response from Attestation. - namespace: '' - az: - name: cloud-error - description: An error response from Attestation. - mapsto: cloud_error - cli: - name: CloudError - description: An error response from Attestation. - cliKey: CloudError - protocol: {} - - *ref_11 - - &ref_13 - type: object - apiVersions: - - version: 2018-09-01-preview - children: - all: - - &ref_12 - type: object - apiVersions: + - *ref_11 + - &ref_13 + type: object + apiVersions: - version: 2018-09-01-preview - children: - all: - - &ref_17 + children: + all: + - &ref_12 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview + children: + all: + - &ref_17 + type: object + apiVersions: + - version: 2018-09-01-preview + parents: + all: + - *ref_12 + - *ref_13 + immediate: + - *ref_12 + properties: + - schema: *ref_14 + flattenedNames: + - properties + - trustModel + required: false + serializedName: trustModel + language: + default: + name: trust_model + description: Trust model for the attestation service instance. + az: + name: trust-model + description: Trust model for the attestation service instance. + mapsto: trust_model + cli: + name: trustModel + description: Trust model for the attestation service instance. + cliKey: trustModel + protocol: {} + - schema: *ref_15 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Status of attestation service. + az: + name: status + description: Status of attestation service. + mapsto: status + cli: + name: status + description: Status of attestation service. + cliKey: status + protocol: {} + - schema: *ref_16 + flattenedNames: + - properties + - attestUri + required: false + serializedName: attestUri + language: + default: + name: attest_uri + description: Gets the uri of attestation service + az: + name: attest-uri + description: Gets the uri of attestation service + mapsto: attest_uri + cli: + name: attestUri + description: Gets the uri of attestation service + cliKey: attestUri + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: AttestationProvider + description: Attestation service response message. + namespace: '' + az: + name: attestation-provider + description: Attestation service response message. + mapsto: attestation_provider + cli: + name: AttestationProvider + description: Attestation service response message. + cliKey: AttestationProvider + protocol: {} + immediate: + - *ref_17 parents: all: - - *ref_12 - - *ref_13 + - *ref_13 immediate: - - *ref_12 + - *ref_13 properties: - - schema: *ref_14 - flattenedNames: - - properties - - trustModel - required: false - serializedName: trustModel - language: - default: - name: trust_model - description: Trust model for the attestation service instance. - az: - name: trust-model - description: Trust model for the attestation service instance. - mapsto: trust_model - cli: - name: trustModel - description: Trust model for the attestation service instance. - cliKey: trustModel - protocol: {} - - schema: *ref_15 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Status of attestation service. - az: - name: status - description: Status of attestation service. - mapsto: status - cli: - name: status - description: Status of attestation service. - cliKey: status - protocol: {} - - schema: *ref_16 - flattenedNames: - - properties - - attestUri - required: false - serializedName: attestUri - language: - default: - name: attest_uri - description: Gets the uri of attestation service - az: - name: attest-uri - description: Gets the uri of attestation service - mapsto: attest_uri - cli: - name: attestUri - description: Gets the uri of attestation service - cliKey: attestUri - protocol: {} + - schema: *ref_18 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + az: + name: tags + description: Resource tags. + mapsto: tags + cli: + name: tags + description: Resource tags. + cliKey: tags + protocol: {} + - schema: *ref_19 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: + name: location + description: The geo-location where the resource lives + cliKey: location + protocol: {} serializationFormats: - - json + - json usage: - - output + - output language: default: - name: AttestationProvider - description: Attestation service response message. + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource namespace: '' az: - name: attestation-provider - description: Attestation service response message. - mapsto: attestation_provider + name: tracked-resource + description: The resource model definition for a ARM tracked top level resource + mapsto: tracked_resource cli: - name: AttestationProvider - description: Attestation service response message. - cliKey: AttestationProvider + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource + cliKey: TrackedResource protocol: {} - immediate: - *ref_17 - parents: - all: - - *ref_13 - immediate: - - *ref_13 - properties: - - schema: *ref_18 - required: false - serializedName: tags + immediate: + - *ref_12 + properties: + - schema: *ref_20 + readOnly: true + serializedName: id language: default: - name: tags - description: Resource tags. + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' az: - name: tags - description: Resource tags. - mapsto: tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: id cli: - name: tags - description: Resource tags. - cliKey: tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id protocol: {} - - schema: *ref_19 - required: true - serializedName: location + - schema: *ref_21 + readOnly: true + serializedName: name language: default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: - name: location - description: The geo-location where the resource lives - cliKey: location - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - namespace: '' - az: - name: tracked-resource - description: The resource model definition for a ARM tracked top level resource - mapsto: tracked_resource - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - cliKey: TrackedResource - protocol: {} - - *ref_17 - immediate: - - *ref_12 - properties: - - schema: *ref_20 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - az: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: id - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - protocol: {} - - schema: *ref_21 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - az: - name: name - description: The name of the resource - mapsto: name - cli: - name: name - description: The name of the resource - cliKey: name - protocol: {} - - schema: *ref_22 - readOnly: true - serializedName: type + name: name + description: The name of the resource + az: + name: name + description: The name of the resource + mapsto: name + cli: + name: name + description: The name of the resource + cliKey: name + protocol: {} + - schema: *ref_22 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + az: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: type + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + protocol: {} + serializationFormats: + - json + usage: + - output + extensions: + x-ms-azure-resource: true language: default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + name: Resource + description: '' + namespace: '' az: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: type + name: resource + description: '' + mapsto: resource cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - protocol: {} - serializationFormats: - - json - usage: - - output - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: '' - namespace: '' - az: - name: resource - description: '' - mapsto: resource - cli: - name: Resource - description: '' - cliKey: Resource - protocol: {} - - *ref_12 - - *ref_17 - - &ref_61 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - &ref_63 - schema: *ref_23 - required: true - serializedName: location - language: - default: - name: location - description: The supported Azure location where the attestation service instance should be created. - az: - name: location - description: The supported Azure location where the attestation service instance should be created. - mapsto: location - cli: &ref_64 - name: location - description: The supported Azure location where the attestation service instance should be created. - cliKey: location - protocol: {} - - &ref_65 - schema: *ref_24 - required: false - serializedName: tags - language: - default: - name: tags - description: The tags that will be assigned to the attestation service instance. - az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: &ref_66 - name: tags - description: The tags that will be assigned to the attestation service instance. - cliKey: tags + name: Resource + description: '' + cliKey: Resource protocol: {} - - &ref_67 - schema: &ref_43 - type: object - apiVersions: + - *ref_12 + - *ref_17 + - &ref_61 + type: object + apiVersions: - version: 2018-09-01-preview - properties: - - schema: *ref_25 - serializedName: attestationPolicy + properties: + - &ref_63 + schema: *ref_23 + required: true + serializedName: location language: default: - name: attestation_policy - description: Name of attestation policy. + name: location + description: The supported Azure location where the attestation service instance should be created. az: - name: attestation-policy - description: Name of attestation policy. - mapsto: attestation_policy - cli: - name: attestationPolicy - description: Name of attestation policy. - cliKey: attestationPolicy + name: location + description: The supported Azure location where the attestation service instance should be created. + mapsto: location + cli: &ref_64 + name: location + description: The supported Azure location where the attestation service instance should be created. + cliKey: location + protocol: {} + - &ref_65 + schema: *ref_24 + required: false + serializedName: tags + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: &ref_66 + name: tags + description: The tags that will be assigned to the attestation service instance. + cliKey: tags protocol: {} - - schema: &ref_44 + - &ref_67 + schema: &ref_43 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview properties: - - schema: &ref_49 - type: array - apiVersions: - - version: 2018-09-01-preview - elementType: &ref_45 + - schema: *ref_25 + serializedName: attestationPolicy + language: + default: + name: attestation_policy + description: Name of attestation policy. + az: + name: attestation-policy + description: Name of attestation policy. + mapsto: attestation_policy + cli: + name: attestationPolicy + description: Name of attestation policy. + cliKey: attestationPolicy + protocol: {} + - schema: &ref_44 type: object apiVersions: - - version: 2018-09-01-preview + - version: 2018-09-01-preview properties: - - schema: *ref_26 - required: true - serializedName: alg - language: - default: - name: alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - az: - name: alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - mapsto: alg - cli: - name: alg - description: |- - The "alg" (algorithm) parameter identifies the algorithm intended for - use with the key. The values used should either be registered in the - IANA "JSON Web Signature and Encryption Algorithms" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. - cliKey: alg - protocol: {} - - schema: *ref_27 - required: false - serializedName: crv - language: - default: - name: crv - description: The "crv" (curve) parameter identifies the curve type - az: - name: crv - description: The "crv" (curve) parameter identifies the curve type - mapsto: crv - cli: - name: crv - description: The "crv" (curve) parameter identifies the curve type - cliKey: crv - protocol: {} - - schema: *ref_28 - required: false - serializedName: d - language: - default: - name: d - description: RSA private exponent or ECC private key - az: - name: d - description: RSA private exponent or ECC private key - mapsto: d - cli: - name: d - description: RSA private exponent or ECC private key - cliKey: d - protocol: {} - - schema: *ref_29 - required: false - serializedName: dp - language: - default: - name: dp - description: RSA Private Key Parameter - az: - name: dp - description: RSA Private Key Parameter - mapsto: dp - cli: - name: dp - description: RSA Private Key Parameter - cliKey: dp - protocol: {} - - schema: *ref_30 - required: false - serializedName: dq - language: - default: - name: dq - description: RSA Private Key Parameter - az: - name: dq - description: RSA Private Key Parameter - mapsto: dq - cli: - name: dq - description: RSA Private Key Parameter - cliKey: dq - protocol: {} - - schema: *ref_31 - required: false - serializedName: e - language: - default: - name: e - description: 'RSA public exponent, in Base64' - az: - name: e - description: 'RSA public exponent, in Base64' - mapsto: e - cli: - name: e - description: 'RSA public exponent, in Base64' - cliKey: e - protocol: {} - - schema: *ref_32 - required: false - serializedName: k - language: - default: - name: k - description: Symmetric key - az: - name: k - description: Symmetric key - mapsto: k - cli: - name: k - description: Symmetric key - cliKey: k - protocol: {} - - schema: *ref_33 - required: true - serializedName: kid - language: - default: - name: kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - az: - name: kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - mapsto: kid - cli: - name: kid - description: |- - The "kid" (key ID) parameter is used to match a specific key. This - is used, for instance, to choose among a set of keys within a JWK Set - during key rollover. The structure of the "kid" value is - unspecified. When "kid" values are used within a JWK Set, different - keys within the JWK Set SHOULD use distinct "kid" values. (One - example in which different keys might use the same "kid" value is if - they have different "kty" (key type) values but are considered to be - equivalent alternatives by the application using them.) The "kid" - value is a case-sensitive string. - cliKey: kid - protocol: {} - - schema: *ref_34 - required: true - serializedName: kty - language: - default: - name: kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - az: - name: kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - mapsto: kty - cli: - name: kty - description: |- - The "kty" (key type) parameter identifies the cryptographic algorithm - family used with the key, such as "RSA" or "EC". "kty" values should - either be registered in the IANA "JSON Web Key Types" registry - established by [JWA] or be a value that contains a Collision- - Resistant Name. The "kty" value is a case-sensitive string. - cliKey: kty - protocol: {} - - schema: *ref_35 - required: false - serializedName: 'n' - language: - default: - name: 'n' - description: 'RSA modulus, in Base64' - az: - name: 'n' - description: 'RSA modulus, in Base64' - mapsto: 'n' - cli: - name: 'n' - description: 'RSA modulus, in Base64' - cliKey: 'n' - protocol: {} - - schema: *ref_36 - required: false - serializedName: p - language: - default: - name: p - description: RSA secret prime - az: - name: p - description: RSA secret prime - mapsto: p - cli: - name: p - description: RSA secret prime - cliKey: p - protocol: {} - - schema: *ref_37 - required: false - serializedName: q - language: - default: - name: q - description: 'RSA secret prime, with p < q' - az: - name: q - description: 'RSA secret prime, with p < q' - mapsto: q - cli: - name: q - description: 'RSA secret prime, with p < q' - cliKey: q - protocol: {} - - schema: *ref_38 - required: false - serializedName: qi - language: - default: - name: qi - description: RSA Private Key Parameter - az: - name: qi - description: RSA Private Key Parameter - mapsto: qi - cli: - name: qi - description: RSA Private Key Parameter - cliKey: qi - protocol: {} - - schema: *ref_39 - required: true - serializedName: use - language: - default: - name: use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - az: - name: use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - mapsto: use - cli: - name: use - description: |- - Use ("public key use") identifies the intended use of - the public key. The "use" parameter is employed to indicate whether - a public key is used for encrypting data or verifying the signature - on data. Values are commonly "sig" (signature) or "enc" (encryption). - cliKey: use - protocol: {} - - schema: *ref_40 - required: false - serializedName: x - language: - default: - name: x - description: X coordinate for the Elliptic Curve point - az: - name: x - description: X coordinate for the Elliptic Curve point - mapsto: x - cli: - name: x - description: X coordinate for the Elliptic Curve point - cliKey: x - protocol: {} - - schema: &ref_48 - type: array - apiVersions: - - version: 2018-09-01-preview - elementType: *ref_41 + - schema: &ref_49 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: &ref_45 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - schema: *ref_26 + required: true + serializedName: alg + language: + default: + name: alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + az: + name: alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + mapsto: alg + cli: + name: alg + description: |- + The "alg" (algorithm) parameter identifies the algorithm intended for + use with the key. The values used should either be registered in the + IANA "JSON Web Signature and Encryption Algorithms" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. + cliKey: alg + protocol: {} + - schema: *ref_27 + required: false + serializedName: crv + language: + default: + name: crv + description: The "crv" (curve) parameter identifies the curve type + az: + name: crv + description: The "crv" (curve) parameter identifies the curve type + mapsto: crv + cli: + name: crv + description: The "crv" (curve) parameter identifies the curve type + cliKey: crv + protocol: {} + - schema: *ref_28 + required: false + serializedName: d + language: + default: + name: d + description: RSA private exponent or ECC private key + az: + name: d + description: RSA private exponent or ECC private key + mapsto: d + cli: + name: d + description: RSA private exponent or ECC private key + cliKey: d + protocol: {} + - schema: *ref_29 + required: false + serializedName: dp + language: + default: + name: dp + description: RSA Private Key Parameter + az: + name: dp + description: RSA Private Key Parameter + mapsto: dp + cli: + name: dp + description: RSA Private Key Parameter + cliKey: dp + protocol: {} + - schema: *ref_30 + required: false + serializedName: dq + language: + default: + name: dq + description: RSA Private Key Parameter + az: + name: dq + description: RSA Private Key Parameter + mapsto: dq + cli: + name: dq + description: RSA Private Key Parameter + cliKey: dq + protocol: {} + - schema: *ref_31 + required: false + serializedName: e + language: + default: + name: e + description: 'RSA public exponent, in Base64' + az: + name: e + description: 'RSA public exponent, in Base64' + mapsto: e + cli: + name: e + description: 'RSA public exponent, in Base64' + cliKey: e + protocol: {} + - schema: *ref_32 + required: false + serializedName: k + language: + default: + name: k + description: Symmetric key + az: + name: k + description: Symmetric key + mapsto: k + cli: + name: k + description: Symmetric key + cliKey: k + protocol: {} + - schema: *ref_33 + required: true + serializedName: kid + language: + default: + name: kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + az: + name: kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + mapsto: kid + cli: + name: kid + description: |- + The "kid" (key ID) parameter is used to match a specific key. This + is used, for instance, to choose among a set of keys within a JWK Set + during key rollover. The structure of the "kid" value is + unspecified. When "kid" values are used within a JWK Set, different + keys within the JWK Set SHOULD use distinct "kid" values. (One + example in which different keys might use the same "kid" value is if + they have different "kty" (key type) values but are considered to be + equivalent alternatives by the application using them.) The "kid" + value is a case-sensitive string. + cliKey: kid + protocol: {} + - schema: *ref_34 + required: true + serializedName: kty + language: + default: + name: kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + az: + name: kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + mapsto: kty + cli: + name: kty + description: |- + The "kty" (key type) parameter identifies the cryptographic algorithm + family used with the key, such as "RSA" or "EC". "kty" values should + either be registered in the IANA "JSON Web Key Types" registry + established by [JWA] or be a value that contains a Collision- + Resistant Name. The "kty" value is a case-sensitive string. + cliKey: kty + protocol: {} + - schema: *ref_35 + required: false + serializedName: 'n' + language: + default: + name: 'n' + description: 'RSA modulus, in Base64' + az: + name: 'n' + description: 'RSA modulus, in Base64' + mapsto: 'n' + cli: + name: 'n' + description: 'RSA modulus, in Base64' + cliKey: 'n' + protocol: {} + - schema: *ref_36 + required: false + serializedName: p + language: + default: + name: p + description: RSA secret prime + az: + name: p + description: RSA secret prime + mapsto: p + cli: + name: p + description: RSA secret prime + cliKey: p + protocol: {} + - schema: *ref_37 + required: false + serializedName: q + language: + default: + name: q + description: 'RSA secret prime, with p < q' + az: + name: q + description: 'RSA secret prime, with p < q' + mapsto: q + cli: + name: q + description: 'RSA secret prime, with p < q' + cliKey: q + protocol: {} + - schema: *ref_38 + required: false + serializedName: qi + language: + default: + name: qi + description: RSA Private Key Parameter + az: + name: qi + description: RSA Private Key Parameter + mapsto: qi + cli: + name: qi + description: RSA Private Key Parameter + cliKey: qi + protocol: {} + - schema: *ref_39 + required: true + serializedName: use + language: + default: + name: use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + az: + name: use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + mapsto: use + cli: + name: use + description: |- + Use ("public key use") identifies the intended use of + the public key. The "use" parameter is employed to indicate whether + a public key is used for encrypting data or verifying the signature + on data. Values are commonly "sig" (signature) or "enc" (encryption). + cliKey: use + protocol: {} + - schema: *ref_40 + required: false + serializedName: x + language: + default: + name: x + description: X coordinate for the Elliptic Curve point + az: + name: x + description: X coordinate for the Elliptic Curve point + mapsto: x + cli: + name: x + description: X coordinate for the Elliptic Curve point + cliKey: x + protocol: {} + - schema: &ref_48 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: *ref_41 + language: + default: + name: JsonWebKeyX5C + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + az: + name: json-web-key-x5-c + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + mapsto: json_web_key_x5_c + cli: + name: JsonWebKeyX5C + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + protocol: {} + required: false + serializedName: x5c + language: + default: + name: x5_c + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + az: + name: x5-c + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + mapsto: x5_c + cli: + name: x5C + description: |- + The "x5c" (X.509 certificate chain) parameter contains a chain of one + or more PKIX certificates [RFC5280]. The certificate chain is + represented as a JSON array of certificate value strings. Each + string in the array is a base64-encoded (Section 4 of [RFC4648] -- + not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. + The PKIX certificate containing the key value MUST be the first + certificate. + cliKey: x5c + protocol: {} + - schema: *ref_42 + required: false + serializedName: 'y' + language: + default: + name: 'y' + description: Y coordinate for the Elliptic Curve point + az: + name: 'y' + description: Y coordinate for the Elliptic Curve point + mapsto: 'y' + cli: + name: 'y' + description: Y coordinate for the Elliptic Curve point + cliKey: 'y' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: JsonWebKey + description: '' + namespace: '' + az: + name: json-web-key + description: '' + mapsto: json_web_key + cli: + name: JsonWebKey + description: '' + cliKey: JSONWebKey + protocol: {} + language: + default: + name: JsonWebKeySetKeys + description: |- + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + az: + name: json-web-key-set-keys + description: |- + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + mapsto: json_web_key_set_keys + cli: + name: JsonWebKeySetKeys + description: |- + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + protocol: {} + serializedName: keys language: default: - name: JsonWebKeyX5C + name: keys description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. az: - name: json-web-key-x5-c + name: keys description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - mapsto: json_web_key_x5_c + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + mapsto: keys cli: - name: JsonWebKeyX5C + name: keys description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. + The value of the "keys" parameter is an array of JWK values. By + default, the order of the JWK values within the array does not imply + an order of preference among them, although applications of JWK Sets + can choose to assign a meaning to the order for their purposes, if + desired. + cliKey: keys protocol: {} - required: false - serializedName: x5c - language: - default: - name: x5_c - description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - az: - name: x5-c - description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - mapsto: x5_c - cli: - name: x5C - description: |- - The "x5c" (X.509 certificate chain) parameter contains a chain of one - or more PKIX certificates [RFC5280]. The certificate chain is - represented as a JSON array of certificate value strings. Each - string in the array is a base64-encoded (Section 4 of [RFC4648] -- - not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. - The PKIX certificate containing the key value MUST be the first - certificate. - cliKey: x5c - protocol: {} - - schema: *ref_42 - required: false - serializedName: 'y' - language: - default: - name: 'y' - description: Y coordinate for the Elliptic Curve point - az: - name: 'y' - description: Y coordinate for the Elliptic Curve point - mapsto: 'y' - cli: - name: 'y' - description: Y coordinate for the Elliptic Curve point - cliKey: 'y' - protocol: {} serializationFormats: - - json + - json usage: - - input + - input language: default: - name: JsonWebKey + name: JsonWebKeySet description: '' namespace: '' az: - name: json-web-key + name: json-web-key-set description: '' - mapsto: json_web_key + mapsto: json_web_key_set cli: - name: JsonWebKey + name: JsonWebKeySet description: '' - cliKey: JSONWebKey + cliKey: JSONWebKeySet protocol: {} + serializedName: policySigningCertificates language: default: - name: JsonWebKeySetKeys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. + name: policy_signing_certificates + description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations az: - name: json-web-key-set-keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - mapsto: json_web_key_set_keys + name: policy-signing-certificates + description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations + mapsto: policy_signing_certificates cli: - name: JsonWebKeySetKeys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. + name: policySigningCertificates + description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations + cliKey: policySigningCertificates protocol: {} - serializedName: keys - language: - default: - name: keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - az: - name: keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - mapsto: keys - cli: - name: keys - description: |- - The value of the "keys" parameter is an array of JWK values. By - default, the order of the JWK values within the array does not imply - an order of preference among them, although applications of JWK Sets - can choose to assign a meaning to the order for their purposes, if - desired. - cliKey: keys - protocol: {} serializationFormats: - - json + - json usage: - - input + - input language: default: - name: JsonWebKeySet - description: '' + name: AttestationServiceCreationSpecificParams + description: Client supplied parameters used to create a new attestation service instance. namespace: '' az: - name: json-web-key-set - description: '' - mapsto: json_web_key_set + name: attestation-service-creation-specific-params + description: Client supplied parameters used to create a new attestation service instance. + mapsto: attestation_service_creation_specific_params cli: - name: JsonWebKeySet - description: '' - cliKey: JSONWebKeySet + name: AttestationServiceCreationSpecificParams + description: Client supplied parameters used to create a new attestation service instance. + cliKey: AttestationServiceCreationSpecificParams protocol: {} - serializedName: policySigningCertificates + required: true + serializedName: properties language: default: - name: policy_signing_certificates - description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations + name: properties + description: Properties of the attestation service instance az: - name: policy-signing-certificates - description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations - mapsto: policy_signing_certificates - cli: - name: policySigningCertificates - description: JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations - cliKey: policySigningCertificates + name: properties + description: Properties of the attestation service instance + mapsto: properties + cli: &ref_68 + name: properties + description: Properties of the attestation service instance + cliKey: properties protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - input - language: - default: - name: AttestationServiceCreationSpecificParams - description: Client supplied parameters used to create a new attestation service instance. - namespace: '' - az: - name: attestation-service-creation-specific-params - description: Client supplied parameters used to create a new attestation service instance. - mapsto: attestation_service_creation_specific_params - cli: - name: AttestationServiceCreationSpecificParams - description: Client supplied parameters used to create a new attestation service instance. - cliKey: AttestationServiceCreationSpecificParams - protocol: {} - required: true - serializedName: properties + extensions: + x-ms-azure-resource: true language: default: - name: properties - description: Properties of the attestation service instance + name: AttestationServiceCreationParams + description: Parameters for creating an attestation service instance + namespace: '' az: - name: properties - description: Properties of the attestation service instance - mapsto: properties - cli: &ref_68 - name: properties - description: Properties of the attestation service instance - cliKey: properties + name: attestation-service-creation-params + description: Parameters for creating an attestation service instance + mapsto: attestation_service_creation_params + cli: + name: AttestationServiceCreationParams + description: Parameters for creating an attestation service instance + cliKey: AttestationServiceCreationParams protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: AttestationServiceCreationParams - description: Parameters for creating an attestation service instance - namespace: '' - az: - name: attestation-service-creation-params - description: Parameters for creating an attestation service instance - mapsto: attestation_service_creation_params - cli: - name: AttestationServiceCreationParams - description: Parameters for creating an attestation service instance - cliKey: AttestationServiceCreationParams - protocol: {} - - *ref_43 - - *ref_44 - - *ref_45 - - &ref_74 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - &ref_76 - schema: *ref_46 - serializedName: tags + - *ref_43 + - *ref_44 + - *ref_45 + - &ref_74 + type: object + apiVersions: + - version: 2018-09-01-preview + properties: + - &ref_76 + schema: *ref_46 + serializedName: tags + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: &ref_77 + name: tags + description: The tags that will be assigned to the attestation service instance. + cliKey: tags + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true language: default: - name: tags - description: The tags that will be assigned to the attestation service instance. + name: AttestationServicePatchParams + description: Parameters for patching an attestation service instance + namespace: '' az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: &ref_77 - name: tags - description: The tags that will be assigned to the attestation service instance. - cliKey: tags + name: attestation-service-patch-params + description: Parameters for patching an attestation service instance + mapsto: attestation_service_patch_params + cli: + name: AttestationServicePatchParams + description: Parameters for patching an attestation service instance + cliKey: AttestationServicePatchParams protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: AttestationServicePatchParams - description: Parameters for patching an attestation service instance - namespace: '' - az: - name: attestation-service-patch-params - description: Parameters for patching an attestation service instance - mapsto: attestation_service_patch_params - cli: - name: AttestationServicePatchParams - description: Parameters for patching an attestation service instance - cliKey: AttestationServicePatchParams - protocol: {} - - &ref_83 - type: object - apiVersions: - - version: 2018-09-01-preview - properties: - - schema: &ref_50 - type: array - apiVersions: + - &ref_83 + type: object + apiVersions: - version: 2018-09-01-preview - elementType: *ref_17 - language: - default: - name: AttestationProviderListResultValue - description: Attestation Provider array. - az: - name: attestation-provider-list-result-value - description: Attestation Provider array. - mapsto: attestation_provider_list_result_value - cli: - name: AttestationProviderListResultValue - description: Attestation Provider array. - protocol: {} - serializedName: value + properties: + - schema: &ref_50 + type: array + apiVersions: + - version: 2018-09-01-preview + elementType: *ref_17 + language: + default: + name: AttestationProviderListResultValue + description: Attestation Provider array. + az: + name: attestation-provider-list-result-value + description: Attestation Provider array. + mapsto: attestation_provider_list_result_value + cli: + name: AttestationProviderListResultValue + description: Attestation Provider array. + protocol: {} + serializedName: value + language: + default: + name: value + description: Attestation Provider array. + az: + name: value + description: Attestation Provider array. + mapsto: value + cli: + name: value + description: Attestation Provider array. + cliKey: value + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: value - description: Attestation Provider array. + name: AttestationProviderListResult + description: Attestation Providers List. + namespace: '' az: - name: value - description: Attestation Provider array. - mapsto: value + name: attestation-provider-list-result + description: Attestation Providers List. + mapsto: attestation_provider_list_result cli: - name: value - description: Attestation Provider array. - cliKey: value + name: AttestationProviderListResult + description: Attestation Providers List. + cliKey: AttestationProviderListResult protocol: {} - serializationFormats: - - json - usage: - - output + arrays: + - *ref_47 + - *ref_48 + - *ref_49 + - *ref_50 +globalParameters: + - &ref_57 + schema: *ref_51 + implementation: Client + required: true + extensions: + x-ms-priority: 0 language: default: - name: AttestationProviderListResult - description: Attestation Providers List. - namespace: '' + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId az: - name: attestation-provider-list-result - description: Attestation Providers List. - mapsto: attestation_provider_list_result + name: subscription-id + description: The ID of the target subscription. + mapsto: subscription_id cli: - name: AttestationProviderListResult - description: Attestation Providers List. - cliKey: AttestationProviderListResult - protocol: {} - arrays: - - *ref_47 - - *ref_48 - - *ref_49 - - *ref_50 -globalParameters: -- &ref_57 - schema: *ref_51 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - az: - name: subscription-id - description: The ID of the target subscription. - mapsto: subscription_id - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - protocol: - http: - in: path -- &ref_53 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - az: - name: $host - description: server parameter - mapsto: $host - cli: - name: $host - description: server parameter - cliKey: $host - protocol: - http: - in: uri -- &ref_54 - schema: *ref_52 - implementation: Client - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - az: - name: api-version - description: Api Version - mapsto: api_version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - protocol: - http: - in: query -operationGroups: -- $key: Operations - operations: - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_54 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.Attestation/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_55 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + protocol: + http: + in: path + - &ref_53 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + required: true extensions: - x-ms-examples: - Operations_List: - parameters: - api-version: 2018-09-01-preview - responses: - '200': - body: - - name: Microsoft.Attestation/attestationProviders/attestation/read - display: - description: Get status of attestation service. - operation: Get status of attestation service - provider: Microsoft Azure Attestation - resource: Attestation - - name: Microsoft.Attestation/attestationProviders/attestation/write - display: - description: Adds attestation service. - operation: Adds attestation service. - provider: Microsoft Azure Attestation - resource: Attestation - - name: Microsoft.Attestation/attestationProviders/attestation/delete - display: - description: Removes attestation service - operation: Removes attestation service - provider: Microsoft Azure Attestation - resource: Attestation + x-ms-skip-url-encoding: true language: default: - name: list - description: Lists all of the available Azure attestation operations. + name: $host + description: server parameter + serializedName: $host az: - name: list - description: Lists all of the available Azure attestation operations. - command: attestation operation list + name: $host + description: server parameter + mapsto: $host cli: - name: List - description: Lists all of the available Azure attestation operations. - cliKey: List - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - az: - name: Operation - description: '' - command: attestation operation - cli: - name: Operation - description: '' - cliKey: Operations - protocol: {} -- $key: AttestationProviders - operations: - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_59 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_60 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service instance - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service instance - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service instance - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_59 - - *ref_60 - responses: - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Get: - parameters: - api-version: 2018-09-01-preview - providerName: myattestationprovider - resourceGroupName: MyResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 + name: $host + description: server parameter + cliKey: $host + protocol: + http: + in: uri + - &ref_54 + schema: *ref_52 + implementation: Client + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + az: + name: api-version + description: Api Version + mapsto: api_version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_54 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.Attestation/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_55 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Operations_List: + parameters: + api-version: 2018-09-01-preview + responses: + '200': + body: + - name: Microsoft.Attestation/attestationProviders/attestation/read + display: + description: Get status of attestation service. + operation: Get status of attestation service + provider: Microsoft Azure Attestation + resource: Attestation + - name: Microsoft.Attestation/attestationProviders/attestation/write + display: + description: Adds attestation service. + operation: Adds attestation service. + provider: Microsoft Azure Attestation + resource: Attestation + - name: Microsoft.Attestation/attestationProviders/attestation/delete + display: + description: Removes attestation service + operation: Removes attestation service + provider: Microsoft Azure Attestation + resource: Attestation + language: + default: + name: list + description: Lists all of the available Azure attestation operations. + az: + name: list + description: Lists all of the available Azure attestation operations. + command: attestation operation list + cli: + name: List + description: Lists all of the available Azure attestation operations. + cliKey: List + hidden: true + protocol: {} language: default: - name: get - description: Get the status of Attestation Provider. + name: Operation + description: '' az: - name: show - description: Get the status of Attestation Provider. - command: attestation attestation-provider show + name: Operation + description: '' + command: attestation operation cli: - name: Get - description: Get the status of Attestation Provider. - cliKey: Get + name: Operation + description: '' + cliKey: Operations protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_72 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_73 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - parameters: - - &ref_62 - schema: *ref_61 - flattened: true - implementation: Method - required: true + - $key: AttestationProviders + operations: + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_59 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_60 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service instance + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service instance + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service instance + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_59 + - *ref_60 + responses: + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + AttestationProviders_Get: + parameters: + api-version: 2018-09-01-preview + providerName: myattestationprovider + resourceGroupName: MyResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 language: default: - name: _creation_params - description: Client supplied parameters. + name: get + description: Get the status of Attestation Provider. az: - name: _creation_params - description: Client supplied parameters. - mapsto: _creation_params + name: show + description: Get the status of Attestation Provider. + command: attestation attestation-provider show cli: - name: _creation_params - description: Client supplied parameters. - cliKey: creationParams - protocol: - http: - in: body - style: json - - &ref_69 - schema: *ref_23 - implementation: Method - originalParameter: *ref_62 - pathToProperty: [] - required: true - targetProperty: *ref_63 + name: Get + description: Get the status of Attestation Provider. + cliKey: Get + protocol: {} + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_72 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_73 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - parameters: + - &ref_62 + schema: *ref_61 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _creation_params + description: Client supplied parameters. + az: + name: _creation_params + description: Client supplied parameters. + mapsto: _creation_params + cli: + name: _creation_params + description: Client supplied parameters. + cliKey: creationParams + protocol: + http: + in: body + style: json + - &ref_69 + schema: *ref_23 + implementation: Method + originalParameter: *ref_62 + pathToProperty: [] + required: true + targetProperty: *ref_63 + language: + default: + name: location + description: The supported Azure location where the attestation service instance should be created. + az: + name: location + description: The supported Azure location where the attestation service instance should be created. + mapsto: location + cli: *ref_64 + protocol: {} + - &ref_70 + schema: *ref_24 + implementation: Method + originalParameter: *ref_62 + pathToProperty: [] + required: false + targetProperty: *ref_65 + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: *ref_66 + protocol: {} + - &ref_71 + schema: *ref_43 + implementation: Method + originalParameter: *ref_62 + pathToProperty: [] + required: true + targetProperty: *ref_67 + language: + default: + name: properties + description: Properties of the attestation service instance + az: + name: properties + description: Properties of the attestation service instance + mapsto: properties + cli: *ref_68 + protocol: {} + signatureParameters: + - *ref_69 + - *ref_70 + - *ref_71 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_72 + - *ref_73 + responses: + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_Create: + parameters: + api-version: 2018-09-01-preview + creationParams: test + providerName: myattestationprovider + resourceGroupName: MyResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 + '201': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 language: default: - name: location - description: The supported Azure location where the attestation service instance should be created. + name: create + description: Creates or updates the Attestation Provider. az: - name: location - description: The supported Azure location where the attestation service instance should be created. - mapsto: location - cli: *ref_64 + name: create + description: Creates or updates the Attestation Provider. + command: attestation attestation-provider create + cli: + name: Create + description: Creates or updates the Attestation Provider. + cliKey: Create protocol: {} - - &ref_70 - schema: *ref_24 - implementation: Method - originalParameter: *ref_62 - pathToProperty: [] - required: false - targetProperty: *ref_65 + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_79 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_80 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - parameters: + - &ref_75 + schema: *ref_74 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _update_params + description: Client supplied parameters. + az: + name: _update_params + description: Client supplied parameters. + mapsto: _update_params + cli: + name: _update_params + description: Client supplied parameters. + cliKey: updateParams + protocol: + http: + in: body + style: json + - &ref_78 + schema: *ref_46 + implementation: Method + originalParameter: *ref_75 + pathToProperty: [] + targetProperty: *ref_76 + language: + default: + name: tags + description: The tags that will be assigned to the attestation service instance. + az: + name: tags + description: The tags that will be assigned to the attestation service instance. + mapsto: tags + cli: *ref_77 + protocol: {} + signatureParameters: + - *ref_78 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_79 + - *ref_80 + responses: + - schema: *ref_17 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_Update: + parameters: + api-version: 2018-09-01-preview + providerName: myattestationprovider + resourceGroupName: MyResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + updateParams: + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 + responses: + '200': + body: + name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + attestUri: 'https://superservice.attestation.azure.net' + status: Ready + trustModel: Isolated + tags: + Property1: Value1 + Property2: Value2 + Property3: Value3 language: default: - name: tags - description: The tags that will be assigned to the attestation service instance. + name: update + description: Updates the Attestation Provider. az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: *ref_66 + name: update + description: Updates the Attestation Provider. + command: attestation attestation-provider update + cli: + name: Update + description: Updates the Attestation Provider. + cliKey: Update protocol: {} - - &ref_71 - schema: *ref_43 - implementation: Method - originalParameter: *ref_62 - pathToProperty: [] - required: true - targetProperty: *ref_67 + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_57 + - &ref_81 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_82 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: provider_name + description: Name of the attestation service + serializedName: providerName + az: + name: provider-name + description: Name of the attestation service + mapsto: provider_name + cli: + name: providerName + description: Name of the attestation service + cliKey: providerName + protocol: + http: + in: path + - *ref_54 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_81 + - *ref_82 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_Delete: + parameters: + api-version: 2018-09-01-preview + providerName: myattestationprovider + resourceGroupName: sample-resource-group + serviceName: sampleservicename + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + description: Resource exists and was deleted successfully + '202': + description: Request accepted for deletion of attestation service + '204': + description: Resource does not exist language: default: - name: properties - description: Properties of the attestation service instance + name: delete + description: Delete Attestation Service. az: - name: properties - description: Properties of the attestation service instance - mapsto: properties - cli: *ref_68 + name: delete + description: Delete Attestation Service. + command: attestation attestation-provider delete + cli: + name: Delete + description: Delete Attestation Service. + cliKey: Delete protocol: {} - signatureParameters: - - *ref_69 - - *ref_70 - - *ref_71 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_72 - - *ref_73 - responses: - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Create: - parameters: - api-version: 2018-09-01-preview - creationParams: test - providerName: myattestationprovider - resourceGroupName: MyResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 - '201': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 - language: - default: - name: create - description: Creates or updates the Attestation Provider. - az: - name: create - description: Creates or updates the Attestation Provider. - command: attestation attestation-provider create - cli: - name: Create - description: Creates or updates the Attestation Provider. - cliKey: Create - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_79 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_80 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - parameters: - - &ref_75 - schema: *ref_74 - flattened: true - implementation: Method - required: true + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - *ref_54 + - *ref_57 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_83 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + AttestationProviders_List: + parameters: + api-version: 2018-09-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + status: Ready + - name: codes2 + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2 + location: East US + properties: + status: Ready language: default: - name: _update_params - description: Client supplied parameters. + name: list + description: Returns a list of attestation providers in a subscription. az: - name: _update_params - description: Client supplied parameters. - mapsto: _update_params + name: list + description: Returns a list of attestation providers in a subscription. + command: attestation attestation-provider list cli: - name: _update_params - description: Client supplied parameters. - cliKey: updateParams - protocol: - http: - in: body - style: json - - &ref_78 - schema: *ref_46 - implementation: Method - originalParameter: *ref_75 - pathToProperty: [] - targetProperty: *ref_76 + name: List + description: Returns a list of attestation providers in a subscription. + cliKey: List + protocol: {} + - apiVersions: + - version: 2018-09-01-preview + parameters: + - *ref_53 + - &ref_84 + schema: *ref_58 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. The name is case insensitive. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + protocol: + http: + in: path + - *ref_54 + - *ref_57 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders' + method: get + uri: '{$host}' + signatureParameters: + - *ref_84 + responses: + - schema: *ref_83 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_56 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + AttestationProviders_ListByResourceGroup: + parameters: + api-version: 2018-09-01-preview + resourceGroupName: testrg1 + subscriptionId: 6c96b33e-f5b8-40a6-9011-5cb1c58b0915 + responses: + '200': + body: + value: + - name: myattestationprovider + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider + location: East US + properties: + status: Ready + - name: codes2 + type: Microsoft.Attestation/attestationProviders + id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2 + location: East US + properties: + status: Ready language: default: - name: tags - description: The tags that will be assigned to the attestation service instance. + name: list_by_resource_group + description: Returns attestation providers list in a resource group. az: - name: tags - description: The tags that will be assigned to the attestation service instance. - mapsto: tags - cli: *ref_77 + name: list + description: Returns attestation providers list in a resource group. + command: attestation attestation-provider list + cli: + name: ListByResourceGroup + description: Returns attestation providers list in a resource group. + cliKey: ListByResourceGroup protocol: {} - signatureParameters: - - *ref_78 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_79 - - *ref_80 - responses: - - schema: *ref_17 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Update: - parameters: - api-version: 2018-09-01-preview - providerName: myattestationprovider - resourceGroupName: MyResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - updateParams: - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 - responses: - '200': - body: - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - attestUri: 'https://superservice.attestation.azure.net' - status: Ready - trustModel: Isolated - tags: - Property1: Value1 - Property2: Value2 - Property3: Value3 language: default: - name: update - description: Updates the Attestation Provider. - az: - name: update - description: Updates the Attestation Provider. - command: attestation attestation-provider update - cli: - name: Update - description: Updates the Attestation Provider. - cliKey: Update - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_57 - - &ref_81 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_82 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: provider_name - description: Name of the attestation service - serializedName: providerName - az: - name: provider-name - description: Name of the attestation service - mapsto: provider_name - cli: - name: providerName - description: Name of the attestation service - cliKey: providerName - protocol: - http: - in: path - - *ref_54 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_81 - - *ref_82 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_Delete: - parameters: - api-version: 2018-09-01-preview - providerName: myattestationprovider - resourceGroupName: sample-resource-group - serviceName: sampleservicename - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - description: Resource exists and was deleted successfully - '202': - description: Request accepted for deletion of attestation service - '204': - description: Resource does not exist - language: - default: - name: delete - description: Delete Attestation Service. - az: - name: delete - description: Delete Attestation Service. - command: attestation attestation-provider delete - cli: - name: Delete - description: Delete Attestation Service. - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - *ref_54 - - *ref_57 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_83 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_List: - parameters: - api-version: 2018-09-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - status: Ready - - name: codes2 - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2 - location: East US - properties: - status: Ready - language: - default: - name: list - description: Returns a list of attestation providers in a subscription. - az: - name: list - description: Returns a list of attestation providers in a subscription. - command: attestation attestation-provider list - cli: - name: List - description: Returns a list of attestation providers in a subscription. - cliKey: List - protocol: {} - - apiVersions: - - version: 2018-09-01-preview - parameters: - - *ref_53 - - &ref_84 - schema: *ref_58 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. The name is case insensitive. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - protocol: - http: - in: path - - *ref_54 - - *ref_57 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders' - method: get - uri: '{$host}' - signatureParameters: - - *ref_84 - responses: - - schema: *ref_83 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_56 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - AttestationProviders_ListByResourceGroup: - parameters: - api-version: 2018-09-01-preview - resourceGroupName: testrg1 - subscriptionId: 6c96b33e-f5b8-40a6-9011-5cb1c58b0915 - responses: - '200': - body: - value: - - name: myattestationprovider - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider - location: East US - properties: - status: Ready - - name: codes2 - type: Microsoft.Attestation/attestationProviders - id: subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2 - location: East US - properties: - status: Ready - language: - default: - name: list_by_resource_group - description: Returns attestation providers list in a resource group. + name: AttestationProvider + description: '' az: - name: list - description: Returns attestation providers list in a resource group. - command: attestation attestation-provider list + name: AttestationProvider + description: '' + command: attestation attestation-provider + hasShowCommand: true cli: - name: ListByResourceGroup - description: Returns attestation providers list in a resource group. - cliKey: ListByResourceGroup + name: AttestationProvider + description: '' + cliKey: AttestationProviders protocol: {} - language: - default: - name: AttestationProvider - description: '' - az: - name: AttestationProvider - description: '' - command: attestation attestation-provider - hasShowCommand: true - hasUpdate: true - cli: - name: AttestationProvider - description: '' - cliKey: AttestationProviders - protocol: {} language: default: name: AttestationManagementClient diff --git a/src/test/resources/managed-network/managed-network-az-modifier.yaml b/src/test/resources/managed-network/managed-network-az-modifier.yaml index 3c057a5de..f41f7cad1 100644 --- a/src/test/resources/managed-network/managed-network-az-modifier.yaml +++ b/src/test/resources/managed-network/managed-network-az-modifier.yaml @@ -5,5736 +5,5730 @@ info: title: ManagedNetworkManagementClient schemas: numbers: - - &ref_98 - type: integer - apiVersions: - - version: 2019-06-01-preview - maximum: 20 - minimum: 1 - precision: 32 - language: - default: - name: Integer - description: '' - az: - name: integer - description: '' - mapsto: integer - cli: - name: Integer - description: '' - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - az: - name: string - description: simple string - mapsto: string - cli: - name: String - description: simple string - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - az: - name: resource-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: resource_id - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_37 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceName - description: The name of the resource - az: - name: resource-name - description: The name of the resource - mapsto: resource_name - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - az: - name: resource-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: resource_type - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_39 - type: string - apiVersions: - - version: 2019-06-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: ResourceLocation - description: The geo-location where the resource lives - az: - name: resource-location - description: The geo-location where the resource lives - mapsto: resource_location - cli: - name: ResourceLocation - description: The geo-location where the resource lives - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourcePropertiesEtag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: resource-properties-etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: resource_properties_etag - cli: - name: ResourcePropertiesEtag - description: A unique read-only string that changes whenever the resource is updated. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceId - description: Resource Id - az: - name: resource-id - description: Resource Id - mapsto: resource_id - cli: - name: ResourceId - description: Resource Id - protocol: {} - - &ref_40 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - az: - name: error-response-code - description: The error code. - mapsto: error_response_code - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_41 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - az: - name: error-response-message - description: The error message. - mapsto: error_response_message - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_43 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ManagedNetworkListResultNextLink - description: Gets the URL to get the next page of results. - az: - name: managed-network-list-result-next-link - description: Gets the URL to get the next page of results. - mapsto: managed_network_list_result_next_link - cli: - name: ManagedNetworkListResultNextLink - description: Gets the URL to get the next page of results. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ScopeAssignmentPropertiesAssignedManagedNetwork - description: The managed network ID with scope will be assigned to. - az: - name: scope-assignment-properties-assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: scope_assignment_properties_assigned_managed_network - cli: - name: ScopeAssignmentPropertiesAssignedManagedNetwork - description: The managed network ID with scope will be assigned to. - protocol: {} - - &ref_44 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ScopeAssignmentListResultNextLink - description: Gets the URL to get the next set of results. - az: - name: scope-assignment-list-result-next-link - description: Gets the URL to get the next set of results. - mapsto: scope_assignment_list_result_next_link - cli: - name: ScopeAssignmentListResultNextLink - description: Gets the URL to get the next set of results. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ManagedNetworkGroupListResultNextLink - description: Gets the URL to get the next set of results. - az: - name: managed-network-group-list-result-next-link - description: Gets the URL to get the next set of results. - mapsto: managed_network_group_list_result_next_link - cli: - name: ManagedNetworkGroupListResultNextLink - description: Gets the URL to get the next set of results. - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ManagedNetworkPeeringPolicyListResultNextLink - description: Gets the URL to get the next page of results. - az: - name: managed-network-peering-policy-list-result-next-link - description: Gets the URL to get the next page of results. - mapsto: managed_network_peering_policy_list_result_next_link - cli: - name: ManagedNetworkPeeringPolicyListResultNextLink - description: Gets the URL to get the next page of results. - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationName - description: 'Operation name: {provider}/{resource}/{operation}' - az: - name: operation-name - description: 'Operation name: {provider}/{resource}/{operation}' - mapsto: operation_name - cli: - name: OperationName - description: 'Operation name: {provider}/{resource}/{operation}' - protocol: {} - - &ref_48 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationDisplayProvider - description: 'Service provider: Microsoft.ManagedNetwork' - az: - name: operation-display-provider - description: 'Service provider: Microsoft.ManagedNetwork' - mapsto: operation_display_provider - cli: - name: OperationDisplayProvider - description: 'Service provider: Microsoft.ManagedNetwork' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationDisplayResource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - az: - name: operation-display-resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - mapsto: operation_display_resource - cli: - name: OperationDisplayResource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - protocol: {} - - &ref_50 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationDisplayOperation - description: 'Operation type: Read, write, delete, etc.' - az: - name: operation-display-operation - description: 'Operation type: Read, write, delete, etc.' - mapsto: operation_display_operation - cli: - name: OperationDisplayOperation - description: 'Operation type: Read, write, delete, etc.' - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationListResultNextLink - description: URL to get the next set of operation list results if there are any. - az: - name: operation-list-result-next-link - description: URL to get the next set of operation list results if there are any. - mapsto: operation_list_result_next_link - cli: - name: OperationListResultNextLink - description: URL to get the next set of operation list results if there are any. - protocol: {} - choices: - - &ref_16 - choices: - - value: Updating + - &ref_98 + type: integer + apiVersions: + - version: 2019-06-01-preview + maximum: 20 + minimum: 1 + precision: 32 language: default: - name: updating + name: Integer description: '' az: - name: updating + name: integer description: '' - mapsto: updating + mapsto: integer cli: - name: Updating + name: Integer description: '' - cliKey: Updating - - value: Deleting + protocol: {} + strings: + - &ref_0 + type: string language: default: - name: deleting - description: '' + name: String + description: simple string az: - name: deleting - description: '' - mapsto: deleting + name: string + description: simple string + mapsto: string cli: - name: Deleting - description: '' - cliKey: Deleting - - value: Failed + name: String + description: simple string + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: failed + name: String description: '' az: - name: failed + name: string description: '' - mapsto: failed + mapsto: string cli: - name: Failed + name: String description: '' - cliKey: Failed - - value: Succeeded + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: succeeded - description: '' + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' az: - name: succeeded - description: '' - mapsto: succeeded + name: resource-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: resource_id cli: - name: Succeeded - description: '' - cliKey: Succeeded - type: choice - apiVersions: - - version: 2019-06-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningState - description: Provisioning state of the ManagedNetwork resource. - az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: - name: ProvisioningState - description: Provisioning state of the ManagedNetwork resource. - cliKey: ProvisioningState - protocol: {} - - &ref_10 - choices: - - value: HubAndSpokeTopology + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_37 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: hub_and_spoke_topology - description: '' + name: ResourceName + description: The name of the resource az: - name: hub-and-spoke-topology - description: '' - mapsto: hub_and_spoke_topology + name: resource-name + description: The name of the resource + mapsto: resource_name cli: - name: HubAndSpokeTopology - description: '' - cliKey: HubAndSpokeTopology - - value: MeshTopology + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: mesh_topology - description: '' + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. az: - name: mesh-topology - description: '' - mapsto: mesh_topology + name: resource-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: resource_type cli: - name: MeshTopology - description: '' - cliKey: MeshTopology - type: choice - apiVersions: - - version: 2019-06-01-preview - choiceType: *ref_0 - language: - default: - name: Type - description: Gets or sets the connectivity type of a network structure policy - az: - name: type - description: Gets or sets the connectivity type of a network structure policy - mapsto: type - cli: - name: Type - description: Gets or sets the connectivity type of a network structure policy - cliKey: type - protocol: {} - constants: - - &ref_69 - type: constant - value: - value: 2019-06-01-preview - valueType: *ref_0 - language: - default: - name: api_version2019_06_01_preview - description: Api Version (2019-06-01-preview) - az: - name: api-version20190601-preview - description: Api Version (2019-06-01-preview) - mapsto: api_version20190601_preview - cli: - name: ApiVersion20190601Preview - description: Api Version (2019-06-01-preview) - protocol: {} - - &ref_25 - type: constant - apiVersions: - - version: 2019-06-01-preview - value: - value: Connectivity - valueType: *ref_0 - language: - default: - name: kind - description: Responsibility role under which this Managed Network Group will be created - az: - name: kind - description: Responsibility role under which this Managed Network Group will be created - mapsto: kind - cli: - name: Kind - description: Responsibility role under which this Managed Network Group will be created - protocol: {} - dictionaries: - - &ref_35 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags - az: - name: tracked-resource-tags - description: Resource tags - mapsto: tracked_resource_tags - cli: - name: TrackedResourceTags - description: Resource tags - protocol: {} - - &ref_42 - type: dictionary - elementType: *ref_1 - language: - default: - name: ManagedNetworkUpdateTags - description: Resource tags - az: - name: managed-network-update-tags - description: Resource tags - mapsto: managed_network_update_tags - cli: - name: ManagedNetworkUpdateTags - description: Resource tags - protocol: {} - objects: - - &ref_3 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - &ref_2 - type: object - apiVersions: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_39 + type: string + apiVersions: - version: 2019-06-01-preview - children: - all: - - &ref_34 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_2 - - *ref_3 - immediate: - - *ref_2 - properties: - - &ref_81 - schema: &ref_12 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - &ref_4 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - &ref_14 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_4 - immediate: - - *ref_4 - properties: - - schema: &ref_26 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: &ref_6 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: *ref_5 - serializedName: id - language: - default: - name: id - description: Resource Id - az: - name: id - description: Resource Id - mapsto: id - cli: - name: id - description: Resource Id - cliKey: id - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ResourceId - description: Generic pointer to a resource - namespace: '' - az: - name: resource-id - description: Generic pointer to a resource - mapsto: resource_id - cli: - name: ResourceId - description: Generic pointer to a resource - cliKey: ResourceId - protocol: {} - language: - default: - name: ManagedNetworkGroupPropertiesManagementGroups - description: The collection of management groups covered by the Managed Network - az: - name: managed-network-group-properties-management-groups - description: The collection of management groups covered by the Managed Network - mapsto: managed_network_group_properties_management_groups - cli: - name: ManagedNetworkGroupPropertiesManagementGroups - description: The collection of management groups covered by the Managed Network - protocol: {} - serializedName: managementGroups - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: &ref_27 - name: managementGroups - description: The collection of management groups covered by the Managed Network - cliKey: managementGroups - json: true - protocol: {} - - schema: &ref_28 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ManagedNetworkGroupPropertiesSubscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: managed-network-group-properties-subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: managed_network_group_properties_subscriptions - cli: - name: ManagedNetworkGroupPropertiesSubscriptions - description: The collection of subscriptions covered by the Managed Network - protocol: {} - serializedName: subscriptions - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: &ref_29 - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - cliKey: subscriptions - protocol: {} - - schema: &ref_30 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ManagedNetworkGroupPropertiesVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - az: - name: managed-network-group-properties-virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: managed_network_group_properties_virtual_networks - cli: - name: ManagedNetworkGroupPropertiesVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - protocol: {} - serializedName: virtualNetworks - language: - default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network - az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: &ref_31 - name: virtualNetworks - description: The collection of virtual nets covered by the Managed Network - cliKey: virtualNetworks - protocol: {} - - schema: &ref_32 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ManagedNetworkGroupPropertiesSubnets - description: The collection of subnets covered by the Managed Network - az: - name: managed-network-group-properties-subnets - description: The collection of subnets covered by the Managed Network - mapsto: managed_network_group_properties_subnets - cli: - name: ManagedNetworkGroupPropertiesSubnets - description: The collection of subnets covered by the Managed Network - protocol: {} - serializedName: subnets - language: - default: - name: subnets - description: The collection of subnets covered by the Managed Network - az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets - cli: &ref_33 - name: subnets - description: The collection of subnets covered by the Managed Network - cliKey: subnets - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: ManagedNetworkGroupProperties - description: Properties of a Managed Network Group - namespace: '' - az: - name: managed-network-group-properties - description: Properties of a Managed Network Group - mapsto: managed_network_group_properties - cli: - name: ManagedNetworkGroupProperties - description: Properties of a Managed Network Group - cliKey: ManagedNetworkGroupProperties - protocol: {} - - &ref_7 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - &ref_8 - type: object - apiVersions: - - version: 2019-06-01-preview - discriminatorValue: HubAndSpokeTopology - parents: - all: - - *ref_7 - - *ref_4 - immediate: - - *ref_7 - properties: - - schema: *ref_6 - serializedName: hub - language: + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: ResourceLocation + description: The geo-location where the resource lives + az: + name: resource-location + description: The geo-location where the resource lives + mapsto: resource_location + cli: + name: ResourceLocation + description: The geo-location where the resource lives + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ResourcePropertiesEtag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: resource-properties-etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: resource_properties_etag + cli: + name: ResourcePropertiesEtag + description: A unique read-only string that changes whenever the resource is updated. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ResourceId + description: Resource Id + az: + name: resource-id + description: Resource Id + mapsto: resource_id + cli: + name: ResourceId + description: Resource Id + protocol: {} + - &ref_40 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + az: + name: error-response-code + description: The error code. + mapsto: error_response_code + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_41 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + az: + name: error-response-message + description: The error message. + mapsto: error_response_message + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_43 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ManagedNetworkListResultNextLink + description: Gets the URL to get the next page of results. + az: + name: managed-network-list-result-next-link + description: Gets the URL to get the next page of results. + mapsto: managed_network_list_result_next_link + cli: + name: ManagedNetworkListResultNextLink + description: Gets the URL to get the next page of results. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ScopeAssignmentPropertiesAssignedManagedNetwork + description: The managed network ID with scope will be assigned to. + az: + name: scope-assignment-properties-assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: scope_assignment_properties_assigned_managed_network + cli: + name: ScopeAssignmentPropertiesAssignedManagedNetwork + description: The managed network ID with scope will be assigned to. + protocol: {} + - &ref_44 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ScopeAssignmentListResultNextLink + description: Gets the URL to get the next set of results. + az: + name: scope-assignment-list-result-next-link + description: Gets the URL to get the next set of results. + mapsto: scope_assignment_list_result_next_link + cli: + name: ScopeAssignmentListResultNextLink + description: Gets the URL to get the next set of results. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ManagedNetworkGroupListResultNextLink + description: Gets the URL to get the next set of results. + az: + name: managed-network-group-list-result-next-link + description: Gets the URL to get the next set of results. + mapsto: managed_network_group_list_result_next_link + cli: + name: ManagedNetworkGroupListResultNextLink + description: Gets the URL to get the next set of results. + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ManagedNetworkPeeringPolicyListResultNextLink + description: Gets the URL to get the next page of results. + az: + name: managed-network-peering-policy-list-result-next-link + description: Gets the URL to get the next page of results. + mapsto: managed_network_peering_policy_list_result_next_link + cli: + name: ManagedNetworkPeeringPolicyListResultNextLink + description: Gets the URL to get the next page of results. + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationName + description: 'Operation name: {provider}/{resource}/{operation}' + az: + name: operation-name + description: 'Operation name: {provider}/{resource}/{operation}' + mapsto: operation_name + cli: + name: OperationName + description: 'Operation name: {provider}/{resource}/{operation}' + protocol: {} + - &ref_48 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationDisplayProvider + description: 'Service provider: Microsoft.ManagedNetwork' + az: + name: operation-display-provider + description: 'Service provider: Microsoft.ManagedNetwork' + mapsto: operation_display_provider + cli: + name: OperationDisplayProvider + description: 'Service provider: Microsoft.ManagedNetwork' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationDisplayResource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + az: + name: operation-display-resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + mapsto: operation_display_resource + cli: + name: OperationDisplayResource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + protocol: {} + - &ref_50 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationDisplayOperation + description: 'Operation type: Read, write, delete, etc.' + az: + name: operation-display-operation + description: 'Operation type: Read, write, delete, etc.' + mapsto: operation_display_operation + cli: + name: OperationDisplayOperation + description: 'Operation type: Read, write, delete, etc.' + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationListResultNextLink + description: URL to get the next set of operation list results if there are any. + az: + name: operation-list-result-next-link + description: URL to get the next set of operation list results if there are any. + mapsto: operation_list_result_next_link + cli: + name: OperationListResultNextLink + description: URL to get the next set of operation list results if there are any. + protocol: {} + choices: + - &ref_16 + choices: + - value: Updating + language: + default: + name: updating + description: '' + az: + name: updating + description: '' + mapsto: updating + cli: + name: Updating + description: '' + cliKey: Updating + - value: Deleting + language: + default: + name: deleting + description: '' + az: + name: deleting + description: '' + mapsto: deleting + cli: + name: Deleting + description: '' + cliKey: Deleting + - value: Failed + language: + default: + name: failed + description: '' + az: + name: failed + description: '' + mapsto: failed + cli: + name: Failed + description: '' + cliKey: Failed + - value: Succeeded + language: + default: + name: succeeded + description: '' + az: + name: succeeded + description: '' + mapsto: succeeded + cli: + name: Succeeded + description: '' + cliKey: Succeeded + type: choice + apiVersions: + - version: 2019-06-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningState + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: + name: ProvisioningState + description: Provisioning state of the ManagedNetwork resource. + cliKey: ProvisioningState + protocol: {} + - &ref_10 + choices: + - value: HubAndSpokeTopology + language: + default: + name: hub_and_spoke_topology + description: '' + az: + name: hub-and-spoke-topology + description: '' + mapsto: hub_and_spoke_topology + cli: + name: HubAndSpokeTopology + description: '' + cliKey: HubAndSpokeTopology + - value: MeshTopology + language: + default: + name: mesh_topology + description: '' + az: + name: mesh-topology + description: '' + mapsto: mesh_topology + cli: + name: MeshTopology + description: '' + cliKey: MeshTopology + type: choice + apiVersions: + - version: 2019-06-01-preview + choiceType: *ref_0 + language: + default: + name: Type + description: Gets or sets the connectivity type of a network structure policy + az: + name: type + description: Gets or sets the connectivity type of a network structure policy + mapsto: type + cli: + name: Type + description: Gets or sets the connectivity type of a network structure policy + cliKey: type + protocol: {} + constants: + - &ref_69 + type: constant + value: + value: 2019-06-01-preview + valueType: *ref_0 + language: + default: + name: api_version2019_06_01_preview + description: Api Version (2019-06-01-preview) + az: + name: api-version20190601-preview + description: Api Version (2019-06-01-preview) + mapsto: api_version20190601_preview + cli: + name: ApiVersion20190601Preview + description: Api Version (2019-06-01-preview) + protocol: {} + - &ref_25 + type: constant + apiVersions: + - version: 2019-06-01-preview + value: + value: Connectivity + valueType: *ref_0 + language: + default: + name: kind + description: Responsibility role under which this Managed Network Group will be created + az: + name: kind + description: Responsibility role under which this Managed Network Group will be created + mapsto: kind + cli: + name: Kind + description: Responsibility role under which this Managed Network Group will be created + protocol: {} + dictionaries: + - &ref_35 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags + az: + name: tracked-resource-tags + description: Resource tags + mapsto: tracked_resource_tags + cli: + name: TrackedResourceTags + description: Resource tags + protocol: {} + - &ref_42 + type: dictionary + elementType: *ref_1 + language: + default: + name: ManagedNetworkUpdateTags + description: Resource tags + az: + name: managed-network-update-tags + description: Resource tags + mapsto: managed_network_update_tags + cli: + name: ManagedNetworkUpdateTags + description: Resource tags + protocol: {} + objects: + - &ref_3 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_2 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_34 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_2 + - *ref_3 + immediate: + - *ref_2 + properties: + - &ref_81 + schema: &ref_12 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - &ref_4 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_14 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_4 + immediate: + - *ref_4 + properties: + - schema: &ref_26 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: &ref_6 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_5 + serializedName: id + language: + default: + name: id + description: Resource Id + az: + name: id + description: Resource Id + mapsto: id + cli: + name: id + description: Resource Id + cliKey: id + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ResourceId + description: Generic pointer to a resource + namespace: '' + az: + name: resource-id + description: Generic pointer to a resource + mapsto: resource_id + cli: + name: ResourceId + description: Generic pointer to a resource + cliKey: ResourceId + protocol: {} + language: + default: + name: ManagedNetworkGroupPropertiesManagementGroups + description: The collection of management groups covered by the Managed Network + az: + name: managed-network-group-properties-management-groups + description: The collection of management groups covered by the Managed Network + mapsto: managed_network_group_properties_management_groups + cli: + name: ManagedNetworkGroupPropertiesManagementGroups + description: The collection of management groups covered by the Managed Network + protocol: {} + serializedName: managementGroups + language: + default: + name: management_groups + description: The collection of management groups covered by the Managed Network + az: + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups + cli: &ref_27 + name: managementGroups + description: The collection of management groups covered by the Managed Network + cliKey: managementGroups + json: true + protocol: {} + - schema: &ref_28 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkGroupPropertiesSubscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: managed-network-group-properties-subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: managed_network_group_properties_subscriptions + cli: + name: ManagedNetworkGroupPropertiesSubscriptions + description: The collection of subscriptions covered by the Managed Network + protocol: {} + serializedName: subscriptions + language: + default: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions + cli: &ref_29 + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + cliKey: subscriptions + protocol: {} + - schema: &ref_30 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkGroupPropertiesVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + az: + name: managed-network-group-properties-virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: managed_network_group_properties_virtual_networks + cli: + name: ManagedNetworkGroupPropertiesVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + protocol: {} + serializedName: virtualNetworks + language: + default: + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network + az: + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks + cli: &ref_31 + name: virtualNetworks + description: The collection of virtual nets covered by the Managed Network + cliKey: virtualNetworks + protocol: {} + - schema: &ref_32 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkGroupPropertiesSubnets + description: The collection of subnets covered by the Managed Network + az: + name: managed-network-group-properties-subnets + description: The collection of subnets covered by the Managed Network + mapsto: managed_network_group_properties_subnets + cli: + name: ManagedNetworkGroupPropertiesSubnets + description: The collection of subnets covered by the Managed Network + protocol: {} + serializedName: subnets + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: &ref_33 + name: subnets + description: The collection of subnets covered by the Managed Network + cliKey: subnets + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: ManagedNetworkGroupProperties + description: Properties of a Managed Network Group + namespace: '' + az: + name: managed-network-group-properties + description: Properties of a Managed Network Group + mapsto: managed_network_group_properties + cli: + name: ManagedNetworkGroupProperties + description: Properties of a Managed Network Group + cliKey: ManagedNetworkGroupProperties + protocol: {} + - &ref_7 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_8 + type: object + apiVersions: + - version: 2019-06-01-preview + discriminatorValue: HubAndSpokeTopology + parents: + all: + - *ref_7 + - *ref_4 + immediate: + - *ref_7 + properties: + - schema: *ref_6 + serializedName: hub + language: + default: + name: hub + description: Gets or sets the hub virtual network ID + az: + name: hub + description: Gets or sets the hub virtual network ID + mapsto: hub + cli: + name: hub + description: Gets or sets the hub virtual network ID + cliKey: hub + protocol: {} + - schema: &ref_67 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: HubAndSpokePeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + az: + name: hub-and-spoke-peering-policy-properties-spokes + description: Gets or sets the spokes group IDs + mapsto: hub_and_spoke_peering_policy_properties_spokes + cli: + name: HubAndSpokePeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + protocol: {} + serializedName: spokes + language: + default: + name: spokes + description: Gets or sets the spokes group IDs + az: + name: spokes + description: Gets or sets the spokes group IDs + mapsto: spokes + cli: + name: spokes + description: Gets or sets the spokes group IDs + cliKey: spokes + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-discriminator-value: HubAndSpokeTopology + language: + default: + name: HubAndSpokePeeringPolicyProperties + description: Properties of a Hub and Spoke Peering Policy + namespace: '' + az: + name: hub-and-spoke-peering-policy-properties + description: Properties of a Hub and Spoke Peering Policy + mapsto: hub_and_spoke_peering_policy_properties + cli: + name: HubAndSpokePeeringPolicyProperties + description: Properties of a Hub and Spoke Peering Policy + cliKey: HubAndSpokePeeringPolicyProperties + protocol: {} + - &ref_9 + type: object + apiVersions: + - version: 2019-06-01-preview + discriminatorValue: MeshTopology + parents: + all: + - *ref_7 + - *ref_4 + immediate: + - *ref_7 + properties: + - schema: &ref_68 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: MeshPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + az: + name: mesh-peering-policy-properties-mesh + description: Gets or sets the mesh group IDs + mapsto: mesh_peering_policy_properties_mesh + cli: + name: MeshPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + protocol: {} + serializedName: mesh + language: + default: + name: mesh + description: Gets or sets the mesh group IDs + az: + name: mesh + description: Gets or sets the mesh group IDs + mapsto: mesh + cli: + name: mesh + description: Gets or sets the mesh group IDs + cliKey: mesh + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-discriminator-value: MeshTopology + language: + default: + name: MeshPeeringPolicyProperties + description: Properties of a Mesh Peering Policy + namespace: '' + az: + name: mesh-peering-policy-properties + description: Properties of a Mesh Peering Policy + mapsto: mesh_peering_policy_properties + cli: + name: MeshPeeringPolicyProperties + description: Properties of a Mesh Peering Policy + cliKey: MeshPeeringPolicyProperties + protocol: {} + immediate: + - *ref_8 + - *ref_9 + discriminator: + all: + HubAndSpokeTopology: *ref_8 + MeshTopology: *ref_9 + immediate: + HubAndSpokeTopology: *ref_8 + MeshTopology: *ref_9 + property: &ref_11 + schema: *ref_10 + isDiscriminator: true + required: true + serializedName: type + language: + default: + name: type + description: Gets or sets the connectivity type of a network structure policy + az: + name: type + description: Gets or sets the connectivity type of a network structure policy + mapsto: type + cli: + name: type + description: Gets or sets the connectivity type of a network structure policy + cliKey: type + protocol: {} + discriminatorValue: ManagedNetworkPeeringPolicyProperties + parents: + all: + - *ref_4 + immediate: + - *ref_4 + properties: + - *ref_11 + - schema: *ref_6 + required: false + serializedName: hub + language: + default: + name: hub + description: Gets or sets the hub virtual network ID + az: + name: hub + description: Gets or sets the hub virtual network ID + mapsto: hub + cli: + name: hub + description: Gets or sets the hub virtual network ID + cliKey: hub + protocol: {} + - schema: &ref_59 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkPeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + az: + name: managed-network-peering-policy-properties-spokes + description: Gets or sets the spokes group IDs + mapsto: managed_network_peering_policy_properties_spokes + cli: + name: ManagedNetworkPeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + protocol: {} + required: false + serializedName: spokes + language: + default: + name: spokes + description: Gets or sets the spokes group IDs + az: + name: spokes + description: Gets or sets the spokes group IDs + mapsto: spokes + cli: + name: spokes + description: Gets or sets the spokes group IDs + cliKey: spokes + protocol: {} + - schema: &ref_60 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + az: + name: managed-network-peering-policy-properties-mesh + description: Gets or sets the mesh group IDs + mapsto: managed_network_peering_policy_properties_mesh + cli: + name: ManagedNetworkPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + protocol: {} + required: false + serializedName: mesh + language: + default: + name: mesh + description: Gets or sets the mesh group IDs + az: + name: mesh + description: Gets or sets the mesh group IDs + mapsto: mesh + cli: + name: mesh + description: Gets or sets the mesh group IDs + cliKey: mesh + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ManagedNetworkPeeringPolicyProperties + description: Properties of a Managed Network Peering Policy + namespace: '' + az: + name: managed-network-peering-policy-properties + description: Properties of a Managed Network Peering Policy + mapsto: managed_network_peering_policy_properties + cli: + name: ManagedNetworkPeeringPolicyProperties + description: Properties of a Managed Network Peering Policy + cliKey: ManagedNetworkPeeringPolicyProperties + protocol: {} + - *ref_12 + - &ref_15 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_4 + immediate: + - *ref_4 + properties: + - schema: *ref_13 + serializedName: assignedManagedNetwork + language: + default: + name: assigned_managed_network + description: The managed network ID with scope will be assigned to. + az: + name: assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: assigned_managed_network + cli: &ref_22 + name: assignedManagedNetwork + description: The managed network ID with scope will be assigned to. + cliKey: assignedManagedNetwork + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: ScopeAssignmentProperties + description: Properties of Managed Network + namespace: '' + az: + name: scope-assignment-properties + description: Properties of Managed Network + mapsto: scope_assignment_properties + cli: + name: ScopeAssignmentProperties + description: Properties of Managed Network + cliKey: ScopeAssignmentProperties + protocol: {} + - *ref_8 + - *ref_9 + immediate: + - *ref_14 + - *ref_7 + - *ref_12 + - *ref_15 + properties: + - schema: *ref_16 + readOnly: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: &ref_20 + name: provisioningState + description: Provisioning state of the ManagedNetwork resource. + cliKey: provisioningState + protocol: {} + - schema: *ref_17 + readOnly: true + serializedName: etag + language: + default: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: etag + cli: &ref_21 + name: etag + description: A unique read-only string that changes whenever the resource is updated. + cliKey: etag + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: default: - name: hub - description: Gets or sets the hub virtual network ID + name: ResourceProperties + description: Base for resource properties. + namespace: '' az: - name: hub - description: Gets or sets the hub virtual network ID - mapsto: hub + name: resource-properties + description: Base for resource properties. + mapsto: resource_properties cli: - name: hub - description: Gets or sets the hub virtual network ID - cliKey: hub + name: ResourceProperties + description: Base for resource properties. + cliKey: ResourceProperties protocol: {} - - schema: &ref_67 - type: array - apiVersions: + immediate: + - *ref_4 + properties: + - schema: &ref_58 + type: array + apiVersions: - version: 2019-06-01-preview - elementType: *ref_6 + elementType: &ref_18 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - &ref_19 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - *ref_18 + - &ref_23 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_19 + - *ref_3 + immediate: + - *ref_19 + properties: + - &ref_147 + schema: *ref_7 + serializedName: properties + language: + default: + name: properties + description: Gets or sets the properties of a Managed Network Policy + az: + name: properties + description: Gets or sets the properties of a Managed Network Policy + mapsto: properties + cli: &ref_148 + name: properties + description: Gets or sets the properties of a Managed Network Policy + cliKey: properties + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ManagedNetworkPeeringPolicy + description: The Managed Network Peering Policy resource + namespace: '' + az: + name: managed-network-peering-policy + description: The Managed Network Peering Policy resource + mapsto: managed_network_peering_policy + cli: + name: ManagedNetworkPeeringPolicy + description: The Managed Network Peering Policy resource + cliKey: ManagedNetworkPeeringPolicy + protocol: {} + - &ref_24 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_19 + - *ref_3 + immediate: + - *ref_19 + properties: + - schema: *ref_16 + flattenedNames: + - properties + - provisioningState + readOnly: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: *ref_20 + protocol: {} + - schema: *ref_17 + flattenedNames: + - properties + - etag + readOnly: true + serializedName: etag + language: + default: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: etag + cli: *ref_21 + protocol: {} + - &ref_108 + schema: *ref_13 + flattenedNames: + - properties + - assignedManagedNetwork + serializedName: assignedManagedNetwork + language: + default: + name: assigned_managed_network + description: The managed network ID with scope will be assigned to. + az: + name: assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: assigned_managed_network + cli: *ref_22 + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ScopeAssignment + description: The Managed Network resource + namespace: '' + az: + name: scope-assignment + description: The Managed Network resource + mapsto: scope_assignment + cli: + name: ScopeAssignment + description: The Managed Network resource + cliKey: ScopeAssignment + protocol: {} + immediate: + - *ref_18 + - *ref_23 + - *ref_24 + parents: + all: + - *ref_3 + immediate: + - *ref_3 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + az: + name: proxy-resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + mapsto: proxy_resource + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cliKey: ProxyResource + protocol: {} + - *ref_3 + immediate: + - *ref_19 + properties: + - &ref_121 + schema: *ref_25 + serializedName: kind + language: + default: + name: kind + description: Responsibility role under which this Managed Network Group will be created + az: + name: kind + description: Responsibility role under which this Managed Network Group will be created + mapsto: kind + cli: &ref_122 + name: kind + description: Responsibility role under which this Managed Network Group will be created + cliKey: kind + protocol: {} + - schema: *ref_16 + flattenedNames: + - properties + - provisioningState + readOnly: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: *ref_20 + protocol: {} + - schema: *ref_17 + flattenedNames: + - properties + - etag + readOnly: true + serializedName: etag + language: + default: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: etag + cli: *ref_21 + protocol: {} + - &ref_123 + schema: *ref_26 + flattenedNames: + - properties + - managementGroups + serializedName: managementGroups + language: + default: + name: management_groups + description: The collection of management groups covered by the Managed Network + az: + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups + cli: *ref_27 + protocol: {} + - &ref_124 + schema: *ref_28 + flattenedNames: + - properties + - subscriptions + serializedName: subscriptions + language: + default: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions + cli: *ref_29 + protocol: {} + - &ref_125 + schema: *ref_30 + flattenedNames: + - properties + - virtualNetworks + serializedName: virtualNetworks + language: + default: + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network + az: + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks + cli: *ref_31 + protocol: {} + - &ref_126 + schema: *ref_32 + flattenedNames: + - properties + - subnets + serializedName: subnets + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: *ref_33 + protocol: {} + serializationFormats: + - json + usage: + - output + - input language: default: - name: HubAndSpokePeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: ManagedNetworkGroup + description: The Managed Network Group resource + namespace: '' az: - name: hub-and-spoke-peering-policy-properties-spokes - description: Gets or sets the spokes group IDs - mapsto: hub_and_spoke_peering_policy_properties_spokes + name: managed-network-group + description: The Managed Network Group resource + mapsto: managed_network_group cli: - name: HubAndSpokePeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: ManagedNetworkGroup + description: The Managed Network Group resource + cliKey: ManagedNetworkGroup protocol: {} - serializedName: spokes language: default: - name: spokes - description: Gets or sets the spokes group IDs + name: ConnectivityCollectionGroups + description: The collection of connectivity related Managed Network Groups within the Managed Network az: - name: spokes - description: Gets or sets the spokes group IDs - mapsto: spokes + name: connectivity-collection-groups + description: The collection of connectivity related Managed Network Groups within the Managed Network + mapsto: connectivity_collection_groups cli: - name: spokes - description: Gets or sets the spokes group IDs - cliKey: spokes + name: ConnectivityCollectionGroups + description: The collection of connectivity related Managed Network Groups within the Managed Network protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-discriminator-value: HubAndSpokeTopology + flattenedNames: + - connectivity + - groups + readOnly: true + serializedName: groups language: default: - name: HubAndSpokePeeringPolicyProperties - description: Properties of a Hub and Spoke Peering Policy - namespace: '' + name: groups + description: The collection of connectivity related Managed Network Groups within the Managed Network az: - name: hub-and-spoke-peering-policy-properties - description: Properties of a Hub and Spoke Peering Policy - mapsto: hub_and_spoke_peering_policy_properties + name: groups + description: The collection of connectivity related Managed Network Groups within the Managed Network + mapsto: groups cli: - name: HubAndSpokePeeringPolicyProperties - description: Properties of a Hub and Spoke Peering Policy - cliKey: HubAndSpokePeeringPolicyProperties + name: groups + description: The collection of connectivity related Managed Network Groups within the Managed Network + cliKey: groups protocol: {} - - &ref_9 - type: object - apiVersions: - - version: 2019-06-01-preview - discriminatorValue: MeshTopology - parents: - all: - - *ref_7 - - *ref_4 - immediate: - - *ref_7 - properties: - - schema: &ref_68 - type: array - apiVersions: + - schema: &ref_61 + type: array + apiVersions: - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: MeshPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs - az: - name: mesh-peering-policy-properties-mesh - description: Gets or sets the mesh group IDs - mapsto: mesh_peering_policy_properties_mesh - cli: - name: MeshPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs - protocol: {} - serializedName: mesh + elementType: *ref_23 language: default: - name: mesh - description: Gets or sets the mesh group IDs + name: ConnectivityCollectionPeerings + description: The collection of Managed Network Peering Policies within the Managed Network az: - name: mesh - description: Gets or sets the mesh group IDs - mapsto: mesh + name: connectivity-collection-peerings + description: The collection of Managed Network Peering Policies within the Managed Network + mapsto: connectivity_collection_peerings cli: - name: mesh - description: Gets or sets the mesh group IDs - cliKey: mesh + name: ConnectivityCollectionPeerings + description: The collection of Managed Network Peering Policies within the Managed Network protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-discriminator-value: MeshTopology + flattenedNames: + - connectivity + - peerings + readOnly: true + serializedName: peerings language: default: - name: MeshPeeringPolicyProperties - description: Properties of a Mesh Peering Policy - namespace: '' + name: peerings + description: The collection of Managed Network Peering Policies within the Managed Network az: - name: mesh-peering-policy-properties - description: Properties of a Mesh Peering Policy - mapsto: mesh_peering_policy_properties + name: peerings + description: The collection of Managed Network Peering Policies within the Managed Network + mapsto: peerings cli: - name: MeshPeeringPolicyProperties - description: Properties of a Mesh Peering Policy - cliKey: MeshPeeringPolicyProperties + name: peerings + description: The collection of Managed Network Peering Policies within the Managed Network + cliKey: peerings protocol: {} - immediate: - - *ref_8 - - *ref_9 - discriminator: - all: - HubAndSpokeTopology: *ref_8 - MeshTopology: *ref_9 - immediate: - HubAndSpokeTopology: *ref_8 - MeshTopology: *ref_9 - property: &ref_11 - schema: *ref_10 - isDiscriminator: true - required: true - serializedName: type + - schema: &ref_54 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeManagementGroups + description: The collection of management groups covered by the Managed Network + az: + name: scope-management-groups + description: The collection of management groups covered by the Managed Network + mapsto: scope_management_groups + cli: + name: ScopeManagementGroups + description: The collection of management groups covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - managementGroups + serializedName: managementGroups language: default: - name: type - description: Gets or sets the connectivity type of a network structure policy + name: management_groups + description: The collection of management groups covered by the Managed Network az: - name: type - description: Gets or sets the connectivity type of a network structure policy - mapsto: type + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups cli: - name: type - description: Gets or sets the connectivity type of a network structure policy - cliKey: type + name: managementGroups + description: The collection of management groups covered by the Managed Network + cliKey: managementGroups protocol: {} - discriminatorValue: ManagedNetworkPeeringPolicyProperties - parents: - all: - - *ref_4 - immediate: - - *ref_4 - properties: - - *ref_11 - - schema: *ref_6 - required: false - serializedName: hub - language: - default: - name: hub - description: Gets or sets the hub virtual network ID - az: - name: hub - description: Gets or sets the hub virtual network ID - mapsto: hub - cli: - name: hub - description: Gets or sets the hub virtual network ID - cliKey: hub - protocol: {} - - schema: &ref_59 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 + - schema: &ref_55 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeSubscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: scope-subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: scope_subscriptions + cli: + name: ScopeSubscriptions + description: The collection of subscriptions covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - subscriptions + serializedName: subscriptions language: default: - name: ManagedNetworkPeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: subscriptions + description: The collection of subscriptions covered by the Managed Network az: - name: managed-network-peering-policy-properties-spokes - description: Gets or sets the spokes group IDs - mapsto: managed_network_peering_policy_properties_spokes + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions cli: - name: ManagedNetworkPeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + cliKey: subscriptions protocol: {} - required: false - serializedName: spokes - language: - default: - name: spokes - description: Gets or sets the spokes group IDs - az: - name: spokes - description: Gets or sets the spokes group IDs - mapsto: spokes - cli: - name: spokes - description: Gets or sets the spokes group IDs - cliKey: spokes - protocol: {} - - schema: &ref_60 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 + - schema: &ref_56 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + az: + name: scope-virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: scope_virtual_networks + cli: + name: ScopeVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - virtualNetworks + serializedName: virtualNetworks language: default: - name: ManagedNetworkPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network az: - name: managed-network-peering-policy-properties-mesh - description: Gets or sets the mesh group IDs - mapsto: managed_network_peering_policy_properties_mesh + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks cli: - name: ManagedNetworkPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs + name: virtualNetworks + description: The collection of virtual nets covered by the Managed Network + cliKey: virtualNetworks + protocol: {} + - schema: &ref_57 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeSubnets + description: The collection of subnets covered by the Managed Network + az: + name: scope-subnets + description: The collection of subnets covered by the Managed Network + mapsto: scope_subnets + cli: + name: ScopeSubnets + description: The collection of subnets covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - subnets + serializedName: subnets + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: + name: subnets + description: The collection of subnets covered by the Managed Network + cliKey: subnets protocol: {} - required: false - serializedName: mesh - language: - default: - name: mesh - description: Gets or sets the mesh group IDs - az: - name: mesh - description: Gets or sets the mesh group IDs - mapsto: mesh - cli: - name: mesh - description: Gets or sets the mesh group IDs - cliKey: mesh - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ManagedNetworkPeeringPolicyProperties - description: Properties of a Managed Network Peering Policy - namespace: '' - az: - name: managed-network-peering-policy-properties - description: Properties of a Managed Network Peering Policy - mapsto: managed_network_peering_policy_properties - cli: - name: ManagedNetworkPeeringPolicyProperties - description: Properties of a Managed Network Peering Policy - cliKey: ManagedNetworkPeeringPolicyProperties - protocol: {} - - *ref_12 - - &ref_15 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_4 - immediate: - - *ref_4 - properties: - - schema: *ref_13 - serializedName: assignedManagedNetwork - language: - default: - name: assigned_managed_network - description: The managed network ID with scope will be assigned to. - az: - name: assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: assigned_managed_network - cli: &ref_22 - name: assignedManagedNetwork - description: The managed network ID with scope will be assigned to. - cliKey: assignedManagedNetwork - protocol: {} serializationFormats: - - json + - json usage: - - output - - input - extensions: - x-ms-flattened: true + - output + - input language: default: - name: ScopeAssignmentProperties + name: ManagedNetworkProperties description: Properties of Managed Network namespace: '' az: - name: scope-assignment-properties + name: managed-network-properties description: Properties of Managed Network - mapsto: scope_assignment_properties + mapsto: managed_network_properties cli: - name: ScopeAssignmentProperties + name: ManagedNetworkProperties description: Properties of Managed Network - cliKey: ScopeAssignmentProperties + cliKey: ManagedNetworkProperties protocol: {} - - *ref_8 - - *ref_9 - immediate: - - *ref_14 - - *ref_7 - - *ref_12 - - *ref_15 - properties: - - schema: *ref_16 - readOnly: true - serializedName: provisioningState + serializedName: properties + extensions: &ref_82 + x-ms-client-flatten: false language: default: - name: provisioning_state - description: Provisioning state of the ManagedNetwork resource. + name: properties + description: The MNC properties az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: &ref_20 - name: provisioningState - description: Provisioning state of the ManagedNetwork resource. - cliKey: provisioningState + name: properties + description: The MNC properties + mapsto: properties + cli: &ref_83 + name: properties + description: The MNC properties + cliKey: properties + json: true protocol: {} - - schema: *ref_17 - readOnly: true - serializedName: etag - language: - default: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: etag - cli: &ref_21 - name: etag - description: A unique read-only string that changes whenever the resource is updated. - cliKey: etag - protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - output - input - language: - default: - name: ResourceProperties - description: Base for resource properties. - namespace: '' - az: - name: resource-properties - description: Base for resource properties. - mapsto: resource_properties - cli: - name: ResourceProperties - description: Base for resource properties. - cliKey: ResourceProperties - protocol: {} - immediate: - - *ref_4 - properties: - - schema: &ref_58 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: &ref_18 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - &ref_19 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - *ref_18 - - &ref_23 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_19 - - *ref_3 - immediate: - - *ref_19 - properties: - - &ref_147 - schema: *ref_7 - serializedName: properties - language: - default: - name: properties - description: Gets or sets the properties of a Managed Network Policy - az: - name: properties - description: Gets or sets the properties of a Managed Network Policy - mapsto: properties - cli: &ref_148 - name: properties - description: Gets or sets the properties of a Managed Network Policy - cliKey: properties - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ManagedNetworkPeeringPolicy - description: The Managed Network Peering Policy resource - namespace: '' - az: - name: managed-network-peering-policy - description: The Managed Network Peering Policy resource - mapsto: managed_network_peering_policy - cli: - name: ManagedNetworkPeeringPolicy - description: The Managed Network Peering Policy resource - cliKey: ManagedNetworkPeeringPolicy - protocol: {} - - &ref_24 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_19 - - *ref_3 - immediate: - - *ref_19 - properties: - - schema: *ref_16 - flattenedNames: - - properties - - provisioningState - readOnly: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: Provisioning state of the ManagedNetwork resource. - az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: *ref_20 - protocol: {} - - schema: *ref_17 - flattenedNames: - - properties - - etag - readOnly: true - serializedName: etag - language: - default: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: etag - cli: *ref_21 - protocol: {} - - &ref_108 - schema: *ref_13 - flattenedNames: - - properties - - assignedManagedNetwork - serializedName: assignedManagedNetwork - language: - default: - name: assigned_managed_network - description: The managed network ID with scope will be assigned to. - az: - name: assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: assigned_managed_network - cli: *ref_22 - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ScopeAssignment - description: The Managed Network resource - namespace: '' - az: - name: scope-assignment - description: The Managed Network resource - mapsto: scope_assignment - cli: - name: ScopeAssignment - description: The Managed Network resource - cliKey: ScopeAssignment - protocol: {} - immediate: - - *ref_18 - - *ref_23 - - *ref_24 - parents: - all: - - *ref_3 - immediate: - - *ref_3 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - az: - name: proxy-resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - mapsto: proxy_resource - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cliKey: ProxyResource - protocol: {} - - *ref_3 - immediate: - - *ref_19 - properties: - - &ref_121 - schema: *ref_25 - serializedName: kind - language: - default: - name: kind - description: Responsibility role under which this Managed Network Group will be created - az: - name: kind - description: Responsibility role under which this Managed Network Group will be created - mapsto: kind - cli: &ref_122 - name: kind - description: Responsibility role under which this Managed Network Group will be created - cliKey: kind - protocol: {} - - schema: *ref_16 - flattenedNames: - - properties - - provisioningState - readOnly: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: Provisioning state of the ManagedNetwork resource. - az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: *ref_20 - protocol: {} - - schema: *ref_17 - flattenedNames: - - properties - - etag - readOnly: true - serializedName: etag - language: - default: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: etag - cli: *ref_21 - protocol: {} - - &ref_123 - schema: *ref_26 - flattenedNames: - - properties - - managementGroups - serializedName: managementGroups - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: *ref_27 - protocol: {} - - &ref_124 - schema: *ref_28 - flattenedNames: - - properties - - subscriptions - serializedName: subscriptions - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: *ref_29 - protocol: {} - - &ref_125 - schema: *ref_30 - flattenedNames: - - properties - - virtualNetworks - serializedName: virtualNetworks - language: - default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network - az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: *ref_31 - protocol: {} - - &ref_126 - schema: *ref_32 - flattenedNames: - - properties - - subnets - serializedName: subnets - language: - default: - name: subnets - description: The collection of subnets covered by the Managed Network - az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets - cli: *ref_33 - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ManagedNetworkGroup - description: The Managed Network Group resource - namespace: '' - az: - name: managed-network-group - description: The Managed Network Group resource - mapsto: managed_network_group - cli: - name: ManagedNetworkGroup - description: The Managed Network Group resource - cliKey: ManagedNetworkGroup - protocol: {} - language: - default: - name: ConnectivityCollectionGroups - description: The collection of connectivity related Managed Network Groups within the Managed Network - az: - name: connectivity-collection-groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - mapsto: connectivity_collection_groups - cli: - name: ConnectivityCollectionGroups - description: The collection of connectivity related Managed Network Groups within the Managed Network - protocol: {} - flattenedNames: - - connectivity - - groups - readOnly: true - serializedName: groups - language: - default: - name: groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - az: - name: groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - mapsto: groups - cli: - name: groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - cliKey: groups - protocol: {} - - schema: &ref_61 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_23 - language: - default: - name: ConnectivityCollectionPeerings - description: The collection of Managed Network Peering Policies within the Managed Network - az: - name: connectivity-collection-peerings - description: The collection of Managed Network Peering Policies within the Managed Network - mapsto: connectivity_collection_peerings - cli: - name: ConnectivityCollectionPeerings - description: The collection of Managed Network Peering Policies within the Managed Network - protocol: {} - flattenedNames: - - connectivity - - peerings - readOnly: true - serializedName: peerings - language: - default: - name: peerings - description: The collection of Managed Network Peering Policies within the Managed Network - az: - name: peerings - description: The collection of Managed Network Peering Policies within the Managed Network - mapsto: peerings - cli: - name: peerings - description: The collection of Managed Network Peering Policies within the Managed Network - cliKey: peerings - protocol: {} - - schema: &ref_54 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeManagementGroups - description: The collection of management groups covered by the Managed Network - az: - name: scope-management-groups - description: The collection of management groups covered by the Managed Network - mapsto: scope_management_groups - cli: - name: ScopeManagementGroups - description: The collection of management groups covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - managementGroups - serializedName: managementGroups - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: - name: managementGroups - description: The collection of management groups covered by the Managed Network - cliKey: managementGroups - protocol: {} - - schema: &ref_55 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeSubscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: scope-subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: scope_subscriptions - cli: - name: ScopeSubscriptions - description: The collection of subscriptions covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - subscriptions - serializedName: subscriptions - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - cliKey: subscriptions - protocol: {} - - schema: &ref_56 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - az: - name: scope-virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: scope_virtual_networks - cli: - name: ScopeVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - virtualNetworks - serializedName: virtualNetworks - language: - default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network - az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: - name: virtualNetworks - description: The collection of virtual nets covered by the Managed Network - cliKey: virtualNetworks - protocol: {} - - schema: &ref_57 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeSubnets - description: The collection of subnets covered by the Managed Network - az: - name: scope-subnets - description: The collection of subnets covered by the Managed Network - mapsto: scope_subnets - cli: - name: ScopeSubnets - description: The collection of subnets covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - subnets - serializedName: subnets language: default: - name: subnets - description: The collection of subnets covered by the Managed Network + name: ManagedNetwork + description: The Managed Network resource + namespace: '' az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets + name: managed-network + description: The Managed Network resource + mapsto: managed_network cli: - name: subnets - description: The collection of subnets covered by the Managed Network - cliKey: subnets + name: ManagedNetwork + description: The Managed Network resource + cliKey: ManagedNetwork protocol: {} - serializationFormats: - - json - usage: - - output - - input + immediate: + - *ref_34 + parents: + all: + - *ref_3 + immediate: + - *ref_3 + properties: + - &ref_79 + schema: *ref_35 + required: false + serializedName: tags language: default: - name: ManagedNetworkProperties - description: Properties of Managed Network - namespace: '' + name: tags + description: Resource tags az: - name: managed-network-properties - description: Properties of Managed Network - mapsto: managed_network_properties - cli: - name: ManagedNetworkProperties - description: Properties of Managed Network - cliKey: ManagedNetworkProperties + name: tags + description: Resource tags + mapsto: tags + cli: &ref_80 + name: tags + description: Resource tags + cliKey: tags protocol: {} - serializedName: properties - extensions: &ref_82 - x-ms-client-flatten: false - language: - default: - name: properties - description: The MNC properties - az: - name: properties - description: The MNC properties - mapsto: properties - cli: &ref_83 - name: properties - description: The MNC properties - cliKey: properties - json: true - protocol: {} serializationFormats: - - json + - json usage: - - output - - input + - output + - input language: default: - name: ManagedNetwork - description: The Managed Network resource + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource namespace: '' az: - name: managed-network - description: The Managed Network resource - mapsto: managed_network + name: tracked-resource + description: The resource model definition for a ARM tracked top level resource + mapsto: tracked_resource cli: - name: ManagedNetwork - description: The Managed Network resource - cliKey: ManagedNetwork + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource + cliKey: TrackedResource protocol: {} - immediate: + - *ref_19 + - *ref_18 + - *ref_23 - *ref_34 - parents: - all: - - *ref_3 - immediate: - - *ref_3 - properties: - - &ref_79 - schema: *ref_35 - required: false - serializedName: tags + - *ref_24 + immediate: + - *ref_2 + - *ref_19 + properties: + - schema: *ref_36 + readOnly: true + serializedName: id language: default: - name: tags - description: Resource tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' az: - name: tags - description: Resource tags - mapsto: tags - cli: &ref_80 - name: tags - description: Resource tags - cliKey: tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: id + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + protocol: {} + - schema: *ref_37 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + az: + name: name + description: The name of the resource + mapsto: name + cli: + name: name + description: The name of the resource + cliKey: name + protocol: {} + - schema: *ref_38 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + az: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: type + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + protocol: {} + - &ref_77 + schema: *ref_39 + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: &ref_78 + name: location + description: The geo-location where the resource lives + cliKey: location + required: true protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - output - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - namespace: '' - az: - name: tracked-resource - description: The resource model definition for a ARM tracked top level resource - mapsto: tracked_resource - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - cliKey: TrackedResource - protocol: {} - - *ref_19 - - *ref_18 - - *ref_23 - - *ref_34 - - *ref_24 - immediate: - - *ref_2 - - *ref_19 - properties: - - schema: *ref_36 - readOnly: true - serializedName: id + extensions: + x-ms-azure-resource: true language: default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + name: Resource + description: The general resource model definition + namespace: '' az: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: id + name: resource + description: The general resource model definition + mapsto: resource cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id + name: Resource + description: The general resource model definition + cliKey: Resource protocol: {} - - schema: *ref_37 - readOnly: true - serializedName: name + - *ref_2 + - *ref_34 + - *ref_4 + - *ref_12 + - *ref_6 + - *ref_19 + - *ref_18 + - *ref_14 + - *ref_23 + - *ref_7 + - &ref_75 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_40 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + az: + name: code + description: The error code. + mapsto: code + cli: + name: code + description: The error code. + cliKey: code + protocol: {} + - schema: *ref_41 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + az: + name: message + description: The error message. + mapsto: message + cli: + name: message + description: The error message. + cliKey: message + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: name - description: The name of the resource + name: ErrorResponse + description: The error response that indicates why an operation has failed. + namespace: '' az: - name: name - description: The name of the resource - mapsto: name + name: error-response + description: The error response that indicates why an operation has failed. + mapsto: error_response cli: - name: name - description: The name of the resource - cliKey: name + name: ErrorResponse + description: The error response that indicates why an operation has failed. + cliKey: ErrorResponse protocol: {} - - schema: *ref_38 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - az: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: type - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - protocol: {} - - &ref_77 - schema: *ref_39 - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: &ref_78 - name: location - description: The geo-location where the resource lives - cliKey: location - required: true - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: The general resource model definition - namespace: '' - az: - name: resource - description: The general resource model definition - mapsto: resource - cli: - name: Resource - description: The general resource model definition - cliKey: Resource - protocol: {} - - *ref_2 - - *ref_34 - - *ref_4 - - *ref_12 - - *ref_6 - - *ref_19 - - *ref_18 - - *ref_14 - - *ref_23 - - *ref_7 - - &ref_75 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: *ref_40 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - az: - name: code - description: The error code. - mapsto: code - cli: - name: code - description: The error code. - cliKey: code - protocol: {} - - schema: *ref_41 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - az: - name: message - description: The error message. - mapsto: message - cli: - name: message - description: The error message. - cliKey: message - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ErrorResponse - description: The error response that indicates why an operation has failed. - namespace: '' - az: - name: error-response - description: The error response that indicates why an operation has failed. - mapsto: error_response - cli: - name: ErrorResponse - description: The error response that indicates why an operation has failed. - cliKey: ErrorResponse - protocol: {} - - &ref_91 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - &ref_93 - schema: *ref_42 - serializedName: tags - language: - default: - name: tags - description: Resource tags - az: - name: tags - description: Resource tags - mapsto: tags - cli: &ref_94 - name: tags - description: Resource tags - cliKey: tags - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: ManagedNetworkUpdate - description: Update Tags of Managed Network - namespace: '' - az: - name: managed-network-update - description: Update Tags of Managed Network - mapsto: managed_network_update - cli: - name: ManagedNetworkUpdate - description: Update Tags of Managed Network - cliKey: ManagedNetworkUpdate - protocol: {} - - &ref_102 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_62 - type: array - apiVersions: + - &ref_91 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_34 - language: - default: - name: ManagedNetworkListResultValue - description: Gets a page of ManagedNetworks - az: - name: managed-network-list-result-value - description: Gets a page of ManagedNetworks - mapsto: managed_network_list_result_value - cli: - name: ManagedNetworkListResultValue - description: Gets a page of ManagedNetworks - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of ManagedNetworks - az: - name: value - description: Gets a page of ManagedNetworks - mapsto: value - cli: - name: value - description: Gets a page of ManagedNetworks - cliKey: value - protocol: {} - - schema: *ref_43 - serializedName: nextLink + properties: + - &ref_93 + schema: *ref_42 + serializedName: tags + language: + default: + name: tags + description: Resource tags + az: + name: tags + description: Resource tags + mapsto: tags + cli: &ref_94 + name: tags + description: Resource tags + cliKey: tags + protocol: {} + serializationFormats: + - json + usage: + - input language: default: - name: next_link - description: Gets the URL to get the next page of results. + name: ManagedNetworkUpdate + description: Update Tags of Managed Network + namespace: '' az: - name: next-link - description: Gets the URL to get the next page of results. - mapsto: next_link + name: managed-network-update + description: Update Tags of Managed Network + mapsto: managed_network_update cli: - name: nextLink - description: Gets the URL to get the next page of results. - cliKey: nextLink + name: ManagedNetworkUpdate + description: Update Tags of Managed Network + cliKey: ManagedNetworkUpdate protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ManagedNetworkListResult - description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. - namespace: '' - az: - name: managed-network-list-result - description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. - mapsto: managed_network_list_result - cli: - name: ManagedNetworkListResult - description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. - cliKey: ManagedNetworkListResult - protocol: {} - - *ref_24 - - *ref_15 - - &ref_116 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_63 - type: array - apiVersions: + - &ref_102 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_24 - language: - default: - name: ScopeAssignmentListResultValue - description: Gets a page of ScopeAssignment - az: - name: scope-assignment-list-result-value - description: Gets a page of ScopeAssignment - mapsto: scope_assignment_list_result_value - cli: - name: ScopeAssignmentListResultValue - description: Gets a page of ScopeAssignment - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of ScopeAssignment - az: - name: value - description: Gets a page of ScopeAssignment - mapsto: value - cli: - name: value - description: Gets a page of ScopeAssignment - cliKey: value - protocol: {} - - schema: *ref_44 - serializedName: nextLink + properties: + - schema: &ref_62 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_34 + language: + default: + name: ManagedNetworkListResultValue + description: Gets a page of ManagedNetworks + az: + name: managed-network-list-result-value + description: Gets a page of ManagedNetworks + mapsto: managed_network_list_result_value + cli: + name: ManagedNetworkListResultValue + description: Gets a page of ManagedNetworks + protocol: {} + serializedName: value + language: + default: + name: value + description: Gets a page of ManagedNetworks + az: + name: value + description: Gets a page of ManagedNetworks + mapsto: value + cli: + name: value + description: Gets a page of ManagedNetworks + cliKey: value + protocol: {} + - schema: *ref_43 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next page of results. + az: + name: next-link + description: Gets the URL to get the next page of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next page of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: next_link - description: Gets the URL to get the next set of results. + name: ManagedNetworkListResult + description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. + namespace: '' az: - name: next-link - description: Gets the URL to get the next set of results. - mapsto: next_link + name: managed-network-list-result + description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. + mapsto: managed_network_list_result cli: - name: nextLink - description: Gets the URL to get the next set of results. - cliKey: nextLink + name: ManagedNetworkListResult + description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. + cliKey: ManagedNetworkListResult protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ScopeAssignmentListResult - description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. - namespace: '' - az: - name: scope-assignment-list-result - description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. - mapsto: scope_assignment_list_result - cli: - name: ScopeAssignmentListResult - description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. - cliKey: ScopeAssignmentListResult - protocol: {} - - &ref_142 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_64 - type: array - apiVersions: + - *ref_24 + - *ref_15 + - &ref_116 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_18 - language: - default: - name: ManagedNetworkGroupListResultValue - description: Gets a page of ManagedNetworkGroup - az: - name: managed-network-group-list-result-value - description: Gets a page of ManagedNetworkGroup - mapsto: managed_network_group_list_result_value - cli: - name: ManagedNetworkGroupListResultValue - description: Gets a page of ManagedNetworkGroup - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of ManagedNetworkGroup - az: - name: value - description: Gets a page of ManagedNetworkGroup - mapsto: value - cli: - name: value - description: Gets a page of ManagedNetworkGroup - cliKey: value - protocol: {} - - schema: *ref_45 - serializedName: nextLink + properties: + - schema: &ref_63 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_24 + language: + default: + name: ScopeAssignmentListResultValue + description: Gets a page of ScopeAssignment + az: + name: scope-assignment-list-result-value + description: Gets a page of ScopeAssignment + mapsto: scope_assignment_list_result_value + cli: + name: ScopeAssignmentListResultValue + description: Gets a page of ScopeAssignment + protocol: {} + serializedName: value + language: + default: + name: value + description: Gets a page of ScopeAssignment + az: + name: value + description: Gets a page of ScopeAssignment + mapsto: value + cli: + name: value + description: Gets a page of ScopeAssignment + cliKey: value + protocol: {} + - schema: *ref_44 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next set of results. + az: + name: next-link + description: Gets the URL to get the next set of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next set of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: next_link - description: Gets the URL to get the next set of results. + name: ScopeAssignmentListResult + description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. + namespace: '' az: - name: next-link - description: Gets the URL to get the next set of results. - mapsto: next_link + name: scope-assignment-list-result + description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. + mapsto: scope_assignment_list_result cli: - name: nextLink - description: Gets the URL to get the next set of results. - cliKey: nextLink + name: ScopeAssignmentListResult + description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. + cliKey: ScopeAssignmentListResult protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ManagedNetworkGroupListResult - description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. - namespace: '' - az: - name: managed-network-group-list-result - description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. - mapsto: managed_network_group_list_result - cli: - name: ManagedNetworkGroupListResult - description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. - cliKey: ManagedNetworkGroupListResult - protocol: {} - - &ref_161 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_65 - type: array - apiVersions: + - &ref_142 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_23 - language: - default: - name: ManagedNetworkPeeringPolicyListResultValue - description: Gets a page of Peering Policies - az: - name: managed-network-peering-policy-list-result-value - description: Gets a page of Peering Policies - mapsto: managed_network_peering_policy_list_result_value - cli: - name: ManagedNetworkPeeringPolicyListResultValue - description: Gets a page of Peering Policies - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of Peering Policies - az: - name: value - description: Gets a page of Peering Policies - mapsto: value - cli: - name: value - description: Gets a page of Peering Policies - cliKey: value - protocol: {} - - schema: *ref_46 - serializedName: nextLink + properties: + - schema: &ref_64 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_18 + language: + default: + name: ManagedNetworkGroupListResultValue + description: Gets a page of ManagedNetworkGroup + az: + name: managed-network-group-list-result-value + description: Gets a page of ManagedNetworkGroup + mapsto: managed_network_group_list_result_value + cli: + name: ManagedNetworkGroupListResultValue + description: Gets a page of ManagedNetworkGroup + protocol: {} + serializedName: value + language: + default: + name: value + description: Gets a page of ManagedNetworkGroup + az: + name: value + description: Gets a page of ManagedNetworkGroup + mapsto: value + cli: + name: value + description: Gets a page of ManagedNetworkGroup + cliKey: value + protocol: {} + - schema: *ref_45 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next set of results. + az: + name: next-link + description: Gets the URL to get the next set of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next set of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: next_link - description: Gets the URL to get the next page of results. + name: ManagedNetworkGroupListResult + description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. + namespace: '' az: - name: next-link - description: Gets the URL to get the next page of results. - mapsto: next_link + name: managed-network-group-list-result + description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. + mapsto: managed_network_group_list_result cli: - name: nextLink - description: Gets the URL to get the next page of results. - cliKey: nextLink + name: ManagedNetworkGroupListResult + description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. + cliKey: ManagedNetworkGroupListResult protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ManagedNetworkPeeringPolicyListResult - description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. - namespace: '' - az: - name: managed-network-peering-policy-list-result - description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. - mapsto: managed_network_peering_policy_list_result - cli: - name: ManagedNetworkPeeringPolicyListResult - description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. - cliKey: ManagedNetworkPeeringPolicyListResult - protocol: {} - - &ref_162 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_66 - type: array - apiVersions: + - &ref_161 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: &ref_52 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: *ref_47 - serializedName: name - language: - default: - name: name - description: 'Operation name: {provider}/{resource}/{operation}' - az: - name: name - description: 'Operation name: {provider}/{resource}/{operation}' - mapsto: name - cli: - name: name - description: 'Operation name: {provider}/{resource}/{operation}' - cliKey: name - protocol: {} - - schema: &ref_53 - type: object - apiVersions: + properties: + - schema: &ref_65 + type: array + apiVersions: - version: 2019-06-01-preview - properties: - - schema: *ref_48 - serializedName: provider - language: - default: - name: provider - description: 'Service provider: Microsoft.ManagedNetwork' - az: - name: provider - description: 'Service provider: Microsoft.ManagedNetwork' - mapsto: provider - cli: - name: provider - description: 'Service provider: Microsoft.ManagedNetwork' - cliKey: provider - protocol: {} - - schema: *ref_49 - serializedName: resource - language: - default: - name: resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - az: - name: resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - mapsto: resource - cli: - name: resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - cliKey: resource - protocol: {} - - schema: *ref_50 - serializedName: operation - language: - default: - name: operation - description: 'Operation type: Read, write, delete, etc.' - az: - name: operation - description: 'Operation type: Read, write, delete, etc.' - mapsto: operation - cli: - name: operation - description: 'Operation type: Read, write, delete, etc.' - cliKey: operation - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OperationDisplay - description: The object that represents the operation. - namespace: '' - az: - name: operation-display - description: The object that represents the operation. - mapsto: operation_display - cli: - name: OperationDisplay - description: The object that represents the operation. - cliKey: Operation-display - protocol: {} - serializedName: display + elementType: *ref_23 language: default: - name: display - description: The object that represents the operation. + name: ManagedNetworkPeeringPolicyListResultValue + description: Gets a page of Peering Policies az: - name: display - description: The object that represents the operation. - mapsto: display + name: managed-network-peering-policy-list-result-value + description: Gets a page of Peering Policies + mapsto: managed_network_peering_policy_list_result_value cli: - name: display - description: The object that represents the operation. - cliKey: display + name: ManagedNetworkPeeringPolicyListResultValue + description: Gets a page of Peering Policies protocol: {} - serializationFormats: - - json - usage: - - output + serializedName: value language: default: - name: Operation - description: REST API operation - namespace: '' + name: value + description: Gets a page of Peering Policies az: - name: operation - description: REST API operation - mapsto: operation + name: value + description: Gets a page of Peering Policies + mapsto: value cli: - name: Operation - description: REST API operation - cliKey: Operation + name: value + description: Gets a page of Peering Policies + cliKey: value protocol: {} - language: - default: - name: OperationListResultValue - description: List of Resource Provider operations supported by the Managed Network resource provider. - az: - name: operation-list-result-value - description: List of Resource Provider operations supported by the Managed Network resource provider. - mapsto: operation_list_result_value - cli: - name: OperationListResultValue - description: List of Resource Provider operations supported by the Managed Network resource provider. - protocol: {} - serializedName: value + - schema: *ref_46 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next page of results. + az: + name: next-link + description: Gets the URL to get the next page of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next page of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: value - description: List of Resource Provider operations supported by the Managed Network resource provider. + name: ManagedNetworkPeeringPolicyListResult + description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. + namespace: '' az: - name: value - description: List of Resource Provider operations supported by the Managed Network resource provider. - mapsto: value + name: managed-network-peering-policy-list-result + description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. + mapsto: managed_network_peering_policy_list_result cli: - name: value - description: List of Resource Provider operations supported by the Managed Network resource provider. - cliKey: value + name: ManagedNetworkPeeringPolicyListResult + description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. + cliKey: ManagedNetworkPeeringPolicyListResult protocol: {} - - schema: *ref_51 - serializedName: nextLink - language: - default: - name: next_link - description: URL to get the next set of operation list results if there are any. - az: - name: next-link - description: URL to get the next set of operation list results if there are any. - mapsto: next_link - cli: - name: nextLink - description: URL to get the next set of operation list results if there are any. - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OperationListResult - description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. - namespace: '' - az: - name: operation-list-result - description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. - mapsto: operation_list_result - cli: - name: OperationListResult - description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. - cliKey: OperationListResult - protocol: {} - - *ref_52 - - *ref_53 - - *ref_8 - - *ref_9 - arrays: - - *ref_54 - - *ref_55 - - *ref_56 - - *ref_57 - - *ref_26 - - *ref_28 - - *ref_30 - - *ref_32 - - *ref_58 - - *ref_59 - - *ref_60 - - *ref_61 - - *ref_62 - - *ref_63 - - *ref_64 - - *ref_65 - - *ref_66 - - *ref_67 - - *ref_68 -globalParameters: -- &ref_72 - schema: *ref_1 - implementation: Client - required: true - extensions: - x-ms-priority: 1 - language: - default: - name: subscription_id - description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - serializedName: subscriptionId - az: - name: subscription-id - description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - mapsto: subscription_id - cli: - name: subscriptionId - description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - cliKey: subscriptionId - protocol: - http: - in: path -- &ref_70 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - az: - name: $host - description: server parameter - mapsto: $host - cli: - name: $host - description: server parameter - cliKey: $host - protocol: - http: - in: uri -- &ref_71 - schema: *ref_69 - implementation: Client - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - az: - name: api-version - description: Api Version - mapsto: api_version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - protocol: - http: - in: query -operationGroups: -- $key: ManagedNetworks - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_73 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_74 - schema: *ref_1 - implementation: Method - required: true + - &ref_162 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: &ref_66 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: &ref_52 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_47 + serializedName: name + language: + default: + name: name + description: 'Operation name: {provider}/{resource}/{operation}' + az: + name: name + description: 'Operation name: {provider}/{resource}/{operation}' + mapsto: name + cli: + name: name + description: 'Operation name: {provider}/{resource}/{operation}' + cliKey: name + protocol: {} + - schema: &ref_53 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_48 + serializedName: provider + language: + default: + name: provider + description: 'Service provider: Microsoft.ManagedNetwork' + az: + name: provider + description: 'Service provider: Microsoft.ManagedNetwork' + mapsto: provider + cli: + name: provider + description: 'Service provider: Microsoft.ManagedNetwork' + cliKey: provider + protocol: {} + - schema: *ref_49 + serializedName: resource + language: + default: + name: resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + az: + name: resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + mapsto: resource + cli: + name: resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + cliKey: resource + protocol: {} + - schema: *ref_50 + serializedName: operation + language: + default: + name: operation + description: 'Operation type: Read, write, delete, etc.' + az: + name: operation + description: 'Operation type: Read, write, delete, etc.' + mapsto: operation + cli: + name: operation + description: 'Operation type: Read, write, delete, etc.' + cliKey: operation + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OperationDisplay + description: The object that represents the operation. + namespace: '' + az: + name: operation-display + description: The object that represents the operation. + mapsto: operation_display + cli: + name: OperationDisplay + description: The object that represents the operation. + cliKey: Operation-display + protocol: {} + serializedName: display + language: + default: + name: display + description: The object that represents the operation. + az: + name: display + description: The object that represents the operation. + mapsto: display + cli: + name: display + description: The object that represents the operation. + cliKey: display + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: Operation + description: REST API operation + namespace: '' + az: + name: operation + description: REST API operation + mapsto: operation + cli: + name: Operation + description: REST API operation + cliKey: Operation + protocol: {} + language: + default: + name: OperationListResultValue + description: List of Resource Provider operations supported by the Managed Network resource provider. + az: + name: operation-list-result-value + description: List of Resource Provider operations supported by the Managed Network resource provider. + mapsto: operation_list_result_value + cli: + name: OperationListResultValue + description: List of Resource Provider operations supported by the Managed Network resource provider. + protocol: {} + serializedName: value + language: + default: + name: value + description: List of Resource Provider operations supported by the Managed Network resource provider. + az: + name: value + description: List of Resource Provider operations supported by the Managed Network resource provider. + mapsto: value + cli: + name: value + description: List of Resource Provider operations supported by the Managed Network resource provider. + cliKey: value + protocol: {} + - schema: *ref_51 + serializedName: nextLink + language: + default: + name: next_link + description: URL to get the next set of operation list results if there are any. + az: + name: next-link + description: URL to get the next set of operation list results if there are any. + mapsto: next_link + cli: + name: nextLink + description: URL to get the next set of operation list results if there are any. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName + name: OperationListResult + description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. + namespace: '' az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name + name: operation-list-result + description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. + mapsto: operation_list_result cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_73 - - *ref_74 - responses: - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default + name: OperationListResult + description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. + cliKey: OperationListResult + protocol: {} + - *ref_52 + - *ref_53 + - *ref_8 + - *ref_9 + arrays: + - *ref_54 + - *ref_55 + - *ref_56 + - *ref_57 + - *ref_26 + - *ref_28 + - *ref_30 + - *ref_32 + - *ref_58 + - *ref_59 + - *ref_60 + - *ref_61 + - *ref_62 + - *ref_63 + - *ref_64 + - *ref_65 + - *ref_66 + - *ref_67 + - *ref_68 +globalParameters: + - &ref_72 + schema: *ref_1 + implementation: Client + required: true extensions: - x-ms-examples: - ManagedNetworksGet: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network - responses: - '200': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} + x-ms-priority: 1 language: default: - name: get - description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' + name: subscription_id + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + serializedName: subscriptionId az: - name: show - description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' - command: managed-network managed-network show + name: subscription-id + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + mapsto: subscription_id cli: - name: Get - description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_87 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_88 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - parameters: - - &ref_76 - schema: *ref_34 - flattened: true - implementation: Method - required: true - extensions: - x-ms-client-flatten: true - language: - default: - name: _managed_network - description: Parameters supplied to the create/update a Managed Network Resource - az: - name: _managed_network - description: Parameters supplied to the create/update a Managed Network Resource - mapsto: _managed_network - cli: - name: _managed_network - description: Parameters supplied to the create/update a Managed Network Resource - cliKey: managedNetwork - protocol: - http: - in: body - style: json - - &ref_84 - schema: *ref_39 - implementation: Method - originalParameter: *ref_76 - pathToProperty: [] - targetProperty: *ref_77 - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 - protocol: {} - - &ref_85 - schema: *ref_35 - implementation: Method - originalParameter: *ref_76 - pathToProperty: [] - required: false - targetProperty: *ref_79 - language: - default: - name: tags - description: Resource tags - az: - name: tags - description: Resource tags - mapsto: tags - cli: *ref_80 - protocol: {} - - &ref_86 - schema: *ref_12 - implementation: Method - originalParameter: *ref_76 - pathToProperty: [] - targetProperty: *ref_81 - extensions: *ref_82 - language: - default: - name: properties - description: The MNC properties - az: - name: properties - description: The MNC properties - mapsto: properties - cli: *ref_83 - protocol: {} - signatureParameters: - - *ref_84 - - *ref_85 - - *ref_86 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_87 - - *ref_88 - responses: - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default + name: subscriptionId + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + cliKey: subscriptionId + protocol: + http: + in: path + - &ref_70 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + required: true extensions: - x-ms-examples: - ManagedNetworksPut: - parameters: - api-version: '2019-06-01' - managedNetwork: - location: eastus - properties: - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network - responses: - '200': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - '201': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} + x-ms-skip-url-encoding: true language: default: - name: create_or_update - description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' + name: $host + description: server parameter + serializedName: $host az: - name: create - description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' - command: managed-network managed-network create + name: $host + description: server parameter + mapsto: $host cli: - name: CreateOrUpdate - description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_89 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_90 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_89 - - *ref_90 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksDelete: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Delete Managed Network - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation + name: $host + description: server parameter + cliKey: $host + protocol: + http: + in: uri + - &ref_71 + schema: *ref_69 + implementation: Client + required: true language: default: - name: delete - description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' + name: api_version + description: Api Version + serializedName: api-version az: - name: delete - description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' - command: managed-network managed-network delete + name: api-version + description: Api Version + mapsto: api_version cli: - name: Delete - description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_96 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_97 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - parameters: - - &ref_92 - schema: *ref_91 - flattened: true - implementation: Method - required: true + name: ApiVersion + description: Api Version + cliKey: ApiVersion + protocol: + http: + in: query +operationGroups: + - $key: ManagedNetworks + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_73 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_74 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_73 + - *ref_74 + responses: + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ManagedNetworksGet: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network + responses: + '200': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} language: default: - name: _parameters - description: Parameters supplied to update application gateway tags and/or scope. + name: get + description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' az: - name: _parameters - description: Parameters supplied to update application gateway tags and/or scope. - mapsto: _parameters + name: show + description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' + command: managed-network managed-network show cli: - name: _parameters - description: Parameters supplied to update application gateway tags and/or scope. - cliKey: parameters - protocol: - http: - in: body - style: json - - &ref_95 - schema: *ref_42 - implementation: Method - originalParameter: *ref_92 - pathToProperty: [] - targetProperty: *ref_93 + name: Get + description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_87 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_88 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - parameters: + - &ref_76 + schema: *ref_34 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _managed_network + description: Parameters supplied to the create/update a Managed Network Resource + az: + name: _managed_network + description: Parameters supplied to the create/update a Managed Network Resource + mapsto: _managed_network + cli: + name: _managed_network + description: Parameters supplied to the create/update a Managed Network Resource + cliKey: managedNetwork + protocol: + http: + in: body + style: json + - &ref_84 + schema: *ref_39 + implementation: Method + originalParameter: *ref_76 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - &ref_85 + schema: *ref_35 + implementation: Method + originalParameter: *ref_76 + pathToProperty: [] + required: false + targetProperty: *ref_79 + language: + default: + name: tags + description: Resource tags + az: + name: tags + description: Resource tags + mapsto: tags + cli: *ref_80 + protocol: {} + - &ref_86 + schema: *ref_12 + implementation: Method + originalParameter: *ref_76 + pathToProperty: [] + targetProperty: *ref_81 + extensions: *ref_82 + language: + default: + name: properties + description: The MNC properties + az: + name: properties + description: The MNC properties + mapsto: properties + cli: *ref_83 + protocol: {} + signatureParameters: + - *ref_84 + - *ref_85 + - *ref_86 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_87 + - *ref_88 + responses: + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksPut: + parameters: + api-version: '2019-06-01' + managedNetwork: + location: eastus + properties: + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network + responses: + '200': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + '201': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} language: default: - name: tags - description: Resource tags + name: create_or_update + description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' az: - name: tags - description: Resource tags - mapsto: tags - cli: *ref_94 + name: create + description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' + command: managed-network managed-network create + cli: + name: CreateOrUpdate + description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' + cliKey: CreateOrUpdate protocol: {} - signatureParameters: - - *ref_95 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_96 - - *ref_97 - responses: - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksPatch: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - parameters: - tags: {} - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network - responses: - '200': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - '201': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Updates the specified Managed Network resource tags. - az: - name: update - description: Updates the specified Managed Network resource tags. - command: managed-network managed-network update - cli: - name: Update - description: Updates the specified Managed Network resource tags. - cliKey: Update - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_99 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_100 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_101 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks' - method: get - uri: '{$host}' - signatureParameters: - - *ref_99 - - *ref_100 - - *ref_101 - responses: - - schema: *ref_102 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksListByResourceGroup: - parameters: - api-version: '2019-06-01' - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' - value: - - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. - paging: - nextLinkName: nextLink - az: - name: list - description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. - command: managed-network managed-network list - cli: - name: ListByResourceGroup - description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. - cliKey: ListByResourceGroup - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_103 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_104 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks' - method: get - uri: '{$host}' - signatureParameters: - - *ref_103 - - *ref_104 - responses: - - schema: *ref_102 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksListBySubscription: - parameters: - api-version: '2019-06-01' - subscriptionId: subscriptionA - title: Get Managed Network - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' - value: - - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. - paging: - nextLinkName: nextLink - az: - name: list - description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. - command: managed-network managed-network list - cli: - name: ListBySubscription - description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. - cliKey: ListBySubscription - protocol: {} - language: - default: - name: ManagedNetwork - description: '' - az: - name: ManagedNetwork - description: '' - command: managed-network managed-network - hasShowCommand: true - hasUpdate: true - cli: - name: ManagedNetwork - description: '' - cliKey: ManagedNetworks - protocol: {} -- $key: ScopeAssignments - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - &ref_105 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: The base resource of the scope assignment. - serializedName: scope - az: - name: scope - description: The base resource of the scope assignment. - mapsto: scope - cli: - name: scope - description: The base resource of the scope assignment. - cliKey: scope - protocol: - http: - in: path - - &ref_106 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: scope_assignment_name - description: The name of the scope assignment to get. - serializedName: scopeAssignmentName - az: - name: scope-assignment-name - description: The name of the scope assignment to get. - mapsto: scope_assignment_name - cli: - name: scopeAssignmentName - description: The name of the scope assignment to get. - cliKey: scopeAssignmentName - protocol: - http: - in: path - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_105 - - *ref_106 - responses: - - schema: *ref_24 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsGet: - parameters: - api-version: '2019-06-01' - scope: subscriptions/subscriptionC - scopeAssignmentName: subscriptionCAssignment - title: Create/Update Managed Network - responses: - '200': - body: - name: subscriptionCAssignment - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - language: - default: - name: get - description: Get the specified scope assignment. - az: - name: show - description: Get the specified scope assignment. - command: managed-network scope-assignment show - cli: - name: Get - description: Get the specified scope assignment. - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - &ref_111 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: >- - The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. - serializedName: scope - az: - name: scope - description: >- - The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. - mapsto: scope - cli: - name: scope - description: >- - The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. - cliKey: scope - protocol: - http: - in: path - - &ref_112 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: scope_assignment_name - description: The name of the scope assignment to create. - serializedName: scopeAssignmentName - az: - name: scope-assignment-name - description: The name of the scope assignment to create. - mapsto: scope_assignment_name - cli: - name: scopeAssignmentName - description: The name of the scope assignment to create. - cliKey: scopeAssignmentName - protocol: - http: - in: path - - *ref_71 - requests: - - parameters: - - &ref_107 - schema: *ref_24 - flattened: true - implementation: Method - required: true + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_89 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_90 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_89 + - *ref_90 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ManagedNetworksDelete: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Delete Managed Network + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: _parameters - description: Parameters supplied to the specify which Managed Network this scope is being assigned + name: delete + description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' az: - name: _parameters - description: Parameters supplied to the specify which Managed Network this scope is being assigned - mapsto: _parameters + name: delete + description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' + command: managed-network managed-network delete cli: - name: _parameters - description: Parameters supplied to the specify which Managed Network this scope is being assigned - cliKey: parameters - protocol: - http: - in: body - style: json - - &ref_109 - schema: *ref_39 - implementation: Method - originalParameter: *ref_107 - pathToProperty: [] - targetProperty: *ref_77 + name: Delete + description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_96 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_97 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - parameters: + - &ref_92 + schema: *ref_91 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _parameters + description: Parameters supplied to update application gateway tags and/or scope. + az: + name: _parameters + description: Parameters supplied to update application gateway tags and/or scope. + mapsto: _parameters + cli: + name: _parameters + description: Parameters supplied to update application gateway tags and/or scope. + cliKey: parameters + protocol: + http: + in: body + style: json + - &ref_95 + schema: *ref_42 + implementation: Method + originalParameter: *ref_92 + pathToProperty: [] + targetProperty: *ref_93 + language: + default: + name: tags + description: Resource tags + az: + name: tags + description: Resource tags + mapsto: tags + cli: *ref_94 + protocol: {} + signatureParameters: + - *ref_95 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_96 + - *ref_97 + responses: + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksPatch: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + parameters: + tags: {} + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network + responses: + '200': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + '201': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: location - description: The geo-location where the resource lives + name: update + description: Updates the specified Managed Network resource tags. az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 + name: update + description: Updates the specified Managed Network resource tags. + command: managed-network managed-network update + cli: + name: Update + description: Updates the specified Managed Network resource tags. + cliKey: Update protocol: {} - - &ref_110 - schema: *ref_13 - implementation: Method - originalParameter: *ref_107 - pathToProperty: [] - targetProperty: *ref_108 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_99 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_100 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_101 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks' + method: get + uri: '{$host}' + signatureParameters: + - *ref_99 + - *ref_100 + - *ref_101 + responses: + - schema: *ref_102 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksListByResourceGroup: + parameters: + api-version: '2019-06-01' + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' + value: + - name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + x-ms-pageable: + nextLinkName: nextLink language: default: - name: assigned_managed_network - description: The managed network ID with scope will be assigned to. + name: list_by_resource_group + description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. + paging: + nextLinkName: nextLink az: - name: assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: assigned_managed_network - cli: *ref_22 + name: list + description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. + command: managed-network managed-network list + cli: + name: ListByResourceGroup + description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. + cliKey: ListByResourceGroup + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_103 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_104 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks' + method: get + uri: '{$host}' + signatureParameters: + - *ref_103 + - *ref_104 + responses: + - schema: *ref_102 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksListBySubscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subscriptionA + title: Get Managed Network + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' + value: + - name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. + paging: + nextLinkName: nextLink + az: + name: list + description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. + command: managed-network managed-network list + cli: + name: ListBySubscription + description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. + cliKey: ListBySubscription protocol: {} - signatureParameters: - - *ref_109 - - *ref_110 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_111 - - *ref_112 - responses: - - schema: *ref_24 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_24 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsPut: - parameters: - api-version: '2019-06-01' - parameters: - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - scope: subscriptions/subscriptionC - scopeAssignmentName: subscriptionCAssignment - title: Create/Update Managed Network - responses: - '200': - body: - name: subscriptionCAssignment - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - '201': - body: - name: subscriptionCAssignment - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - language: - default: - name: create_or_update - description: Creates a scope assignment. - az: - name: create - description: Creates a scope assignment. - command: managed-network scope-assignment create - cli: - name: CreateOrUpdate - description: Creates a scope assignment. - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - &ref_113 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: The scope of the scope assignment to delete. - serializedName: scope - az: - name: scope - description: The scope of the scope assignment to delete. - mapsto: scope - cli: - name: scope - description: The scope of the scope assignment to delete. - cliKey: scope - protocol: - http: - in: path - - &ref_114 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: scope_assignment_name - description: The name of the scope assignment to delete. - serializedName: scopeAssignmentName - az: - name: scope-assignment-name - description: The name of the scope assignment to delete. - mapsto: scope_assignment_name - cli: - name: scopeAssignmentName - description: The name of the scope assignment to delete. - cliKey: scopeAssignmentName - protocol: - http: - in: path - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_113 - - *ref_114 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - exceptions: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsDelete: - parameters: - api-version: '2019-06-01' - scope: subscriptions/subscriptionC - scopeAssignmentName: subscriptionCAssignment - title: Create/Update Managed Network - responses: - '200': {} language: default: - name: delete - description: Deletes a scope assignment. + name: ManagedNetwork + description: '' az: - name: delete - description: Deletes a scope assignment. - command: managed-network scope-assignment delete + name: ManagedNetwork + description: '' + command: managed-network managed-network + hasShowCommand: true cli: - name: Delete - description: Deletes a scope assignment. - cliKey: Delete + name: ManagedNetwork + description: '' + cliKey: ManagedNetworks protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - &ref_115 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: The base resource of the scope assignment. - serializedName: scope - az: - name: scope - description: The base resource of the scope assignment. - mapsto: scope - cli: - name: scope - description: The base resource of the scope assignment. - cliKey: scope - protocol: - http: - in: path - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments' - method: get - uri: '{$host}' - signatureParameters: - - *ref_115 - responses: - - schema: *ref_116 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsList: - parameters: - api-version: '2019-06-01' - scope: subscriptions/subscriptionC - title: Create/Update Managed Network - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10' - value: - - name: subscriptionCAssignemnt - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + - $key: ScopeAssignments + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_105 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: The base resource of the scope assignment. + serializedName: scope + az: + name: scope + description: The base resource of the scope assignment. + mapsto: scope + cli: + name: scope + description: The base resource of the scope assignment. + cliKey: scope + protocol: + http: + in: path + - &ref_106 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: scope_assignment_name + description: The name of the scope assignment to get. + serializedName: scopeAssignmentName + az: + name: scope-assignment-name + description: The name of the scope assignment to get. + mapsto: scope_assignment_name + cli: + name: scopeAssignmentName + description: The name of the scope assignment to get. + cliKey: scopeAssignmentName + protocol: + http: + in: path + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_105 + - *ref_106 + responses: + - schema: *ref_24 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ScopeAssignmentsGet: + parameters: + api-version: '2019-06-01' + scope: subscriptions/subscriptionC + scopeAssignmentName: subscriptionCAssignment + title: Create/Update Managed Network + responses: + '200': + body: + name: subscriptionCAssignment + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + language: + default: + name: get + description: Get the specified scope assignment. + az: + name: show + description: Get the specified scope assignment. + command: managed-network scope-assignment show + cli: + name: Get + description: Get the specified scope assignment. + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_111 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: >- + The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + serializedName: scope + az: + name: scope + description: >- + The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + mapsto: scope + cli: + name: scope + description: >- + The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + cliKey: scope + protocol: + http: + in: path + - &ref_112 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: scope_assignment_name + description: The name of the scope assignment to create. + serializedName: scopeAssignmentName + az: + name: scope-assignment-name + description: The name of the scope assignment to create. + mapsto: scope_assignment_name + cli: + name: scopeAssignmentName + description: The name of the scope assignment to create. + cliKey: scopeAssignmentName + protocol: + http: + in: path + - *ref_71 + requests: + - parameters: + - &ref_107 + schema: *ref_24 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _parameters + description: Parameters supplied to the specify which Managed Network this scope is being assigned + az: + name: _parameters + description: Parameters supplied to the specify which Managed Network this scope is being assigned + mapsto: _parameters + cli: + name: _parameters + description: Parameters supplied to the specify which Managed Network this scope is being assigned + cliKey: parameters + protocol: + http: + in: body + style: json + - &ref_109 + schema: *ref_39 + implementation: Method + originalParameter: *ref_107 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - &ref_110 + schema: *ref_13 + implementation: Method + originalParameter: *ref_107 + pathToProperty: [] + targetProperty: *ref_108 + language: + default: + name: assigned_managed_network + description: The managed network ID with scope will be assigned to. + az: + name: assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: assigned_managed_network + cli: *ref_22 + protocol: {} + signatureParameters: + - *ref_109 + - *ref_110 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_111 + - *ref_112 + responses: + - schema: *ref_24 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_24 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ScopeAssignmentsPut: + parameters: + api-version: '2019-06-01' + parameters: properties: assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Get the specified scope assignment. - paging: - nextLinkName: nextLink - az: - name: list - description: Get the specified scope assignment. - command: managed-network scope-assignment list - cli: - name: List - description: Get the specified scope assignment. - cliKey: List - protocol: {} - language: - default: - name: ScopeAssignment - description: '' - az: - name: ScopeAssignment - description: '' - command: managed-network scope-assignment - hasShowCommand: true - cli: - name: ScopeAssignment - description: '' - cliKey: ScopeAssignments - protocol: {} -- $key: ManagedNetworkGroups - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_117 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_118 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_119 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_group_name - description: The name of the Managed Network Group. - serializedName: managedNetworkGroupName - az: - name: managed-network-group-name - description: The name of the Managed Network Group. - mapsto: managed_network_group_name - cli: - name: managedNetworkGroupName - description: The name of the Managed Network Group. - cliKey: managedNetworkGroupName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_117 - - *ref_118 - - *ref_119 - responses: - - schema: *ref_18 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagementNetworkGroupsGet: - parameters: - api-version: '2019-06-01' - managedNetworkGroupName: myManagedNetworkGroup1 - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Group - responses: - '200': - body: - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - language: - default: - name: get - description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' - az: - name: show - description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' - command: managed-network managed-network-group show - cli: - name: Get - description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_132 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_133 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_group_name - description: The name of the Managed Network Group. - serializedName: managedNetworkGroupName - az: - name: managed-network-group-name - description: The name of the Managed Network Group. - mapsto: managed_network_group_name - cli: - name: managedNetworkGroupName - description: The name of the Managed Network Group. - cliKey: managedNetworkGroupName - protocol: - http: - in: path - requests: - - parameters: - - &ref_120 - schema: *ref_18 - flattened: true - implementation: Method - required: true - extensions: - x-ms-client-flatten: true + scope: subscriptions/subscriptionC + scopeAssignmentName: subscriptionCAssignment + title: Create/Update Managed Network + responses: + '200': + body: + name: subscriptionCAssignment + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + '201': + body: + name: subscriptionCAssignment + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded language: default: - name: _managed_network_group - description: Parameters supplied to the create/update a Managed Network Group resource + name: create_or_update + description: Creates a scope assignment. az: - name: _managed_network_group - description: Parameters supplied to the create/update a Managed Network Group resource - mapsto: _managed_network_group + name: create + description: Creates a scope assignment. + command: managed-network scope-assignment create cli: - name: _managed_network_group - description: Parameters supplied to the create/update a Managed Network Group resource - cliKey: managedNetworkGroup - protocol: - http: - in: body - style: json - - &ref_127 - schema: *ref_39 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_77 - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 + name: CreateOrUpdate + description: Creates a scope assignment. + cliKey: CreateOrUpdate protocol: {} - - schema: *ref_25 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_121 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_113 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: The scope of the scope assignment to delete. + serializedName: scope + az: + name: scope + description: The scope of the scope assignment to delete. + mapsto: scope + cli: + name: scope + description: The scope of the scope assignment to delete. + cliKey: scope + protocol: + http: + in: path + - &ref_114 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: scope_assignment_name + description: The name of the scope assignment to delete. + serializedName: scopeAssignmentName + az: + name: scope-assignment-name + description: The name of the scope assignment to delete. + mapsto: scope_assignment_name + cli: + name: scopeAssignmentName + description: The name of the scope assignment to delete. + cliKey: scopeAssignmentName + protocol: + http: + in: path + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_113 + - *ref_114 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + exceptions: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - default + extensions: + x-ms-examples: + ScopeAssignmentsDelete: + parameters: + api-version: '2019-06-01' + scope: subscriptions/subscriptionC + scopeAssignmentName: subscriptionCAssignment + title: Create/Update Managed Network + responses: + '200': {} language: default: - name: kind - description: Responsibility role under which this Managed Network Group will be created + name: delete + description: Deletes a scope assignment. az: - name: kind - description: Responsibility role under which this Managed Network Group will be created - mapsto: kind - cli: *ref_122 + name: delete + description: Deletes a scope assignment. + command: managed-network scope-assignment delete + cli: + name: Delete + description: Deletes a scope assignment. + cliKey: Delete protocol: {} - - &ref_128 - schema: *ref_26 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_123 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_115 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: The base resource of the scope assignment. + serializedName: scope + az: + name: scope + description: The base resource of the scope assignment. + mapsto: scope + cli: + name: scope + description: The base resource of the scope assignment. + cliKey: scope + protocol: + http: + in: path + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments' + method: get + uri: '{$host}' + signatureParameters: + - *ref_115 + responses: + - schema: *ref_116 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: false + x-ms-examples: + ScopeAssignmentsList: + parameters: + api-version: '2019-06-01' + scope: subscriptions/subscriptionC + title: Create/Update Managed Network + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10' + value: + - name: subscriptionCAssignemnt + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink language: default: - name: management_groups - description: The collection of management groups covered by the Managed Network + name: list + description: Get the specified scope assignment. + paging: + nextLinkName: nextLink az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: *ref_27 + name: list + description: Get the specified scope assignment. + command: managed-network scope-assignment list + cli: + name: List + description: Get the specified scope assignment. + cliKey: List protocol: {} - - &ref_129 - schema: *ref_28 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_124 + language: + default: + name: ScopeAssignment + description: '' + az: + name: ScopeAssignment + description: '' + command: managed-network scope-assignment + hasShowCommand: true + cli: + name: ScopeAssignment + description: '' + cliKey: ScopeAssignments + protocol: {} + - $key: ManagedNetworkGroups + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_117 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_118 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_119 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_group_name + description: The name of the Managed Network Group. + serializedName: managedNetworkGroupName + az: + name: managed-network-group-name + description: The name of the Managed Network Group. + mapsto: managed_network_group_name + cli: + name: managedNetworkGroupName + description: The name of the Managed Network Group. + cliKey: managedNetworkGroupName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_117 + - *ref_118 + - *ref_119 + responses: + - schema: *ref_18 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagementNetworkGroupsGet: + parameters: + api-version: '2019-06-01' + managedNetworkGroupName: myManagedNetworkGroup1 + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Group + responses: + '200': + body: + name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB language: default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network + name: get + description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: *ref_29 + name: show + description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' + command: managed-network managed-network-group show + cli: + name: Get + description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' + cliKey: Get protocol: {} - - &ref_130 - schema: *ref_30 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_125 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_132 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_133 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_group_name + description: The name of the Managed Network Group. + serializedName: managedNetworkGroupName + az: + name: managed-network-group-name + description: The name of the Managed Network Group. + mapsto: managed_network_group_name + cli: + name: managedNetworkGroupName + description: The name of the Managed Network Group. + cliKey: managedNetworkGroupName + protocol: + http: + in: path + requests: + - parameters: + - &ref_120 + schema: *ref_18 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _managed_network_group + description: Parameters supplied to the create/update a Managed Network Group resource + az: + name: _managed_network_group + description: Parameters supplied to the create/update a Managed Network Group resource + mapsto: _managed_network_group + cli: + name: _managed_network_group + description: Parameters supplied to the create/update a Managed Network Group resource + cliKey: managedNetworkGroup + protocol: + http: + in: body + style: json + - &ref_127 + schema: *ref_39 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - schema: *ref_25 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_121 + language: + default: + name: kind + description: Responsibility role under which this Managed Network Group will be created + az: + name: kind + description: Responsibility role under which this Managed Network Group will be created + mapsto: kind + cli: *ref_122 + protocol: {} + - &ref_128 + schema: *ref_26 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_123 + extensions: + x-ms-client-flatten: false + language: + default: + name: management_groups + description: The collection of management groups covered by the Managed Network + az: + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups + cli: *ref_27 + protocol: {} + - &ref_129 + schema: *ref_28 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_124 + language: + default: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions + cli: *ref_29 + protocol: {} + - &ref_130 + schema: *ref_30 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_125 + language: + default: + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network + az: + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks + cli: *ref_31 + protocol: {} + - &ref_131 + schema: *ref_32 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_126 + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: *ref_33 + protocol: {} + signatureParameters: + - *ref_127 + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_132 + - *ref_133 + - *ref_134 + responses: + - schema: *ref_18 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_18 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagementNetworkGroupsPut: + parameters: + api-version: '2019-06-01' + managedNetworkGroup: + properties: + managementGroups: [] + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + managedNetworkGroupName: myManagedNetworkGroup1 + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network Group + responses: + '200': + body: + name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + '201': + body: + name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network + name: create_or_update + description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: *ref_31 + name: create + description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource + command: managed-network managed-network-group create + cli: + name: CreateOrUpdate + description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource + cliKey: CreateOrUpdate protocol: {} - - &ref_131 - schema: *ref_32 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_126 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_135 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_group_name + description: The name of the Managed Network Group. + serializedName: managedNetworkGroupName + az: + name: managed-network-group-name + description: The name of the Managed Network Group. + mapsto: managed_network_group_name + cli: + name: managedNetworkGroupName + description: The name of the Managed Network Group. + cliKey: managedNetworkGroupName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + - *ref_137 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagementNetworkGroupsDelete: + parameters: + api-version: '2019-06-01' + managedNetworkGroupName: myManagedNetworkGroup1 + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Delete Managed Network Group + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: subnets - description: The collection of subnets covered by the Managed Network + name: delete + description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets - cli: *ref_33 + name: delete + description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' + command: managed-network managed-network-group delete + cli: + name: Delete + description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' + cliKey: Delete protocol: {} - signatureParameters: - - *ref_127 - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_132 - - *ref_133 - - *ref_134 - responses: - - schema: *ref_18 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_18 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagementNetworkGroupsPut: - parameters: - api-version: '2019-06-01' - managedNetworkGroup: - properties: - managementGroups: [] - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - managedNetworkGroupName: myManagedNetworkGroup1 - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network Group - responses: - '200': - body: - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - '201': - body: - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource - az: - name: create - description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource - command: managed-network managed-network-group create - cli: - name: CreateOrUpdate - description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_135 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_group_name - description: The name of the Managed Network Group. - serializedName: managedNetworkGroupName - az: - name: managed-network-group-name - description: The name of the Managed Network Group. - mapsto: managed_network_group_name - cli: - name: managedNetworkGroupName - description: The name of the Managed Network Group. - cliKey: managedNetworkGroupName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - - *ref_137 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagementNetworkGroupsDelete: - parameters: - api-version: '2019-06-01' - managedNetworkGroupName: myManagedNetworkGroup1 - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Delete Managed Network Group - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' - az: - name: delete - description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' - command: managed-network managed-network-group delete - cli: - name: Delete - description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_138 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_139 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_140 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_141 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups' - method: get - uri: '{$host}' - signatureParameters: - - *ref_138 - - *ref_139 - - *ref_140 - - *ref_141 - responses: - - schema: *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksGroupsListByManagedNetwork: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Group - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups?api-version=2019-06-01&$skipToken=10' - value: - - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_managed_network - description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. - paging: - nextLinkName: nextLink - az: - name: list - description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. - command: managed-network managed-network-group list - cli: - name: ListByManagedNetwork - description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. - cliKey: ListByManagedNetwork - protocol: {} - language: - default: - name: ManagedNetworkGroup - description: '' - az: - name: ManagedNetworkGroup - description: '' - command: managed-network managed-network-group - hasShowCommand: true - cli: - name: ManagedNetworkGroup - description: '' - cliKey: ManagedNetworkGroups - protocol: {} -- $key: ManagedNetworkPeeringPolicies - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_143 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_peering_policy_name - description: The name of the Managed Network Peering Policy. - serializedName: managedNetworkPeeringPolicyName - az: - name: policy-name - description: The name of the Managed Network Peering Policy. - mapsto: policy_name - cli: - name: policyName - description: The name of the Managed Network Peering Policy. - cliKey: managedNetworkPeeringPolicyName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_23 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesGet: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - managedNetworkPeeringPolicyName: myHubAndSpoke - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Peering Policy - responses: - '200': - body: - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke - properties: - type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 - hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded - spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - language: - default: - name: get - description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' - az: - name: show - description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' - command: managed-network managed-network-peering-policy show - cli: - name: Get - description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - genericSetterParam: &ref_150 - schema: *ref_7 - implementation: Method - originalParameter: &ref_146 - schema: *ref_23 - flattened: true - implementation: Method - required: true + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_138 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_139 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_140 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_141 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups' + method: get + uri: '{$host}' + signatureParameters: + - *ref_138 + - *ref_139 + - *ref_140 + - *ref_141 + responses: + - schema: *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ManagedNetworksGroupsListByManagedNetwork: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Group + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups?api-version=2019-06-01&$skipToken=10' + value: + - name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + x-ms-pageable: + nextLinkName: nextLink language: default: - name: _managed_network_policy - description: Parameters supplied to create/update a Managed Network Peering Policy + name: list_by_managed_network + description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. + paging: + nextLinkName: nextLink az: - name: _managed_network_policy - description: Parameters supplied to create/update a Managed Network Peering Policy - mapsto: _managed_network_policy + name: list + description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. + command: managed-network managed-network-group list cli: - name: _managed_network_policy - description: Parameters supplied to create/update a Managed Network Peering Policy - cliKey: managedNetworkPolicy - protocol: - http: - in: body - style: json - pathToProperty: [] - targetProperty: *ref_147 - language: - default: - name: properties - description: Gets or sets the properties of a Managed Network Policy - az: - name: properties - description: Gets or sets the properties of a Managed Network Policy - mapsto: properties - cli: *ref_148 - protocol: {} - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_153 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_peering_policy_name - description: The name of the Managed Network Peering Policy. - serializedName: managedNetworkPeeringPolicyName - az: - name: policy-name - description: The name of the Managed Network Peering Policy. - mapsto: policy_name - cli: - name: policyName - description: The name of the Managed Network Peering Policy. - cliKey: managedNetworkPeeringPolicyName - protocol: - http: - in: path - requests: - - parameters: - - *ref_146 - - &ref_149 - schema: *ref_39 - implementation: Method - originalParameter: *ref_146 - pathToProperty: [] - targetProperty: *ref_77 - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 + name: ListByManagedNetwork + description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. + cliKey: ListByManagedNetwork protocol: {} - - *ref_150 - signatureParameters: - - *ref_149 - - *ref_150 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - - *ref_153 - responses: - - schema: *ref_23 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_23 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesPut: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - managedNetworkPeeringPolicyName: myHubAndSpoke - managedNetworkPolicy: - properties: - type: HubAndSpokeTopology - hub: - id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - spokes: - - id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network Peering Policy - responses: - '200': - body: - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke - properties: - type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 - hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded - spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - '201': - body: - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke - properties: - type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 - hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded - spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy - az: - name: create - description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy - command: managed-network managed-network-peering-policy create - cli: - name: CreateOrUpdate - description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_peering_policy_name - description: The name of the Managed Network Peering Policy. - serializedName: managedNetworkPeeringPolicyName - az: - name: policy-name - description: The name of the Managed Network Peering Policy. - mapsto: policy_name - cli: - name: policyName - description: The name of the Managed Network Peering Policy. - cliKey: managedNetworkPeeringPolicyName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesDelete: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - managedNetworkPeeringPolicyName: myHubAndSpoke - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Peering Policy - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation language: default: - name: delete - description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + name: ManagedNetworkGroup + description: '' az: - name: delete - description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' - command: managed-network managed-network-peering-policy delete + name: ManagedNetworkGroup + description: '' + command: managed-network managed-network-group + hasShowCommand: true cli: - name: Delete - description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' - cliKey: Delete + name: ManagedNetworkGroup + description: '' + cliKey: ManagedNetworkGroups protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_158 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_159 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_160 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies' - method: get - uri: '{$host}' - signatureParameters: - - *ref_157 - - *ref_158 - - *ref_159 - - *ref_160 - responses: - - schema: *ref_161 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesListByManagedNetwork: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Group - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10' - value: - - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + - $key: ManagedNetworkPeeringPolicies + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_143 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_peering_policy_name + description: The name of the Managed Network Peering Policy. + serializedName: managedNetworkPeeringPolicyName + az: + name: policy-name + description: The name of the Managed Network Peering Policy. + mapsto: policy_name + cli: + name: policyName + description: The name of the Managed Network Peering Policy. + cliKey: managedNetworkPeeringPolicyName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_23 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesGet: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + managedNetworkPeeringPolicyName: myHubAndSpoke + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Peering Policy + responses: + '200': + body: + name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + language: + default: + name: get + description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' + az: + name: show + description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' + command: managed-network managed-network-peering-policy show + cli: + name: Get + description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_153 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_peering_policy_name + description: The name of the Managed Network Peering Policy. + serializedName: managedNetworkPeeringPolicyName + az: + name: policy-name + description: The name of the Managed Network Peering Policy. + mapsto: policy_name + cli: + name: policyName + description: The name of the Managed Network Peering Policy. + cliKey: managedNetworkPeeringPolicyName + protocol: + http: + in: path + requests: + - parameters: + - &ref_146 + schema: *ref_23 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _managed_network_policy + description: Parameters supplied to create/update a Managed Network Peering Policy + az: + name: _managed_network_policy + description: Parameters supplied to create/update a Managed Network Peering Policy + mapsto: _managed_network_policy + cli: + name: _managed_network_policy + description: Parameters supplied to create/update a Managed Network Peering Policy + cliKey: managedNetworkPolicy + protocol: + http: + in: body + style: json + - &ref_149 + schema: *ref_39 + implementation: Method + originalParameter: *ref_146 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - &ref_150 + schema: *ref_7 + implementation: Method + originalParameter: *ref_146 + pathToProperty: [] + targetProperty: *ref_147 + language: + default: + name: properties + description: Gets or sets the properties of a Managed Network Policy + az: + name: properties + description: Gets or sets the properties of a Managed Network Policy + mapsto: properties + cli: *ref_148 + protocol: {} + signatureParameters: + - *ref_149 + - *ref_150 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + - *ref_153 + responses: + - schema: *ref_23 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_23 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesPut: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + managedNetworkPeeringPolicyName: myHubAndSpoke + managedNetworkPolicy: properties: type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded + id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - x-ms-pageable: - nextLinkName: nextLink + - id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network Peering Policy + responses: + '200': + body: + name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + '201': + body: + name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy + az: + name: create + description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy + command: managed-network managed-network-peering-policy create + cli: + name: CreateOrUpdate + description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_peering_policy_name + description: The name of the Managed Network Peering Policy. + serializedName: managedNetworkPeeringPolicyName + az: + name: policy-name + description: The name of the Managed Network Peering Policy. + mapsto: policy_name + cli: + name: policyName + description: The name of the Managed Network Peering Policy. + cliKey: managedNetworkPeeringPolicyName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesDelete: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + managedNetworkPeeringPolicyName: myHubAndSpoke + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Peering Policy + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + az: + name: delete + description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + command: managed-network managed-network-peering-policy delete + cli: + name: Delete + description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_158 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_159 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_160 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies' + method: get + uri: '{$host}' + signatureParameters: + - *ref_157 + - *ref_158 + - *ref_159 + - *ref_160 + responses: + - schema: *ref_161 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesListByManagedNetwork: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Group + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10' + value: + - name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_managed_network + description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' + paging: + nextLinkName: nextLink + az: + name: list + description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' + command: managed-network managed-network-peering-policy list + cli: + name: ListByManagedNetwork + description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' + cliKey: ListByManagedNetwork + protocol: {} language: default: - name: list_by_managed_network - description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' - paging: - nextLinkName: nextLink + name: ManagedNetworkPeeringPolicy + description: '' az: - name: list - description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' - command: managed-network managed-network-peering-policy list + name: ManagedNetworkPeeringPolicy + description: '' + command: managed-network managed-network-peering-policy + hasShowCommand: true cli: - name: ListByManagedNetwork - description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' - cliKey: ListByManagedNetwork + name: ManagedNetworkPeeringPolicy + description: '' + cliKey: ManagedNetworkPeeringPolicies protocol: {} - language: - default: - name: ManagedNetworkPeeringPolicy - description: '' - az: - name: ManagedNetworkPeeringPolicy - description: '' - command: managed-network managed-network-peering-policy - hasShowCommand: true - cli: - name: ManagedNetworkPeeringPolicy - description: '' - cliKey: ManagedNetworkPeeringPolicies - protocol: {} -- $key: Operations - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.ManagedNetwork/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-pageable: - nextLinkName: nextLink + - $key: Operations + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.ManagedNetwork/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists all of the available MNC operations. + paging: + nextLinkName: nextLink + az: + name: list + description: Lists all of the available MNC operations. + command: managed-network operation list + cli: + name: List + description: Lists all of the available MNC operations. + cliKey: List + hidden: true + protocol: {} language: default: - name: list - description: Lists all of the available MNC operations. - paging: - nextLinkName: nextLink + name: Operation + description: '' az: - name: list - description: Lists all of the available MNC operations. - command: managed-network operation list + name: Operation + description: '' + command: managed-network operation cli: - name: List - description: Lists all of the available MNC operations. - cliKey: List - hidden: true + name: Operation + description: '' + cliKey: Operations protocol: {} - language: - default: - name: Operation - description: '' - az: - name: Operation - description: '' - command: managed-network operation - cli: - name: Operation - description: '' - cliKey: Operations - protocol: {} language: default: name: ManagedNetworkManagementClient diff --git a/src/test/resources/managed-network/managed-network-az-namer.yaml b/src/test/resources/managed-network/managed-network-az-namer.yaml index b45f40a51..f41f7cad1 100644 --- a/src/test/resources/managed-network/managed-network-az-namer.yaml +++ b/src/test/resources/managed-network/managed-network-az-namer.yaml @@ -5,5735 +5,5730 @@ info: title: ManagedNetworkManagementClient schemas: numbers: - - &ref_98 - type: integer - apiVersions: - - version: 2019-06-01-preview - maximum: 20 - minimum: 1 - precision: 32 - language: - default: - name: Integer - description: '' - az: - name: integer - description: '' - mapsto: integer - cli: - name: Integer - description: '' - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - az: - name: string - description: simple string - mapsto: string - cli: - name: String - description: simple string - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: String - description: '' - az: - name: string - description: '' - mapsto: string - cli: - name: String - description: '' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - az: - name: resource-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: resource_id - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_37 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceName - description: The name of the resource - az: - name: resource-name - description: The name of the resource - mapsto: resource_name - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - az: - name: resource-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: resource_type - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_39 - type: string - apiVersions: - - version: 2019-06-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: ResourceLocation - description: The geo-location where the resource lives - az: - name: resource-location - description: The geo-location where the resource lives - mapsto: resource_location - cli: - name: ResourceLocation - description: The geo-location where the resource lives - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourcePropertiesEtag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: resource-properties-etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: resource_properties_etag - cli: - name: ResourcePropertiesEtag - description: A unique read-only string that changes whenever the resource is updated. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ResourceId - description: Resource Id - az: - name: resource-id - description: Resource Id - mapsto: resource_id - cli: - name: ResourceId - description: Resource Id - protocol: {} - - &ref_40 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - az: - name: error-response-code - description: The error code. - mapsto: error_response_code - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_41 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - az: - name: error-response-message - description: The error message. - mapsto: error_response_message - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_43 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ManagedNetworkListResultNextLink - description: Gets the URL to get the next page of results. - az: - name: managed-network-list-result-next-link - description: Gets the URL to get the next page of results. - mapsto: managed_network_list_result_next_link - cli: - name: ManagedNetworkListResultNextLink - description: Gets the URL to get the next page of results. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ScopeAssignmentPropertiesAssignedManagedNetwork - description: The managed network ID with scope will be assigned to. - az: - name: scope-assignment-properties-assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: scope_assignment_properties_assigned_managed_network - cli: - name: ScopeAssignmentPropertiesAssignedManagedNetwork - description: The managed network ID with scope will be assigned to. - protocol: {} - - &ref_44 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ScopeAssignmentListResultNextLink - description: Gets the URL to get the next set of results. - az: - name: scope-assignment-list-result-next-link - description: Gets the URL to get the next set of results. - mapsto: scope_assignment_list_result_next_link - cli: - name: ScopeAssignmentListResultNextLink - description: Gets the URL to get the next set of results. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ManagedNetworkGroupListResultNextLink - description: Gets the URL to get the next set of results. - az: - name: managed-network-group-list-result-next-link - description: Gets the URL to get the next set of results. - mapsto: managed_network_group_list_result_next_link - cli: - name: ManagedNetworkGroupListResultNextLink - description: Gets the URL to get the next set of results. - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: ManagedNetworkPeeringPolicyListResultNextLink - description: Gets the URL to get the next page of results. - az: - name: managed-network-peering-policy-list-result-next-link - description: Gets the URL to get the next page of results. - mapsto: managed_network_peering_policy_list_result_next_link - cli: - name: ManagedNetworkPeeringPolicyListResultNextLink - description: Gets the URL to get the next page of results. - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationName - description: 'Operation name: {provider}/{resource}/{operation}' - az: - name: operation-name - description: 'Operation name: {provider}/{resource}/{operation}' - mapsto: operation_name - cli: - name: OperationName - description: 'Operation name: {provider}/{resource}/{operation}' - protocol: {} - - &ref_48 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationDisplayProvider - description: 'Service provider: Microsoft.ManagedNetwork' - az: - name: operation-display-provider - description: 'Service provider: Microsoft.ManagedNetwork' - mapsto: operation_display_provider - cli: - name: OperationDisplayProvider - description: 'Service provider: Microsoft.ManagedNetwork' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationDisplayResource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - az: - name: operation-display-resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - mapsto: operation_display_resource - cli: - name: OperationDisplayResource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - protocol: {} - - &ref_50 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationDisplayOperation - description: 'Operation type: Read, write, delete, etc.' - az: - name: operation-display-operation - description: 'Operation type: Read, write, delete, etc.' - mapsto: operation_display_operation - cli: - name: OperationDisplayOperation - description: 'Operation type: Read, write, delete, etc.' - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2019-06-01-preview - language: - default: - name: OperationListResultNextLink - description: URL to get the next set of operation list results if there are any. - az: - name: operation-list-result-next-link - description: URL to get the next set of operation list results if there are any. - mapsto: operation_list_result_next_link - cli: - name: OperationListResultNextLink - description: URL to get the next set of operation list results if there are any. - protocol: {} - choices: - - &ref_16 - choices: - - value: Updating + - &ref_98 + type: integer + apiVersions: + - version: 2019-06-01-preview + maximum: 20 + minimum: 1 + precision: 32 language: default: - name: updating + name: Integer description: '' az: - name: updating + name: integer description: '' - mapsto: updating + mapsto: integer cli: - name: Updating + name: Integer description: '' - cliKey: Updating - - value: Deleting + protocol: {} + strings: + - &ref_0 + type: string language: default: - name: deleting - description: '' + name: String + description: simple string az: - name: deleting - description: '' - mapsto: deleting + name: string + description: simple string + mapsto: string cli: - name: Deleting - description: '' - cliKey: Deleting - - value: Failed + name: String + description: simple string + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: failed + name: String description: '' az: - name: failed + name: string description: '' - mapsto: failed + mapsto: string cli: - name: Failed + name: String description: '' - cliKey: Failed - - value: Succeeded + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: succeeded - description: '' + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' az: - name: succeeded - description: '' - mapsto: succeeded + name: resource-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: resource_id cli: - name: Succeeded - description: '' - cliKey: Succeeded - type: choice - apiVersions: - - version: 2019-06-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningState - description: Provisioning state of the ManagedNetwork resource. - az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: - name: ProvisioningState - description: Provisioning state of the ManagedNetwork resource. - cliKey: ProvisioningState - protocol: {} - - &ref_10 - choices: - - value: HubAndSpokeTopology + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_37 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: hub_and_spoke_topology - description: '' + name: ResourceName + description: The name of the resource az: - name: hub-and-spoke-topology - description: '' - mapsto: hub_and_spoke_topology + name: resource-name + description: The name of the resource + mapsto: resource_name cli: - name: HubAndSpokeTopology - description: '' - cliKey: HubAndSpokeTopology - - value: MeshTopology + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2019-06-01-preview language: default: - name: mesh_topology - description: '' + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. az: - name: mesh-topology - description: '' - mapsto: mesh_topology + name: resource-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: resource_type cli: - name: MeshTopology - description: '' - cliKey: MeshTopology - type: choice - apiVersions: - - version: 2019-06-01-preview - choiceType: *ref_0 - language: - default: - name: Type - description: Gets or sets the connectivity type of a network structure policy - az: - name: type - description: Gets or sets the connectivity type of a network structure policy - mapsto: type - cli: - name: Type - description: Gets or sets the connectivity type of a network structure policy - cliKey: type - protocol: {} - constants: - - &ref_69 - type: constant - value: - value: 2019-06-01-preview - valueType: *ref_0 - language: - default: - name: api_version2019_06_01_preview - description: Api Version (2019-06-01-preview) - az: - name: api-version20190601-preview - description: Api Version (2019-06-01-preview) - mapsto: api_version20190601_preview - cli: - name: ApiVersion20190601Preview - description: Api Version (2019-06-01-preview) - protocol: {} - - &ref_25 - type: constant - apiVersions: - - version: 2019-06-01-preview - value: - value: Connectivity - valueType: *ref_0 - language: - default: - name: kind - description: Responsibility role under which this Managed Network Group will be created - az: - name: kind - description: Responsibility role under which this Managed Network Group will be created - mapsto: kind - cli: - name: Kind - description: Responsibility role under which this Managed Network Group will be created - protocol: {} - dictionaries: - - &ref_35 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags - az: - name: tracked-resource-tags - description: Resource tags - mapsto: tracked_resource_tags - cli: - name: TrackedResourceTags - description: Resource tags - protocol: {} - - &ref_42 - type: dictionary - elementType: *ref_1 - language: - default: - name: ManagedNetworkUpdateTags - description: Resource tags - az: - name: managed-network-update-tags - description: Resource tags - mapsto: managed_network_update_tags - cli: - name: ManagedNetworkUpdateTags - description: Resource tags - protocol: {} - objects: - - &ref_3 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - &ref_2 - type: object - apiVersions: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_39 + type: string + apiVersions: - version: 2019-06-01-preview - children: - all: - - &ref_34 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_2 - - *ref_3 - immediate: - - *ref_2 - properties: - - &ref_81 - schema: &ref_12 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - &ref_4 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - &ref_14 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_4 - immediate: - - *ref_4 - properties: - - schema: &ref_26 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: &ref_6 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: *ref_5 - serializedName: id - language: - default: - name: id - description: Resource Id - az: - name: id - description: Resource Id - mapsto: id - cli: - name: id - description: Resource Id - cliKey: id - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ResourceId - description: Generic pointer to a resource - namespace: '' - az: - name: resource-id - description: Generic pointer to a resource - mapsto: resource_id - cli: - name: ResourceId - description: Generic pointer to a resource - cliKey: ResourceId - protocol: {} - language: - default: - name: ManagedNetworkGroupPropertiesManagementGroups - description: The collection of management groups covered by the Managed Network - az: - name: managed-network-group-properties-management-groups - description: The collection of management groups covered by the Managed Network - mapsto: managed_network_group_properties_management_groups - cli: - name: ManagedNetworkGroupPropertiesManagementGroups - description: The collection of management groups covered by the Managed Network - protocol: {} - serializedName: managementGroups - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: &ref_27 - name: managementGroups - description: The collection of management groups covered by the Managed Network - cliKey: managementGroups - json: true - protocol: {} - - schema: &ref_28 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ManagedNetworkGroupPropertiesSubscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: managed-network-group-properties-subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: managed_network_group_properties_subscriptions - cli: - name: ManagedNetworkGroupPropertiesSubscriptions - description: The collection of subscriptions covered by the Managed Network - protocol: {} - serializedName: subscriptions - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: &ref_29 - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - cliKey: subscriptions - protocol: {} - - schema: &ref_30 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ManagedNetworkGroupPropertiesVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - az: - name: managed-network-group-properties-virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: managed_network_group_properties_virtual_networks - cli: - name: ManagedNetworkGroupPropertiesVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - protocol: {} - serializedName: virtualNetworks - language: - default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network - az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: &ref_31 - name: virtualNetworks - description: The collection of virtual nets covered by the Managed Network - cliKey: virtualNetworks - protocol: {} - - schema: &ref_32 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ManagedNetworkGroupPropertiesSubnets - description: The collection of subnets covered by the Managed Network - az: - name: managed-network-group-properties-subnets - description: The collection of subnets covered by the Managed Network - mapsto: managed_network_group_properties_subnets - cli: - name: ManagedNetworkGroupPropertiesSubnets - description: The collection of subnets covered by the Managed Network - protocol: {} - serializedName: subnets - language: - default: - name: subnets - description: The collection of subnets covered by the Managed Network - az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets - cli: &ref_33 - name: subnets - description: The collection of subnets covered by the Managed Network - cliKey: subnets - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: ManagedNetworkGroupProperties - description: Properties of a Managed Network Group - namespace: '' - az: - name: managed-network-group-properties - description: Properties of a Managed Network Group - mapsto: managed_network_group_properties - cli: - name: ManagedNetworkGroupProperties - description: Properties of a Managed Network Group - cliKey: ManagedNetworkGroupProperties - protocol: {} - - &ref_7 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - &ref_8 - type: object - apiVersions: - - version: 2019-06-01-preview - discriminatorValue: HubAndSpokeTopology - parents: - all: - - *ref_7 - - *ref_4 - immediate: - - *ref_7 - properties: - - schema: *ref_6 - serializedName: hub - language: + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: ResourceLocation + description: The geo-location where the resource lives + az: + name: resource-location + description: The geo-location where the resource lives + mapsto: resource_location + cli: + name: ResourceLocation + description: The geo-location where the resource lives + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ResourcePropertiesEtag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: resource-properties-etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: resource_properties_etag + cli: + name: ResourcePropertiesEtag + description: A unique read-only string that changes whenever the resource is updated. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ResourceId + description: Resource Id + az: + name: resource-id + description: Resource Id + mapsto: resource_id + cli: + name: ResourceId + description: Resource Id + protocol: {} + - &ref_40 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + az: + name: error-response-code + description: The error code. + mapsto: error_response_code + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_41 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + az: + name: error-response-message + description: The error message. + mapsto: error_response_message + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_43 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ManagedNetworkListResultNextLink + description: Gets the URL to get the next page of results. + az: + name: managed-network-list-result-next-link + description: Gets the URL to get the next page of results. + mapsto: managed_network_list_result_next_link + cli: + name: ManagedNetworkListResultNextLink + description: Gets the URL to get the next page of results. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ScopeAssignmentPropertiesAssignedManagedNetwork + description: The managed network ID with scope will be assigned to. + az: + name: scope-assignment-properties-assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: scope_assignment_properties_assigned_managed_network + cli: + name: ScopeAssignmentPropertiesAssignedManagedNetwork + description: The managed network ID with scope will be assigned to. + protocol: {} + - &ref_44 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ScopeAssignmentListResultNextLink + description: Gets the URL to get the next set of results. + az: + name: scope-assignment-list-result-next-link + description: Gets the URL to get the next set of results. + mapsto: scope_assignment_list_result_next_link + cli: + name: ScopeAssignmentListResultNextLink + description: Gets the URL to get the next set of results. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ManagedNetworkGroupListResultNextLink + description: Gets the URL to get the next set of results. + az: + name: managed-network-group-list-result-next-link + description: Gets the URL to get the next set of results. + mapsto: managed_network_group_list_result_next_link + cli: + name: ManagedNetworkGroupListResultNextLink + description: Gets the URL to get the next set of results. + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: ManagedNetworkPeeringPolicyListResultNextLink + description: Gets the URL to get the next page of results. + az: + name: managed-network-peering-policy-list-result-next-link + description: Gets the URL to get the next page of results. + mapsto: managed_network_peering_policy_list_result_next_link + cli: + name: ManagedNetworkPeeringPolicyListResultNextLink + description: Gets the URL to get the next page of results. + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationName + description: 'Operation name: {provider}/{resource}/{operation}' + az: + name: operation-name + description: 'Operation name: {provider}/{resource}/{operation}' + mapsto: operation_name + cli: + name: OperationName + description: 'Operation name: {provider}/{resource}/{operation}' + protocol: {} + - &ref_48 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationDisplayProvider + description: 'Service provider: Microsoft.ManagedNetwork' + az: + name: operation-display-provider + description: 'Service provider: Microsoft.ManagedNetwork' + mapsto: operation_display_provider + cli: + name: OperationDisplayProvider + description: 'Service provider: Microsoft.ManagedNetwork' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationDisplayResource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + az: + name: operation-display-resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + mapsto: operation_display_resource + cli: + name: OperationDisplayResource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + protocol: {} + - &ref_50 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationDisplayOperation + description: 'Operation type: Read, write, delete, etc.' + az: + name: operation-display-operation + description: 'Operation type: Read, write, delete, etc.' + mapsto: operation_display_operation + cli: + name: OperationDisplayOperation + description: 'Operation type: Read, write, delete, etc.' + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2019-06-01-preview + language: + default: + name: OperationListResultNextLink + description: URL to get the next set of operation list results if there are any. + az: + name: operation-list-result-next-link + description: URL to get the next set of operation list results if there are any. + mapsto: operation_list_result_next_link + cli: + name: OperationListResultNextLink + description: URL to get the next set of operation list results if there are any. + protocol: {} + choices: + - &ref_16 + choices: + - value: Updating + language: + default: + name: updating + description: '' + az: + name: updating + description: '' + mapsto: updating + cli: + name: Updating + description: '' + cliKey: Updating + - value: Deleting + language: + default: + name: deleting + description: '' + az: + name: deleting + description: '' + mapsto: deleting + cli: + name: Deleting + description: '' + cliKey: Deleting + - value: Failed + language: + default: + name: failed + description: '' + az: + name: failed + description: '' + mapsto: failed + cli: + name: Failed + description: '' + cliKey: Failed + - value: Succeeded + language: + default: + name: succeeded + description: '' + az: + name: succeeded + description: '' + mapsto: succeeded + cli: + name: Succeeded + description: '' + cliKey: Succeeded + type: choice + apiVersions: + - version: 2019-06-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningState + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: + name: ProvisioningState + description: Provisioning state of the ManagedNetwork resource. + cliKey: ProvisioningState + protocol: {} + - &ref_10 + choices: + - value: HubAndSpokeTopology + language: + default: + name: hub_and_spoke_topology + description: '' + az: + name: hub-and-spoke-topology + description: '' + mapsto: hub_and_spoke_topology + cli: + name: HubAndSpokeTopology + description: '' + cliKey: HubAndSpokeTopology + - value: MeshTopology + language: + default: + name: mesh_topology + description: '' + az: + name: mesh-topology + description: '' + mapsto: mesh_topology + cli: + name: MeshTopology + description: '' + cliKey: MeshTopology + type: choice + apiVersions: + - version: 2019-06-01-preview + choiceType: *ref_0 + language: + default: + name: Type + description: Gets or sets the connectivity type of a network structure policy + az: + name: type + description: Gets or sets the connectivity type of a network structure policy + mapsto: type + cli: + name: Type + description: Gets or sets the connectivity type of a network structure policy + cliKey: type + protocol: {} + constants: + - &ref_69 + type: constant + value: + value: 2019-06-01-preview + valueType: *ref_0 + language: + default: + name: api_version2019_06_01_preview + description: Api Version (2019-06-01-preview) + az: + name: api-version20190601-preview + description: Api Version (2019-06-01-preview) + mapsto: api_version20190601_preview + cli: + name: ApiVersion20190601Preview + description: Api Version (2019-06-01-preview) + protocol: {} + - &ref_25 + type: constant + apiVersions: + - version: 2019-06-01-preview + value: + value: Connectivity + valueType: *ref_0 + language: + default: + name: kind + description: Responsibility role under which this Managed Network Group will be created + az: + name: kind + description: Responsibility role under which this Managed Network Group will be created + mapsto: kind + cli: + name: Kind + description: Responsibility role under which this Managed Network Group will be created + protocol: {} + dictionaries: + - &ref_35 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags + az: + name: tracked-resource-tags + description: Resource tags + mapsto: tracked_resource_tags + cli: + name: TrackedResourceTags + description: Resource tags + protocol: {} + - &ref_42 + type: dictionary + elementType: *ref_1 + language: + default: + name: ManagedNetworkUpdateTags + description: Resource tags + az: + name: managed-network-update-tags + description: Resource tags + mapsto: managed_network_update_tags + cli: + name: ManagedNetworkUpdateTags + description: Resource tags + protocol: {} + objects: + - &ref_3 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_2 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_34 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_2 + - *ref_3 + immediate: + - *ref_2 + properties: + - &ref_81 + schema: &ref_12 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - &ref_4 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_14 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_4 + immediate: + - *ref_4 + properties: + - schema: &ref_26 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: &ref_6 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_5 + serializedName: id + language: + default: + name: id + description: Resource Id + az: + name: id + description: Resource Id + mapsto: id + cli: + name: id + description: Resource Id + cliKey: id + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ResourceId + description: Generic pointer to a resource + namespace: '' + az: + name: resource-id + description: Generic pointer to a resource + mapsto: resource_id + cli: + name: ResourceId + description: Generic pointer to a resource + cliKey: ResourceId + protocol: {} + language: + default: + name: ManagedNetworkGroupPropertiesManagementGroups + description: The collection of management groups covered by the Managed Network + az: + name: managed-network-group-properties-management-groups + description: The collection of management groups covered by the Managed Network + mapsto: managed_network_group_properties_management_groups + cli: + name: ManagedNetworkGroupPropertiesManagementGroups + description: The collection of management groups covered by the Managed Network + protocol: {} + serializedName: managementGroups + language: + default: + name: management_groups + description: The collection of management groups covered by the Managed Network + az: + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups + cli: &ref_27 + name: managementGroups + description: The collection of management groups covered by the Managed Network + cliKey: managementGroups + json: true + protocol: {} + - schema: &ref_28 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkGroupPropertiesSubscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: managed-network-group-properties-subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: managed_network_group_properties_subscriptions + cli: + name: ManagedNetworkGroupPropertiesSubscriptions + description: The collection of subscriptions covered by the Managed Network + protocol: {} + serializedName: subscriptions + language: + default: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions + cli: &ref_29 + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + cliKey: subscriptions + protocol: {} + - schema: &ref_30 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkGroupPropertiesVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + az: + name: managed-network-group-properties-virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: managed_network_group_properties_virtual_networks + cli: + name: ManagedNetworkGroupPropertiesVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + protocol: {} + serializedName: virtualNetworks + language: + default: + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network + az: + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks + cli: &ref_31 + name: virtualNetworks + description: The collection of virtual nets covered by the Managed Network + cliKey: virtualNetworks + protocol: {} + - schema: &ref_32 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkGroupPropertiesSubnets + description: The collection of subnets covered by the Managed Network + az: + name: managed-network-group-properties-subnets + description: The collection of subnets covered by the Managed Network + mapsto: managed_network_group_properties_subnets + cli: + name: ManagedNetworkGroupPropertiesSubnets + description: The collection of subnets covered by the Managed Network + protocol: {} + serializedName: subnets + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: &ref_33 + name: subnets + description: The collection of subnets covered by the Managed Network + cliKey: subnets + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: ManagedNetworkGroupProperties + description: Properties of a Managed Network Group + namespace: '' + az: + name: managed-network-group-properties + description: Properties of a Managed Network Group + mapsto: managed_network_group_properties + cli: + name: ManagedNetworkGroupProperties + description: Properties of a Managed Network Group + cliKey: ManagedNetworkGroupProperties + protocol: {} + - &ref_7 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - &ref_8 + type: object + apiVersions: + - version: 2019-06-01-preview + discriminatorValue: HubAndSpokeTopology + parents: + all: + - *ref_7 + - *ref_4 + immediate: + - *ref_7 + properties: + - schema: *ref_6 + serializedName: hub + language: + default: + name: hub + description: Gets or sets the hub virtual network ID + az: + name: hub + description: Gets or sets the hub virtual network ID + mapsto: hub + cli: + name: hub + description: Gets or sets the hub virtual network ID + cliKey: hub + protocol: {} + - schema: &ref_67 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: HubAndSpokePeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + az: + name: hub-and-spoke-peering-policy-properties-spokes + description: Gets or sets the spokes group IDs + mapsto: hub_and_spoke_peering_policy_properties_spokes + cli: + name: HubAndSpokePeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + protocol: {} + serializedName: spokes + language: + default: + name: spokes + description: Gets or sets the spokes group IDs + az: + name: spokes + description: Gets or sets the spokes group IDs + mapsto: spokes + cli: + name: spokes + description: Gets or sets the spokes group IDs + cliKey: spokes + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-discriminator-value: HubAndSpokeTopology + language: + default: + name: HubAndSpokePeeringPolicyProperties + description: Properties of a Hub and Spoke Peering Policy + namespace: '' + az: + name: hub-and-spoke-peering-policy-properties + description: Properties of a Hub and Spoke Peering Policy + mapsto: hub_and_spoke_peering_policy_properties + cli: + name: HubAndSpokePeeringPolicyProperties + description: Properties of a Hub and Spoke Peering Policy + cliKey: HubAndSpokePeeringPolicyProperties + protocol: {} + - &ref_9 + type: object + apiVersions: + - version: 2019-06-01-preview + discriminatorValue: MeshTopology + parents: + all: + - *ref_7 + - *ref_4 + immediate: + - *ref_7 + properties: + - schema: &ref_68 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: MeshPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + az: + name: mesh-peering-policy-properties-mesh + description: Gets or sets the mesh group IDs + mapsto: mesh_peering_policy_properties_mesh + cli: + name: MeshPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + protocol: {} + serializedName: mesh + language: + default: + name: mesh + description: Gets or sets the mesh group IDs + az: + name: mesh + description: Gets or sets the mesh group IDs + mapsto: mesh + cli: + name: mesh + description: Gets or sets the mesh group IDs + cliKey: mesh + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-discriminator-value: MeshTopology + language: + default: + name: MeshPeeringPolicyProperties + description: Properties of a Mesh Peering Policy + namespace: '' + az: + name: mesh-peering-policy-properties + description: Properties of a Mesh Peering Policy + mapsto: mesh_peering_policy_properties + cli: + name: MeshPeeringPolicyProperties + description: Properties of a Mesh Peering Policy + cliKey: MeshPeeringPolicyProperties + protocol: {} + immediate: + - *ref_8 + - *ref_9 + discriminator: + all: + HubAndSpokeTopology: *ref_8 + MeshTopology: *ref_9 + immediate: + HubAndSpokeTopology: *ref_8 + MeshTopology: *ref_9 + property: &ref_11 + schema: *ref_10 + isDiscriminator: true + required: true + serializedName: type + language: + default: + name: type + description: Gets or sets the connectivity type of a network structure policy + az: + name: type + description: Gets or sets the connectivity type of a network structure policy + mapsto: type + cli: + name: type + description: Gets or sets the connectivity type of a network structure policy + cliKey: type + protocol: {} + discriminatorValue: ManagedNetworkPeeringPolicyProperties + parents: + all: + - *ref_4 + immediate: + - *ref_4 + properties: + - *ref_11 + - schema: *ref_6 + required: false + serializedName: hub + language: + default: + name: hub + description: Gets or sets the hub virtual network ID + az: + name: hub + description: Gets or sets the hub virtual network ID + mapsto: hub + cli: + name: hub + description: Gets or sets the hub virtual network ID + cliKey: hub + protocol: {} + - schema: &ref_59 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkPeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + az: + name: managed-network-peering-policy-properties-spokes + description: Gets or sets the spokes group IDs + mapsto: managed_network_peering_policy_properties_spokes + cli: + name: ManagedNetworkPeeringPolicyPropertiesSpokes + description: Gets or sets the spokes group IDs + protocol: {} + required: false + serializedName: spokes + language: + default: + name: spokes + description: Gets or sets the spokes group IDs + az: + name: spokes + description: Gets or sets the spokes group IDs + mapsto: spokes + cli: + name: spokes + description: Gets or sets the spokes group IDs + cliKey: spokes + protocol: {} + - schema: &ref_60 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ManagedNetworkPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + az: + name: managed-network-peering-policy-properties-mesh + description: Gets or sets the mesh group IDs + mapsto: managed_network_peering_policy_properties_mesh + cli: + name: ManagedNetworkPeeringPolicyPropertiesMesh + description: Gets or sets the mesh group IDs + protocol: {} + required: false + serializedName: mesh + language: + default: + name: mesh + description: Gets or sets the mesh group IDs + az: + name: mesh + description: Gets or sets the mesh group IDs + mapsto: mesh + cli: + name: mesh + description: Gets or sets the mesh group IDs + cliKey: mesh + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ManagedNetworkPeeringPolicyProperties + description: Properties of a Managed Network Peering Policy + namespace: '' + az: + name: managed-network-peering-policy-properties + description: Properties of a Managed Network Peering Policy + mapsto: managed_network_peering_policy_properties + cli: + name: ManagedNetworkPeeringPolicyProperties + description: Properties of a Managed Network Peering Policy + cliKey: ManagedNetworkPeeringPolicyProperties + protocol: {} + - *ref_12 + - &ref_15 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_4 + immediate: + - *ref_4 + properties: + - schema: *ref_13 + serializedName: assignedManagedNetwork + language: + default: + name: assigned_managed_network + description: The managed network ID with scope will be assigned to. + az: + name: assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: assigned_managed_network + cli: &ref_22 + name: assignedManagedNetwork + description: The managed network ID with scope will be assigned to. + cliKey: assignedManagedNetwork + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: ScopeAssignmentProperties + description: Properties of Managed Network + namespace: '' + az: + name: scope-assignment-properties + description: Properties of Managed Network + mapsto: scope_assignment_properties + cli: + name: ScopeAssignmentProperties + description: Properties of Managed Network + cliKey: ScopeAssignmentProperties + protocol: {} + - *ref_8 + - *ref_9 + immediate: + - *ref_14 + - *ref_7 + - *ref_12 + - *ref_15 + properties: + - schema: *ref_16 + readOnly: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: &ref_20 + name: provisioningState + description: Provisioning state of the ManagedNetwork resource. + cliKey: provisioningState + protocol: {} + - schema: *ref_17 + readOnly: true + serializedName: etag + language: + default: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: etag + cli: &ref_21 + name: etag + description: A unique read-only string that changes whenever the resource is updated. + cliKey: etag + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: default: - name: hub - description: Gets or sets the hub virtual network ID + name: ResourceProperties + description: Base for resource properties. + namespace: '' az: - name: hub - description: Gets or sets the hub virtual network ID - mapsto: hub + name: resource-properties + description: Base for resource properties. + mapsto: resource_properties cli: - name: hub - description: Gets or sets the hub virtual network ID - cliKey: hub + name: ResourceProperties + description: Base for resource properties. + cliKey: ResourceProperties protocol: {} - - schema: &ref_67 - type: array - apiVersions: + immediate: + - *ref_4 + properties: + - schema: &ref_58 + type: array + apiVersions: - version: 2019-06-01-preview - elementType: *ref_6 + elementType: &ref_18 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - &ref_19 + type: object + apiVersions: + - version: 2019-06-01-preview + children: + all: + - *ref_18 + - &ref_23 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_19 + - *ref_3 + immediate: + - *ref_19 + properties: + - &ref_147 + schema: *ref_7 + serializedName: properties + language: + default: + name: properties + description: Gets or sets the properties of a Managed Network Policy + az: + name: properties + description: Gets or sets the properties of a Managed Network Policy + mapsto: properties + cli: &ref_148 + name: properties + description: Gets or sets the properties of a Managed Network Policy + cliKey: properties + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ManagedNetworkPeeringPolicy + description: The Managed Network Peering Policy resource + namespace: '' + az: + name: managed-network-peering-policy + description: The Managed Network Peering Policy resource + mapsto: managed_network_peering_policy + cli: + name: ManagedNetworkPeeringPolicy + description: The Managed Network Peering Policy resource + cliKey: ManagedNetworkPeeringPolicy + protocol: {} + - &ref_24 + type: object + apiVersions: + - version: 2019-06-01-preview + parents: + all: + - *ref_19 + - *ref_3 + immediate: + - *ref_19 + properties: + - schema: *ref_16 + flattenedNames: + - properties + - provisioningState + readOnly: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: *ref_20 + protocol: {} + - schema: *ref_17 + flattenedNames: + - properties + - etag + readOnly: true + serializedName: etag + language: + default: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: etag + cli: *ref_21 + protocol: {} + - &ref_108 + schema: *ref_13 + flattenedNames: + - properties + - assignedManagedNetwork + serializedName: assignedManagedNetwork + language: + default: + name: assigned_managed_network + description: The managed network ID with scope will be assigned to. + az: + name: assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: assigned_managed_network + cli: *ref_22 + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ScopeAssignment + description: The Managed Network resource + namespace: '' + az: + name: scope-assignment + description: The Managed Network resource + mapsto: scope_assignment + cli: + name: ScopeAssignment + description: The Managed Network resource + cliKey: ScopeAssignment + protocol: {} + immediate: + - *ref_18 + - *ref_23 + - *ref_24 + parents: + all: + - *ref_3 + immediate: + - *ref_3 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + az: + name: proxy-resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + mapsto: proxy_resource + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cliKey: ProxyResource + protocol: {} + - *ref_3 + immediate: + - *ref_19 + properties: + - &ref_121 + schema: *ref_25 + serializedName: kind + language: + default: + name: kind + description: Responsibility role under which this Managed Network Group will be created + az: + name: kind + description: Responsibility role under which this Managed Network Group will be created + mapsto: kind + cli: &ref_122 + name: kind + description: Responsibility role under which this Managed Network Group will be created + cliKey: kind + protocol: {} + - schema: *ref_16 + flattenedNames: + - properties + - provisioningState + readOnly: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: Provisioning state of the ManagedNetwork resource. + az: + name: provisioning-state + description: Provisioning state of the ManagedNetwork resource. + mapsto: provisioning_state + cli: *ref_20 + protocol: {} + - schema: *ref_17 + flattenedNames: + - properties + - etag + readOnly: true + serializedName: etag + language: + default: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + az: + name: etag + description: A unique read-only string that changes whenever the resource is updated. + mapsto: etag + cli: *ref_21 + protocol: {} + - &ref_123 + schema: *ref_26 + flattenedNames: + - properties + - managementGroups + serializedName: managementGroups + language: + default: + name: management_groups + description: The collection of management groups covered by the Managed Network + az: + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups + cli: *ref_27 + protocol: {} + - &ref_124 + schema: *ref_28 + flattenedNames: + - properties + - subscriptions + serializedName: subscriptions + language: + default: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions + cli: *ref_29 + protocol: {} + - &ref_125 + schema: *ref_30 + flattenedNames: + - properties + - virtualNetworks + serializedName: virtualNetworks + language: + default: + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network + az: + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks + cli: *ref_31 + protocol: {} + - &ref_126 + schema: *ref_32 + flattenedNames: + - properties + - subnets + serializedName: subnets + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: *ref_33 + protocol: {} + serializationFormats: + - json + usage: + - output + - input language: default: - name: HubAndSpokePeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: ManagedNetworkGroup + description: The Managed Network Group resource + namespace: '' az: - name: hub-and-spoke-peering-policy-properties-spokes - description: Gets or sets the spokes group IDs - mapsto: hub_and_spoke_peering_policy_properties_spokes + name: managed-network-group + description: The Managed Network Group resource + mapsto: managed_network_group cli: - name: HubAndSpokePeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: ManagedNetworkGroup + description: The Managed Network Group resource + cliKey: ManagedNetworkGroup protocol: {} - serializedName: spokes language: default: - name: spokes - description: Gets or sets the spokes group IDs + name: ConnectivityCollectionGroups + description: The collection of connectivity related Managed Network Groups within the Managed Network az: - name: spokes - description: Gets or sets the spokes group IDs - mapsto: spokes + name: connectivity-collection-groups + description: The collection of connectivity related Managed Network Groups within the Managed Network + mapsto: connectivity_collection_groups cli: - name: spokes - description: Gets or sets the spokes group IDs - cliKey: spokes + name: ConnectivityCollectionGroups + description: The collection of connectivity related Managed Network Groups within the Managed Network protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-discriminator-value: HubAndSpokeTopology + flattenedNames: + - connectivity + - groups + readOnly: true + serializedName: groups language: default: - name: HubAndSpokePeeringPolicyProperties - description: Properties of a Hub and Spoke Peering Policy - namespace: '' + name: groups + description: The collection of connectivity related Managed Network Groups within the Managed Network az: - name: hub-and-spoke-peering-policy-properties - description: Properties of a Hub and Spoke Peering Policy - mapsto: hub_and_spoke_peering_policy_properties + name: groups + description: The collection of connectivity related Managed Network Groups within the Managed Network + mapsto: groups cli: - name: HubAndSpokePeeringPolicyProperties - description: Properties of a Hub and Spoke Peering Policy - cliKey: HubAndSpokePeeringPolicyProperties + name: groups + description: The collection of connectivity related Managed Network Groups within the Managed Network + cliKey: groups protocol: {} - - &ref_9 - type: object - apiVersions: - - version: 2019-06-01-preview - discriminatorValue: MeshTopology - parents: - all: - - *ref_7 - - *ref_4 - immediate: - - *ref_7 - properties: - - schema: &ref_68 - type: array - apiVersions: + - schema: &ref_61 + type: array + apiVersions: - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: MeshPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs - az: - name: mesh-peering-policy-properties-mesh - description: Gets or sets the mesh group IDs - mapsto: mesh_peering_policy_properties_mesh - cli: - name: MeshPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs - protocol: {} - serializedName: mesh + elementType: *ref_23 language: default: - name: mesh - description: Gets or sets the mesh group IDs + name: ConnectivityCollectionPeerings + description: The collection of Managed Network Peering Policies within the Managed Network az: - name: mesh - description: Gets or sets the mesh group IDs - mapsto: mesh + name: connectivity-collection-peerings + description: The collection of Managed Network Peering Policies within the Managed Network + mapsto: connectivity_collection_peerings cli: - name: mesh - description: Gets or sets the mesh group IDs - cliKey: mesh + name: ConnectivityCollectionPeerings + description: The collection of Managed Network Peering Policies within the Managed Network protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-discriminator-value: MeshTopology + flattenedNames: + - connectivity + - peerings + readOnly: true + serializedName: peerings language: default: - name: MeshPeeringPolicyProperties - description: Properties of a Mesh Peering Policy - namespace: '' + name: peerings + description: The collection of Managed Network Peering Policies within the Managed Network az: - name: mesh-peering-policy-properties - description: Properties of a Mesh Peering Policy - mapsto: mesh_peering_policy_properties + name: peerings + description: The collection of Managed Network Peering Policies within the Managed Network + mapsto: peerings cli: - name: MeshPeeringPolicyProperties - description: Properties of a Mesh Peering Policy - cliKey: MeshPeeringPolicyProperties + name: peerings + description: The collection of Managed Network Peering Policies within the Managed Network + cliKey: peerings protocol: {} - immediate: - - *ref_8 - - *ref_9 - discriminator: - all: - HubAndSpokeTopology: *ref_8 - MeshTopology: *ref_9 - immediate: - HubAndSpokeTopology: *ref_8 - MeshTopology: *ref_9 - property: &ref_11 - schema: *ref_10 - isDiscriminator: true - required: true - serializedName: type + - schema: &ref_54 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeManagementGroups + description: The collection of management groups covered by the Managed Network + az: + name: scope-management-groups + description: The collection of management groups covered by the Managed Network + mapsto: scope_management_groups + cli: + name: ScopeManagementGroups + description: The collection of management groups covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - managementGroups + serializedName: managementGroups language: default: - name: type - description: Gets or sets the connectivity type of a network structure policy + name: management_groups + description: The collection of management groups covered by the Managed Network az: - name: type - description: Gets or sets the connectivity type of a network structure policy - mapsto: type + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups cli: - name: type - description: Gets or sets the connectivity type of a network structure policy - cliKey: type + name: managementGroups + description: The collection of management groups covered by the Managed Network + cliKey: managementGroups protocol: {} - discriminatorValue: ManagedNetworkPeeringPolicyProperties - parents: - all: - - *ref_4 - immediate: - - *ref_4 - properties: - - *ref_11 - - schema: *ref_6 - required: false - serializedName: hub - language: - default: - name: hub - description: Gets or sets the hub virtual network ID - az: - name: hub - description: Gets or sets the hub virtual network ID - mapsto: hub - cli: - name: hub - description: Gets or sets the hub virtual network ID - cliKey: hub - protocol: {} - - schema: &ref_59 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 + - schema: &ref_55 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeSubscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: scope-subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: scope_subscriptions + cli: + name: ScopeSubscriptions + description: The collection of subscriptions covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - subscriptions + serializedName: subscriptions language: default: - name: ManagedNetworkPeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: subscriptions + description: The collection of subscriptions covered by the Managed Network az: - name: managed-network-peering-policy-properties-spokes - description: Gets or sets the spokes group IDs - mapsto: managed_network_peering_policy_properties_spokes + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions cli: - name: ManagedNetworkPeeringPolicyPropertiesSpokes - description: Gets or sets the spokes group IDs + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + cliKey: subscriptions protocol: {} - required: false - serializedName: spokes - language: - default: - name: spokes - description: Gets or sets the spokes group IDs - az: - name: spokes - description: Gets or sets the spokes group IDs - mapsto: spokes - cli: - name: spokes - description: Gets or sets the spokes group IDs - cliKey: spokes - protocol: {} - - schema: &ref_60 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 + - schema: &ref_56 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + az: + name: scope-virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: scope_virtual_networks + cli: + name: ScopeVirtualNetworks + description: The collection of virtual nets covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - virtualNetworks + serializedName: virtualNetworks language: default: - name: ManagedNetworkPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network az: - name: managed-network-peering-policy-properties-mesh - description: Gets or sets the mesh group IDs - mapsto: managed_network_peering_policy_properties_mesh + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks cli: - name: ManagedNetworkPeeringPolicyPropertiesMesh - description: Gets or sets the mesh group IDs + name: virtualNetworks + description: The collection of virtual nets covered by the Managed Network + cliKey: virtualNetworks + protocol: {} + - schema: &ref_57 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_6 + language: + default: + name: ScopeSubnets + description: The collection of subnets covered by the Managed Network + az: + name: scope-subnets + description: The collection of subnets covered by the Managed Network + mapsto: scope_subnets + cli: + name: ScopeSubnets + description: The collection of subnets covered by the Managed Network + protocol: {} + flattenedNames: + - scope + - subnets + serializedName: subnets + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: + name: subnets + description: The collection of subnets covered by the Managed Network + cliKey: subnets protocol: {} - required: false - serializedName: mesh - language: - default: - name: mesh - description: Gets or sets the mesh group IDs - az: - name: mesh - description: Gets or sets the mesh group IDs - mapsto: mesh - cli: - name: mesh - description: Gets or sets the mesh group IDs - cliKey: mesh - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ManagedNetworkPeeringPolicyProperties - description: Properties of a Managed Network Peering Policy - namespace: '' - az: - name: managed-network-peering-policy-properties - description: Properties of a Managed Network Peering Policy - mapsto: managed_network_peering_policy_properties - cli: - name: ManagedNetworkPeeringPolicyProperties - description: Properties of a Managed Network Peering Policy - cliKey: ManagedNetworkPeeringPolicyProperties - protocol: {} - - *ref_12 - - &ref_15 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_4 - immediate: - - *ref_4 - properties: - - schema: *ref_13 - serializedName: assignedManagedNetwork - language: - default: - name: assigned_managed_network - description: The managed network ID with scope will be assigned to. - az: - name: assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: assigned_managed_network - cli: &ref_22 - name: assignedManagedNetwork - description: The managed network ID with scope will be assigned to. - cliKey: assignedManagedNetwork - protocol: {} serializationFormats: - - json + - json usage: - - output - - input - extensions: - x-ms-flattened: true + - output + - input language: default: - name: ScopeAssignmentProperties + name: ManagedNetworkProperties description: Properties of Managed Network namespace: '' az: - name: scope-assignment-properties + name: managed-network-properties description: Properties of Managed Network - mapsto: scope_assignment_properties + mapsto: managed_network_properties cli: - name: ScopeAssignmentProperties + name: ManagedNetworkProperties description: Properties of Managed Network - cliKey: ScopeAssignmentProperties + cliKey: ManagedNetworkProperties protocol: {} - - *ref_8 - - *ref_9 - immediate: - - *ref_14 - - *ref_7 - - *ref_12 - - *ref_15 - properties: - - schema: *ref_16 - readOnly: true - serializedName: provisioningState + serializedName: properties + extensions: &ref_82 + x-ms-client-flatten: false language: default: - name: provisioning_state - description: Provisioning state of the ManagedNetwork resource. + name: properties + description: The MNC properties az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: &ref_20 - name: provisioningState - description: Provisioning state of the ManagedNetwork resource. - cliKey: provisioningState + name: properties + description: The MNC properties + mapsto: properties + cli: &ref_83 + name: properties + description: The MNC properties + cliKey: properties + json: true protocol: {} - - schema: *ref_17 - readOnly: true - serializedName: etag - language: - default: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: etag - cli: &ref_21 - name: etag - description: A unique read-only string that changes whenever the resource is updated. - cliKey: etag - protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - output - input - language: - default: - name: ResourceProperties - description: Base for resource properties. - namespace: '' - az: - name: resource-properties - description: Base for resource properties. - mapsto: resource_properties - cli: - name: ResourceProperties - description: Base for resource properties. - cliKey: ResourceProperties - protocol: {} - immediate: - - *ref_4 - properties: - - schema: &ref_58 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: &ref_18 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - &ref_19 - type: object - apiVersions: - - version: 2019-06-01-preview - children: - all: - - *ref_18 - - &ref_23 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_19 - - *ref_3 - immediate: - - *ref_19 - properties: - - &ref_147 - schema: *ref_7 - serializedName: properties - language: - default: - name: properties - description: Gets or sets the properties of a Managed Network Policy - az: - name: properties - description: Gets or sets the properties of a Managed Network Policy - mapsto: properties - cli: &ref_148 - name: properties - description: Gets or sets the properties of a Managed Network Policy - cliKey: properties - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ManagedNetworkPeeringPolicy - description: The Managed Network Peering Policy resource - namespace: '' - az: - name: managed-network-peering-policy - description: The Managed Network Peering Policy resource - mapsto: managed_network_peering_policy - cli: - name: ManagedNetworkPeeringPolicy - description: The Managed Network Peering Policy resource - cliKey: ManagedNetworkPeeringPolicy - protocol: {} - - &ref_24 - type: object - apiVersions: - - version: 2019-06-01-preview - parents: - all: - - *ref_19 - - *ref_3 - immediate: - - *ref_19 - properties: - - schema: *ref_16 - flattenedNames: - - properties - - provisioningState - readOnly: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: Provisioning state of the ManagedNetwork resource. - az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: *ref_20 - protocol: {} - - schema: *ref_17 - flattenedNames: - - properties - - etag - readOnly: true - serializedName: etag - language: - default: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: etag - cli: *ref_21 - protocol: {} - - &ref_108 - schema: *ref_13 - flattenedNames: - - properties - - assignedManagedNetwork - serializedName: assignedManagedNetwork - language: - default: - name: assigned_managed_network - description: The managed network ID with scope will be assigned to. - az: - name: assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: assigned_managed_network - cli: *ref_22 - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ScopeAssignment - description: The Managed Network resource - namespace: '' - az: - name: scope-assignment - description: The Managed Network resource - mapsto: scope_assignment - cli: - name: ScopeAssignment - description: The Managed Network resource - cliKey: ScopeAssignment - protocol: {} - immediate: - - *ref_18 - - *ref_23 - - *ref_24 - parents: - all: - - *ref_3 - immediate: - - *ref_3 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - az: - name: proxy-resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - mapsto: proxy_resource - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cliKey: ProxyResource - protocol: {} - - *ref_3 - immediate: - - *ref_19 - properties: - - &ref_121 - schema: *ref_25 - serializedName: kind - language: - default: - name: kind - description: Responsibility role under which this Managed Network Group will be created - az: - name: kind - description: Responsibility role under which this Managed Network Group will be created - mapsto: kind - cli: &ref_122 - name: kind - description: Responsibility role under which this Managed Network Group will be created - cliKey: kind - protocol: {} - - schema: *ref_16 - flattenedNames: - - properties - - provisioningState - readOnly: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: Provisioning state of the ManagedNetwork resource. - az: - name: provisioning-state - description: Provisioning state of the ManagedNetwork resource. - mapsto: provisioning_state - cli: *ref_20 - protocol: {} - - schema: *ref_17 - flattenedNames: - - properties - - etag - readOnly: true - serializedName: etag - language: - default: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - az: - name: etag - description: A unique read-only string that changes whenever the resource is updated. - mapsto: etag - cli: *ref_21 - protocol: {} - - &ref_123 - schema: *ref_26 - flattenedNames: - - properties - - managementGroups - serializedName: managementGroups - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: *ref_27 - protocol: {} - - &ref_124 - schema: *ref_28 - flattenedNames: - - properties - - subscriptions - serializedName: subscriptions - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: *ref_29 - protocol: {} - - &ref_125 - schema: *ref_30 - flattenedNames: - - properties - - virtualNetworks - serializedName: virtualNetworks - language: - default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network - az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: *ref_31 - protocol: {} - - &ref_126 - schema: *ref_32 - flattenedNames: - - properties - - subnets - serializedName: subnets - language: - default: - name: subnets - description: The collection of subnets covered by the Managed Network - az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets - cli: *ref_33 - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ManagedNetworkGroup - description: The Managed Network Group resource - namespace: '' - az: - name: managed-network-group - description: The Managed Network Group resource - mapsto: managed_network_group - cli: - name: ManagedNetworkGroup - description: The Managed Network Group resource - cliKey: ManagedNetworkGroup - protocol: {} - language: - default: - name: ConnectivityCollectionGroups - description: The collection of connectivity related Managed Network Groups within the Managed Network - az: - name: connectivity-collection-groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - mapsto: connectivity_collection_groups - cli: - name: ConnectivityCollectionGroups - description: The collection of connectivity related Managed Network Groups within the Managed Network - protocol: {} - flattenedNames: - - connectivity - - groups - readOnly: true - serializedName: groups - language: - default: - name: groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - az: - name: groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - mapsto: groups - cli: - name: groups - description: The collection of connectivity related Managed Network Groups within the Managed Network - cliKey: groups - protocol: {} - - schema: &ref_61 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_23 - language: - default: - name: ConnectivityCollectionPeerings - description: The collection of Managed Network Peering Policies within the Managed Network - az: - name: connectivity-collection-peerings - description: The collection of Managed Network Peering Policies within the Managed Network - mapsto: connectivity_collection_peerings - cli: - name: ConnectivityCollectionPeerings - description: The collection of Managed Network Peering Policies within the Managed Network - protocol: {} - flattenedNames: - - connectivity - - peerings - readOnly: true - serializedName: peerings - language: - default: - name: peerings - description: The collection of Managed Network Peering Policies within the Managed Network - az: - name: peerings - description: The collection of Managed Network Peering Policies within the Managed Network - mapsto: peerings - cli: - name: peerings - description: The collection of Managed Network Peering Policies within the Managed Network - cliKey: peerings - protocol: {} - - schema: &ref_54 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeManagementGroups - description: The collection of management groups covered by the Managed Network - az: - name: scope-management-groups - description: The collection of management groups covered by the Managed Network - mapsto: scope_management_groups - cli: - name: ScopeManagementGroups - description: The collection of management groups covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - managementGroups - serializedName: managementGroups - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: - name: managementGroups - description: The collection of management groups covered by the Managed Network - cliKey: managementGroups - protocol: {} - - schema: &ref_55 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeSubscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: scope-subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: scope_subscriptions - cli: - name: ScopeSubscriptions - description: The collection of subscriptions covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - subscriptions - serializedName: subscriptions - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - cliKey: subscriptions - protocol: {} - - schema: &ref_56 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - az: - name: scope-virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: scope_virtual_networks - cli: - name: ScopeVirtualNetworks - description: The collection of virtual nets covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - virtualNetworks - serializedName: virtualNetworks - language: - default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network - az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: - name: virtualNetworks - description: The collection of virtual nets covered by the Managed Network - cliKey: virtualNetworks - protocol: {} - - schema: &ref_57 - type: array - apiVersions: - - version: 2019-06-01-preview - elementType: *ref_6 - language: - default: - name: ScopeSubnets - description: The collection of subnets covered by the Managed Network - az: - name: scope-subnets - description: The collection of subnets covered by the Managed Network - mapsto: scope_subnets - cli: - name: ScopeSubnets - description: The collection of subnets covered by the Managed Network - protocol: {} - flattenedNames: - - scope - - subnets - serializedName: subnets language: default: - name: subnets - description: The collection of subnets covered by the Managed Network + name: ManagedNetwork + description: The Managed Network resource + namespace: '' az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets + name: managed-network + description: The Managed Network resource + mapsto: managed_network cli: - name: subnets - description: The collection of subnets covered by the Managed Network - cliKey: subnets + name: ManagedNetwork + description: The Managed Network resource + cliKey: ManagedNetwork protocol: {} - serializationFormats: - - json - usage: - - output - - input + immediate: + - *ref_34 + parents: + all: + - *ref_3 + immediate: + - *ref_3 + properties: + - &ref_79 + schema: *ref_35 + required: false + serializedName: tags language: default: - name: ManagedNetworkProperties - description: Properties of Managed Network - namespace: '' + name: tags + description: Resource tags az: - name: managed-network-properties - description: Properties of Managed Network - mapsto: managed_network_properties - cli: - name: ManagedNetworkProperties - description: Properties of Managed Network - cliKey: ManagedNetworkProperties + name: tags + description: Resource tags + mapsto: tags + cli: &ref_80 + name: tags + description: Resource tags + cliKey: tags protocol: {} - serializedName: properties - extensions: &ref_82 - x-ms-client-flatten: false - language: - default: - name: properties - description: The MNC properties - az: - name: properties - description: The MNC properties - mapsto: properties - cli: &ref_83 - name: properties - description: The MNC properties - cliKey: properties - json: true - protocol: {} serializationFormats: - - json + - json usage: - - output - - input + - output + - input language: default: - name: ManagedNetwork - description: The Managed Network resource + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource namespace: '' az: - name: managed-network - description: The Managed Network resource - mapsto: managed_network + name: tracked-resource + description: The resource model definition for a ARM tracked top level resource + mapsto: tracked_resource cli: - name: ManagedNetwork - description: The Managed Network resource - cliKey: ManagedNetwork + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource + cliKey: TrackedResource protocol: {} - immediate: + - *ref_19 + - *ref_18 + - *ref_23 - *ref_34 - parents: - all: - - *ref_3 - immediate: - - *ref_3 - properties: - - &ref_79 - schema: *ref_35 - required: false - serializedName: tags + - *ref_24 + immediate: + - *ref_2 + - *ref_19 + properties: + - schema: *ref_36 + readOnly: true + serializedName: id language: default: - name: tags - description: Resource tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' az: - name: tags - description: Resource tags - mapsto: tags - cli: &ref_80 - name: tags - description: Resource tags - cliKey: tags + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + mapsto: id + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + protocol: {} + - schema: *ref_37 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + az: + name: name + description: The name of the resource + mapsto: name + cli: + name: name + description: The name of the resource + cliKey: name + protocol: {} + - schema: *ref_38 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + az: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + mapsto: type + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + protocol: {} + - &ref_77 + schema: *ref_39 + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: &ref_78 + name: location + description: The geo-location where the resource lives + cliKey: location + required: true protocol: {} - serializationFormats: + serializationFormats: - json - usage: + usage: - output - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - namespace: '' - az: - name: tracked-resource - description: The resource model definition for a ARM tracked top level resource - mapsto: tracked_resource - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource - cliKey: TrackedResource - protocol: {} - - *ref_19 - - *ref_18 - - *ref_23 - - *ref_34 - - *ref_24 - immediate: - - *ref_2 - - *ref_19 - properties: - - schema: *ref_36 - readOnly: true - serializedName: id + extensions: + x-ms-azure-resource: true language: default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + name: Resource + description: The general resource model definition + namespace: '' az: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - mapsto: id + name: resource + description: The general resource model definition + mapsto: resource cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id + name: Resource + description: The general resource model definition + cliKey: Resource protocol: {} - - schema: *ref_37 - readOnly: true - serializedName: name + - *ref_2 + - *ref_34 + - *ref_4 + - *ref_12 + - *ref_6 + - *ref_19 + - *ref_18 + - *ref_14 + - *ref_23 + - *ref_7 + - &ref_75 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_40 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + az: + name: code + description: The error code. + mapsto: code + cli: + name: code + description: The error code. + cliKey: code + protocol: {} + - schema: *ref_41 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + az: + name: message + description: The error message. + mapsto: message + cli: + name: message + description: The error message. + cliKey: message + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: name - description: The name of the resource + name: ErrorResponse + description: The error response that indicates why an operation has failed. + namespace: '' az: - name: name - description: The name of the resource - mapsto: name + name: error-response + description: The error response that indicates why an operation has failed. + mapsto: error_response cli: - name: name - description: The name of the resource - cliKey: name + name: ErrorResponse + description: The error response that indicates why an operation has failed. + cliKey: ErrorResponse protocol: {} - - schema: *ref_38 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - az: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - mapsto: type - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - protocol: {} - - &ref_77 - schema: *ref_39 - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: &ref_78 - name: location - description: The geo-location where the resource lives - cliKey: location - required: true - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: The general resource model definition - namespace: '' - az: - name: resource - description: The general resource model definition - mapsto: resource - cli: - name: Resource - description: The general resource model definition - cliKey: Resource - protocol: {} - - *ref_2 - - *ref_34 - - *ref_4 - - *ref_12 - - *ref_6 - - *ref_19 - - *ref_18 - - *ref_14 - - *ref_23 - - *ref_7 - - &ref_75 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: *ref_40 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - az: - name: code - description: The error code. - mapsto: code - cli: - name: code - description: The error code. - cliKey: code - protocol: {} - - schema: *ref_41 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - az: - name: message - description: The error message. - mapsto: message - cli: - name: message - description: The error message. - cliKey: message - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ErrorResponse - description: The error response that indicates why an operation has failed. - namespace: '' - az: - name: error-response - description: The error response that indicates why an operation has failed. - mapsto: error_response - cli: - name: ErrorResponse - description: The error response that indicates why an operation has failed. - cliKey: ErrorResponse - protocol: {} - - &ref_91 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - &ref_93 - schema: *ref_42 - serializedName: tags - language: - default: - name: tags - description: Resource tags - az: - name: tags - description: Resource tags - mapsto: tags - cli: &ref_94 - name: tags - description: Resource tags - cliKey: tags - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: ManagedNetworkUpdate - description: Update Tags of Managed Network - namespace: '' - az: - name: managed-network-update - description: Update Tags of Managed Network - mapsto: managed_network_update - cli: - name: ManagedNetworkUpdate - description: Update Tags of Managed Network - cliKey: ManagedNetworkUpdate - protocol: {} - - &ref_102 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_62 - type: array - apiVersions: + - &ref_91 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_34 - language: - default: - name: ManagedNetworkListResultValue - description: Gets a page of ManagedNetworks - az: - name: managed-network-list-result-value - description: Gets a page of ManagedNetworks - mapsto: managed_network_list_result_value - cli: - name: ManagedNetworkListResultValue - description: Gets a page of ManagedNetworks - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of ManagedNetworks - az: - name: value - description: Gets a page of ManagedNetworks - mapsto: value - cli: - name: value - description: Gets a page of ManagedNetworks - cliKey: value - protocol: {} - - schema: *ref_43 - serializedName: nextLink + properties: + - &ref_93 + schema: *ref_42 + serializedName: tags + language: + default: + name: tags + description: Resource tags + az: + name: tags + description: Resource tags + mapsto: tags + cli: &ref_94 + name: tags + description: Resource tags + cliKey: tags + protocol: {} + serializationFormats: + - json + usage: + - input language: default: - name: next_link - description: Gets the URL to get the next page of results. + name: ManagedNetworkUpdate + description: Update Tags of Managed Network + namespace: '' az: - name: next-link - description: Gets the URL to get the next page of results. - mapsto: next_link + name: managed-network-update + description: Update Tags of Managed Network + mapsto: managed_network_update cli: - name: nextLink - description: Gets the URL to get the next page of results. - cliKey: nextLink + name: ManagedNetworkUpdate + description: Update Tags of Managed Network + cliKey: ManagedNetworkUpdate protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ManagedNetworkListResult - description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. - namespace: '' - az: - name: managed-network-list-result - description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. - mapsto: managed_network_list_result - cli: - name: ManagedNetworkListResult - description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. - cliKey: ManagedNetworkListResult - protocol: {} - - *ref_24 - - *ref_15 - - &ref_116 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_63 - type: array - apiVersions: + - &ref_102 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_24 - language: - default: - name: ScopeAssignmentListResultValue - description: Gets a page of ScopeAssignment - az: - name: scope-assignment-list-result-value - description: Gets a page of ScopeAssignment - mapsto: scope_assignment_list_result_value - cli: - name: ScopeAssignmentListResultValue - description: Gets a page of ScopeAssignment - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of ScopeAssignment - az: - name: value - description: Gets a page of ScopeAssignment - mapsto: value - cli: - name: value - description: Gets a page of ScopeAssignment - cliKey: value - protocol: {} - - schema: *ref_44 - serializedName: nextLink + properties: + - schema: &ref_62 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_34 + language: + default: + name: ManagedNetworkListResultValue + description: Gets a page of ManagedNetworks + az: + name: managed-network-list-result-value + description: Gets a page of ManagedNetworks + mapsto: managed_network_list_result_value + cli: + name: ManagedNetworkListResultValue + description: Gets a page of ManagedNetworks + protocol: {} + serializedName: value + language: + default: + name: value + description: Gets a page of ManagedNetworks + az: + name: value + description: Gets a page of ManagedNetworks + mapsto: value + cli: + name: value + description: Gets a page of ManagedNetworks + cliKey: value + protocol: {} + - schema: *ref_43 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next page of results. + az: + name: next-link + description: Gets the URL to get the next page of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next page of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: next_link - description: Gets the URL to get the next set of results. + name: ManagedNetworkListResult + description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. + namespace: '' az: - name: next-link - description: Gets the URL to get the next set of results. - mapsto: next_link + name: managed-network-list-result + description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. + mapsto: managed_network_list_result cli: - name: nextLink - description: Gets the URL to get the next set of results. - cliKey: nextLink + name: ManagedNetworkListResult + description: Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results. + cliKey: ManagedNetworkListResult protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ScopeAssignmentListResult - description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. - namespace: '' - az: - name: scope-assignment-list-result - description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. - mapsto: scope_assignment_list_result - cli: - name: ScopeAssignmentListResult - description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. - cliKey: ScopeAssignmentListResult - protocol: {} - - &ref_142 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_64 - type: array - apiVersions: + - *ref_24 + - *ref_15 + - &ref_116 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_18 - language: - default: - name: ManagedNetworkGroupListResultValue - description: Gets a page of ManagedNetworkGroup - az: - name: managed-network-group-list-result-value - description: Gets a page of ManagedNetworkGroup - mapsto: managed_network_group_list_result_value - cli: - name: ManagedNetworkGroupListResultValue - description: Gets a page of ManagedNetworkGroup - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of ManagedNetworkGroup - az: - name: value - description: Gets a page of ManagedNetworkGroup - mapsto: value - cli: - name: value - description: Gets a page of ManagedNetworkGroup - cliKey: value - protocol: {} - - schema: *ref_45 - serializedName: nextLink + properties: + - schema: &ref_63 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_24 + language: + default: + name: ScopeAssignmentListResultValue + description: Gets a page of ScopeAssignment + az: + name: scope-assignment-list-result-value + description: Gets a page of ScopeAssignment + mapsto: scope_assignment_list_result_value + cli: + name: ScopeAssignmentListResultValue + description: Gets a page of ScopeAssignment + protocol: {} + serializedName: value + language: + default: + name: value + description: Gets a page of ScopeAssignment + az: + name: value + description: Gets a page of ScopeAssignment + mapsto: value + cli: + name: value + description: Gets a page of ScopeAssignment + cliKey: value + protocol: {} + - schema: *ref_44 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next set of results. + az: + name: next-link + description: Gets the URL to get the next set of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next set of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: next_link - description: Gets the URL to get the next set of results. + name: ScopeAssignmentListResult + description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. + namespace: '' az: - name: next-link - description: Gets the URL to get the next set of results. - mapsto: next_link + name: scope-assignment-list-result + description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. + mapsto: scope_assignment_list_result cli: - name: nextLink - description: Gets the URL to get the next set of results. - cliKey: nextLink + name: ScopeAssignmentListResult + description: Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results. + cliKey: ScopeAssignmentListResult protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ManagedNetworkGroupListResult - description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. - namespace: '' - az: - name: managed-network-group-list-result - description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. - mapsto: managed_network_group_list_result - cli: - name: ManagedNetworkGroupListResult - description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. - cliKey: ManagedNetworkGroupListResult - protocol: {} - - &ref_161 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_65 - type: array - apiVersions: + - &ref_142 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: *ref_23 - language: - default: - name: ManagedNetworkPeeringPolicyListResultValue - description: Gets a page of Peering Policies - az: - name: managed-network-peering-policy-list-result-value - description: Gets a page of Peering Policies - mapsto: managed_network_peering_policy_list_result_value - cli: - name: ManagedNetworkPeeringPolicyListResultValue - description: Gets a page of Peering Policies - protocol: {} - serializedName: value - language: - default: - name: value - description: Gets a page of Peering Policies - az: - name: value - description: Gets a page of Peering Policies - mapsto: value - cli: - name: value - description: Gets a page of Peering Policies - cliKey: value - protocol: {} - - schema: *ref_46 - serializedName: nextLink + properties: + - schema: &ref_64 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: *ref_18 + language: + default: + name: ManagedNetworkGroupListResultValue + description: Gets a page of ManagedNetworkGroup + az: + name: managed-network-group-list-result-value + description: Gets a page of ManagedNetworkGroup + mapsto: managed_network_group_list_result_value + cli: + name: ManagedNetworkGroupListResultValue + description: Gets a page of ManagedNetworkGroup + protocol: {} + serializedName: value + language: + default: + name: value + description: Gets a page of ManagedNetworkGroup + az: + name: value + description: Gets a page of ManagedNetworkGroup + mapsto: value + cli: + name: value + description: Gets a page of ManagedNetworkGroup + cliKey: value + protocol: {} + - schema: *ref_45 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next set of results. + az: + name: next-link + description: Gets the URL to get the next set of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next set of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: next_link - description: Gets the URL to get the next page of results. + name: ManagedNetworkGroupListResult + description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. + namespace: '' az: - name: next-link - description: Gets the URL to get the next page of results. - mapsto: next_link + name: managed-network-group-list-result + description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. + mapsto: managed_network_group_list_result cli: - name: nextLink - description: Gets the URL to get the next page of results. - cliKey: nextLink + name: ManagedNetworkGroupListResult + description: Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results. + cliKey: ManagedNetworkGroupListResult protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: ManagedNetworkPeeringPolicyListResult - description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. - namespace: '' - az: - name: managed-network-peering-policy-list-result - description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. - mapsto: managed_network_peering_policy_list_result - cli: - name: ManagedNetworkPeeringPolicyListResult - description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. - cliKey: ManagedNetworkPeeringPolicyListResult - protocol: {} - - &ref_162 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: &ref_66 - type: array - apiVersions: + - &ref_161 + type: object + apiVersions: - version: 2019-06-01-preview - elementType: &ref_52 - type: object - apiVersions: - - version: 2019-06-01-preview - properties: - - schema: *ref_47 - serializedName: name - language: - default: - name: name - description: 'Operation name: {provider}/{resource}/{operation}' - az: - name: name - description: 'Operation name: {provider}/{resource}/{operation}' - mapsto: name - cli: - name: name - description: 'Operation name: {provider}/{resource}/{operation}' - cliKey: name - protocol: {} - - schema: &ref_53 - type: object - apiVersions: + properties: + - schema: &ref_65 + type: array + apiVersions: - version: 2019-06-01-preview - properties: - - schema: *ref_48 - serializedName: provider - language: - default: - name: provider - description: 'Service provider: Microsoft.ManagedNetwork' - az: - name: provider - description: 'Service provider: Microsoft.ManagedNetwork' - mapsto: provider - cli: - name: provider - description: 'Service provider: Microsoft.ManagedNetwork' - cliKey: provider - protocol: {} - - schema: *ref_49 - serializedName: resource - language: - default: - name: resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - az: - name: resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - mapsto: resource - cli: - name: resource - description: 'Resource on which the operation is performed: Profile, endpoint, etc.' - cliKey: resource - protocol: {} - - schema: *ref_50 - serializedName: operation - language: - default: - name: operation - description: 'Operation type: Read, write, delete, etc.' - az: - name: operation - description: 'Operation type: Read, write, delete, etc.' - mapsto: operation - cli: - name: operation - description: 'Operation type: Read, write, delete, etc.' - cliKey: operation - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OperationDisplay - description: The object that represents the operation. - namespace: '' - az: - name: operation-display - description: The object that represents the operation. - mapsto: operation_display - cli: - name: OperationDisplay - description: The object that represents the operation. - cliKey: Operation-display - protocol: {} - serializedName: display + elementType: *ref_23 language: default: - name: display - description: The object that represents the operation. + name: ManagedNetworkPeeringPolicyListResultValue + description: Gets a page of Peering Policies az: - name: display - description: The object that represents the operation. - mapsto: display + name: managed-network-peering-policy-list-result-value + description: Gets a page of Peering Policies + mapsto: managed_network_peering_policy_list_result_value cli: - name: display - description: The object that represents the operation. - cliKey: display + name: ManagedNetworkPeeringPolicyListResultValue + description: Gets a page of Peering Policies protocol: {} - serializationFormats: - - json - usage: - - output + serializedName: value language: default: - name: Operation - description: REST API operation - namespace: '' + name: value + description: Gets a page of Peering Policies az: - name: operation - description: REST API operation - mapsto: operation + name: value + description: Gets a page of Peering Policies + mapsto: value cli: - name: Operation - description: REST API operation - cliKey: Operation + name: value + description: Gets a page of Peering Policies + cliKey: value protocol: {} - language: - default: - name: OperationListResultValue - description: List of Resource Provider operations supported by the Managed Network resource provider. - az: - name: operation-list-result-value - description: List of Resource Provider operations supported by the Managed Network resource provider. - mapsto: operation_list_result_value - cli: - name: OperationListResultValue - description: List of Resource Provider operations supported by the Managed Network resource provider. - protocol: {} - serializedName: value + - schema: *ref_46 + serializedName: nextLink + language: + default: + name: next_link + description: Gets the URL to get the next page of results. + az: + name: next-link + description: Gets the URL to get the next page of results. + mapsto: next_link + cli: + name: nextLink + description: Gets the URL to get the next page of results. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: value - description: List of Resource Provider operations supported by the Managed Network resource provider. + name: ManagedNetworkPeeringPolicyListResult + description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. + namespace: '' az: - name: value - description: List of Resource Provider operations supported by the Managed Network resource provider. - mapsto: value + name: managed-network-peering-policy-list-result + description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. + mapsto: managed_network_peering_policy_list_result cli: - name: value - description: List of Resource Provider operations supported by the Managed Network resource provider. - cliKey: value + name: ManagedNetworkPeeringPolicyListResult + description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. + cliKey: ManagedNetworkPeeringPolicyListResult protocol: {} - - schema: *ref_51 - serializedName: nextLink - language: - default: - name: next_link - description: URL to get the next set of operation list results if there are any. - az: - name: next-link - description: URL to get the next set of operation list results if there are any. - mapsto: next_link - cli: - name: nextLink - description: URL to get the next set of operation list results if there are any. - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OperationListResult - description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. - namespace: '' - az: - name: operation-list-result - description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. - mapsto: operation_list_result - cli: - name: OperationListResult - description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. - cliKey: OperationListResult - protocol: {} - - *ref_52 - - *ref_53 - - *ref_8 - - *ref_9 - arrays: - - *ref_54 - - *ref_55 - - *ref_56 - - *ref_57 - - *ref_26 - - *ref_28 - - *ref_30 - - *ref_32 - - *ref_58 - - *ref_59 - - *ref_60 - - *ref_61 - - *ref_62 - - *ref_63 - - *ref_64 - - *ref_65 - - *ref_66 - - *ref_67 - - *ref_68 -globalParameters: -- &ref_72 - schema: *ref_1 - implementation: Client - required: true - extensions: - x-ms-priority: 1 - language: - default: - name: subscription_id - description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - serializedName: subscriptionId - az: - name: subscription-id - description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - mapsto: subscription_id - cli: - name: subscriptionId - description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - cliKey: subscriptionId - protocol: - http: - in: path -- &ref_70 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - az: - name: $host - description: server parameter - mapsto: $host - cli: - name: $host - description: server parameter - cliKey: $host - protocol: - http: - in: uri -- &ref_71 - schema: *ref_69 - implementation: Client - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - az: - name: api-version - description: Api Version - mapsto: api_version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - protocol: - http: - in: query -operationGroups: -- $key: ManagedNetworks - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_73 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_74 - schema: *ref_1 - implementation: Method - required: true + - &ref_162 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: &ref_66 + type: array + apiVersions: + - version: 2019-06-01-preview + elementType: &ref_52 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_47 + serializedName: name + language: + default: + name: name + description: 'Operation name: {provider}/{resource}/{operation}' + az: + name: name + description: 'Operation name: {provider}/{resource}/{operation}' + mapsto: name + cli: + name: name + description: 'Operation name: {provider}/{resource}/{operation}' + cliKey: name + protocol: {} + - schema: &ref_53 + type: object + apiVersions: + - version: 2019-06-01-preview + properties: + - schema: *ref_48 + serializedName: provider + language: + default: + name: provider + description: 'Service provider: Microsoft.ManagedNetwork' + az: + name: provider + description: 'Service provider: Microsoft.ManagedNetwork' + mapsto: provider + cli: + name: provider + description: 'Service provider: Microsoft.ManagedNetwork' + cliKey: provider + protocol: {} + - schema: *ref_49 + serializedName: resource + language: + default: + name: resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + az: + name: resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + mapsto: resource + cli: + name: resource + description: 'Resource on which the operation is performed: Profile, endpoint, etc.' + cliKey: resource + protocol: {} + - schema: *ref_50 + serializedName: operation + language: + default: + name: operation + description: 'Operation type: Read, write, delete, etc.' + az: + name: operation + description: 'Operation type: Read, write, delete, etc.' + mapsto: operation + cli: + name: operation + description: 'Operation type: Read, write, delete, etc.' + cliKey: operation + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OperationDisplay + description: The object that represents the operation. + namespace: '' + az: + name: operation-display + description: The object that represents the operation. + mapsto: operation_display + cli: + name: OperationDisplay + description: The object that represents the operation. + cliKey: Operation-display + protocol: {} + serializedName: display + language: + default: + name: display + description: The object that represents the operation. + az: + name: display + description: The object that represents the operation. + mapsto: display + cli: + name: display + description: The object that represents the operation. + cliKey: display + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: Operation + description: REST API operation + namespace: '' + az: + name: operation + description: REST API operation + mapsto: operation + cli: + name: Operation + description: REST API operation + cliKey: Operation + protocol: {} + language: + default: + name: OperationListResultValue + description: List of Resource Provider operations supported by the Managed Network resource provider. + az: + name: operation-list-result-value + description: List of Resource Provider operations supported by the Managed Network resource provider. + mapsto: operation_list_result_value + cli: + name: OperationListResultValue + description: List of Resource Provider operations supported by the Managed Network resource provider. + protocol: {} + serializedName: value + language: + default: + name: value + description: List of Resource Provider operations supported by the Managed Network resource provider. + az: + name: value + description: List of Resource Provider operations supported by the Managed Network resource provider. + mapsto: value + cli: + name: value + description: List of Resource Provider operations supported by the Managed Network resource provider. + cliKey: value + protocol: {} + - schema: *ref_51 + serializedName: nextLink + language: + default: + name: next_link + description: URL to get the next set of operation list results if there are any. + az: + name: next-link + description: URL to get the next set of operation list results if there are any. + mapsto: next_link + cli: + name: nextLink + description: URL to get the next set of operation list results if there are any. + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output language: default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName + name: OperationListResult + description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. + namespace: '' az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name + name: operation-list-result + description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. + mapsto: operation_list_result cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_73 - - *ref_74 - responses: - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default + name: OperationListResult + description: Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results. + cliKey: OperationListResult + protocol: {} + - *ref_52 + - *ref_53 + - *ref_8 + - *ref_9 + arrays: + - *ref_54 + - *ref_55 + - *ref_56 + - *ref_57 + - *ref_26 + - *ref_28 + - *ref_30 + - *ref_32 + - *ref_58 + - *ref_59 + - *ref_60 + - *ref_61 + - *ref_62 + - *ref_63 + - *ref_64 + - *ref_65 + - *ref_66 + - *ref_67 + - *ref_68 +globalParameters: + - &ref_72 + schema: *ref_1 + implementation: Client + required: true extensions: - x-ms-examples: - ManagedNetworksGet: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network - responses: - '200': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} + x-ms-priority: 1 language: default: - name: get - description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' + name: subscription_id + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + serializedName: subscriptionId az: - name: show - description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' - command: managed-network managed-network show + name: subscription-id + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + mapsto: subscription_id cli: - name: Get - description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_87 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_88 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - parameters: - - &ref_76 - schema: *ref_34 - flattened: true - implementation: Method - required: true - extensions: - x-ms-client-flatten: true - language: - default: - name: _managed_network - description: Parameters supplied to the create/update a Managed Network Resource - az: - name: _managed_network - description: Parameters supplied to the create/update a Managed Network Resource - mapsto: _managed_network - cli: - name: _managed_network - description: Parameters supplied to the create/update a Managed Network Resource - cliKey: managedNetwork - protocol: - http: - in: body - style: json - - &ref_84 - schema: *ref_39 - implementation: Method - originalParameter: *ref_76 - pathToProperty: [] - targetProperty: *ref_77 - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 - protocol: {} - - &ref_85 - schema: *ref_35 - implementation: Method - originalParameter: *ref_76 - pathToProperty: [] - required: false - targetProperty: *ref_79 - language: - default: - name: tags - description: Resource tags - az: - name: tags - description: Resource tags - mapsto: tags - cli: *ref_80 - protocol: {} - - &ref_86 - schema: *ref_12 - implementation: Method - originalParameter: *ref_76 - pathToProperty: [] - targetProperty: *ref_81 - extensions: *ref_82 - language: - default: - name: properties - description: The MNC properties - az: - name: properties - description: The MNC properties - mapsto: properties - cli: *ref_83 - protocol: {} - signatureParameters: - - *ref_84 - - *ref_85 - - *ref_86 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_87 - - *ref_88 - responses: - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default + name: subscriptionId + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + cliKey: subscriptionId + protocol: + http: + in: path + - &ref_70 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + required: true extensions: - x-ms-examples: - ManagedNetworksPut: - parameters: - api-version: '2019-06-01' - managedNetwork: - location: eastus - properties: - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network - responses: - '200': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - '201': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} + x-ms-skip-url-encoding: true language: default: - name: create_or_update - description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' + name: $host + description: server parameter + serializedName: $host az: - name: create - description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' - command: managed-network managed-network create + name: $host + description: server parameter + mapsto: $host cli: - name: CreateOrUpdate - description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_89 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_90 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_89 - - *ref_90 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksDelete: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Delete Managed Network - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation + name: $host + description: server parameter + cliKey: $host + protocol: + http: + in: uri + - &ref_71 + schema: *ref_69 + implementation: Client + required: true language: default: - name: delete - description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' + name: api_version + description: Api Version + serializedName: api-version az: - name: delete - description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' - command: managed-network managed-network delete + name: api-version + description: Api Version + mapsto: api_version cli: - name: Delete - description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_96 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_97 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - requests: - - parameters: - - &ref_92 - schema: *ref_91 - flattened: true - implementation: Method - required: true + name: ApiVersion + description: Api Version + cliKey: ApiVersion + protocol: + http: + in: query +operationGroups: + - $key: ManagedNetworks + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_73 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_74 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_73 + - *ref_74 + responses: + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ManagedNetworksGet: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network + responses: + '200': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} language: default: - name: _parameters - description: Parameters supplied to update application gateway tags and/or scope. + name: get + description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' az: - name: _parameters - description: Parameters supplied to update application gateway tags and/or scope. - mapsto: _parameters + name: show + description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' + command: managed-network managed-network show cli: - name: _parameters - description: Parameters supplied to update application gateway tags and/or scope. - cliKey: parameters - protocol: - http: - in: body - style: json - - &ref_95 - schema: *ref_42 - implementation: Method - originalParameter: *ref_92 - pathToProperty: [] - targetProperty: *ref_93 + name: Get + description: 'The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name' + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_87 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_88 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - parameters: + - &ref_76 + schema: *ref_34 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _managed_network + description: Parameters supplied to the create/update a Managed Network Resource + az: + name: _managed_network + description: Parameters supplied to the create/update a Managed Network Resource + mapsto: _managed_network + cli: + name: _managed_network + description: Parameters supplied to the create/update a Managed Network Resource + cliKey: managedNetwork + protocol: + http: + in: body + style: json + - &ref_84 + schema: *ref_39 + implementation: Method + originalParameter: *ref_76 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - &ref_85 + schema: *ref_35 + implementation: Method + originalParameter: *ref_76 + pathToProperty: [] + required: false + targetProperty: *ref_79 + language: + default: + name: tags + description: Resource tags + az: + name: tags + description: Resource tags + mapsto: tags + cli: *ref_80 + protocol: {} + - &ref_86 + schema: *ref_12 + implementation: Method + originalParameter: *ref_76 + pathToProperty: [] + targetProperty: *ref_81 + extensions: *ref_82 + language: + default: + name: properties + description: The MNC properties + az: + name: properties + description: The MNC properties + mapsto: properties + cli: *ref_83 + protocol: {} + signatureParameters: + - *ref_84 + - *ref_85 + - *ref_86 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_87 + - *ref_88 + responses: + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksPut: + parameters: + api-version: '2019-06-01' + managedNetwork: + location: eastus + properties: + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network + responses: + '200': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + '201': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} language: default: - name: tags - description: Resource tags + name: create_or_update + description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' az: - name: tags - description: Resource tags - mapsto: tags - cli: *ref_94 + name: create + description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' + command: managed-network managed-network create + cli: + name: CreateOrUpdate + description: 'The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name' + cliKey: CreateOrUpdate protocol: {} - signatureParameters: - - *ref_95 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_96 - - *ref_97 - responses: - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_34 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksPatch: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - parameters: - tags: {} - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network - responses: - '200': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - '201': - body: - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Updates the specified Managed Network resource tags. - az: - name: update - description: Updates the specified Managed Network resource tags. - command: managed-network managed-network update - cli: - name: Update - description: Updates the specified Managed Network resource tags. - cliKey: Update - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_99 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_100 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_101 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks' - method: get - uri: '{$host}' - signatureParameters: - - *ref_99 - - *ref_100 - - *ref_101 - responses: - - schema: *ref_102 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksListByResourceGroup: - parameters: - api-version: '2019-06-01' - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' - value: - - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. - paging: - nextLinkName: nextLink - az: - name: list - description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. - command: managed-network managed-network list - cli: - name: ListByResourceGroup - description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. - cliKey: ListByResourceGroup - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_103 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_104 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks' - method: get - uri: '{$host}' - signatureParameters: - - *ref_103 - - *ref_104 - responses: - - schema: *ref_102 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksListBySubscription: - parameters: - api-version: '2019-06-01' - subscriptionId: subscriptionA - title: Get Managed Network - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' - value: - - name: myManagedNetwork - type: Microsoft.ManagedNetwork/managedNetworks - id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - location: eastus - properties: - connectivity: - groups: [] - peerings: [] - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - scope: - managementGroups: - - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 - - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 - subnets: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB - subscriptions: - - id: subscriptionA - - id: subscriptionB - virtualNetworks: - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - tags: {} - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. - paging: - nextLinkName: nextLink - az: - name: list - description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. - command: managed-network managed-network list - cli: - name: ListBySubscription - description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. - cliKey: ListBySubscription - protocol: {} - language: - default: - name: ManagedNetwork - description: '' - az: - name: ManagedNetwork - description: '' - command: managed-network managed-network - hasShowCommand: true - hasUpdate: true - cli: - name: ManagedNetwork - description: '' - cliKey: ManagedNetworks - protocol: {} -- $key: ScopeAssignments - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - &ref_105 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: The base resource of the scope assignment. - serializedName: scope - az: - name: scope - description: The base resource of the scope assignment. - mapsto: scope - cli: - name: scope - description: The base resource of the scope assignment. - cliKey: scope - protocol: - http: - in: path - - &ref_106 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: scope_assignment_name - description: The name of the scope assignment to get. - serializedName: scopeAssignmentName - az: - name: scope-assignment-name - description: The name of the scope assignment to get. - mapsto: scope_assignment_name - cli: - name: scopeAssignmentName - description: The name of the scope assignment to get. - cliKey: scopeAssignmentName - protocol: - http: - in: path - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_105 - - *ref_106 - responses: - - schema: *ref_24 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsGet: - parameters: - api-version: '2019-06-01' - scope: subscriptions/subscriptionC - scopeAssignmentName: subscriptionCAssignment - title: Create/Update Managed Network - responses: - '200': - body: - name: subscriptionCAssignment - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - language: - default: - name: get - description: Get the specified scope assignment. - az: - name: show - description: Get the specified scope assignment. - command: managed-network scope-assignment show - cli: - name: Get - description: Get the specified scope assignment. - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - &ref_111 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: >- - The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. - serializedName: scope - az: - name: scope - description: >- - The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. - mapsto: scope - cli: - name: scope - description: >- - The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and - 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. - cliKey: scope - protocol: - http: - in: path - - &ref_112 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: scope_assignment_name - description: The name of the scope assignment to create. - serializedName: scopeAssignmentName - az: - name: scope-assignment-name - description: The name of the scope assignment to create. - mapsto: scope_assignment_name - cli: - name: scopeAssignmentName - description: The name of the scope assignment to create. - cliKey: scopeAssignmentName - protocol: - http: - in: path - - *ref_71 - requests: - - parameters: - - &ref_107 - schema: *ref_24 - flattened: true - implementation: Method - required: true + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_89 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_90 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_89 + - *ref_90 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ManagedNetworksDelete: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Delete Managed Network + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: _parameters - description: Parameters supplied to the specify which Managed Network this scope is being assigned + name: delete + description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' az: - name: _parameters - description: Parameters supplied to the specify which Managed Network this scope is being assigned - mapsto: _parameters + name: delete + description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' + command: managed-network managed-network delete cli: - name: _parameters - description: Parameters supplied to the specify which Managed Network this scope is being assigned - cliKey: parameters - protocol: - http: - in: body - style: json - - &ref_109 - schema: *ref_39 - implementation: Method - originalParameter: *ref_107 - pathToProperty: [] - targetProperty: *ref_77 + name: Delete + description: 'The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name' + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_96 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_97 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + requests: + - parameters: + - &ref_92 + schema: *ref_91 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _parameters + description: Parameters supplied to update application gateway tags and/or scope. + az: + name: _parameters + description: Parameters supplied to update application gateway tags and/or scope. + mapsto: _parameters + cli: + name: _parameters + description: Parameters supplied to update application gateway tags and/or scope. + cliKey: parameters + protocol: + http: + in: body + style: json + - &ref_95 + schema: *ref_42 + implementation: Method + originalParameter: *ref_92 + pathToProperty: [] + targetProperty: *ref_93 + language: + default: + name: tags + description: Resource tags + az: + name: tags + description: Resource tags + mapsto: tags + cli: *ref_94 + protocol: {} + signatureParameters: + - *ref_95 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_96 + - *ref_97 + responses: + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_34 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksPatch: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + parameters: + tags: {} + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network + responses: + '200': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + '201': + body: + name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: location - description: The geo-location where the resource lives + name: update + description: Updates the specified Managed Network resource tags. az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 + name: update + description: Updates the specified Managed Network resource tags. + command: managed-network managed-network update + cli: + name: Update + description: Updates the specified Managed Network resource tags. + cliKey: Update protocol: {} - - &ref_110 - schema: *ref_13 - implementation: Method - originalParameter: *ref_107 - pathToProperty: [] - targetProperty: *ref_108 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_99 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_100 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_101 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks' + method: get + uri: '{$host}' + signatureParameters: + - *ref_99 + - *ref_100 + - *ref_101 + responses: + - schema: *ref_102 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksListByResourceGroup: + parameters: + api-version: '2019-06-01' + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' + value: + - name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + x-ms-pageable: + nextLinkName: nextLink language: default: - name: assigned_managed_network - description: The managed network ID with scope will be assigned to. + name: list_by_resource_group + description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. + paging: + nextLinkName: nextLink az: - name: assigned-managed-network - description: The managed network ID with scope will be assigned to. - mapsto: assigned_managed_network - cli: *ref_22 + name: list + description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. + command: managed-network managed-network list + cli: + name: ListByResourceGroup + description: The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. + cliKey: ListByResourceGroup + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_103 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_104 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks' + method: get + uri: '{$host}' + signatureParameters: + - *ref_103 + - *ref_104 + responses: + - schema: *ref_102 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksListBySubscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subscriptionA + title: Get Managed Network + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10' + value: + - name: myManagedNetwork + type: Microsoft.ManagedNetwork/managedNetworks + id: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + location: eastus + properties: + connectivity: + groups: [] + peerings: [] + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + scope: + managementGroups: + - id: /providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000 + - id: /providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000 + subnets: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB + subscriptions: + - id: subscriptionA + - id: subscriptionB + virtualNetworks: + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + tags: {} + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. + paging: + nextLinkName: nextLink + az: + name: list + description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. + command: managed-network managed-network list + cli: + name: ListBySubscription + description: The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. + cliKey: ListBySubscription protocol: {} - signatureParameters: - - *ref_109 - - *ref_110 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_111 - - *ref_112 - responses: - - schema: *ref_24 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_24 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsPut: - parameters: - api-version: '2019-06-01' - parameters: - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - scope: subscriptions/subscriptionC - scopeAssignmentName: subscriptionCAssignment - title: Create/Update Managed Network - responses: - '200': - body: - name: subscriptionCAssignment - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - '201': - body: - name: subscriptionCAssignment - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - language: - default: - name: create_or_update - description: Creates a scope assignment. - az: - name: create - description: Creates a scope assignment. - command: managed-network scope-assignment create - cli: - name: CreateOrUpdate - description: Creates a scope assignment. - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - &ref_113 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: The scope of the scope assignment to delete. - serializedName: scope - az: - name: scope - description: The scope of the scope assignment to delete. - mapsto: scope - cli: - name: scope - description: The scope of the scope assignment to delete. - cliKey: scope - protocol: - http: - in: path - - &ref_114 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: scope_assignment_name - description: The name of the scope assignment to delete. - serializedName: scopeAssignmentName - az: - name: scope-assignment-name - description: The name of the scope assignment to delete. - mapsto: scope_assignment_name - cli: - name: scopeAssignmentName - description: The name of the scope assignment to delete. - cliKey: scopeAssignmentName - protocol: - http: - in: path - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_113 - - *ref_114 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - exceptions: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsDelete: - parameters: - api-version: '2019-06-01' - scope: subscriptions/subscriptionC - scopeAssignmentName: subscriptionCAssignment - title: Create/Update Managed Network - responses: - '200': {} - language: - default: - name: delete - description: Deletes a scope assignment. - az: - name: delete - description: Deletes a scope assignment. - command: managed-network scope-assignment delete - cli: - name: Delete - description: Deletes a scope assignment. - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - &ref_115 - schema: *ref_1 - implementation: Method - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: scope - description: The base resource of the scope assignment. - serializedName: scope - az: - name: scope - description: The base resource of the scope assignment. - mapsto: scope - cli: - name: scope - description: The base resource of the scope assignment. - cliKey: scope - protocol: - http: - in: path - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments' - method: get - uri: '{$host}' - signatureParameters: - - *ref_115 - responses: - - schema: *ref_116 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ScopeAssignmentsList: - parameters: - api-version: '2019-06-01' - scope: subscriptions/subscriptionC - title: Create/Update Managed Network - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10' - value: - - name: subscriptionCAssignemnt - type: Microsoft.ManagedNetwork/scopeAssignment - id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment - properties: - assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork - etag: sadf-asdf-asdf-asdf - provisioningState: Succeeded - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Get the specified scope assignment. - paging: - nextLinkName: nextLink - az: - name: list - description: Get the specified scope assignment. - command: managed-network scope-assignment list - cli: - name: List - description: Get the specified scope assignment. - cliKey: List - protocol: {} - language: - default: - name: ScopeAssignment - description: '' - az: - name: ScopeAssignment - description: '' - command: managed-network scope-assignment - hasShowCommand: true - cli: - name: ScopeAssignment - description: '' - cliKey: ScopeAssignments - protocol: {} -- $key: ManagedNetworkGroups - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_117 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_118 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_119 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_group_name - description: The name of the Managed Network Group. - serializedName: managedNetworkGroupName - az: - name: managed-network-group-name - description: The name of the Managed Network Group. - mapsto: managed_network_group_name - cli: - name: managedNetworkGroupName - description: The name of the Managed Network Group. - cliKey: managedNetworkGroupName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_117 - - *ref_118 - - *ref_119 - responses: - - schema: *ref_18 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagementNetworkGroupsGet: - parameters: - api-version: '2019-06-01' - managedNetworkGroupName: myManagedNetworkGroup1 - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Group - responses: - '200': - body: - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB language: default: - name: get - description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' + name: ManagedNetwork + description: '' az: - name: show - description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' - command: managed-network managed-network-group show + name: ManagedNetwork + description: '' + command: managed-network managed-network + hasShowCommand: true cli: - name: Get - description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' - cliKey: Get + name: ManagedNetwork + description: '' + cliKey: ManagedNetworks protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_132 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_133 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_group_name - description: The name of the Managed Network Group. - serializedName: managedNetworkGroupName - az: - name: managed-network-group-name - description: The name of the Managed Network Group. - mapsto: managed_network_group_name - cli: - name: managedNetworkGroupName - description: The name of the Managed Network Group. - cliKey: managedNetworkGroupName - protocol: - http: - in: path - requests: - - parameters: - - &ref_120 - schema: *ref_18 - flattened: true - implementation: Method - required: true + - $key: ScopeAssignments + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_105 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: The base resource of the scope assignment. + serializedName: scope + az: + name: scope + description: The base resource of the scope assignment. + mapsto: scope + cli: + name: scope + description: The base resource of the scope assignment. + cliKey: scope + protocol: + http: + in: path + - &ref_106 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: scope_assignment_name + description: The name of the scope assignment to get. + serializedName: scopeAssignmentName + az: + name: scope-assignment-name + description: The name of the scope assignment to get. + mapsto: scope_assignment_name + cli: + name: scopeAssignmentName + description: The name of the scope assignment to get. + cliKey: scopeAssignmentName + protocol: + http: + in: path + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_105 + - *ref_106 + responses: + - schema: *ref_24 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ScopeAssignmentsGet: + parameters: + api-version: '2019-06-01' + scope: subscriptions/subscriptionC + scopeAssignmentName: subscriptionCAssignment + title: Create/Update Managed Network + responses: + '200': + body: + name: subscriptionCAssignment + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + language: + default: + name: get + description: Get the specified scope assignment. + az: + name: show + description: Get the specified scope assignment. + command: managed-network scope-assignment show + cli: + name: Get + description: Get the specified scope assignment. + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_111 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: >- + The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + serializedName: scope + az: + name: scope + description: >- + The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + mapsto: scope + cli: + name: scope + description: >- + The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + cliKey: scope + protocol: + http: + in: path + - &ref_112 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: scope_assignment_name + description: The name of the scope assignment to create. + serializedName: scopeAssignmentName + az: + name: scope-assignment-name + description: The name of the scope assignment to create. + mapsto: scope_assignment_name + cli: + name: scopeAssignmentName + description: The name of the scope assignment to create. + cliKey: scopeAssignmentName + protocol: + http: + in: path + - *ref_71 + requests: + - parameters: + - &ref_107 + schema: *ref_24 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _parameters + description: Parameters supplied to the specify which Managed Network this scope is being assigned + az: + name: _parameters + description: Parameters supplied to the specify which Managed Network this scope is being assigned + mapsto: _parameters + cli: + name: _parameters + description: Parameters supplied to the specify which Managed Network this scope is being assigned + cliKey: parameters + protocol: + http: + in: body + style: json + - &ref_109 + schema: *ref_39 + implementation: Method + originalParameter: *ref_107 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - &ref_110 + schema: *ref_13 + implementation: Method + originalParameter: *ref_107 + pathToProperty: [] + targetProperty: *ref_108 + language: + default: + name: assigned_managed_network + description: The managed network ID with scope will be assigned to. + az: + name: assigned-managed-network + description: The managed network ID with scope will be assigned to. + mapsto: assigned_managed_network + cli: *ref_22 + protocol: {} + signatureParameters: + - *ref_109 + - *ref_110 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_111 + - *ref_112 + responses: + - schema: *ref_24 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_24 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ScopeAssignmentsPut: + parameters: + api-version: '2019-06-01' + parameters: + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + scope: subscriptions/subscriptionC + scopeAssignmentName: subscriptionCAssignment + title: Create/Update Managed Network + responses: + '200': + body: + name: subscriptionCAssignment + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + '201': + body: + name: subscriptionCAssignment + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded language: default: - name: _managed_network_group - description: Parameters supplied to the create/update a Managed Network Group resource + name: create_or_update + description: Creates a scope assignment. az: - name: _managed_network_group - description: Parameters supplied to the create/update a Managed Network Group resource - mapsto: _managed_network_group + name: create + description: Creates a scope assignment. + command: managed-network scope-assignment create cli: - name: _managed_network_group - description: Parameters supplied to the create/update a Managed Network Group resource - cliKey: managedNetworkGroup - protocol: - http: - in: body - style: json - - &ref_127 - schema: *ref_39 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_77 - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 - protocol: {} - - schema: *ref_25 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_121 - language: - default: - name: kind - description: Responsibility role under which this Managed Network Group will be created - az: - name: kind - description: Responsibility role under which this Managed Network Group will be created - mapsto: kind - cli: *ref_122 + name: CreateOrUpdate + description: Creates a scope assignment. + cliKey: CreateOrUpdate protocol: {} - - &ref_128 - schema: *ref_26 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_123 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_113 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: The scope of the scope assignment to delete. + serializedName: scope + az: + name: scope + description: The scope of the scope assignment to delete. + mapsto: scope + cli: + name: scope + description: The scope of the scope assignment to delete. + cliKey: scope + protocol: + http: + in: path + - &ref_114 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: scope_assignment_name + description: The name of the scope assignment to delete. + serializedName: scopeAssignmentName + az: + name: scope-assignment-name + description: The name of the scope assignment to delete. + mapsto: scope_assignment_name + cli: + name: scopeAssignmentName + description: The name of the scope assignment to delete. + cliKey: scopeAssignmentName + protocol: + http: + in: path + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_113 + - *ref_114 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + exceptions: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - default extensions: - x-ms-client-flatten: false - language: - default: - name: management_groups - description: The collection of management groups covered by the Managed Network - az: - name: management-groups - description: The collection of management groups covered by the Managed Network - mapsto: management_groups - cli: *ref_27 - protocol: {} - - &ref_129 - schema: *ref_28 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_124 - language: - default: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - az: - name: subscriptions - description: The collection of subscriptions covered by the Managed Network - mapsto: subscriptions - cli: *ref_29 - protocol: {} - - &ref_130 - schema: *ref_30 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_125 + x-ms-examples: + ScopeAssignmentsDelete: + parameters: + api-version: '2019-06-01' + scope: subscriptions/subscriptionC + scopeAssignmentName: subscriptionCAssignment + title: Create/Update Managed Network + responses: + '200': {} language: default: - name: virtual_networks - description: The collection of virtual nets covered by the Managed Network + name: delete + description: Deletes a scope assignment. az: - name: virtual-networks - description: The collection of virtual nets covered by the Managed Network - mapsto: virtual_networks - cli: *ref_31 + name: delete + description: Deletes a scope assignment. + command: managed-network scope-assignment delete + cli: + name: Delete + description: Deletes a scope assignment. + cliKey: Delete protocol: {} - - &ref_131 - schema: *ref_32 - implementation: Method - originalParameter: *ref_120 - pathToProperty: [] - targetProperty: *ref_126 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - &ref_115 + schema: *ref_1 + implementation: Method + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: scope + description: The base resource of the scope assignment. + serializedName: scope + az: + name: scope + description: The base resource of the scope assignment. + mapsto: scope + cli: + name: scope + description: The base resource of the scope assignment. + cliKey: scope + protocol: + http: + in: path + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments' + method: get + uri: '{$host}' + signatureParameters: + - *ref_115 + responses: + - schema: *ref_116 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ScopeAssignmentsList: + parameters: + api-version: '2019-06-01' + scope: subscriptions/subscriptionC + title: Create/Update Managed Network + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10' + value: + - name: subscriptionCAssignemnt + type: Microsoft.ManagedNetwork/scopeAssignment + id: /subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment + properties: + assignedManagedNetwork: /subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork + etag: sadf-asdf-asdf-asdf + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink language: default: - name: subnets - description: The collection of subnets covered by the Managed Network + name: list + description: Get the specified scope assignment. + paging: + nextLinkName: nextLink az: - name: subnets - description: The collection of subnets covered by the Managed Network - mapsto: subnets - cli: *ref_33 + name: list + description: Get the specified scope assignment. + command: managed-network scope-assignment list + cli: + name: List + description: Get the specified scope assignment. + cliKey: List protocol: {} - signatureParameters: - - *ref_127 - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_132 - - *ref_133 - - *ref_134 - responses: - - schema: *ref_18 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_18 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagementNetworkGroupsPut: - parameters: - api-version: '2019-06-01' - managedNetworkGroup: - properties: - managementGroups: [] - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - managedNetworkGroupName: myManagedNetworkGroup1 - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network Group - responses: - '200': - body: - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - '201': - body: - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - properties: - etag: asdf-asdf-asdf1 - managementGroups: [] - provisioningState: Succeeded - subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA - subscriptions: [] - virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource - az: - name: create - description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource - command: managed-network managed-network-group create - cli: - name: CreateOrUpdate - description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_135 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_group_name - description: The name of the Managed Network Group. - serializedName: managedNetworkGroupName - az: - name: managed-network-group-name - description: The name of the Managed Network Group. - mapsto: managed_network_group_name - cli: - name: managedNetworkGroupName - description: The name of the Managed Network Group. - cliKey: managedNetworkGroupName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - - *ref_137 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagementNetworkGroupsDelete: - parameters: - api-version: '2019-06-01' - managedNetworkGroupName: myManagedNetworkGroup1 - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Delete Managed Network Group - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation language: default: - name: delete - description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' + name: ScopeAssignment + description: '' az: - name: delete - description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' - command: managed-network managed-network-group delete + name: ScopeAssignment + description: '' + command: managed-network scope-assignment + hasShowCommand: true cli: - name: Delete - description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' - cliKey: Delete + name: ScopeAssignment + description: '' + cliKey: ScopeAssignments protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_138 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_139 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_140 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_141 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups' - method: get - uri: '{$host}' - signatureParameters: - - *ref_138 - - *ref_139 - - *ref_140 - - *ref_141 - responses: - - schema: *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworksGroupsListByManagedNetwork: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Group - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups?api-version=2019-06-01&$skipToken=10' - value: - - name: myManagedNetworkGroup1 - type: Microsoft.ManagedNetwork/managedNetworkGroups - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + - $key: ManagedNetworkGroups + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_117 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_118 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_119 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_group_name + description: The name of the Managed Network Group. + serializedName: managedNetworkGroupName + az: + name: managed-network-group-name + description: The name of the Managed Network Group. + mapsto: managed_network_group_name + cli: + name: managedNetworkGroupName + description: The name of the Managed Network Group. + cliKey: managedNetworkGroupName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_117 + - *ref_118 + - *ref_119 + responses: + - schema: *ref_18 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagementNetworkGroupsGet: + parameters: + api-version: '2019-06-01' + managedNetworkGroupName: myManagedNetworkGroup1 + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Group + responses: + '200': + body: + name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + language: + default: + name: get + description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' + az: + name: show + description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' + command: managed-network managed-network-group show + cli: + name: Get + description: 'The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name' + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_132 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_133 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_group_name + description: The name of the Managed Network Group. + serializedName: managedNetworkGroupName + az: + name: managed-network-group-name + description: The name of the Managed Network Group. + mapsto: managed_network_group_name + cli: + name: managedNetworkGroupName + description: The name of the Managed Network Group. + cliKey: managedNetworkGroupName + protocol: + http: + in: path + requests: + - parameters: + - &ref_120 + schema: *ref_18 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _managed_network_group + description: Parameters supplied to the create/update a Managed Network Group resource + az: + name: _managed_network_group + description: Parameters supplied to the create/update a Managed Network Group resource + mapsto: _managed_network_group + cli: + name: _managed_network_group + description: Parameters supplied to the create/update a Managed Network Group resource + cliKey: managedNetworkGroup + protocol: + http: + in: body + style: json + - &ref_127 + schema: *ref_39 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - schema: *ref_25 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_121 + language: + default: + name: kind + description: Responsibility role under which this Managed Network Group will be created + az: + name: kind + description: Responsibility role under which this Managed Network Group will be created + mapsto: kind + cli: *ref_122 + protocol: {} + - &ref_128 + schema: *ref_26 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_123 + extensions: + x-ms-client-flatten: false + language: + default: + name: management_groups + description: The collection of management groups covered by the Managed Network + az: + name: management-groups + description: The collection of management groups covered by the Managed Network + mapsto: management_groups + cli: *ref_27 + protocol: {} + - &ref_129 + schema: *ref_28 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_124 + language: + default: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + az: + name: subscriptions + description: The collection of subscriptions covered by the Managed Network + mapsto: subscriptions + cli: *ref_29 + protocol: {} + - &ref_130 + schema: *ref_30 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_125 + language: + default: + name: virtual_networks + description: The collection of virtual nets covered by the Managed Network + az: + name: virtual-networks + description: The collection of virtual nets covered by the Managed Network + mapsto: virtual_networks + cli: *ref_31 + protocol: {} + - &ref_131 + schema: *ref_32 + implementation: Method + originalParameter: *ref_120 + pathToProperty: [] + targetProperty: *ref_126 + language: + default: + name: subnets + description: The collection of subnets covered by the Managed Network + az: + name: subnets + description: The collection of subnets covered by the Managed Network + mapsto: subnets + cli: *ref_33 + protocol: {} + signatureParameters: + - *ref_127 + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_132 + - *ref_133 + - *ref_134 + responses: + - schema: *ref_18 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_18 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagementNetworkGroupsPut: + parameters: + api-version: '2019-06-01' + managedNetworkGroup: properties: - etag: asdf-asdf-asdf1 managementGroups: [] - provisioningState: Succeeded subnets: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA subscriptions: [] virtualNetworks: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_managed_network - description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. - paging: - nextLinkName: nextLink - az: - name: list - description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. - command: managed-network managed-network-group list - cli: - name: ListByManagedNetwork - description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. - cliKey: ListByManagedNetwork - protocol: {} - language: - default: - name: ManagedNetworkGroup - description: '' - az: - name: ManagedNetworkGroup - description: '' - command: managed-network managed-network-group - hasShowCommand: true - cli: - name: ManagedNetworkGroup - description: '' - cliKey: ManagedNetworkGroups - protocol: {} -- $key: ManagedNetworkPeeringPolicies - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_143 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_peering_policy_name - description: The name of the Managed Network Peering Policy. - serializedName: managedNetworkPeeringPolicyName - az: - name: policy-name - description: The name of the Managed Network Peering Policy. - mapsto: policy_name - cli: - name: policyName - description: The name of the Managed Network Peering Policy. - cliKey: managedNetworkPeeringPolicyName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_23 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesGet: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - managedNetworkPeeringPolicyName: myHubAndSpoke - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Peering Policy - responses: - '200': - body: - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke - properties: - type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 - hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded - spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - language: - default: - name: get - description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' - az: - name: show - description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' - command: managed-network managed-network-peering-policy show - cli: - name: Get - description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' - cliKey: Get - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - canSplitOperation: true - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_153 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_peering_policy_name - description: The name of the Managed Network Peering Policy. - serializedName: managedNetworkPeeringPolicyName - az: - name: policy-name - description: The name of the Managed Network Peering Policy. - mapsto: policy_name - cli: - name: policyName - description: The name of the Managed Network Peering Policy. - cliKey: managedNetworkPeeringPolicyName - protocol: - http: - in: path - requests: - - parameters: - - &ref_146 - schema: *ref_23 - flattened: true - implementation: Method - required: true + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + managedNetworkGroupName: myManagedNetworkGroup1 + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network Group + responses: + '200': + body: + name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + '201': + body: + name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource + az: + name: create + description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource + command: managed-network managed-network-group create + cli: + name: CreateOrUpdate + description: The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_135 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_group_name + description: The name of the Managed Network Group. + serializedName: managedNetworkGroupName + az: + name: managed-network-group-name + description: The name of the Managed Network Group. + mapsto: managed_network_group_name + cli: + name: managedNetworkGroupName + description: The name of the Managed Network Group. + cliKey: managedNetworkGroupName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + - *ref_137 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default extensions: - x-ms-client-flatten: true + x-ms-examples: + ManagementNetworkGroupsDelete: + parameters: + api-version: '2019-06-01' + managedNetworkGroupName: myManagedNetworkGroup1 + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Delete Managed Network Group + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation language: default: - name: _managed_network_policy - description: Parameters supplied to create/update a Managed Network Peering Policy + name: delete + description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' az: - name: _managed_network_policy - description: Parameters supplied to create/update a Managed Network Peering Policy - mapsto: _managed_network_policy + name: delete + description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' + command: managed-network managed-network-group delete cli: - name: _managed_network_policy - description: Parameters supplied to create/update a Managed Network Peering Policy - cliKey: managedNetworkPolicy - protocol: - http: - in: body - style: json - - &ref_149 - schema: *ref_39 - implementation: Method - originalParameter: *ref_146 - pathToProperty: [] - targetProperty: *ref_77 - language: - default: - name: location - description: The geo-location where the resource lives - az: - name: location - description: The geo-location where the resource lives - mapsto: location - cli: *ref_78 + name: Delete + description: 'The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name' + cliKey: Delete protocol: {} - - &ref_150 - schema: *ref_7 - implementation: Method - originalParameter: *ref_146 - pathToProperty: [] - targetProperty: *ref_147 + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_138 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_139 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_140 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_141 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups' + method: get + uri: '{$host}' + signatureParameters: + - *ref_138 + - *ref_139 + - *ref_140 + - *ref_141 + responses: + - schema: *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworksGroupsListByManagedNetwork: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Group + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups?api-version=2019-06-01&$skipToken=10' + value: + - name: myManagedNetworkGroup1 + type: Microsoft.ManagedNetwork/managedNetworkGroups + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + properties: + etag: asdf-asdf-asdf1 + managementGroups: [] + provisioningState: Succeeded + subnets: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA + subscriptions: [] + virtualNetworks: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB + x-ms-pageable: + nextLinkName: nextLink language: default: - name: properties - description: Gets or sets the properties of a Managed Network Policy + name: list_by_managed_network + description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. + paging: + nextLinkName: nextLink az: - name: properties - description: Gets or sets the properties of a Managed Network Policy - mapsto: properties - cli: *ref_148 + name: list + description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. + command: managed-network managed-network-group list + cli: + name: ListByManagedNetwork + description: The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. + cliKey: ListByManagedNetwork protocol: {} - signatureParameters: - - *ref_149 - - *ref_150 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - - *ref_153 - responses: - - schema: *ref_23 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_23 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesPut: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - managedNetworkPeeringPolicyName: myHubAndSpoke - managedNetworkPolicy: - properties: - type: HubAndSpokeTopology - hub: - id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - spokes: - - id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Create/Update Managed Network Peering Policy - responses: - '200': - body: - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke - properties: - type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 - hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded - spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - '201': - body: - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke - properties: - type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 - hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded - spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy - az: - name: create - description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy - command: managed-network managed-network-peering-policy create - cli: - name: CreateOrUpdate - description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_peering_policy_name - description: The name of the Managed Network Peering Policy. - serializedName: managedNetworkPeeringPolicyName - az: - name: policy-name - description: The name of the Managed Network Peering Policy. - mapsto: policy_name - cli: - name: policyName - description: The name of the Managed Network Peering Policy. - cliKey: managedNetworkPeeringPolicyName - protocol: - http: - in: path - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesDelete: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - managedNetworkPeeringPolicyName: myHubAndSpoke - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Peering Policy - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation language: default: - name: delete - description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + name: ManagedNetworkGroup + description: '' az: - name: delete - description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' - command: managed-network managed-network-peering-policy delete + name: ManagedNetworkGroup + description: '' + command: managed-network managed-network-group + hasShowCommand: true cli: - name: Delete - description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' - cliKey: Delete + name: ManagedNetworkGroup + description: '' + cliKey: ManagedNetworkGroups protocol: {} - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - - *ref_72 - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. - serializedName: resourceGroupName - az: - name: resource-group-name - description: The name of the resource group. - mapsto: resource_group_name - cli: - name: resourceGroupName - description: The name of the resource group. - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_158 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: managed_network_name - description: The name of the Managed Network. - serializedName: managedNetworkName - az: - name: managed-network-name - description: The name of the Managed Network. - mapsto: managed_network_name - cli: - name: managedNetworkName - description: The name of the Managed Network. - cliKey: managedNetworkName - protocol: - http: - in: path - - &ref_159 - schema: *ref_98 - implementation: Method - language: - default: - name: top - description: May be used to limit the number of results in a page for list queries. - serializedName: $top - az: - name: top - description: May be used to limit the number of results in a page for list queries. - mapsto: top - cli: - name: top - description: May be used to limit the number of results in a page for list queries. - cliKey: $top - protocol: - http: - in: query - - &ref_160 - schema: *ref_1 - implementation: Method - language: - default: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - serializedName: $skiptoken - az: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - mapsto: skiptoken - cli: - name: skiptoken - description: >- - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point - to use for subsequent calls. - cliKey: $skiptoken - protocol: - http: - in: query - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies' - method: get - uri: '{$host}' - signatureParameters: - - *ref_157 - - *ref_158 - - *ref_159 - - *ref_160 - responses: - - schema: *ref_161 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - ManagedNetworkPeeringPoliciesListByManagedNetwork: - parameters: - api-version: '2019-06-01' - managedNetworkName: myManagedNetwork - resourceGroupName: myResourceGroup - subscriptionId: subscriptionA - title: Get Managed Network Group - responses: - '200': - body: - nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10' - value: - - name: myHubAndSpoke - type: Microsoft.ManagedNetwork/peeringPolicies - id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + - $key: ManagedNetworkPeeringPolicies + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_143 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_peering_policy_name + description: The name of the Managed Network Peering Policy. + serializedName: managedNetworkPeeringPolicyName + az: + name: policy-name + description: The name of the Managed Network Peering Policy. + mapsto: policy_name + cli: + name: policyName + description: The name of the Managed Network Peering Policy. + cliKey: managedNetworkPeeringPolicyName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_23 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesGet: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + managedNetworkPeeringPolicyName: myHubAndSpoke + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Peering Policy + responses: + '200': + body: + name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + language: + default: + name: get + description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' + az: + name: show + description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' + command: managed-network managed-network-peering-policy show + cli: + name: Get + description: 'The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name' + cliKey: Get + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_153 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_peering_policy_name + description: The name of the Managed Network Peering Policy. + serializedName: managedNetworkPeeringPolicyName + az: + name: policy-name + description: The name of the Managed Network Peering Policy. + mapsto: policy_name + cli: + name: policyName + description: The name of the Managed Network Peering Policy. + cliKey: managedNetworkPeeringPolicyName + protocol: + http: + in: path + requests: + - parameters: + - &ref_146 + schema: *ref_23 + flattened: true + implementation: Method + required: true + extensions: + x-ms-client-flatten: true + language: + default: + name: _managed_network_policy + description: Parameters supplied to create/update a Managed Network Peering Policy + az: + name: _managed_network_policy + description: Parameters supplied to create/update a Managed Network Peering Policy + mapsto: _managed_network_policy + cli: + name: _managed_network_policy + description: Parameters supplied to create/update a Managed Network Peering Policy + cliKey: managedNetworkPolicy + protocol: + http: + in: body + style: json + - &ref_149 + schema: *ref_39 + implementation: Method + originalParameter: *ref_146 + pathToProperty: [] + targetProperty: *ref_77 + language: + default: + name: location + description: The geo-location where the resource lives + az: + name: location + description: The geo-location where the resource lives + mapsto: location + cli: *ref_78 + protocol: {} + - &ref_150 + schema: *ref_7 + implementation: Method + originalParameter: *ref_146 + pathToProperty: [] + targetProperty: *ref_147 + language: + default: + name: properties + description: Gets or sets the properties of a Managed Network Policy + az: + name: properties + description: Gets or sets the properties of a Managed Network Policy + mapsto: properties + cli: *ref_148 + protocol: {} + signatureParameters: + - *ref_149 + - *ref_150 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + - *ref_153 + responses: + - schema: *ref_23 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_23 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesPut: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + managedNetworkPeeringPolicyName: myHubAndSpoke + managedNetworkPolicy: properties: type: HubAndSpokeTopology - etag: asdf-asdf-asdf2 hub: - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet - provisioningState: Succeeded + id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet spokes: - - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 - x-ms-pageable: - nextLinkName: nextLink + - id: /subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Create/Update Managed Network Peering Policy + responses: + '200': + body: + name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + '201': + body: + name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy + az: + name: create + description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy + command: managed-network managed-network-peering-policy create + cli: + name: CreateOrUpdate + description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_peering_policy_name + description: The name of the Managed Network Peering Policy. + serializedName: managedNetworkPeeringPolicyName + az: + name: policy-name + description: The name of the Managed Network Peering Policy. + mapsto: policy_name + cli: + name: policyName + description: The name of the Managed Network Peering Policy. + cliKey: managedNetworkPeeringPolicyName + protocol: + http: + in: path + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesDelete: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + managedNetworkPeeringPolicyName: myHubAndSpoke + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Peering Policy + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + az: + name: delete + description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + command: managed-network managed-network-peering-policy delete + cli: + name: Delete + description: 'The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name' + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + - *ref_72 + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. + serializedName: resourceGroupName + az: + name: resource-group-name + description: The name of the resource group. + mapsto: resource_group_name + cli: + name: resourceGroupName + description: The name of the resource group. + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_158 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: managed_network_name + description: The name of the Managed Network. + serializedName: managedNetworkName + az: + name: managed-network-name + description: The name of the Managed Network. + mapsto: managed_network_name + cli: + name: managedNetworkName + description: The name of the Managed Network. + cliKey: managedNetworkName + protocol: + http: + in: path + - &ref_159 + schema: *ref_98 + implementation: Method + language: + default: + name: top + description: May be used to limit the number of results in a page for list queries. + serializedName: $top + az: + name: top + description: May be used to limit the number of results in a page for list queries. + mapsto: top + cli: + name: top + description: May be used to limit the number of results in a page for list queries. + cliKey: $top + protocol: + http: + in: query + - &ref_160 + schema: *ref_1 + implementation: Method + language: + default: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + serializedName: $skiptoken + az: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + mapsto: skiptoken + cli: + name: skiptoken + description: >- + Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting + point to use for subsequent calls. + cliKey: $skiptoken + protocol: + http: + in: query + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies' + method: get + uri: '{$host}' + signatureParameters: + - *ref_157 + - *ref_158 + - *ref_159 + - *ref_160 + responses: + - schema: *ref_161 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + ManagedNetworkPeeringPoliciesListByManagedNetwork: + parameters: + api-version: '2019-06-01' + managedNetworkName: myManagedNetwork + resourceGroupName: myResourceGroup + subscriptionId: subscriptionA + title: Get Managed Network Group + responses: + '200': + body: + nextLink: '{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10' + value: + - name: myHubAndSpoke + type: Microsoft.ManagedNetwork/peeringPolicies + id: /subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke + properties: + type: HubAndSpokeTopology + etag: asdf-asdf-asdf2 + hub: + id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet + provisioningState: Succeeded + spokes: + - id: /subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_managed_network + description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' + paging: + nextLinkName: nextLink + az: + name: list + description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' + command: managed-network managed-network-peering-policy list + cli: + name: ListByManagedNetwork + description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' + cliKey: ListByManagedNetwork + protocol: {} language: default: - name: list_by_managed_network - description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' - paging: - nextLinkName: nextLink + name: ManagedNetworkPeeringPolicy + description: '' az: - name: list - description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' - command: managed-network managed-network-peering-policy list + name: ManagedNetworkPeeringPolicy + description: '' + command: managed-network managed-network-peering-policy + hasShowCommand: true cli: - name: ListByManagedNetwork - description: 'The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.' - cliKey: ListByManagedNetwork + name: ManagedNetworkPeeringPolicy + description: '' + cliKey: ManagedNetworkPeeringPolicies protocol: {} - language: - default: - name: ManagedNetworkPeeringPolicy - description: '' - az: - name: ManagedNetworkPeeringPolicy - description: '' - command: managed-network managed-network-peering-policy - hasShowCommand: true - cli: - name: ManagedNetworkPeeringPolicy - description: '' - cliKey: ManagedNetworkPeeringPolicies - protocol: {} -- $key: Operations - operations: - - apiVersions: - - version: 2019-06-01-preview - parameters: - - *ref_70 - - *ref_71 - requests: - - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.ManagedNetwork/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_75 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-pageable: - nextLinkName: nextLink + - $key: Operations + operations: + - apiVersions: + - version: 2019-06-01-preview + parameters: + - *ref_70 + - *ref_71 + requests: + - language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.ManagedNetwork/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_75 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists all of the available MNC operations. + paging: + nextLinkName: nextLink + az: + name: list + description: Lists all of the available MNC operations. + command: managed-network operation list + cli: + name: List + description: Lists all of the available MNC operations. + cliKey: List + hidden: true + protocol: {} language: default: - name: list - description: Lists all of the available MNC operations. - paging: - nextLinkName: nextLink + name: Operation + description: '' az: - name: list - description: Lists all of the available MNC operations. - command: managed-network operation list + name: Operation + description: '' + command: managed-network operation cli: - name: List - description: Lists all of the available MNC operations. - cliKey: List - hidden: true + name: Operation + description: '' + cliKey: Operations protocol: {} - language: - default: - name: Operation - description: '' - az: - name: Operation - description: '' - command: managed-network operation - cli: - name: Operation - description: '' - cliKey: Operations - protocol: {} language: default: name: ManagedNetworkManagementClient diff --git a/src/test/scenarios/datafactory/configuration/readme.az.md b/src/test/scenarios/datafactory/configuration/readme.az.md index 1fe5d301f..312e47787 100644 --- a/src/test/scenarios/datafactory/configuration/readme.az.md +++ b/src/test/scenarios/datafactory/configuration/readme.az.md @@ -34,4 +34,9 @@ cli: op: CreateOrUpdate param: properties poly-resource: true + - where: + group: Triggers + op: CreateOrUpdate#Update + param: properties + cli-flatten: true ``` diff --git a/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_help.py b/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_help.py index de46bb782..0f91ce440 100644 --- a/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_help.py +++ b/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_help.py @@ -213,19 +213,11 @@ - name: Triggers_Create text: |- az datafactory trigger update --factory-name "exampleFactoryName" --resource-group \ -"exampleResourceGroup" --properties "{\\"type\\":\\"ScheduleTrigger\\",\\"pipelines\\":[{\\"parameters\\":{\\"OutputBlo\ -bNameList\\":[\\"exampleoutput.csv\\"]},\\"pipelineReference\\":{\\"type\\":\\"PipelineReference\\",\\"referenceName\\"\ -:\\"examplePipeline\\"}}],\\"typeProperties\\":{\\"recurrence\\":{\\"endTime\\":\\"2018-06-16T00:55:13.8441801Z\\",\\"f\ -requency\\":\\"Minute\\",\\"interval\\":4,\\"startTime\\":\\"2018-06-16T00:39:13.8441801Z\\",\\"timeZone\\":\\"UTC\\"}}\ -}" --name "exampleTrigger" +"exampleResourceGroup" --name "exampleTrigger" - name: Triggers_Update text: |- az datafactory trigger update --factory-name "exampleFactoryName" --resource-group \ -"exampleResourceGroup" --properties "{\\"type\\":\\"ScheduleTrigger\\",\\"description\\":\\"Example \ -description\\",\\"pipelines\\":[{\\"parameters\\":{\\"OutputBlobNameList\\":[\\"exampleoutput.csv\\"]},\\"pipelineRefer\ -ence\\":{\\"type\\":\\"PipelineReference\\",\\"referenceName\\":\\"examplePipeline\\"}}],\\"typeProperties\\":{\\"recur\ -rence\\":{\\"endTime\\":\\"2018-06-16T00:55:14.905167Z\\",\\"frequency\\":\\"Minute\\",\\"interval\\":4,\\"startTime\\"\ -:\\"2018-06-16T00:39:14.905167Z\\",\\"timeZone\\":\\"UTC\\"}}}" --name "exampleTrigger" +"exampleResourceGroup" --description "Example description" --name "exampleTrigger" """ helps['datafactory trigger delete'] = """ diff --git a/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_params.py b/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_params.py index f344e698d..93df43388 100644 --- a/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_params.py +++ b/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/_params.py @@ -116,8 +116,10 @@ def load_arguments(self, _): c.argument('trigger_name', options_list=['--name', '-n'], help='The trigger name.', id_part='child_name_1') c.argument('if_match', help='ETag of the trigger entity. Should only be specified for update, for which it ' 'should match existing entity or can be * for unconditional update.') - c.argument('properties', type=validate_file_or_dict, help='Properties of the trigger. Expected value: ' - 'json-string/@json-file.') + c.argument('description', help='Trigger description.') + c.argument('annotations', type=validate_file_or_dict, help='List of tags that can be used for describing the ' + 'trigger. Expected value: json-string/@json-file.') + c.ignore('properties') with self.argument_context('datafactory trigger delete') as c: c.argument('resource_group_name', resource_group_name_type) diff --git a/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/custom.py b/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/custom.py index 7643d3029..ad6bc6532 100644 --- a/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/custom.py +++ b/src/test/scenarios/datafactory/output/src/datafactory/azext_datafactory/generated/custom.py @@ -162,7 +162,11 @@ def datafactory_trigger_update(instance, resource_group_name, factory_name, trigger_name, - if_match=None): + if_match=None, + description=None, + annotations=None): + instance.description = description + instance.annotations = annotations return instance diff --git a/src/test/scenarios/datafactory/output/src/datafactory/report.md b/src/test/scenarios/datafactory/output/src/datafactory/report.md index 8e592065c..eb25ad24e 100644 --- a/src/test/scenarios/datafactory/output/src/datafactory/report.md +++ b/src/test/scenarios/datafactory/output/src/datafactory/report.md @@ -34,7 +34,7 @@ create a datafactory. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|create|CreateOrUpdate#Create| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -279,7 +279,7 @@ managed create a datafactory integration-runtime. #### Methods |Name (az)|Swagger name| |---------|------------| -|managed create|CreateOrUpdate#Managed| +|managed create|CreateOrUpdate#Create#Managed| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -352,7 +352,7 @@ self-hosted create a datafactory integration-runtime. #### Methods |Name (az)|Swagger name| |---------|------------| -|self-hosted create|CreateOrUpdate#SelfHosted| +|self-hosted create|CreateOrUpdate#Create#SelfHosted| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -546,7 +546,7 @@ create a datafactory trigger. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|create|CreateOrUpdate#Create| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -749,7 +749,7 @@ unsubscribe-from-event a datafactory trigger. ### datafactory trigger update -create a datafactory trigger. +update a datafactory trigger. #### Command group |Name (az)|Swagger name| @@ -759,7 +759,7 @@ create a datafactory trigger. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|update|CreateOrUpdate#Update| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -767,8 +767,9 @@ create a datafactory trigger. |**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--trigger-name**|string|The trigger name.|trigger_name|triggerName| -|**--properties**|object|Properties of the trigger.|properties|properties| |**--if-match**|string|ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--description**|string|Trigger description.|properties_description|description| +|**--annotations**|array|List of tags that can be used for describing the trigger.|properties_annotations|annotations| ### datafactory update diff --git a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_help.py b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_help.py index fc51e9be5..fd46cefc6 100644 --- a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_help.py +++ b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_help.py @@ -252,6 +252,10 @@ text: |- az managed-network mn group wait --group-name "myManagedNetworkGroup1" --managed-network-name \ "myManagedNetwork" --resource-group "myResourceGroup" --created + - name: Pause executing next line of CLI script until the managed-network mn group is successfully updated. + text: |- + az managed-network mn group wait --group-name "myManagedNetworkGroup1" --managed-network-name \ +"myManagedNetwork" --resource-group "myResourceGroup" --updated - name: Pause executing next line of CLI script until the managed-network mn group is successfully deleted. text: |- az managed-network mn group wait --group-name "myManagedNetworkGroup1" --managed-network-name \ @@ -327,7 +331,12 @@ 1" --resource-group "myResourceGroup" """ -helps['managed-network managed-network-peering-policy hub-and-spoke-topology update'] = """ +helps['managed-network managed-network-peering-policy mesh-topology'] = """ + type: group + short-summary: managed-network managed-network-peering-policy sub group mesh-topology +""" + +helps['managed-network managed-network-peering-policy mesh-topology create'] = """ type: command short-summary: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering \ Policy @@ -357,19 +366,14 @@ examples: - name: Create/Update Managed Network Peering Policy text: |- - az managed-network managed-network-peering-policy hub-and-spoke-topology update --managed-network-name \ + az managed-network managed-network-peering-policy mesh-topology create --managed-network-name \ "myManagedNetwork" --policy-name "myHubAndSpoke" --hub id="/subscriptions/subscriptionB/resourceGroups/myResourceGroup/\ providers/Microsoft.Network/virtualNetworks/myHubVnet" --spokes id="/subscriptions/subscriptionB/resourceGroups/myResou\ rceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup\ 1" --resource-group "myResourceGroup" """ -helps['managed-network managed-network-peering-policy mesh-topology'] = """ - type: group - short-summary: managed-network managed-network-peering-policy sub group mesh-topology -""" - -helps['managed-network managed-network-peering-policy mesh-topology create'] = """ +helps['managed-network managed-network-peering-policy hub-and-spoke-topology update'] = """ type: command short-summary: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering \ Policy @@ -399,7 +403,7 @@ examples: - name: Create/Update Managed Network Peering Policy text: |- - az managed-network managed-network-peering-policy mesh-topology create --managed-network-name \ + az managed-network managed-network-peering-policy hub-and-spoke-topology update --managed-network-name \ "myManagedNetwork" --policy-name "myHubAndSpoke" --hub id="/subscriptions/subscriptionB/resourceGroups/myResourceGroup/\ providers/Microsoft.Network/virtualNetworks/myHubVnet" --spokes id="/subscriptions/subscriptionB/resourceGroups/myResou\ rceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup\ diff --git a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_params.py b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_params.py index c59ca5929..15ab2ace0 100644 --- a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_params.py +++ b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/_params.py @@ -174,26 +174,26 @@ def load_arguments(self, _): c.argument('spokes', action=AddSpokes, nargs='+', help='Gets or sets the spokes group IDs') c.argument('mesh', action=AddMesh, nargs='+', help='Gets or sets the mesh group IDs') - with self.argument_context('managed-network managed-network-peering-policy hub-and-spoke-topology update') as c: + with self.argument_context('managed-network managed-network-peering-policy mesh-topology create') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('managed_network_name', help='The name of the Managed Network.', id_part='name') - c.argument('policy_name', help='The name of the Managed Network Peering Policy.', id_part='child_name_1') + c.argument('managed_network_name', help='The name of the Managed Network.') + c.argument('policy_name', help='The name of the Managed Network Peering Policy.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('hub', action=AddHub, nargs='+', help='Gets or sets the hub virtual network ID') c.argument('spokes', action=AddSpokes, nargs='+', help='Gets or sets the spokes group IDs') c.argument('mesh', action=AddMesh, nargs='+', help='Gets or sets the mesh group IDs') - c.ignore('managed_network_peering_policy_name', 'properties') - with self.argument_context('managed-network managed-network-peering-policy mesh-topology create') as c: + with self.argument_context('managed-network managed-network-peering-policy hub-and-spoke-topology update') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('managed_network_name', help='The name of the Managed Network.') - c.argument('policy_name', help='The name of the Managed Network Peering Policy.') + c.argument('managed_network_name', help='The name of the Managed Network.', id_part='name') + c.argument('policy_name', help='The name of the Managed Network Peering Policy.', id_part='child_name_1') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('hub', action=AddHub, nargs='+', help='Gets or sets the hub virtual network ID') c.argument('spokes', action=AddSpokes, nargs='+', help='Gets or sets the spokes group IDs') c.argument('mesh', action=AddMesh, nargs='+', help='Gets or sets the mesh group IDs') + c.ignore('managed_network_peering_policy_name', 'properties') with self.argument_context('managed-network managed-network-peering-policy mesh-topology update') as c: c.argument('resource_group_name', resource_group_name_type) diff --git a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/commands.py b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/commands.py index e54e9726b..d992d96a8 100644 --- a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/commands.py +++ b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/commands.py @@ -66,11 +66,11 @@ def load_command_table(self, _): g.custom_show_command('show', 'managed_network_managed_network_peering_policy_show') g.custom_command('hub-and-spoke-topology create', 'managed_network_managed_network_peering_policy_hub_and_spoke' '_topology_create', supports_no_wait=True) + g.custom_command('mesh-topology create', 'managed_network_managed_network_peering_policy_mesh_topology_create', + supports_no_wait=True) g.generic_update_command('hub-and-spoke-topology update', setter_arg_name='properties', setter_name='' 'begin_create_or_update', custom_func_name='managed_network_managed_network_peering_po' 'licy_hub_and_spoke_topology_update', supports_no_wait=True) - g.custom_command('mesh-topology create', 'managed_network_managed_network_peering_policy_mesh_topology_create', - supports_no_wait=True) g.generic_update_command('mesh-topology update', setter_arg_name='properties', setter_name='' 'begin_create_or_update', custom_func_name='managed_network_managed_network_peering_po' 'licy_mesh_topology_update', supports_no_wait=True) diff --git a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/custom.py b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/custom.py index c49c23d2e..393da6e2c 100644 --- a/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/custom.py +++ b/src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/custom.py @@ -221,22 +221,6 @@ def managed_network_managed_network_peering_policy_hub_and_spoke_topology_create properties=properties) -def managed_network_managed_network_peering_policy_hub_and_spoke_topology_update(instance, - resource_group_name, - managed_network_name, - policy_name, - location, - hub=None, - spokes=None, - mesh=None, - no_wait=False): - instance.type = 'HubAndSpokeTopology' - instance.hub = hub - instance.spokes = spokes - instance.mesh = mesh - return instance - - def managed_network_managed_network_peering_policy_mesh_topology_create(client, resource_group_name, managed_network_name, @@ -260,6 +244,22 @@ def managed_network_managed_network_peering_policy_mesh_topology_create(client, properties=properties) +def managed_network_managed_network_peering_policy_hub_and_spoke_topology_update(instance, + resource_group_name, + managed_network_name, + policy_name, + location, + hub=None, + spokes=None, + mesh=None, + no_wait=False): + instance.type = 'HubAndSpokeTopology' + instance.hub = hub + instance.spokes = spokes + instance.mesh = mesh + return instance + + def managed_network_managed_network_peering_policy_mesh_topology_update(instance, resource_group_name, managed_network_name, diff --git a/src/test/scenarios/managed-network/output/src/managed-network/report.md b/src/test/scenarios/managed-network/output/src/managed-network/report.md index 36903cab7..bdf40ad9f 100644 --- a/src/test/scenarios/managed-network/output/src/managed-network/report.md +++ b/src/test/scenarios/managed-network/output/src/managed-network/report.md @@ -33,7 +33,7 @@ hub-and-spoke-topology create a managed-network managed-network-peering-policy. #### Methods |Name (az)|Swagger name| |---------|------------| -|hub-and-spoke-topology create|CreateOrUpdate#HubAndSpokeTopology| +|hub-and-spoke-topology create|CreateOrUpdate#Create#HubAndSpokeTopology| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -48,7 +48,7 @@ hub-and-spoke-topology create a managed-network managed-network-peering-policy. ### managed-network managed-network-peering-policy hub-and-spoke-topology update -hub-and-spoke-topology create a managed-network managed-network-peering-policy. +hub-and-spoke-topology update a managed-network managed-network-peering-policy. #### Command group |Name (az)|Swagger name| @@ -58,7 +58,7 @@ hub-and-spoke-topology create a managed-network managed-network-peering-policy. #### Methods |Name (az)|Swagger name| |---------|------------| -|hub-and-spoke-topology create|CreateOrUpdate#HubAndSpokeTopology| +|hub-and-spoke-topology update|CreateOrUpdate#Update#HubAndSpokeTopology| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -105,7 +105,7 @@ mesh-topology create a managed-network managed-network-peering-policy. #### Methods |Name (az)|Swagger name| |---------|------------| -|mesh-topology create|CreateOrUpdate#MeshTopology| +|mesh-topology create|CreateOrUpdate#Create#MeshTopology| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -120,7 +120,7 @@ mesh-topology create a managed-network managed-network-peering-policy. ### managed-network managed-network-peering-policy mesh-topology update -mesh-topology create a managed-network managed-network-peering-policy. +mesh-topology update a managed-network managed-network-peering-policy. #### Command group |Name (az)|Swagger name| @@ -130,7 +130,7 @@ mesh-topology create a managed-network managed-network-peering-policy. #### Methods |Name (az)|Swagger name| |---------|------------| -|mesh-topology create|CreateOrUpdate#MeshTopology| +|mesh-topology update|CreateOrUpdate#Update#MeshTopology| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -176,7 +176,7 @@ create a managed-network mn. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|create|CreateOrUpdate#Create| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -239,7 +239,7 @@ create a managed-network mn group. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|create|CreateOrUpdate#Create| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -319,7 +319,7 @@ show a managed-network mn group. ### managed-network mn group update -create a managed-network mn group. +update a managed-network mn group. #### Command group |Name (az)|Swagger name| @@ -329,7 +329,7 @@ create a managed-network mn group. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|update|CreateOrUpdate#Update| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -377,7 +377,7 @@ create a managed-network mn scope-assignment. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|create|CreateOrUpdate#Create| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -448,7 +448,7 @@ show a managed-network mn scope-assignment. ### managed-network mn scope-assignment update -create a managed-network mn scope-assignment. +update a managed-network mn scope-assignment. #### Command group |Name (az)|Swagger name| @@ -458,7 +458,7 @@ create a managed-network mn scope-assignment. #### Methods |Name (az)|Swagger name| |---------|------------| -|create|CreateOrUpdate| +|update|CreateOrUpdate#Update| #### Parameters |Option|Type|Description|Path (SDK)|Swagger name|