migrate @projectedName to @encodedName (#4885)

resolve: #4884
This commit is contained in:
Chenjie Shi 2024-02-22 15:05:44 +08:00 коммит произвёл GitHub
Родитель 1819fe1d8d
Коммит 1a40a3af06
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
171 изменённых файлов: 972 добавлений и 884 удалений

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@autorest/openapi-to-typespec",
"comment": "migrate `@projectedName` to `@encodedName`",
"type": "patch"
}
],
"packageName": "@autorest/openapi-to-typespec"
}

Просмотреть файл

@ -1,6 +1,7 @@
import { getSession } from "../autorest-session"; import { getSession } from "../autorest-session";
import { generateObjectClientDecorator } from "../generate/generate-client"; import { generateArmResourceClientDecorator, generateObjectClientDecorator } from "../generate/generate-client";
import { TypespecProgram } from "../interfaces"; import { TypespecProgram } from "../interfaces";
import { getOptions } from "../options";
import { formatTypespecFile } from "../utils/format"; import { formatTypespecFile } from "../utils/format";
import { getClientImports } from "../utils/imports"; import { getClientImports } from "../utils/imports";
import { getNamespace } from "../utils/namespace"; import { getNamespace } from "../utils/namespace";
@ -8,16 +9,33 @@ import { getNamespace } from "../utils/namespace";
export async function emitClient(filePath: string, program: TypespecProgram): Promise<void> { export async function emitClient(filePath: string, program: TypespecProgram): Promise<void> {
const content = generateClient(program); const content = generateClient(program);
if (content === "") {
return;
}
const session = getSession(); const session = getSession();
session.writeFile({ filename: filePath, content: await formatTypespecFile(content, filePath) }); session.writeFile({ filename: filePath, content: await formatTypespecFile(content, filePath) });
} }
function generateClient(program: TypespecProgram) { function generateClient(program: TypespecProgram) {
const { isArm } = getOptions();
const { models } = program; const { models } = program;
const { modules, namespaces: namespacesSet } = getClientImports(program); const { modules, namespaces: namespacesSet } = getClientImports(program);
const imports = [...new Set<string>([`import "./main.tsp";`, ...modules])].join("\n"); const imports = [...new Set<string>([`import "./main.tsp";`, ...modules])].join("\n");
const namespaces = [...new Set<string>([...namespacesSet, `using ${getNamespace(program)};`])].join("\n"); const namespaces = [...new Set<string>([...namespacesSet, `using ${getNamespace(program)};`])].join("\n");
const objects = models.objects.map(generateObjectClientDecorator).join("\n\n"); const objects = models.objects
return [imports, "\n", namespaces, "\n", objects].join("\n"); .map(generateObjectClientDecorator)
.filter((r) => r !== "")
.join("\n\n");
const armResources = isArm
? models.armResources
.map(generateArmResourceClientDecorator)
.filter((r) => r !== "")
.join("\n\n")
: "";
if (objects === "" && armResources === "") {
return "";
}
return [imports, "\n", namespaces, "\n", objects, "\n", armResources].join("\n");
} }

Просмотреть файл

@ -21,7 +21,7 @@ export function generateArmResource(resource: TspArmResource): string {
definitions.push("\n"); definitions.push("\n");
for (const o of resource.resourceOperations) { for (const o of resource.resourceOperations) {
for (const d of o.augmentedDecorators ?? []) { for (const d of o.customizations ?? []) {
definitions.push(`${d}`); definitions.push(`${d}`);
} }
} }
@ -107,7 +107,6 @@ function generateArmResourceOperation(resource: TspArmResource): string {
definitions.push("@armResourceOperations"); definitions.push("@armResourceOperations");
if (resource.name === formalOperationGroupName) { if (resource.name === formalOperationGroupName) {
definitions.push(`@projectedName("client", "${formalOperationGroupName}")`);
definitions.push(`interface ${formalOperationGroupName}OperationGroup {`); definitions.push(`interface ${formalOperationGroupName}OperationGroup {`);
} else { } else {
definitions.push(`interface ${formalOperationGroupName} {`); definitions.push(`interface ${formalOperationGroupName} {`);

Просмотреть файл

@ -1,4 +1,5 @@
import { TypespecObject } from "../interfaces"; import pluralize from "pluralize";
import { TspArmResource, TypespecObject } from "../interfaces";
import { generateAugmentedDecorators } from "../utils/decorators"; import { generateAugmentedDecorators } from "../utils/decorators";
export function generateObjectClientDecorator(typespecObject: TypespecObject) { export function generateObjectClientDecorator(typespecObject: TypespecObject) {
@ -7,10 +8,19 @@ export function generateObjectClientDecorator(typespecObject: TypespecObject) {
for (const property of typespecObject.properties) { for (const property of typespecObject.properties) {
const decorators = generateAugmentedDecorators( const decorators = generateAugmentedDecorators(
`${typespecObject.name}.${property.name}`, `${typespecObject.name}.${property.name}`,
property.augmentedDecorators, property.clientDecorators,
); );
decorators && definitions.push(decorators); decorators && definitions.push(decorators);
} }
return definitions.join("\n"); return definitions.join("\n");
} }
export function generateArmResourceClientDecorator(resource: TspArmResource): string {
const formalOperationGroupName = pluralize(resource.name);
if (resource.name === formalOperationGroupName) {
return `@@clientName(${formalOperationGroupName}OperationGroup, "${formalOperationGroupName}")`;
}
return "";
}

Просмотреть файл

@ -146,7 +146,7 @@ export interface TypespecObjectProperty extends TypespecDataType {
isOptional: boolean; isOptional: boolean;
type: string; type: string;
decorators?: TypespecDecorator[]; decorators?: TypespecDecorator[];
augmentedDecorators?: TypespecDecorator[]; clientDecorators?: TypespecDecorator[];
defaultValue?: any; defaultValue?: any;
} }
@ -202,7 +202,7 @@ export interface TspArmResourceOperationBase extends WithDoc, WithFixMe {
decorators?: TypespecDecorator[]; decorators?: TypespecDecorator[];
operationId?: string; operationId?: string;
examples?: Record<string, Record<string, unknown>>; examples?: Record<string, Record<string, unknown>>;
augmentedDecorators?: string[]; customizations?: string[];
} }
export type TspArmResourceOperation = export type TspArmResourceOperation =

Просмотреть файл

@ -244,18 +244,18 @@ function convertResourceCreateOrReplaceOperation(
} }
const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName); const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName);
const operationName = getOperationName(operation.OperationID); const operationName = getOperationName(operation.OperationID);
const augmentedDecorators = []; const customizations = [];
if (bodyParam) { if (bodyParam) {
if (bodyParam.language.default.name !== "resource") { if (bodyParam.language.default.name !== "resource") {
augmentedDecorators.push( customizations.push(
`@@projectedName(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "json", "${bodyParam.language.default.name}");`, `@@encodedName(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "application/json", "${bodyParam.language.default.name}");`,
); );
augmentedDecorators.push( customizations.push(
`@@extension(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "x-ms-client-name", "${bodyParam.language.default.name}");`, `@@extension(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "x-ms-client-name", "${bodyParam.language.default.name}");`,
); );
} }
if (bodyParam.language.default.description !== "Resource create parameters.") { if (bodyParam.language.default.description !== "Resource create parameters.") {
augmentedDecorators.push( customizations.push(
`@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "${bodyParam.language.default.description}");`, `@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "${bodyParam.language.default.description}");`,
); );
} }
@ -268,7 +268,7 @@ function convertResourceCreateOrReplaceOperation(
operationId: operation.OperationID, operationId: operation.OperationID,
templateParameters: templateParameters, templateParameters: templateParameters,
examples: swaggerOperation.extensions?.["x-ms-examples"], examples: swaggerOperation.extensions?.["x-ms-examples"],
augmentedDecorators, customizations,
}, },
]; ];
} }
@ -297,7 +297,7 @@ function convertResourceUpdateOperation(
} }
let kind; let kind;
const templateParameters = [resourceMetadata.SwaggerModelName]; const templateParameters = [resourceMetadata.SwaggerModelName];
const augmentedDecorators = []; const customizations = [];
if (bodyParam) { if (bodyParam) {
kind = isLongRunning ? "ArmCustomPatchAsync" : "ArmCustomPatchSync"; kind = isLongRunning ? "ArmCustomPatchAsync" : "ArmCustomPatchSync";
templateParameters.push(bodyParam.schema.language.default.name); templateParameters.push(bodyParam.schema.language.default.name);
@ -305,15 +305,15 @@ function convertResourceUpdateOperation(
const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName); const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName);
const operationName = getOperationName(operation.OperationID); const operationName = getOperationName(operation.OperationID);
if (bodyParam.language.default.name !== "properties") { if (bodyParam.language.default.name !== "properties") {
augmentedDecorators.push( customizations.push(
`@@projectedName(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "json", "${bodyParam.language.default.name}");`, `@@encodedName(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "application/json", "${bodyParam.language.default.name}");`,
); );
augmentedDecorators.push( customizations.push(
`@@extension(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "x-ms-client-name", "${bodyParam.language.default.name}");`, `@@extension(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "x-ms-client-name", "${bodyParam.language.default.name}");`,
); );
} }
if (bodyParam.language.default.description !== "The resource properties to be updated.") { if (bodyParam.language.default.description !== "The resource properties to be updated.") {
augmentedDecorators.push( customizations.push(
`@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "${bodyParam.language.default.description}");`, `@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "${bodyParam.language.default.description}");`,
); );
} }
@ -333,7 +333,7 @@ function convertResourceUpdateOperation(
operationId: operation.OperationID, operationId: operation.OperationID,
templateParameters, templateParameters,
examples: swaggerOperation.extensions?.["x-ms-examples"], examples: swaggerOperation.extensions?.["x-ms-examples"],
augmentedDecorators, customizations,
// To resolve auto-generate update model with proper visibility // To resolve auto-generate update model with proper visibility
decorators: [{ name: "parameterVisibility", arguments: ["read"] }], decorators: [{ name: "parameterVisibility", arguments: ["read"] }],
}, },
@ -525,18 +525,18 @@ function convertResourceActionOperations(
const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName); const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName);
const operationName = getOperationName(operation.OperationID); const operationName = getOperationName(operation.OperationID);
const augmentedDecorators = []; const customizations = [];
if (bodyParam) { if (bodyParam) {
if (bodyParam.language.default.name !== "body") { if (bodyParam.language.default.name !== "body") {
augmentedDecorators.push( customizations.push(
`@@projectedName(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "json", "${bodyParam.language.default.name}");`, `@@encodedName(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "application/json", "${bodyParam.language.default.name}");`,
); );
augmentedDecorators.push( customizations.push(
`@@extension(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "x-ms-client-name", "${bodyParam.language.default.name}");`, `@@extension(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "x-ms-client-name", "${bodyParam.language.default.name}");`,
); );
} }
if (bodyParam.language.default.description !== "The content of the action request") { if (bodyParam.language.default.description !== "The content of the action request") {
augmentedDecorators.push( customizations.push(
`@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "${bodyParam.language.default.description}");`, `@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "${bodyParam.language.default.description}");`,
); );
} }
@ -548,7 +548,7 @@ function convertResourceActionOperations(
operationId: operation.OperationID, operationId: operation.OperationID,
templateParameters, templateParameters,
examples: swaggerOperation.extensions?.["x-ms-examples"], examples: swaggerOperation.extensions?.["x-ms-examples"],
augmentedDecorators, customizations,
}); });
} }
} }

Просмотреть файл

@ -14,7 +14,7 @@ import { get } from "lodash";
import { getDataTypes } from "../data-types"; import { getDataTypes } from "../data-types";
import { TypespecObject, TypespecObjectProperty } from "../interfaces"; import { TypespecObject, TypespecObjectProperty } from "../interfaces";
import { addCorePageAlias } from "../utils/alias"; import { addCorePageAlias } from "../utils/alias";
import { getModelDecorators, getPropertyAugmentedDecorators, getPropertyDecorators } from "../utils/decorators"; import { getModelDecorators, getPropertyClientDecorators, getPropertyDecorators } from "../utils/decorators";
import { getDiscriminator, getOwnDiscriminator } from "../utils/discriminator"; import { getDiscriminator, getOwnDiscriminator } from "../utils/discriminator";
import { getLogger } from "../utils/logger"; import { getLogger } from "../utils/logger";
import { import {
@ -127,7 +127,7 @@ export function transformObjectProperty(propertySchema: Property, codeModel: Cod
isOptional: propertySchema.required !== true, isOptional: propertySchema.required !== true,
type: visited.name, type: visited.name,
decorators: getPropertyDecorators(propertySchema), decorators: getPropertyDecorators(propertySchema),
augmentedDecorators: getPropertyAugmentedDecorators(propertySchema), clientDecorators: getPropertyClientDecorators(propertySchema),
defaultValue: getDefaultValue(visited.name, propertySchema.schema), defaultValue: getDefaultValue(visited.name, propertySchema.schema),
}; };
} }
@ -144,7 +144,7 @@ export function transformObjectProperty(propertySchema: Property, codeModel: Cod
isOptional: propertySchema.required !== true, isOptional: propertySchema.required !== true,
type, type,
decorators: getPropertyDecorators(propertySchema), decorators: getPropertyDecorators(propertySchema),
augmentedDecorators: getPropertyAugmentedDecorators(propertySchema), clientDecorators: getPropertyClientDecorators(propertySchema),
fixMe: getFixme(propertySchema, codeModel), fixMe: getFixme(propertySchema, codeModel),
defaultValue: getDefaultValue(type, propertySchema.schema), defaultValue: getDefaultValue(type, propertySchema.schema),
}; };

Просмотреть файл

@ -132,15 +132,15 @@ export function getPropertyDecorators(element: Property | Parameter): TypespecDe
if (!isParameter(element) && element.serializedName !== element.language.default.name) { if (!isParameter(element) && element.serializedName !== element.language.default.name) {
decorators.push({ decorators.push({
name: "projectedName", name: "encodedName",
arguments: ["json", (element as Property).serializedName], arguments: ["application/json", (element as Property).serializedName],
}); });
} }
return decorators; return decorators;
} }
export function getPropertyAugmentedDecorators(element: Property | Parameter): TypespecDecorator[] { export function getPropertyClientDecorators(element: Property | Parameter): TypespecDecorator[] {
const decorators: TypespecDecorator[] = []; const decorators: TypespecDecorator[] = [];
if (element.extensions?.["x-ms-client-flatten"]) { if (element.extensions?.["x-ms-client-flatten"]) {

Просмотреть файл

@ -48,7 +48,7 @@ export function getClientImports(program: TypespecProgram) {
const namespaces = new Set<string>(); const namespaces = new Set<string>();
for (const model of program.models.objects) { for (const model of program.models.objects) {
for (const property of model.properties) { for (const property of model.properties) {
for (const decorator of property.augmentedDecorators ?? []) { for (const decorator of property.clientDecorators ?? []) {
decorator.module && modules.add(`import "${decorator.module}";`); decorator.module && modules.add(`import "${decorator.module}";`);
decorator.namespace && namespaces.add(`using ${decorator.namespace};`); decorator.namespace && namespaces.add(`using ${decorator.namespace};`);
} }

Просмотреть файл

@ -1,3 +0,0 @@
import "./main.tsp";
using Azure.Language.Authoring;

Просмотреть файл

@ -1,3 +0,0 @@
import "./main.tsp";
using AnomalyDetectorClient;

Просмотреть файл

@ -86,8 +86,8 @@ interface DataConnectors {
>; >;
} }
@@projectedName(DataConnectors.createOrUpdate::parameters.resource, @@encodedName(DataConnectors.createOrUpdate::parameters.resource,
"json", "application/json",
"body" "body"
); );
@@extension(DataConnectors.createOrUpdate::parameters.resource, @@extension(DataConnectors.createOrUpdate::parameters.resource,

Просмотреть файл

@ -111,8 +111,8 @@ interface DataManagerForAgricultures {
listBySubscription is ArmListBySubscription<DataManagerForAgriculture>; listBySubscription is ArmListBySubscription<DataManagerForAgriculture>;
} }
@@projectedName(DataManagerForAgricultures.createOrUpdate::parameters.resource, @@encodedName(DataManagerForAgricultures.createOrUpdate::parameters.resource,
"json", "application/json",
"request" "request"
); );
@@extension(DataManagerForAgricultures.createOrUpdate::parameters.resource, @@extension(DataManagerForAgricultures.createOrUpdate::parameters.resource,
@ -122,8 +122,8 @@ interface DataManagerForAgricultures {
@@doc(DataManagerForAgricultures.createOrUpdate::parameters.resource, @@doc(DataManagerForAgricultures.createOrUpdate::parameters.resource,
"Data Manager For Agriculture resource create or update request object." "Data Manager For Agriculture resource create or update request object."
); );
@@projectedName(DataManagerForAgricultures.update::parameters.properties, @@encodedName(DataManagerForAgricultures.update::parameters.properties,
"json", "application/json",
"request" "request"
); );
@@extension(DataManagerForAgricultures.update::parameters.properties, @@extension(DataManagerForAgricultures.update::parameters.properties,

Просмотреть файл

@ -102,8 +102,8 @@ interface Extensions {
>; >;
} }
@@projectedName(Extensions.createOrUpdate::parameters.resource, @@encodedName(Extensions.createOrUpdate::parameters.resource,
"json", "application/json",
"requestBody" "requestBody"
); );
@@extension(Extensions.createOrUpdate::parameters.resource, @@extension(Extensions.createOrUpdate::parameters.resource,

Просмотреть файл

@ -64,8 +64,8 @@ interface PrivateEndpointConnections {
listByResource is ArmResourceListByParent<PrivateEndpointConnection>; listByResource is ArmResourceListByParent<PrivateEndpointConnection>;
} }
@@projectedName(PrivateEndpointConnections.createOrUpdate::parameters.resource, @@encodedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
"json", "application/json",
"request" "request"
); );
@@extension(PrivateEndpointConnections.createOrUpdate::parameters.resource, @@extension(PrivateEndpointConnections.createOrUpdate::parameters.resource,

Просмотреть файл

@ -155,8 +155,8 @@ interface Solutions {
>; >;
} }
@@projectedName(Solutions.createOrUpdate::parameters.resource, @@encodedName(Solutions.createOrUpdate::parameters.resource,
"json", "application/json",
"requestBody" "requestBody"
); );
@@extension(Solutions.createOrUpdate::parameters.resource, @@extension(Solutions.createOrUpdate::parameters.resource,

Просмотреть файл

@ -1,3 +0,0 @@
import "./main.tsp";
using Azure.ResourceManager.AgFoodPlatform;

Просмотреть файл

@ -200,6 +200,9 @@ interface Alerts {
>; >;
} }
@@projectedName(Alerts.changeState::parameters.body, "json", "comment"); @@encodedName(Alerts.changeState::parameters.body,
"application/json",
"comment"
);
@@extension(Alerts.changeState::parameters.body, "x-ms-client-name", "comment"); @@extension(Alerts.changeState::parameters.body, "x-ms-client-name", "comment");
@@doc(Alerts.changeState::parameters.body, "reason of change alert state"); @@doc(Alerts.changeState::parameters.body, "reason of change alert state");

Просмотреть файл

@ -73,8 +73,8 @@ interface AlertProcessingRules {
listBySubscription is ArmListBySubscription<AlertProcessingRule>; listBySubscription is ArmListBySubscription<AlertProcessingRule>;
} }
@@projectedName(AlertProcessingRules.createOrUpdate::parameters.resource, @@encodedName(AlertProcessingRules.createOrUpdate::parameters.resource,
"json", "application/json",
"alertProcessingRule" "alertProcessingRule"
); );
@@extension(AlertProcessingRules.createOrUpdate::parameters.resource, @@extension(AlertProcessingRules.createOrUpdate::parameters.resource,
@ -84,8 +84,8 @@ interface AlertProcessingRules {
@@doc(AlertProcessingRules.createOrUpdate::parameters.resource, @@doc(AlertProcessingRules.createOrUpdate::parameters.resource,
"Alert processing rule to be created/updated." "Alert processing rule to be created/updated."
); );
@@projectedName(AlertProcessingRules.update::parameters.properties, @@encodedName(AlertProcessingRules.update::parameters.properties,
"json", "application/json",
"alertProcessingRulePatch" "alertProcessingRulePatch"
); );
@@extension(AlertProcessingRules.update::parameters.properties, @@extension(AlertProcessingRules.update::parameters.properties,

Просмотреть файл

@ -176,8 +176,8 @@ interface AnalysisServicesServers {
>; >;
} }
@@projectedName(AnalysisServicesServers.create::parameters.resource, @@encodedName(AnalysisServicesServers.create::parameters.resource,
"json", "application/json",
"serverParameters" "serverParameters"
); );
@@extension(AnalysisServicesServers.create::parameters.resource, @@extension(AnalysisServicesServers.create::parameters.resource,
@ -187,8 +187,8 @@ interface AnalysisServicesServers {
@@doc(AnalysisServicesServers.create::parameters.resource, @@doc(AnalysisServicesServers.create::parameters.resource,
"Contains the information used to provision the Analysis Services server." "Contains the information used to provision the Analysis Services server."
); );
@@projectedName(AnalysisServicesServers.update::parameters.properties, @@encodedName(AnalysisServicesServers.update::parameters.properties,
"json", "application/json",
"serverUpdateParameters" "serverUpdateParameters"
); );
@@extension(AnalysisServicesServers.update::parameters.properties, @@extension(AnalysisServicesServers.update::parameters.properties,

Просмотреть файл

@ -169,8 +169,8 @@ interface AccessInformationContracts {
>; >;
} }
@@projectedName(AccessInformationContracts.create::parameters.resource, @@encodedName(AccessInformationContracts.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(AccessInformationContracts.create::parameters.resource, @@extension(AccessInformationContracts.create::parameters.resource,
@ -180,8 +180,8 @@ interface AccessInformationContracts {
@@doc(AccessInformationContracts.create::parameters.resource, @@doc(AccessInformationContracts.create::parameters.resource,
"Parameters supplied to retrieve the Tenant Access Information." "Parameters supplied to retrieve the Tenant Access Information."
); );
@@projectedName(AccessInformationContracts.update::parameters.properties, @@encodedName(AccessInformationContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(AccessInformationContracts.update::parameters.properties, @@extension(AccessInformationContracts.update::parameters.properties,

Просмотреть файл

@ -355,8 +355,8 @@ interface ApiContracts {
>; >;
} }
@@projectedName(ApiContracts.createOrUpdate::parameters.resource, @@encodedName(ApiContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiContracts.createOrUpdate::parameters.resource, @@extension(ApiContracts.createOrUpdate::parameters.resource,
@ -366,8 +366,8 @@ interface ApiContracts {
@@doc(ApiContracts.createOrUpdate::parameters.resource, @@doc(ApiContracts.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(ApiContracts.update::parameters.properties, @@encodedName(ApiContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiContracts.update::parameters.properties, @@extension(ApiContracts.update::parameters.properties,

Просмотреть файл

@ -1371,8 +1371,8 @@ interface ApiManagementServiceResources {
>; >;
} }
@@projectedName(ApiManagementServiceResources.createOrUpdate::parameters.resource, @@encodedName(ApiManagementServiceResources.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.createOrUpdate::parameters.resource, @@extension(ApiManagementServiceResources.createOrUpdate::parameters.resource,
@ -1382,8 +1382,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.createOrUpdate::parameters.resource, @@doc(ApiManagementServiceResources.createOrUpdate::parameters.resource,
"Parameters supplied to the CreateOrUpdate API Management service operation." "Parameters supplied to the CreateOrUpdate API Management service operation."
); );
@@projectedName(ApiManagementServiceResources.update::parameters.properties, @@encodedName(ApiManagementServiceResources.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.update::parameters.properties, @@extension(ApiManagementServiceResources.update::parameters.properties,
@ -1393,8 +1393,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.update::parameters.properties, @@doc(ApiManagementServiceResources.update::parameters.properties,
"Parameters supplied to the CreateOrUpdate API Management service operation." "Parameters supplied to the CreateOrUpdate API Management service operation."
); );
@@projectedName(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body, @@encodedName(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
"json", "application/json",
"connectivityCheckRequestParams" "connectivityCheckRequestParams"
); );
@@extension(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body, @@extension(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
@ -1404,8 +1404,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body, @@doc(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
"Connectivity Check request parameters." "Connectivity Check request parameters."
); );
@@projectedName(ApiManagementServiceResources.restore::parameters.body, @@encodedName(ApiManagementServiceResources.restore::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.restore::parameters.body, @@extension(ApiManagementServiceResources.restore::parameters.body,
@ -1415,8 +1415,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.restore::parameters.body, @@doc(ApiManagementServiceResources.restore::parameters.body,
"Parameters supplied to the Restore API Management service from backup operation." "Parameters supplied to the Restore API Management service from backup operation."
); );
@@projectedName(ApiManagementServiceResources.backup::parameters.body, @@encodedName(ApiManagementServiceResources.backup::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.backup::parameters.body, @@extension(ApiManagementServiceResources.backup::parameters.body,
@ -1426,8 +1426,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.backup::parameters.body, @@doc(ApiManagementServiceResources.backup::parameters.body,
"Parameters supplied to the ApiManagementService_Backup operation." "Parameters supplied to the ApiManagementService_Backup operation."
); );
@@projectedName(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body, @@encodedName(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body, @@extension(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body,
@ -1437,8 +1437,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body, @@doc(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body,
"Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, all the regions in which the Api Management service is deployed will be updated sequentially without incurring downtime in the region." "Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, all the regions in which the Api Management service is deployed will be updated sequentially without incurring downtime in the region."
); );
@@projectedName(ApiManagementServiceResources.deploy::parameters.body, @@encodedName(ApiManagementServiceResources.deploy::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.deploy::parameters.body, @@extension(ApiManagementServiceResources.deploy::parameters.body,
@ -1448,8 +1448,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.deploy::parameters.body, @@doc(ApiManagementServiceResources.deploy::parameters.body,
"Deploy Configuration parameters." "Deploy Configuration parameters."
); );
@@projectedName(ApiManagementServiceResources.save::parameters.body, @@encodedName(ApiManagementServiceResources.save::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.save::parameters.body, @@extension(ApiManagementServiceResources.save::parameters.body,
@ -1459,8 +1459,8 @@ interface ApiManagementServiceResources {
@@doc(ApiManagementServiceResources.save::parameters.body, @@doc(ApiManagementServiceResources.save::parameters.body,
"Save Configuration parameters." "Save Configuration parameters."
); );
@@projectedName(ApiManagementServiceResources.validate::parameters.body, @@encodedName(ApiManagementServiceResources.validate::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiManagementServiceResources.validate::parameters.body, @@extension(ApiManagementServiceResources.validate::parameters.body,

Просмотреть файл

@ -150,8 +150,8 @@ interface ApiReleaseContracts {
>; >;
} }
@@projectedName(ApiReleaseContracts.createOrUpdate::parameters.resource, @@encodedName(ApiReleaseContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiReleaseContracts.createOrUpdate::parameters.resource, @@extension(ApiReleaseContracts.createOrUpdate::parameters.resource,
@ -161,8 +161,8 @@ interface ApiReleaseContracts {
@@doc(ApiReleaseContracts.createOrUpdate::parameters.resource, @@doc(ApiReleaseContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(ApiReleaseContracts.update::parameters.properties, @@encodedName(ApiReleaseContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiReleaseContracts.update::parameters.properties, @@extension(ApiReleaseContracts.update::parameters.properties,

Просмотреть файл

@ -152,8 +152,8 @@ interface ApiVersionSetContracts {
>; >;
} }
@@projectedName(ApiVersionSetContracts.createOrUpdate::parameters.resource, @@encodedName(ApiVersionSetContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiVersionSetContracts.createOrUpdate::parameters.resource, @@extension(ApiVersionSetContracts.createOrUpdate::parameters.resource,
@ -163,8 +163,8 @@ interface ApiVersionSetContracts {
@@doc(ApiVersionSetContracts.createOrUpdate::parameters.resource, @@doc(ApiVersionSetContracts.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(ApiVersionSetContracts.update::parameters.properties, @@encodedName(ApiVersionSetContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ApiVersionSetContracts.update::parameters.properties, @@extension(ApiVersionSetContracts.update::parameters.properties,

Просмотреть файл

@ -163,8 +163,8 @@ interface AuthorizationServerContracts {
>; >;
} }
@@projectedName(AuthorizationServerContracts.createOrUpdate::parameters.resource, @@encodedName(AuthorizationServerContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(AuthorizationServerContracts.createOrUpdate::parameters.resource, @@extension(AuthorizationServerContracts.createOrUpdate::parameters.resource,
@ -174,8 +174,8 @@ interface AuthorizationServerContracts {
@@doc(AuthorizationServerContracts.createOrUpdate::parameters.resource, @@doc(AuthorizationServerContracts.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(AuthorizationServerContracts.update::parameters.properties, @@encodedName(AuthorizationServerContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(AuthorizationServerContracts.update::parameters.properties, @@extension(AuthorizationServerContracts.update::parameters.properties,

Просмотреть файл

@ -159,8 +159,8 @@ interface BackendContracts {
>; >;
} }
@@projectedName(BackendContracts.createOrUpdate::parameters.resource, @@encodedName(BackendContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(BackendContracts.createOrUpdate::parameters.resource, @@extension(BackendContracts.createOrUpdate::parameters.resource,
@ -170,8 +170,8 @@ interface BackendContracts {
@@doc(BackendContracts.createOrUpdate::parameters.resource, @@doc(BackendContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(BackendContracts.update::parameters.properties, @@encodedName(BackendContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(BackendContracts.update::parameters.properties, @@extension(BackendContracts.update::parameters.properties,
@ -179,8 +179,8 @@ interface BackendContracts {
"parameters" "parameters"
); );
@@doc(BackendContracts.update::parameters.properties, "Update parameters."); @@doc(BackendContracts.update::parameters.properties, "Update parameters.");
@@projectedName(BackendContracts.reconnect::parameters.body, @@encodedName(BackendContracts.reconnect::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(BackendContracts.reconnect::parameters.body, @@extension(BackendContracts.reconnect::parameters.body,

Просмотреть файл

@ -141,8 +141,8 @@ interface CacheContracts {
>; >;
} }
@@projectedName(CacheContracts.createOrUpdate::parameters.resource, @@encodedName(CacheContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CacheContracts.createOrUpdate::parameters.resource, @@extension(CacheContracts.createOrUpdate::parameters.resource,
@ -152,8 +152,8 @@ interface CacheContracts {
@@doc(CacheContracts.createOrUpdate::parameters.resource, @@doc(CacheContracts.createOrUpdate::parameters.resource,
"Create or Update parameters." "Create or Update parameters."
); );
@@projectedName(CacheContracts.update::parameters.properties, @@encodedName(CacheContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CacheContracts.update::parameters.properties, @@extension(CacheContracts.update::parameters.properties,

Просмотреть файл

@ -149,8 +149,8 @@ interface CertificateContracts {
>; >;
} }
@@projectedName(CertificateContracts.createOrUpdate::parameters.resource, @@encodedName(CertificateContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CertificateContracts.createOrUpdate::parameters.resource, @@extension(CertificateContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -150,8 +150,8 @@ interface DiagnosticContracts {
>; >;
} }
@@projectedName(DiagnosticContracts.createOrUpdate::parameters.resource, @@encodedName(DiagnosticContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DiagnosticContracts.createOrUpdate::parameters.resource, @@extension(DiagnosticContracts.createOrUpdate::parameters.resource,
@ -161,8 +161,8 @@ interface DiagnosticContracts {
@@doc(DiagnosticContracts.createOrUpdate::parameters.resource, @@doc(DiagnosticContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(DiagnosticContracts.update::parameters.properties, @@encodedName(DiagnosticContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DiagnosticContracts.update::parameters.properties, @@extension(DiagnosticContracts.update::parameters.properties,

Просмотреть файл

@ -149,8 +149,8 @@ interface EmailTemplateContracts {
>; >;
} }
@@projectedName(EmailTemplateContracts.createOrUpdate::parameters.resource, @@encodedName(EmailTemplateContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(EmailTemplateContracts.createOrUpdate::parameters.resource, @@extension(EmailTemplateContracts.createOrUpdate::parameters.resource,
@ -160,8 +160,8 @@ interface EmailTemplateContracts {
@@doc(EmailTemplateContracts.createOrUpdate::parameters.resource, @@doc(EmailTemplateContracts.createOrUpdate::parameters.resource,
"Email Template update parameters." "Email Template update parameters."
); );
@@projectedName(EmailTemplateContracts.update::parameters.properties, @@encodedName(EmailTemplateContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(EmailTemplateContracts.update::parameters.properties, @@extension(EmailTemplateContracts.update::parameters.properties,

Просмотреть файл

@ -132,8 +132,8 @@ interface GatewayCertificateAuthorityContracts {
>; >;
} }
@@projectedName(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource, @@encodedName(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource, @@extension(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -238,8 +238,8 @@ interface GatewayContracts {
>; >;
} }
@@projectedName(GatewayContracts.createOrUpdate::parameters.resource, @@encodedName(GatewayContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GatewayContracts.createOrUpdate::parameters.resource, @@extension(GatewayContracts.createOrUpdate::parameters.resource,
@ -247,8 +247,8 @@ interface GatewayContracts {
"parameters" "parameters"
); );
@@doc(GatewayContracts.createOrUpdate::parameters.resource, ""); @@doc(GatewayContracts.createOrUpdate::parameters.resource, "");
@@projectedName(GatewayContracts.update::parameters.properties, @@encodedName(GatewayContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GatewayContracts.update::parameters.properties, @@extension(GatewayContracts.update::parameters.properties,
@ -256,8 +256,8 @@ interface GatewayContracts {
"parameters" "parameters"
); );
@@doc(GatewayContracts.update::parameters.properties, ""); @@doc(GatewayContracts.update::parameters.properties, "");
@@projectedName(GatewayContracts.regenerateKey::parameters.body, @@encodedName(GatewayContracts.regenerateKey::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GatewayContracts.regenerateKey::parameters.body, @@extension(GatewayContracts.regenerateKey::parameters.body,
@ -265,8 +265,8 @@ interface GatewayContracts {
"parameters" "parameters"
); );
@@doc(GatewayContracts.regenerateKey::parameters.body, ""); @@doc(GatewayContracts.regenerateKey::parameters.body, "");
@@projectedName(GatewayContracts.generateToken::parameters.body, @@encodedName(GatewayContracts.generateToken::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GatewayContracts.generateToken::parameters.body, @@extension(GatewayContracts.generateToken::parameters.body,

Просмотреть файл

@ -131,8 +131,8 @@ interface GatewayHostnameConfigurationContracts {
>; >;
} }
@@projectedName(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource, @@encodedName(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource, @@extension(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -131,8 +131,8 @@ interface GlobalSchemaContracts {
>; >;
} }
@@projectedName(GlobalSchemaContracts.createOrUpdate::parameters.resource, @@encodedName(GlobalSchemaContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GlobalSchemaContracts.createOrUpdate::parameters.resource, @@extension(GlobalSchemaContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -207,8 +207,8 @@ interface GroupContracts {
>; >;
} }
@@projectedName(GroupContracts.createOrUpdate::parameters.resource, @@encodedName(GroupContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GroupContracts.createOrUpdate::parameters.resource, @@extension(GroupContracts.createOrUpdate::parameters.resource,
@ -216,8 +216,8 @@ interface GroupContracts {
"parameters" "parameters"
); );
@@doc(GroupContracts.createOrUpdate::parameters.resource, "Create parameters."); @@doc(GroupContracts.createOrUpdate::parameters.resource, "Create parameters.");
@@projectedName(GroupContracts.update::parameters.properties, @@encodedName(GroupContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(GroupContracts.update::parameters.properties, @@extension(GroupContracts.update::parameters.properties,

Просмотреть файл

@ -136,8 +136,8 @@ interface IdentityProviderContracts {
>; >;
} }
@@projectedName(IdentityProviderContracts.createOrUpdate::parameters.resource, @@encodedName(IdentityProviderContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(IdentityProviderContracts.createOrUpdate::parameters.resource, @@extension(IdentityProviderContracts.createOrUpdate::parameters.resource,
@ -147,8 +147,8 @@ interface IdentityProviderContracts {
@@doc(IdentityProviderContracts.createOrUpdate::parameters.resource, @@doc(IdentityProviderContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(IdentityProviderContracts.update::parameters.properties, @@encodedName(IdentityProviderContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(IdentityProviderContracts.update::parameters.properties, @@extension(IdentityProviderContracts.update::parameters.properties,

Просмотреть файл

@ -132,8 +132,8 @@ interface IssueAttachmentContracts {
>; >;
} }
@@projectedName(IssueAttachmentContracts.createOrUpdate::parameters.resource, @@encodedName(IssueAttachmentContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(IssueAttachmentContracts.createOrUpdate::parameters.resource, @@extension(IssueAttachmentContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -132,8 +132,8 @@ interface IssueCommentContracts {
>; >;
} }
@@projectedName(IssueCommentContracts.createOrUpdate::parameters.resource, @@encodedName(IssueCommentContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(IssueCommentContracts.createOrUpdate::parameters.resource, @@extension(IssueCommentContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -164,8 +164,8 @@ interface IssueContracts {
>; >;
} }
@@projectedName(IssueContracts.createOrUpdate::parameters.resource, @@encodedName(IssueContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(IssueContracts.createOrUpdate::parameters.resource, @@extension(IssueContracts.createOrUpdate::parameters.resource,
@ -173,8 +173,8 @@ interface IssueContracts {
"parameters" "parameters"
); );
@@doc(IssueContracts.createOrUpdate::parameters.resource, "Create parameters."); @@doc(IssueContracts.createOrUpdate::parameters.resource, "Create parameters.");
@@projectedName(IssueContracts.update::parameters.properties, @@encodedName(IssueContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(IssueContracts.update::parameters.properties, @@extension(IssueContracts.update::parameters.properties,

Просмотреть файл

@ -149,8 +149,8 @@ interface LoggerContracts {
>; >;
} }
@@projectedName(LoggerContracts.createOrUpdate::parameters.resource, @@encodedName(LoggerContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(LoggerContracts.createOrUpdate::parameters.resource, @@extension(LoggerContracts.createOrUpdate::parameters.resource,
@ -160,8 +160,8 @@ interface LoggerContracts {
@@doc(LoggerContracts.createOrUpdate::parameters.resource, @@doc(LoggerContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(LoggerContracts.update::parameters.properties, @@encodedName(LoggerContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(LoggerContracts.update::parameters.properties, @@extension(LoggerContracts.update::parameters.properties,

Просмотреть файл

@ -177,8 +177,8 @@ interface NamedValueContracts {
>; >;
} }
@@projectedName(NamedValueContracts.createOrUpdate::parameters.resource, @@encodedName(NamedValueContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(NamedValueContracts.createOrUpdate::parameters.resource, @@extension(NamedValueContracts.createOrUpdate::parameters.resource,
@ -188,8 +188,8 @@ interface NamedValueContracts {
@@doc(NamedValueContracts.createOrUpdate::parameters.resource, @@doc(NamedValueContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(NamedValueContracts.update::parameters.properties, @@encodedName(NamedValueContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(NamedValueContracts.update::parameters.properties, @@extension(NamedValueContracts.update::parameters.properties,

Просмотреть файл

@ -197,8 +197,8 @@ interface OpenidConnectProviderContracts {
>; >;
} }
@@projectedName(OpenidConnectProviderContracts.createOrUpdate::parameters.resource, @@encodedName(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(OpenidConnectProviderContracts.createOrUpdate::parameters.resource, @@extension(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
@ -208,8 +208,8 @@ interface OpenidConnectProviderContracts {
@@doc(OpenidConnectProviderContracts.createOrUpdate::parameters.resource, @@doc(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(OpenidConnectProviderContracts.update::parameters.properties, @@encodedName(OpenidConnectProviderContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(OpenidConnectProviderContracts.update::parameters.properties, @@extension(OpenidConnectProviderContracts.update::parameters.properties,

Просмотреть файл

@ -155,8 +155,8 @@ interface OperationContracts {
>; >;
} }
@@projectedName(OperationContracts.createOrUpdate::parameters.resource, @@encodedName(OperationContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(OperationContracts.createOrUpdate::parameters.resource, @@extension(OperationContracts.createOrUpdate::parameters.resource,
@ -166,8 +166,8 @@ interface OperationContracts {
@@doc(OperationContracts.createOrUpdate::parameters.resource, @@doc(OperationContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(OperationContracts.update::parameters.properties, @@encodedName(OperationContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(OperationContracts.update::parameters.properties, @@extension(OperationContracts.update::parameters.properties,

Просмотреть файл

@ -114,8 +114,8 @@ interface PolicyContracts {
listByOperation is ArmResourceListByParent<PolicyContract>; listByOperation is ArmResourceListByParent<PolicyContract>;
} }
@@projectedName(PolicyContracts.createOrUpdate::parameters.resource, @@encodedName(PolicyContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PolicyContracts.createOrUpdate::parameters.resource, @@extension(PolicyContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -37,7 +37,6 @@ model PortalDelegationSettings extends ProxyResourceBase {
} }
@armResourceOperations @armResourceOperations
@projectedName("client", "PortalDelegationSettings")
interface PortalDelegationSettingsOperationGroup { interface PortalDelegationSettingsOperationGroup {
/** /**
* Get Delegation Settings for the Portal. * Get Delegation Settings for the Portal.
@ -116,8 +115,8 @@ interface PortalDelegationSettingsOperationGroup {
>; >;
} }
@@projectedName(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource, @@encodedName(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource, @@extension(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
@ -127,8 +126,8 @@ interface PortalDelegationSettingsOperationGroup {
@@doc(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource, @@doc(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(PortalDelegationSettingsOperationGroup.update::parameters.properties, @@encodedName(PortalDelegationSettingsOperationGroup.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalDelegationSettingsOperationGroup.update::parameters.properties, @@extension(PortalDelegationSettingsOperationGroup.update::parameters.properties,

Просмотреть файл

@ -128,8 +128,8 @@ interface PortalRevisionContracts {
>; >;
} }
@@projectedName(PortalRevisionContracts.createOrUpdate::parameters.resource, @@encodedName(PortalRevisionContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalRevisionContracts.createOrUpdate::parameters.resource, @@extension(PortalRevisionContracts.createOrUpdate::parameters.resource,
@ -137,8 +137,8 @@ interface PortalRevisionContracts {
"parameters" "parameters"
); );
@@doc(PortalRevisionContracts.createOrUpdate::parameters.resource, ""); @@doc(PortalRevisionContracts.createOrUpdate::parameters.resource, "");
@@projectedName(PortalRevisionContracts.update::parameters.properties, @@encodedName(PortalRevisionContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalRevisionContracts.update::parameters.properties, @@extension(PortalRevisionContracts.update::parameters.properties,

Просмотреть файл

@ -37,7 +37,6 @@ model PortalSigninSettings extends ProxyResourceBase {
} }
@armResourceOperations @armResourceOperations
@projectedName("client", "PortalSigninSettings")
interface PortalSigninSettingsOperationGroup { interface PortalSigninSettingsOperationGroup {
/** /**
* Get Sign In Settings for the Portal * Get Sign In Settings for the Portal
@ -105,8 +104,8 @@ interface PortalSigninSettingsOperationGroup {
listByService is ArmResourceListByParent<PortalSigninSettings>; listByService is ArmResourceListByParent<PortalSigninSettings>;
} }
@@projectedName(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource, @@encodedName(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource, @@extension(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
@ -116,8 +115,8 @@ interface PortalSigninSettingsOperationGroup {
@@doc(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource, @@doc(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(PortalSigninSettingsOperationGroup.update::parameters.properties, @@encodedName(PortalSigninSettingsOperationGroup.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalSigninSettingsOperationGroup.update::parameters.properties, @@extension(PortalSigninSettingsOperationGroup.update::parameters.properties,

Просмотреть файл

@ -37,7 +37,6 @@ model PortalSignupSettings extends ProxyResourceBase {
} }
@armResourceOperations @armResourceOperations
@projectedName("client", "PortalSignupSettings")
interface PortalSignupSettingsOperationGroup { interface PortalSignupSettingsOperationGroup {
/** /**
* Get Sign Up Settings for the Portal * Get Sign Up Settings for the Portal
@ -105,8 +104,8 @@ interface PortalSignupSettingsOperationGroup {
listByService is ArmResourceListByParent<PortalSignupSettings>; listByService is ArmResourceListByParent<PortalSignupSettings>;
} }
@@projectedName(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource, @@encodedName(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource, @@extension(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
@ -116,8 +115,8 @@ interface PortalSignupSettingsOperationGroup {
@@doc(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource, @@doc(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(PortalSignupSettingsOperationGroup.update::parameters.properties, @@encodedName(PortalSignupSettingsOperationGroup.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(PortalSignupSettingsOperationGroup.update::parameters.properties, @@extension(PortalSignupSettingsOperationGroup.update::parameters.properties,

Просмотреть файл

@ -70,8 +70,8 @@ interface PrivateEndpointConnections {
listByService is ArmResourceListByParent<PrivateEndpointConnection>; listByService is ArmResourceListByParent<PrivateEndpointConnection>;
} }
@@projectedName(PrivateEndpointConnections.createOrUpdate::parameters.resource, @@encodedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
"json", "application/json",
"privateEndpointConnectionRequest" "privateEndpointConnectionRequest"
); );
@@extension(PrivateEndpointConnections.createOrUpdate::parameters.resource, @@extension(PrivateEndpointConnections.createOrUpdate::parameters.resource,

Просмотреть файл

@ -350,8 +350,8 @@ interface ProductContracts {
>; >;
} }
@@projectedName(ProductContracts.createOrUpdate::parameters.resource, @@encodedName(ProductContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ProductContracts.createOrUpdate::parameters.resource, @@extension(ProductContracts.createOrUpdate::parameters.resource,
@ -361,8 +361,8 @@ interface ProductContracts {
@@doc(ProductContracts.createOrUpdate::parameters.resource, @@doc(ProductContracts.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(ProductContracts.update::parameters.properties, @@encodedName(ProductContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ProductContracts.update::parameters.properties, @@extension(ProductContracts.update::parameters.properties,

Просмотреть файл

@ -135,8 +135,8 @@ interface SchemaContracts {
>; >;
} }
@@projectedName(SchemaContracts.createOrUpdate::parameters.resource, @@encodedName(SchemaContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(SchemaContracts.createOrUpdate::parameters.resource, @@extension(SchemaContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -208,8 +208,8 @@ interface SubscriptionContracts {
>; >;
} }
@@projectedName(SubscriptionContracts.createOrUpdate::parameters.resource, @@encodedName(SubscriptionContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(SubscriptionContracts.createOrUpdate::parameters.resource, @@extension(SubscriptionContracts.createOrUpdate::parameters.resource,
@ -219,8 +219,8 @@ interface SubscriptionContracts {
@@doc(SubscriptionContracts.createOrUpdate::parameters.resource, @@doc(SubscriptionContracts.createOrUpdate::parameters.resource,
"Create parameters." "Create parameters."
); );
@@projectedName(SubscriptionContracts.update::parameters.properties, @@encodedName(SubscriptionContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(SubscriptionContracts.update::parameters.properties, @@extension(SubscriptionContracts.update::parameters.properties,

Просмотреть файл

@ -132,8 +132,8 @@ interface TagDescriptionContracts {
>; >;
} }
@@projectedName(TagDescriptionContracts.createOrUpdate::parameters.resource, @@encodedName(TagDescriptionContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(TagDescriptionContracts.createOrUpdate::parameters.resource, @@extension(TagDescriptionContracts.createOrUpdate::parameters.resource,

Просмотреть файл

@ -320,8 +320,8 @@ interface UserContracts {
>; >;
} }
@@projectedName(UserContracts.createOrUpdate::parameters.resource, @@encodedName(UserContracts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(UserContracts.createOrUpdate::parameters.resource, @@extension(UserContracts.createOrUpdate::parameters.resource,
@ -331,8 +331,8 @@ interface UserContracts {
@@doc(UserContracts.createOrUpdate::parameters.resource, @@doc(UserContracts.createOrUpdate::parameters.resource,
"Create or update parameters." "Create or update parameters."
); );
@@projectedName(UserContracts.update::parameters.properties, @@encodedName(UserContracts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(UserContracts.update::parameters.properties, @@extension(UserContracts.update::parameters.properties,
@ -340,8 +340,8 @@ interface UserContracts {
"parameters" "parameters"
); );
@@doc(UserContracts.update::parameters.properties, "Update parameters."); @@doc(UserContracts.update::parameters.properties, "Update parameters.");
@@projectedName(UserContracts.getSharedAccessToken::parameters.body, @@encodedName(UserContracts.getSharedAccessToken::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(UserContracts.getSharedAccessToken::parameters.body, @@extension(UserContracts.getSharedAccessToken::parameters.body,

Просмотреть файл

@ -141,3 +141,11 @@ using Azure.ResourceManager.ApiManagement;
#suppress "deprecated" "@flattenProperty decorator is not recommended to use." #suppress "deprecated" "@flattenProperty decorator is not recommended to use."
@@flattenProperty(QuotaCounterValueContract.value); @@flattenProperty(QuotaCounterValueContract.value);
@@clientName(PortalSigninSettingsOperationGroup, "PortalSigninSettings");
@@clientName(PortalSignupSettingsOperationGroup, "PortalSignupSettings");
@@clientName(PortalDelegationSettingsOperationGroup,
"PortalDelegationSettings"
);

Просмотреть файл

@ -1087,7 +1087,7 @@ model ApiEntityBaseContract {
/** /**
* Type of API. * Type of API.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
apiType?: ApiType; apiType?: ApiType;
/** /**
@ -1134,7 +1134,7 @@ model ApiEntityBaseContract {
/** /**
* Specifies whether an API or Product subscription is required for accessing the API. * Specifies whether an API or Product subscription is required for accessing the API.
*/ */
@projectedName("json", "subscriptionRequired") @encodedName("application/json", "subscriptionRequired")
IsSubscriptionRequired?: boolean; IsSubscriptionRequired?: boolean;
/** /**
@ -1347,7 +1347,7 @@ model ApiCreateOrUpdateProperties extends ApiContractProperties {
* * `websocket` creates websocket API * * `websocket` creates websocket API
* * `graphql` creates GraphQL API. * * `graphql` creates GraphQL API.
*/ */
@projectedName("json", "apiType") @encodedName("application/json", "apiType")
soapApiType?: SoapApiType; soapApiType?: SoapApiType;
} }
@ -1804,13 +1804,13 @@ model ProductEntityBaseParameters {
/** /**
* Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as "protected" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as "open" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true. * Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as "protected" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as "open" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true.
*/ */
@projectedName("json", "subscriptionRequired") @encodedName("application/json", "subscriptionRequired")
IsSubscriptionRequired?: boolean; IsSubscriptionRequired?: boolean;
/** /**
* whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the products APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the products APIs. Can be present only if subscriptionRequired property is present and has a value of false. * whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the products APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the products APIs. Can be present only if subscriptionRequired property is present and has a value of false.
*/ */
@projectedName("json", "approvalRequired") @encodedName("application/json", "approvalRequired")
IsApprovalRequired?: boolean; IsApprovalRequired?: boolean;
/** /**
@ -2330,7 +2330,7 @@ model ApiExportResult {
/** /**
* Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes. * Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes.
*/ */
@projectedName("json", "format") @encodedName("application/json", "format")
exportResultFormat?: ExportResultFormat; exportResultFormat?: ExportResultFormat;
/** /**
@ -2472,7 +2472,7 @@ model AuthorizationServerContractBaseProperties {
/** /**
* Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format. * Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.
*/ */
@projectedName("json", "clientAuthenticationMethod") @encodedName("application/json", "clientAuthenticationMethod")
clientAuthenticationMethods?: ClientAuthenticationMethod[]; clientAuthenticationMethods?: ClientAuthenticationMethod[];
/** /**
@ -2488,7 +2488,7 @@ model AuthorizationServerContractBaseProperties {
/** /**
* If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security. * If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
*/ */
@projectedName("json", "supportState") @encodedName("application/json", "supportState")
doesSupportState?: boolean; doesSupportState?: boolean;
/** /**
@ -2877,7 +2877,7 @@ model CacheContractProperties {
* Original uri of entity in external system cache points to * Original uri of entity in external system cache points to
*/ */
@maxLength(2000) @maxLength(2000)
@projectedName("json", "resourceId") @encodedName("application/json", "resourceId")
resourceUri?: string; resourceUri?: string;
} }
@ -2917,7 +2917,7 @@ model CacheUpdateProperties {
* Original uri of entity in external system cache points to * Original uri of entity in external system cache points to
*/ */
@maxLength(2000) @maxLength(2000)
@projectedName("json", "resourceId") @encodedName("application/json", "resourceId")
resourceUri?: string; resourceUri?: string;
} }
@ -3092,7 +3092,7 @@ model ConnectivityCheckRequestProtocolConfiguration {
/** /**
* Configuration for HTTP or HTTPS requests. * Configuration for HTTP or HTTPS requests.
*/ */
@projectedName("json", "HTTPConfiguration") @encodedName("application/json", "HTTPConfiguration")
httpConfiguration?: ConnectivityCheckRequestProtocolConfigurationHttpConfiguration; httpConfiguration?: ConnectivityCheckRequestProtocolConfigurationHttpConfiguration;
} }
@ -4556,13 +4556,13 @@ model IdentityProviderBaseParameters {
/** /**
* Identity Provider Type identifier. * Identity Provider Type identifier.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
identityProviderType?: IdentityProviderType; identityProviderType?: IdentityProviderType;
/** /**
* The TenantId to use instead of Common when logging into Active Directory * The TenantId to use instead of Common when logging into Active Directory
*/ */
@projectedName("json", "signinTenant") @encodedName("application/json", "signinTenant")
signInTenant?: string; signInTenant?: string;
/** /**
@ -4579,14 +4579,14 @@ model IdentityProviderBaseParameters {
* Signup Policy Name. Only applies to AAD B2C Identity Provider. * Signup Policy Name. Only applies to AAD B2C Identity Provider.
*/ */
@minLength(1) @minLength(1)
@projectedName("json", "signupPolicyName") @encodedName("application/json", "signupPolicyName")
signUpPolicyName?: string; signUpPolicyName?: string;
/** /**
* Signin Policy Name. Only applies to AAD B2C Identity Provider. * Signin Policy Name. Only applies to AAD B2C Identity Provider.
*/ */
@minLength(1) @minLength(1)
@projectedName("json", "signinPolicyName") @encodedName("application/json", "signinPolicyName")
signInPolicyName?: string; signInPolicyName?: string;
/** /**
@ -4770,7 +4770,7 @@ model NamedValueEntityBaseParameters {
/** /**
* Determines whether the value is a secret and should be encrypted or not. Default value is false. * Determines whether the value is a secret and should be encrypted or not. Default value is false.
*/ */
@projectedName("json", "secret") @encodedName("application/json", "secret")
IsSecret?: boolean; IsSecret?: boolean;
} }
@ -5294,13 +5294,13 @@ model PortalSettingsContractProperties {
/** /**
* Subscriptions delegation settings. * Subscriptions delegation settings.
*/ */
@projectedName("json", "subscriptions") @encodedName("application/json", "subscriptions")
IsSubscriptions?: SubscriptionsDelegationSettingsProperties; IsSubscriptions?: SubscriptionsDelegationSettingsProperties;
/** /**
* User registration delegation settings. * User registration delegation settings.
*/ */
@projectedName("json", "userRegistration") @encodedName("application/json", "userRegistration")
IsUserRegistration?: RegistrationDelegationSettingsProperties; IsUserRegistration?: RegistrationDelegationSettingsProperties;
/** /**

Просмотреть файл

@ -43,7 +43,6 @@ model ProviderOperationsMetadata is ProxyResource<{}> {
} }
@armResourceOperations @armResourceOperations
@projectedName("client", "ProviderOperationsMetadata")
interface ProviderOperationsMetadataOperationGroup { interface ProviderOperationsMetadataOperationGroup {
/** /**
* Gets provider operations metadata for the specified resource provider. * Gets provider operations metadata for the specified resource provider.

Просмотреть файл

@ -105,8 +105,8 @@ interface RoleAssignments {
>; >;
} }
@@projectedName(RoleAssignments.create::parameters.resource, @@encodedName(RoleAssignments.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleAssignments.create::parameters.resource, @@extension(RoleAssignments.create::parameters.resource,

Просмотреть файл

@ -82,8 +82,8 @@ interface RoleAssignmentScheduleRequests {
>; >;
} }
@@projectedName(RoleAssignmentScheduleRequests.create::parameters.resource, @@encodedName(RoleAssignmentScheduleRequests.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleAssignmentScheduleRequests.create::parameters.resource, @@extension(RoleAssignmentScheduleRequests.create::parameters.resource,
@ -93,8 +93,8 @@ interface RoleAssignmentScheduleRequests {
@@doc(RoleAssignmentScheduleRequests.create::parameters.resource, @@doc(RoleAssignmentScheduleRequests.create::parameters.resource,
"Parameters for the role assignment schedule request." "Parameters for the role assignment schedule request."
); );
@@projectedName(RoleAssignmentScheduleRequests.validate::parameters.body, @@encodedName(RoleAssignmentScheduleRequests.validate::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleAssignmentScheduleRequests.validate::parameters.body, @@extension(RoleAssignmentScheduleRequests.validate::parameters.body,

Просмотреть файл

@ -71,8 +71,8 @@ interface RoleDefinitions {
>; >;
} }
@@projectedName(RoleDefinitions.createOrUpdate::parameters.resource, @@encodedName(RoleDefinitions.createOrUpdate::parameters.resource,
"json", "application/json",
"roleDefinition" "roleDefinition"
); );
@@extension(RoleDefinitions.createOrUpdate::parameters.resource, @@extension(RoleDefinitions.createOrUpdate::parameters.resource,

Просмотреть файл

@ -82,8 +82,8 @@ interface RoleEligibilityScheduleRequests {
>; >;
} }
@@projectedName(RoleEligibilityScheduleRequests.create::parameters.resource, @@encodedName(RoleEligibilityScheduleRequests.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleEligibilityScheduleRequests.create::parameters.resource, @@extension(RoleEligibilityScheduleRequests.create::parameters.resource,
@ -93,8 +93,8 @@ interface RoleEligibilityScheduleRequests {
@@doc(RoleEligibilityScheduleRequests.create::parameters.resource, @@doc(RoleEligibilityScheduleRequests.create::parameters.resource,
"Parameters for the role eligibility schedule request." "Parameters for the role eligibility schedule request."
); );
@@projectedName(RoleEligibilityScheduleRequests.validate::parameters.body, @@encodedName(RoleEligibilityScheduleRequests.validate::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleEligibilityScheduleRequests.validate::parameters.body, @@extension(RoleEligibilityScheduleRequests.validate::parameters.body,

Просмотреть файл

@ -58,8 +58,8 @@ interface RoleManagementPolicies {
listForScope is ArmResourceListByParent<RoleManagementPolicy>; listForScope is ArmResourceListByParent<RoleManagementPolicy>;
} }
@@projectedName(RoleManagementPolicies.update::parameters.properties, @@encodedName(RoleManagementPolicies.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleManagementPolicies.update::parameters.properties, @@extension(RoleManagementPolicies.update::parameters.properties,

Просмотреть файл

@ -57,8 +57,8 @@ interface RoleManagementPolicyAssignments {
listForScope is ArmResourceListByParent<RoleManagementPolicyAssignment>; listForScope is ArmResourceListByParent<RoleManagementPolicyAssignment>;
} }
@@projectedName(RoleManagementPolicyAssignments.create::parameters.resource, @@encodedName(RoleManagementPolicyAssignments.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RoleManagementPolicyAssignments.create::parameters.resource, @@extension(RoleManagementPolicyAssignments.create::parameters.resource,

Просмотреть файл

@ -43,3 +43,7 @@ using Azure.ResourceManager.Authorization;
@@flattenProperty(PolicyAssignmentProperties.roleDefinition); @@flattenProperty(PolicyAssignmentProperties.roleDefinition);
#suppress "deprecated" "@flattenProperty decorator is not recommended to use." #suppress "deprecated" "@flattenProperty decorator is not recommended to use."
@@flattenProperty(PolicyAssignmentProperties.policy); @@flattenProperty(PolicyAssignmentProperties.policy);
@@clientName(ProviderOperationsMetadataOperationGroup,
"ProviderOperationsMetadata"
);

Просмотреть файл

@ -322,7 +322,7 @@ model Principal {
/** /**
* Type of the principal. * Type of the principal.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
principalType?: PrincipalType; principalType?: PrincipalType;
/** /**
@ -513,7 +513,7 @@ model RoleDefinitionProperties {
/** /**
* The role type. * The role type.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
roleType?: RoleType; roleType?: RoleType;
/** /**
@ -693,19 +693,19 @@ model ExpandedPropertiesScope {
/** /**
* Scope id of the resource * Scope id of the resource
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
scopeId?: string; scopeId?: string;
/** /**
* Display name of the resource * Display name of the resource
*/ */
@projectedName("json", "displayName") @encodedName("application/json", "displayName")
scopeDisplayName?: string; scopeDisplayName?: string;
/** /**
* Type of the scope. * Type of the scope.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
scopeType?: ScopeType; scopeType?: ScopeType;
} }
@ -716,19 +716,19 @@ model ExpandedPropertiesRoleDefinition {
/** /**
* Id of the role definition * Id of the role definition
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
roleDefinitionId?: string; roleDefinitionId?: string;
/** /**
* Display name of the role definition * Display name of the role definition
*/ */
@projectedName("json", "displayName") @encodedName("application/json", "displayName")
roleDefinitionDisplayName?: string; roleDefinitionDisplayName?: string;
/** /**
* The role type. * The role type.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
roleType?: RoleType; roleType?: RoleType;
} }
@ -739,13 +739,13 @@ model ExpandedPropertiesPrincipal {
/** /**
* Id of the principal * Id of the principal
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
principalId?: string; principalId?: string;
/** /**
* Display name of the principal * Display name of the principal
*/ */
@projectedName("json", "displayName") @encodedName("application/json", "displayName")
principalDisplayName?: string; principalDisplayName?: string;
/** /**
@ -756,7 +756,7 @@ model ExpandedPropertiesPrincipal {
/** /**
* Type of the principal. * Type of the principal.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
principalType?: PrincipalType; principalType?: PrincipalType;
} }
@ -975,7 +975,7 @@ model RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration {
/** /**
* Type of the role assignment schedule expiration * Type of the role assignment schedule expiration
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
expirationType?: RoleManagementScheduleExpirationType; expirationType?: RoleManagementScheduleExpirationType;
/** /**
@ -1272,7 +1272,7 @@ model RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration {
/** /**
* Type of the role eligibility schedule expiration * Type of the role eligibility schedule expiration
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
expirationType?: RoleManagementScheduleExpirationType; expirationType?: RoleManagementScheduleExpirationType;
/** /**
@ -1426,19 +1426,19 @@ model PolicyPropertiesScope {
/** /**
* Scope id of the resource * Scope id of the resource
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
scopeId?: string; scopeId?: string;
/** /**
* Display name of the resource * Display name of the resource
*/ */
@projectedName("json", "displayName") @encodedName("application/json", "displayName")
scopeDisplayName?: string; scopeDisplayName?: string;
/** /**
* Type of the scope. * Type of the scope.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
scopeType?: ScopeType; scopeType?: ScopeType;
} }
@ -1501,19 +1501,19 @@ model PolicyAssignmentPropertiesScope {
/** /**
* Scope id of the resource * Scope id of the resource
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
scopeId?: string; scopeId?: string;
/** /**
* Display name of the resource * Display name of the resource
*/ */
@projectedName("json", "displayName") @encodedName("application/json", "displayName")
scopeDisplayName?: string; scopeDisplayName?: string;
/** /**
* Type of the scope. * Type of the scope.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
scopeType?: ScopeType; scopeType?: ScopeType;
} }
@ -1524,19 +1524,19 @@ model PolicyAssignmentPropertiesRoleDefinition {
/** /**
* Id of the role definition * Id of the role definition
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
roleDefinitionId?: string; roleDefinitionId?: string;
/** /**
* Display name of the role definition * Display name of the role definition
*/ */
@projectedName("json", "displayName") @encodedName("application/json", "displayName")
roleDefinitionDisplayName?: string; roleDefinitionDisplayName?: string;
/** /**
* The role type. * The role type.
*/ */
@projectedName("json", "type") @encodedName("application/json", "type")
roleType?: RoleType; roleType?: RoleType;
} }
@ -1547,7 +1547,7 @@ model PolicyAssignmentPropertiesPolicy {
/** /**
* Id of the policy * Id of the policy
*/ */
@projectedName("json", "id") @encodedName("application/json", "id")
policyId?: string; policyId?: string;
/** /**

Просмотреть файл

@ -412,7 +412,7 @@ model TrackingProfileDefinition {
/** /**
* The tracking definition schema uri. * The tracking definition schema uri.
*/ */
@projectedName("json", "$schema") @encodedName("application/json", "$schema")
schema?: string; schema?: string;
/** /**

Просмотреть файл

@ -104,8 +104,8 @@ interface AvailabilitySets {
>; >;
} }
@@projectedName(AvailabilitySets.createOrUpdate::parameters.resource, @@encodedName(AvailabilitySets.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(AvailabilitySets.createOrUpdate::parameters.resource, @@extension(AvailabilitySets.createOrUpdate::parameters.resource,
@ -115,8 +115,8 @@ interface AvailabilitySets {
@@doc(AvailabilitySets.createOrUpdate::parameters.resource, @@doc(AvailabilitySets.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Availability Set operation." "Parameters supplied to the Create Availability Set operation."
); );
@@projectedName(AvailabilitySets.update::parameters.properties, @@encodedName(AvailabilitySets.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(AvailabilitySets.update::parameters.properties, @@extension(AvailabilitySets.update::parameters.properties,

Просмотреть файл

@ -88,8 +88,8 @@ interface CapacityReservations {
listByCapacityReservationGroup is ArmResourceListByParent<CapacityReservation>; listByCapacityReservationGroup is ArmResourceListByParent<CapacityReservation>;
} }
@@projectedName(CapacityReservations.createOrUpdate::parameters.resource, @@encodedName(CapacityReservations.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CapacityReservations.createOrUpdate::parameters.resource, @@extension(CapacityReservations.createOrUpdate::parameters.resource,
@ -99,8 +99,8 @@ interface CapacityReservations {
@@doc(CapacityReservations.createOrUpdate::parameters.resource, @@doc(CapacityReservations.createOrUpdate::parameters.resource,
"Parameters supplied to the Create capacity reservation." "Parameters supplied to the Create capacity reservation."
); );
@@projectedName(CapacityReservations.update::parameters.properties, @@encodedName(CapacityReservations.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CapacityReservations.update::parameters.properties, @@extension(CapacityReservations.update::parameters.properties,

Просмотреть файл

@ -100,8 +100,8 @@ interface CapacityReservationGroups {
listBySubscription is ArmListBySubscription<CapacityReservationGroup>; listBySubscription is ArmListBySubscription<CapacityReservationGroup>;
} }
@@projectedName(CapacityReservationGroups.createOrUpdate::parameters.resource, @@encodedName(CapacityReservationGroups.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CapacityReservationGroups.createOrUpdate::parameters.resource, @@extension(CapacityReservationGroups.createOrUpdate::parameters.resource,
@ -111,8 +111,8 @@ interface CapacityReservationGroups {
@@doc(CapacityReservationGroups.createOrUpdate::parameters.resource, @@doc(CapacityReservationGroups.createOrUpdate::parameters.resource,
"Parameters supplied to the Create capacity reservation Group." "Parameters supplied to the Create capacity reservation Group."
); );
@@projectedName(CapacityReservationGroups.update::parameters.properties, @@encodedName(CapacityReservationGroups.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CapacityReservationGroups.update::parameters.properties, @@extension(CapacityReservationGroups.update::parameters.properties,

Просмотреть файл

@ -230,8 +230,8 @@ interface CloudServices {
>; >;
} }
@@projectedName(CloudServices.createOrUpdate::parameters.resource, @@encodedName(CloudServices.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CloudServices.createOrUpdate::parameters.resource, @@extension(CloudServices.createOrUpdate::parameters.resource,
@ -241,8 +241,8 @@ interface CloudServices {
@@doc(CloudServices.createOrUpdate::parameters.resource, @@doc(CloudServices.createOrUpdate::parameters.resource,
"The cloud service object." "The cloud service object."
); );
@@projectedName(CloudServices.update::parameters.properties, @@encodedName(CloudServices.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CloudServices.update::parameters.properties, @@extension(CloudServices.update::parameters.properties,
@ -250,7 +250,10 @@ interface CloudServices {
"parameters" "parameters"
); );
@@doc(CloudServices.update::parameters.properties, "The cloud service object."); @@doc(CloudServices.update::parameters.properties, "The cloud service object.");
@@projectedName(CloudServices.restart::parameters.body, "json", "parameters"); @@encodedName(CloudServices.restart::parameters.body,
"application/json",
"parameters"
);
@@extension(CloudServices.restart::parameters.body, @@extension(CloudServices.restart::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"
@ -258,7 +261,10 @@ interface CloudServices {
@@doc(CloudServices.restart::parameters.body, @@doc(CloudServices.restart::parameters.body,
"List of cloud service role instance names." "List of cloud service role instance names."
); );
@@projectedName(CloudServices.reimage::parameters.body, "json", "parameters"); @@encodedName(CloudServices.reimage::parameters.body,
"application/json",
"parameters"
);
@@extension(CloudServices.reimage::parameters.body, @@extension(CloudServices.reimage::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"
@ -266,7 +272,10 @@ interface CloudServices {
@@doc(CloudServices.reimage::parameters.body, @@doc(CloudServices.reimage::parameters.body,
"List of cloud service role instance names." "List of cloud service role instance names."
); );
@@projectedName(CloudServices.rebuild::parameters.body, "json", "parameters"); @@encodedName(CloudServices.rebuild::parameters.body,
"application/json",
"parameters"
);
@@extension(CloudServices.rebuild::parameters.body, @@extension(CloudServices.rebuild::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"
@ -274,8 +283,8 @@ interface CloudServices {
@@doc(CloudServices.rebuild::parameters.body, @@doc(CloudServices.rebuild::parameters.body,
"List of cloud service role instance names." "List of cloud service role instance names."
); );
@@projectedName(CloudServices.deleteInstances::parameters.body, @@encodedName(CloudServices.deleteInstances::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(CloudServices.deleteInstances::parameters.body, @@extension(CloudServices.deleteInstances::parameters.body,

Просмотреть файл

@ -94,8 +94,8 @@ interface DedicatedHosts {
listAvailableSizes is Azure.Core.ResourceList<string>; listAvailableSizes is Azure.Core.ResourceList<string>;
} }
@@projectedName(DedicatedHosts.createOrUpdate::parameters.resource, @@encodedName(DedicatedHosts.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DedicatedHosts.createOrUpdate::parameters.resource, @@extension(DedicatedHosts.createOrUpdate::parameters.resource,
@ -105,8 +105,8 @@ interface DedicatedHosts {
@@doc(DedicatedHosts.createOrUpdate::parameters.resource, @@doc(DedicatedHosts.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Dedicated Host." "Parameters supplied to the Create Dedicated Host."
); );
@@projectedName(DedicatedHosts.update::parameters.properties, @@encodedName(DedicatedHosts.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DedicatedHosts.update::parameters.properties, @@extension(DedicatedHosts.update::parameters.properties,

Просмотреть файл

@ -86,8 +86,8 @@ interface DedicatedHostGroups {
listBySubscription is ArmListBySubscription<DedicatedHostGroup>; listBySubscription is ArmListBySubscription<DedicatedHostGroup>;
} }
@@projectedName(DedicatedHostGroups.createOrUpdate::parameters.resource, @@encodedName(DedicatedHostGroups.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DedicatedHostGroups.createOrUpdate::parameters.resource, @@extension(DedicatedHostGroups.createOrUpdate::parameters.resource,
@ -97,8 +97,8 @@ interface DedicatedHostGroups {
@@doc(DedicatedHostGroups.createOrUpdate::parameters.resource, @@doc(DedicatedHostGroups.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Dedicated Host Group." "Parameters supplied to the Create Dedicated Host Group."
); );
@@projectedName(DedicatedHostGroups.update::parameters.properties, @@encodedName(DedicatedHostGroups.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DedicatedHostGroups.update::parameters.properties, @@extension(DedicatedHostGroups.update::parameters.properties,

Просмотреть файл

@ -107,7 +107,10 @@ interface Disks {
revokeAccess is ArmResourceActionAsync<Disk, void, void>; revokeAccess is ArmResourceActionAsync<Disk, void, void>;
} }
@@projectedName(Disks.createOrUpdate::parameters.resource, "json", "disk"); @@encodedName(Disks.createOrUpdate::parameters.resource,
"application/json",
"disk"
);
@@extension(Disks.createOrUpdate::parameters.resource, @@extension(Disks.createOrUpdate::parameters.resource,
"x-ms-client-name", "x-ms-client-name",
"disk" "disk"
@ -115,12 +118,15 @@ interface Disks {
@@doc(Disks.createOrUpdate::parameters.resource, @@doc(Disks.createOrUpdate::parameters.resource,
"Disk object supplied in the body of the Put disk operation." "Disk object supplied in the body of the Put disk operation."
); );
@@projectedName(Disks.update::parameters.properties, "json", "disk"); @@encodedName(Disks.update::parameters.properties, "application/json", "disk");
@@extension(Disks.update::parameters.properties, "x-ms-client-name", "disk"); @@extension(Disks.update::parameters.properties, "x-ms-client-name", "disk");
@@doc(Disks.update::parameters.properties, @@doc(Disks.update::parameters.properties,
"Disk object supplied in the body of the Patch disk operation." "Disk object supplied in the body of the Patch disk operation."
); );
@@projectedName(Disks.grantAccess::parameters.body, "json", "grantAccessData"); @@encodedName(Disks.grantAccess::parameters.body,
"application/json",
"grantAccessData"
);
@@extension(Disks.grantAccess::parameters.body, @@extension(Disks.grantAccess::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"grantAccessData" "grantAccessData"

Просмотреть файл

@ -101,8 +101,8 @@ interface DiskAccesses {
>; >;
} }
@@projectedName(DiskAccesses.createOrUpdate::parameters.resource, @@encodedName(DiskAccesses.createOrUpdate::parameters.resource,
"json", "application/json",
"diskAccess" "diskAccess"
); );
@@extension(DiskAccesses.createOrUpdate::parameters.resource, @@extension(DiskAccesses.createOrUpdate::parameters.resource,
@ -112,8 +112,8 @@ interface DiskAccesses {
@@doc(DiskAccesses.createOrUpdate::parameters.resource, @@doc(DiskAccesses.createOrUpdate::parameters.resource,
"disk access object supplied in the body of the Put disk access operation." "disk access object supplied in the body of the Put disk access operation."
); );
@@projectedName(DiskAccesses.update::parameters.properties, @@encodedName(DiskAccesses.update::parameters.properties,
"json", "application/json",
"diskAccess" "diskAccess"
); );
@@extension(DiskAccesses.update::parameters.properties, @@extension(DiskAccesses.update::parameters.properties,

Просмотреть файл

@ -78,8 +78,8 @@ interface DiskEncryptionSets {
listAssociatedResources is Azure.Core.ResourceList<string>; listAssociatedResources is Azure.Core.ResourceList<string>;
} }
@@projectedName(DiskEncryptionSets.createOrUpdate::parameters.resource, @@encodedName(DiskEncryptionSets.createOrUpdate::parameters.resource,
"json", "application/json",
"diskEncryptionSet" "diskEncryptionSet"
); );
@@extension(DiskEncryptionSets.createOrUpdate::parameters.resource, @@extension(DiskEncryptionSets.createOrUpdate::parameters.resource,
@ -89,8 +89,8 @@ interface DiskEncryptionSets {
@@doc(DiskEncryptionSets.createOrUpdate::parameters.resource, @@doc(DiskEncryptionSets.createOrUpdate::parameters.resource,
"disk encryption set object supplied in the body of the Put disk encryption set operation." "disk encryption set object supplied in the body of the Put disk encryption set operation."
); );
@@projectedName(DiskEncryptionSets.update::parameters.properties, @@encodedName(DiskEncryptionSets.update::parameters.properties,
"json", "application/json",
"diskEncryptionSet" "diskEncryptionSet"
); );
@@extension(DiskEncryptionSets.update::parameters.properties, @@extension(DiskEncryptionSets.update::parameters.properties,

Просмотреть файл

@ -115,8 +115,8 @@ interface DiskRestorePoints {
>; >;
} }
@@projectedName(DiskRestorePoints.grantAccess::parameters.body, @@encodedName(DiskRestorePoints.grantAccess::parameters.body,
"json", "application/json",
"grantAccessData" "grantAccessData"
); );
@@extension(DiskRestorePoints.grantAccess::parameters.body, @@extension(DiskRestorePoints.grantAccess::parameters.body,

Просмотреть файл

@ -94,8 +94,8 @@ interface Galleries {
update is ArmResourceActionAsync<Gallery, SharingUpdate, SharingUpdate>; update is ArmResourceActionAsync<Gallery, SharingUpdate, SharingUpdate>;
} }
@@projectedName(Galleries.createOrUpdate::parameters.resource, @@encodedName(Galleries.createOrUpdate::parameters.resource,
"json", "application/json",
"gallery" "gallery"
); );
@@extension(Galleries.createOrUpdate::parameters.resource, @@extension(Galleries.createOrUpdate::parameters.resource,
@ -105,7 +105,10 @@ interface Galleries {
@@doc(Galleries.createOrUpdate::parameters.resource, @@doc(Galleries.createOrUpdate::parameters.resource,
"Parameters supplied to the create or update Shared Image Gallery operation." "Parameters supplied to the create or update Shared Image Gallery operation."
); );
@@projectedName(Galleries.update::parameters.properties, "json", "gallery"); @@encodedName(Galleries.update::parameters.properties,
"application/json",
"gallery"
);
@@extension(Galleries.update::parameters.properties, @@extension(Galleries.update::parameters.properties,
"x-ms-client-name", "x-ms-client-name",
"gallery" "gallery"
@ -113,7 +116,10 @@ interface Galleries {
@@doc(Galleries.update::parameters.properties, @@doc(Galleries.update::parameters.properties,
"Parameters supplied to the update Shared Image Gallery operation." "Parameters supplied to the update Shared Image Gallery operation."
); );
@@projectedName(Galleries.update::parameters.body, "json", "sharingUpdate"); @@encodedName(Galleries.update::parameters.body,
"application/json",
"sharingUpdate"
);
@@extension(Galleries.update::parameters.body, @@extension(Galleries.update::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"sharingUpdate" "sharingUpdate"

Просмотреть файл

@ -67,8 +67,8 @@ interface GalleryApplications {
listByGallery is ArmResourceListByParent<GalleryApplication>; listByGallery is ArmResourceListByParent<GalleryApplication>;
} }
@@projectedName(GalleryApplications.createOrUpdate::parameters.resource, @@encodedName(GalleryApplications.createOrUpdate::parameters.resource,
"json", "application/json",
"galleryApplication" "galleryApplication"
); );
@@extension(GalleryApplications.createOrUpdate::parameters.resource, @@extension(GalleryApplications.createOrUpdate::parameters.resource,
@ -78,8 +78,8 @@ interface GalleryApplications {
@@doc(GalleryApplications.createOrUpdate::parameters.resource, @@doc(GalleryApplications.createOrUpdate::parameters.resource,
"Parameters supplied to the create or update gallery Application operation." "Parameters supplied to the create or update gallery Application operation."
); );
@@projectedName(GalleryApplications.update::parameters.properties, @@encodedName(GalleryApplications.update::parameters.properties,
"json", "application/json",
"galleryApplication" "galleryApplication"
); );
@@extension(GalleryApplications.update::parameters.properties, @@extension(GalleryApplications.update::parameters.properties,

Просмотреть файл

@ -81,8 +81,8 @@ interface GalleryApplicationVersions {
listByGalleryApplication is ArmResourceListByParent<GalleryApplicationVersion>; listByGalleryApplication is ArmResourceListByParent<GalleryApplicationVersion>;
} }
@@projectedName(GalleryApplicationVersions.createOrUpdate::parameters.resource, @@encodedName(GalleryApplicationVersions.createOrUpdate::parameters.resource,
"json", "application/json",
"galleryApplicationVersion" "galleryApplicationVersion"
); );
@@extension(GalleryApplicationVersions.createOrUpdate::parameters.resource, @@extension(GalleryApplicationVersions.createOrUpdate::parameters.resource,
@ -92,8 +92,8 @@ interface GalleryApplicationVersions {
@@doc(GalleryApplicationVersions.createOrUpdate::parameters.resource, @@doc(GalleryApplicationVersions.createOrUpdate::parameters.resource,
"Parameters supplied to the create or update gallery Application Version operation." "Parameters supplied to the create or update gallery Application Version operation."
); );
@@projectedName(GalleryApplicationVersions.update::parameters.properties, @@encodedName(GalleryApplicationVersions.update::parameters.properties,
"json", "application/json",
"galleryApplicationVersion" "galleryApplicationVersion"
); );
@@extension(GalleryApplicationVersions.update::parameters.properties, @@extension(GalleryApplicationVersions.update::parameters.properties,

Просмотреть файл

@ -67,8 +67,8 @@ interface GalleryImages {
listByGallery is ArmResourceListByParent<GalleryImage>; listByGallery is ArmResourceListByParent<GalleryImage>;
} }
@@projectedName(GalleryImages.createOrUpdate::parameters.resource, @@encodedName(GalleryImages.createOrUpdate::parameters.resource,
"json", "application/json",
"galleryImage" "galleryImage"
); );
@@extension(GalleryImages.createOrUpdate::parameters.resource, @@extension(GalleryImages.createOrUpdate::parameters.resource,
@ -78,8 +78,8 @@ interface GalleryImages {
@@doc(GalleryImages.createOrUpdate::parameters.resource, @@doc(GalleryImages.createOrUpdate::parameters.resource,
"Parameters supplied to the create or update gallery image operation." "Parameters supplied to the create or update gallery image operation."
); );
@@projectedName(GalleryImages.update::parameters.properties, @@encodedName(GalleryImages.update::parameters.properties,
"json", "application/json",
"galleryImage" "galleryImage"
); );
@@extension(GalleryImages.update::parameters.properties, @@extension(GalleryImages.update::parameters.properties,

Просмотреть файл

@ -78,8 +78,8 @@ interface GalleryImageVersions {
listByGalleryImage is ArmResourceListByParent<GalleryImageVersion>; listByGalleryImage is ArmResourceListByParent<GalleryImageVersion>;
} }
@@projectedName(GalleryImageVersions.createOrUpdate::parameters.resource, @@encodedName(GalleryImageVersions.createOrUpdate::parameters.resource,
"json", "application/json",
"galleryImageVersion" "galleryImageVersion"
); );
@@extension(GalleryImageVersions.createOrUpdate::parameters.resource, @@extension(GalleryImageVersions.createOrUpdate::parameters.resource,
@ -89,8 +89,8 @@ interface GalleryImageVersions {
@@doc(GalleryImageVersions.createOrUpdate::parameters.resource, @@doc(GalleryImageVersions.createOrUpdate::parameters.resource,
"Parameters supplied to the create or update gallery image version operation." "Parameters supplied to the create or update gallery image version operation."
); );
@@projectedName(GalleryImageVersions.update::parameters.properties, @@encodedName(GalleryImageVersions.update::parameters.properties,
"json", "application/json",
"galleryImageVersion" "galleryImageVersion"
); );
@@extension(GalleryImageVersions.update::parameters.properties, @@extension(GalleryImageVersions.update::parameters.properties,

Просмотреть файл

@ -86,8 +86,8 @@ interface Images {
list is ArmListBySubscription<Image>; list is ArmListBySubscription<Image>;
} }
@@projectedName(Images.createOrUpdate::parameters.resource, @@encodedName(Images.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(Images.createOrUpdate::parameters.resource, @@extension(Images.createOrUpdate::parameters.resource,
@ -97,7 +97,10 @@ interface Images {
@@doc(Images.createOrUpdate::parameters.resource, @@doc(Images.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Image operation." "Parameters supplied to the Create Image operation."
); );
@@projectedName(Images.update::parameters.properties, "json", "parameters"); @@encodedName(Images.update::parameters.properties,
"application/json",
"parameters"
);
@@extension(Images.update::parameters.properties, @@extension(Images.update::parameters.properties,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"

Просмотреть файл

@ -79,8 +79,8 @@ interface PrivateEndpointConnections {
listPrivateEndpointConnections is ArmResourceListByParent<PrivateEndpointConnection>; listPrivateEndpointConnections is ArmResourceListByParent<PrivateEndpointConnection>;
} }
@@projectedName(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource, @@encodedName(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource,
"json", "application/json",
"privateEndpointConnection" "privateEndpointConnection"
); );
@@extension(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource, @@extension(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource,

Просмотреть файл

@ -89,8 +89,8 @@ interface ProximityPlacementGroups {
listBySubscription is ArmListBySubscription<ProximityPlacementGroup>; listBySubscription is ArmListBySubscription<ProximityPlacementGroup>;
} }
@@projectedName(ProximityPlacementGroups.createOrUpdate::parameters.resource, @@encodedName(ProximityPlacementGroups.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ProximityPlacementGroups.createOrUpdate::parameters.resource, @@extension(ProximityPlacementGroups.createOrUpdate::parameters.resource,
@ -100,8 +100,8 @@ interface ProximityPlacementGroups {
@@doc(ProximityPlacementGroups.createOrUpdate::parameters.resource, @@doc(ProximityPlacementGroups.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Proximity Placement Group operation." "Parameters supplied to the Create Proximity Placement Group operation."
); );
@@projectedName(ProximityPlacementGroups.update::parameters.properties, @@encodedName(ProximityPlacementGroups.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(ProximityPlacementGroups.update::parameters.properties, @@extension(ProximityPlacementGroups.update::parameters.properties,

Просмотреть файл

@ -93,8 +93,8 @@ interface RestorePoints {
>; >;
} }
@@projectedName(RestorePoints.create::parameters.resource, @@encodedName(RestorePoints.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RestorePoints.create::parameters.resource, @@extension(RestorePoints.create::parameters.resource,

Просмотреть файл

@ -121,8 +121,8 @@ interface RestorePointCollections {
listAll is ArmListBySubscription<RestorePointCollection>; listAll is ArmListBySubscription<RestorePointCollection>;
} }
@@projectedName(RestorePointCollections.createOrUpdate::parameters.resource, @@encodedName(RestorePointCollections.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RestorePointCollections.createOrUpdate::parameters.resource, @@extension(RestorePointCollections.createOrUpdate::parameters.resource,
@ -132,8 +132,8 @@ interface RestorePointCollections {
@@doc(RestorePointCollections.createOrUpdate::parameters.resource, @@doc(RestorePointCollections.createOrUpdate::parameters.resource,
"Parameters supplied to the Create or Update restore point collection operation." "Parameters supplied to the Create or Update restore point collection operation."
); );
@@projectedName(RestorePointCollections.update::parameters.properties, @@encodedName(RestorePointCollections.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(RestorePointCollections.update::parameters.properties, @@extension(RestorePointCollections.update::parameters.properties,

Просмотреть файл

@ -96,8 +96,8 @@ interface Snapshots {
revokeAccess is ArmResourceActionAsync<Snapshot, void, void>; revokeAccess is ArmResourceActionAsync<Snapshot, void, void>;
} }
@@projectedName(Snapshots.createOrUpdate::parameters.resource, @@encodedName(Snapshots.createOrUpdate::parameters.resource,
"json", "application/json",
"snapshot" "snapshot"
); );
@@extension(Snapshots.createOrUpdate::parameters.resource, @@extension(Snapshots.createOrUpdate::parameters.resource,
@ -107,7 +107,10 @@ interface Snapshots {
@@doc(Snapshots.createOrUpdate::parameters.resource, @@doc(Snapshots.createOrUpdate::parameters.resource,
"Snapshot object supplied in the body of the Put disk operation." "Snapshot object supplied in the body of the Put disk operation."
); );
@@projectedName(Snapshots.update::parameters.properties, "json", "snapshot"); @@encodedName(Snapshots.update::parameters.properties,
"application/json",
"snapshot"
);
@@extension(Snapshots.update::parameters.properties, @@extension(Snapshots.update::parameters.properties,
"x-ms-client-name", "x-ms-client-name",
"snapshot" "snapshot"
@ -115,8 +118,8 @@ interface Snapshots {
@@doc(Snapshots.update::parameters.properties, @@doc(Snapshots.update::parameters.properties,
"Snapshot object supplied in the body of the Patch snapshot operation." "Snapshot object supplied in the body of the Patch snapshot operation."
); );
@@projectedName(Snapshots.grantAccess::parameters.body, @@encodedName(Snapshots.grantAccess::parameters.body,
"json", "application/json",
"grantAccessData" "grantAccessData"
); );
@@extension(Snapshots.grantAccess::parameters.body, @@extension(Snapshots.grantAccess::parameters.body,

Просмотреть файл

@ -94,8 +94,8 @@ interface SshPublicKeyResources {
>; >;
} }
@@projectedName(SshPublicKeyResources.create::parameters.resource, @@encodedName(SshPublicKeyResources.create::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(SshPublicKeyResources.create::parameters.resource, @@extension(SshPublicKeyResources.create::parameters.resource,
@ -105,8 +105,8 @@ interface SshPublicKeyResources {
@@doc(SshPublicKeyResources.create::parameters.resource, @@doc(SshPublicKeyResources.create::parameters.resource,
"Parameters supplied to create the SSH public key." "Parameters supplied to create the SSH public key."
); );
@@projectedName(SshPublicKeyResources.update::parameters.properties, @@encodedName(SshPublicKeyResources.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(SshPublicKeyResources.update::parameters.properties, @@extension(SshPublicKeyResources.update::parameters.properties,

Просмотреть файл

@ -350,8 +350,8 @@ interface VirtualMachines {
>; >;
} }
@@projectedName(VirtualMachines.createOrUpdate::parameters.resource, @@encodedName(VirtualMachines.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachines.createOrUpdate::parameters.resource, @@extension(VirtualMachines.createOrUpdate::parameters.resource,
@ -361,8 +361,8 @@ interface VirtualMachines {
@@doc(VirtualMachines.createOrUpdate::parameters.resource, @@doc(VirtualMachines.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Virtual Machine operation." "Parameters supplied to the Create Virtual Machine operation."
); );
@@projectedName(VirtualMachines.update::parameters.properties, @@encodedName(VirtualMachines.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachines.update::parameters.properties, @@extension(VirtualMachines.update::parameters.properties,
@ -372,7 +372,10 @@ interface VirtualMachines {
@@doc(VirtualMachines.update::parameters.properties, @@doc(VirtualMachines.update::parameters.properties,
"Parameters supplied to the Update Virtual Machine operation." "Parameters supplied to the Update Virtual Machine operation."
); );
@@projectedName(VirtualMachines.capture::parameters.body, "json", "parameters"); @@encodedName(VirtualMachines.capture::parameters.body,
"application/json",
"parameters"
);
@@extension(VirtualMachines.capture::parameters.body, @@extension(VirtualMachines.capture::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"
@ -380,7 +383,10 @@ interface VirtualMachines {
@@doc(VirtualMachines.capture::parameters.body, @@doc(VirtualMachines.capture::parameters.body,
"Parameters supplied to the Capture Virtual Machine operation." "Parameters supplied to the Capture Virtual Machine operation."
); );
@@projectedName(VirtualMachines.reimage::parameters.body, "json", "parameters"); @@encodedName(VirtualMachines.reimage::parameters.body,
"application/json",
"parameters"
);
@@extension(VirtualMachines.reimage::parameters.body, @@extension(VirtualMachines.reimage::parameters.body,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"
@ -388,8 +394,8 @@ interface VirtualMachines {
@@doc(VirtualMachines.reimage::parameters.body, @@doc(VirtualMachines.reimage::parameters.body,
"Parameters supplied to the Reimage Virtual Machine operation." "Parameters supplied to the Reimage Virtual Machine operation."
); );
@@projectedName(VirtualMachines.installPatches::parameters.body, @@encodedName(VirtualMachines.installPatches::parameters.body,
"json", "application/json",
"installPatchesInput" "installPatchesInput"
); );
@@extension(VirtualMachines.installPatches::parameters.body, @@extension(VirtualMachines.installPatches::parameters.body,
@ -399,8 +405,8 @@ interface VirtualMachines {
@@doc(VirtualMachines.installPatches::parameters.body, @@doc(VirtualMachines.installPatches::parameters.body,
"Input for InstallPatches as directly received by the API" "Input for InstallPatches as directly received by the API"
); );
@@projectedName(VirtualMachines.runCommand::parameters.body, @@encodedName(VirtualMachines.runCommand::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachines.runCommand::parameters.body, @@extension(VirtualMachines.runCommand::parameters.body,

Просмотреть файл

@ -92,8 +92,8 @@ interface VirtualMachineExtensions {
>; >;
} }
@@projectedName(VirtualMachineExtensions.createOrUpdate::parameters.resource, @@encodedName(VirtualMachineExtensions.createOrUpdate::parameters.resource,
"json", "application/json",
"extensionParameters" "extensionParameters"
); );
@@extension(VirtualMachineExtensions.createOrUpdate::parameters.resource, @@extension(VirtualMachineExtensions.createOrUpdate::parameters.resource,
@ -103,8 +103,8 @@ interface VirtualMachineExtensions {
@@doc(VirtualMachineExtensions.createOrUpdate::parameters.resource, @@doc(VirtualMachineExtensions.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Virtual Machine Extension operation." "Parameters supplied to the Create Virtual Machine Extension operation."
); );
@@projectedName(VirtualMachineExtensions.update::parameters.properties, @@encodedName(VirtualMachineExtensions.update::parameters.properties,
"json", "application/json",
"extensionParameters" "extensionParameters"
); );
@@extension(VirtualMachineExtensions.update::parameters.properties, @@extension(VirtualMachineExtensions.update::parameters.properties,

Просмотреть файл

@ -110,8 +110,8 @@ interface VirtualMachineRunCommands {
>; >;
} }
@@projectedName(VirtualMachineRunCommands.createOrUpdate::parameters.resource, @@encodedName(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
"json", "application/json",
"runCommand" "runCommand"
); );
@@extension(VirtualMachineRunCommands.createOrUpdate::parameters.resource, @@extension(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
@ -121,8 +121,8 @@ interface VirtualMachineRunCommands {
@@doc(VirtualMachineRunCommands.createOrUpdate::parameters.resource, @@doc(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Virtual Machine RunCommand operation." "Parameters supplied to the Create Virtual Machine RunCommand operation."
); );
@@projectedName(VirtualMachineRunCommands.update::parameters.properties, @@encodedName(VirtualMachineRunCommands.update::parameters.properties,
"json", "application/json",
"runCommand" "runCommand"
); );
@@extension(VirtualMachineRunCommands.update::parameters.properties, @@extension(VirtualMachineRunCommands.update::parameters.properties,

Просмотреть файл

@ -607,8 +607,8 @@ interface VirtualMachineScaleSets {
>; >;
} }
@@projectedName(VirtualMachineScaleSets.createOrUpdate::parameters.resource, @@encodedName(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachineScaleSets.createOrUpdate::parameters.resource, @@extension(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
@ -618,8 +618,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.createOrUpdate::parameters.resource, @@doc(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
"The scale set object." "The scale set object."
); );
@@projectedName(VirtualMachineScaleSets.update::parameters.properties, @@encodedName(VirtualMachineScaleSets.update::parameters.properties,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachineScaleSets.update::parameters.properties, @@extension(VirtualMachineScaleSets.update::parameters.properties,
@ -629,8 +629,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.update::parameters.properties, @@doc(VirtualMachineScaleSets.update::parameters.properties,
"The scale set object." "The scale set object."
); );
@@projectedName(VirtualMachineScaleSets.deallocate::parameters.body, @@encodedName(VirtualMachineScaleSets.deallocate::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.deallocate::parameters.body, @@extension(VirtualMachineScaleSets.deallocate::parameters.body,
@ -640,8 +640,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.deallocate::parameters.body, @@doc(VirtualMachineScaleSets.deallocate::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.deleteInstances::parameters.body, @@encodedName(VirtualMachineScaleSets.deleteInstances::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.deleteInstances::parameters.body, @@extension(VirtualMachineScaleSets.deleteInstances::parameters.body,
@ -651,8 +651,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.deleteInstances::parameters.body, @@doc(VirtualMachineScaleSets.deleteInstances::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.powerOff::parameters.body, @@encodedName(VirtualMachineScaleSets.powerOff::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.powerOff::parameters.body, @@extension(VirtualMachineScaleSets.powerOff::parameters.body,
@ -662,8 +662,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.powerOff::parameters.body, @@doc(VirtualMachineScaleSets.powerOff::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.restart::parameters.body, @@encodedName(VirtualMachineScaleSets.restart::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.restart::parameters.body, @@extension(VirtualMachineScaleSets.restart::parameters.body,
@ -673,8 +673,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.restart::parameters.body, @@doc(VirtualMachineScaleSets.restart::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.start::parameters.body, @@encodedName(VirtualMachineScaleSets.start::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.start::parameters.body, @@extension(VirtualMachineScaleSets.start::parameters.body,
@ -684,8 +684,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.start::parameters.body, @@doc(VirtualMachineScaleSets.start::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.redeploy::parameters.body, @@encodedName(VirtualMachineScaleSets.redeploy::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.redeploy::parameters.body, @@extension(VirtualMachineScaleSets.redeploy::parameters.body,
@ -695,8 +695,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.redeploy::parameters.body, @@doc(VirtualMachineScaleSets.redeploy::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.performMaintenance::parameters.body, @@encodedName(VirtualMachineScaleSets.performMaintenance::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.performMaintenance::parameters.body, @@extension(VirtualMachineScaleSets.performMaintenance::parameters.body,
@ -706,8 +706,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.performMaintenance::parameters.body, @@doc(VirtualMachineScaleSets.performMaintenance::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.updateInstances::parameters.body, @@encodedName(VirtualMachineScaleSets.updateInstances::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.updateInstances::parameters.body, @@extension(VirtualMachineScaleSets.updateInstances::parameters.body,
@ -717,8 +717,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.updateInstances::parameters.body, @@doc(VirtualMachineScaleSets.updateInstances::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.reimage::parameters.body, @@encodedName(VirtualMachineScaleSets.reimage::parameters.body,
"json", "application/json",
"vmScaleSetReimageInput" "vmScaleSetReimageInput"
); );
@@extension(VirtualMachineScaleSets.reimage::parameters.body, @@extension(VirtualMachineScaleSets.reimage::parameters.body,
@ -728,8 +728,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.reimage::parameters.body, @@doc(VirtualMachineScaleSets.reimage::parameters.body,
"Parameters for Reimaging VM ScaleSet." "Parameters for Reimaging VM ScaleSet."
); );
@@projectedName(VirtualMachineScaleSets.reimageAll::parameters.body, @@encodedName(VirtualMachineScaleSets.reimageAll::parameters.body,
"json", "application/json",
"vmInstanceIDs" "vmInstanceIDs"
); );
@@extension(VirtualMachineScaleSets.reimageAll::parameters.body, @@extension(VirtualMachineScaleSets.reimageAll::parameters.body,
@ -739,8 +739,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.reimageAll::parameters.body, @@doc(VirtualMachineScaleSets.reimageAll::parameters.body,
"A list of virtual machine instance IDs from the VM scale set." "A list of virtual machine instance IDs from the VM scale set."
); );
@@projectedName(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body, @@encodedName(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body, @@extension(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
@ -750,8 +750,8 @@ interface VirtualMachineScaleSets {
@@doc(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body, @@doc(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
"The input object for ConvertToSinglePlacementGroup API." "The input object for ConvertToSinglePlacementGroup API."
); );
@@projectedName(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body, @@encodedName(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body, @@extension(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body,

Просмотреть файл

@ -135,8 +135,8 @@ interface VirtualMachineScaleSetExtensions {
>; >;
} }
@@projectedName(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource, @@encodedName(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
"json", "application/json",
"extensionParameters" "extensionParameters"
); );
@@extension(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource, @@extension(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
@ -146,8 +146,8 @@ interface VirtualMachineScaleSetExtensions {
@@doc(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource, @@doc(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
"Parameters supplied to the Create VM scale set Extension operation." "Parameters supplied to the Create VM scale set Extension operation."
); );
@@projectedName(VirtualMachineScaleSetExtensions.update::parameters.properties, @@encodedName(VirtualMachineScaleSetExtensions.update::parameters.properties,
"json", "application/json",
"extensionParameters" "extensionParameters"
); );
@@extension(VirtualMachineScaleSetExtensions.update::parameters.properties, @@extension(VirtualMachineScaleSetExtensions.update::parameters.properties,

Просмотреть файл

@ -437,8 +437,8 @@ interface VirtualMachineScaleSetVMS {
>; >;
} }
@@projectedName(VirtualMachineScaleSetVMS.update::parameters.resource, @@encodedName(VirtualMachineScaleSetVMS.update::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachineScaleSetVMS.update::parameters.resource, @@extension(VirtualMachineScaleSetVMS.update::parameters.resource,
@ -448,8 +448,8 @@ interface VirtualMachineScaleSetVMS {
@@doc(VirtualMachineScaleSetVMS.update::parameters.resource, @@doc(VirtualMachineScaleSetVMS.update::parameters.resource,
"Parameters supplied to the Update Virtual Machine Scale Sets VM operation." "Parameters supplied to the Update Virtual Machine Scale Sets VM operation."
); );
@@projectedName(VirtualMachineScaleSetVMS.reimage::parameters.body, @@encodedName(VirtualMachineScaleSetVMS.reimage::parameters.body,
"json", "application/json",
"vmScaleSetVMReimageInput" "vmScaleSetVMReimageInput"
); );
@@extension(VirtualMachineScaleSetVMS.reimage::parameters.body, @@extension(VirtualMachineScaleSetVMS.reimage::parameters.body,
@ -459,8 +459,8 @@ interface VirtualMachineScaleSetVMS {
@@doc(VirtualMachineScaleSetVMS.reimage::parameters.body, @@doc(VirtualMachineScaleSetVMS.reimage::parameters.body,
"Parameters for the Reimaging Virtual machine in ScaleSet." "Parameters for the Reimaging Virtual machine in ScaleSet."
); );
@@projectedName(VirtualMachineScaleSetVMS.runCommand::parameters.body, @@encodedName(VirtualMachineScaleSetVMS.runCommand::parameters.body,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(VirtualMachineScaleSetVMS.runCommand::parameters.body, @@extension(VirtualMachineScaleSetVMS.runCommand::parameters.body,

Просмотреть файл

@ -155,8 +155,8 @@ interface VirtualMachineScaleSetVMExtensions {
>; >;
} }
@@projectedName(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource, @@encodedName(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
"json", "application/json",
"extensionParameters" "extensionParameters"
); );
@@extension(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource, @@extension(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
@ -166,8 +166,8 @@ interface VirtualMachineScaleSetVMExtensions {
@@doc(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource, @@doc(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
"Parameters supplied to the Create Virtual Machine Extension operation." "Parameters supplied to the Create Virtual Machine Extension operation."
); );
@@projectedName(VirtualMachineScaleSetVMExtensions.update::parameters.properties, @@encodedName(VirtualMachineScaleSetVMExtensions.update::parameters.properties,
"json", "application/json",
"extensionParameters" "extensionParameters"
); );
@@extension(VirtualMachineScaleSetVMExtensions.update::parameters.properties, @@extension(VirtualMachineScaleSetVMExtensions.update::parameters.properties,

Просмотреть файл

@ -2549,7 +2549,7 @@ model VirtualMachineScaleSetDataDisk {
/** /**
* Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. * Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
*/ */
@projectedName("json", "diskIOPSReadWrite") @encodedName("application/json", "diskIOPSReadWrite")
diskIopsReadWrite?: int64; diskIopsReadWrite?: int64;
/** /**
@ -5013,7 +5013,7 @@ model DataDisk {
* Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. * Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set.
*/ */
@visibility("read") @visibility("read")
@projectedName("json", "diskIOPSReadWrite") @encodedName("application/json", "diskIOPSReadWrite")
diskIopsReadWrite?: int64; diskIopsReadWrite?: int64;
/** /**
@ -5841,7 +5841,7 @@ model VirtualMachineCaptureResult extends SubResource {
* the schema of the captured virtual machine * the schema of the captured virtual machine
*/ */
@visibility("read") @visibility("read")
@projectedName("json", "$schema") @encodedName("application/json", "$schema")
schema?: string; schema?: string;
/** /**
@ -7085,7 +7085,7 @@ model RestorePointSourceVMStorageProfile {
/** /**
* Gets the data disks of the VM captured at the time of the restore point creation. * Gets the data disks of the VM captured at the time of the restore point creation.
*/ */
@projectedName("json", "dataDisks") @encodedName("application/json", "dataDisks")
dataDiskList?: RestorePointSourceVMDataDisk[]; dataDiskList?: RestorePointSourceVMDataDisk[];
} }
@ -7533,7 +7533,7 @@ model RunCommandDocumentBase {
/** /**
* The VM run command schema. * The VM run command schema.
*/ */
@projectedName("json", "$schema") @encodedName("application/json", "$schema")
schema: string; schema: string;
/** /**
@ -7896,7 +7896,7 @@ model DiskProperties {
/** /**
* The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. * The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
*/ */
@projectedName("json", "diskIOPSReadWrite") @encodedName("application/json", "diskIOPSReadWrite")
diskIopsReadWrite?: int64; diskIopsReadWrite?: int64;
/** /**
@ -7907,7 +7907,7 @@ model DiskProperties {
/** /**
* The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. * The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
*/ */
@projectedName("json", "diskIOPSReadOnly") @encodedName("application/json", "diskIOPSReadOnly")
diskIopsReadOnly?: int64; diskIopsReadOnly?: int64;
/** /**
@ -8004,7 +8004,7 @@ model DiskProperties {
* The UTC time when the ownership state of the disk was last changed i.e., the time the disk was last attached or detached from a VM or the time when the VM to which the disk was attached was deallocated or started. * The UTC time when the ownership state of the disk was last changed i.e., the time the disk was last attached or detached from a VM or the time when the VM to which the disk was attached was deallocated or started.
*/ */
@visibility("read") @visibility("read")
@projectedName("json", "LastOwnershipUpdateTime") @encodedName("application/json", "LastOwnershipUpdateTime")
// FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario.
lastOwnershipUpdateTime?: utcDateTime; lastOwnershipUpdateTime?: utcDateTime;
} }
@ -8310,7 +8310,7 @@ model DiskUpdateProperties {
/** /**
* The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. * The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
*/ */
@projectedName("json", "diskIOPSReadWrite") @encodedName("application/json", "diskIOPSReadWrite")
diskIopsReadWrite?: int64; diskIopsReadWrite?: int64;
/** /**
@ -8321,7 +8321,7 @@ model DiskUpdateProperties {
/** /**
* The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. * The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
*/ */
@projectedName("json", "diskIOPSReadOnly") @encodedName("application/json", "diskIOPSReadOnly")
diskIopsReadOnly?: int64; diskIopsReadOnly?: int64;
/** /**

Просмотреть файл

@ -184,8 +184,8 @@ interface DnsRecords {
>; >;
} }
@@projectedName(DnsRecords.createOrUpdate::parameters.resource, @@encodedName(DnsRecords.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DnsRecords.createOrUpdate::parameters.resource, @@extension(DnsRecords.createOrUpdate::parameters.resource,
@ -195,7 +195,10 @@ interface DnsRecords {
@@doc(DnsRecords.createOrUpdate::parameters.resource, @@doc(DnsRecords.createOrUpdate::parameters.resource,
"Parameters supplied to the CreateOrUpdate operation." "Parameters supplied to the CreateOrUpdate operation."
); );
@@projectedName(DnsRecords.update::parameters.properties, "json", "parameters"); @@encodedName(DnsRecords.update::parameters.properties,
"application/json",
"parameters"
);
@@extension(DnsRecords.update::parameters.properties, @@extension(DnsRecords.update::parameters.properties,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"

Просмотреть файл

@ -179,8 +179,8 @@ interface DnsZones {
>; >;
} }
@@projectedName(DnsZones.createOrUpdate::parameters.resource, @@encodedName(DnsZones.createOrUpdate::parameters.resource,
"json", "application/json",
"parameters" "parameters"
); );
@@extension(DnsZones.createOrUpdate::parameters.resource, @@extension(DnsZones.createOrUpdate::parameters.resource,
@ -190,7 +190,10 @@ interface DnsZones {
@@doc(DnsZones.createOrUpdate::parameters.resource, @@doc(DnsZones.createOrUpdate::parameters.resource,
"Parameters supplied to the CreateOrUpdate operation." "Parameters supplied to the CreateOrUpdate operation."
); );
@@projectedName(DnsZones.update::parameters.properties, "json", "parameters"); @@encodedName(DnsZones.update::parameters.properties,
"application/json",
"parameters"
);
@@extension(DnsZones.update::parameters.properties, @@extension(DnsZones.update::parameters.properties,
"x-ms-client-name", "x-ms-client-name",
"parameters" "parameters"

Просмотреть файл

@ -48,7 +48,7 @@ model RecordSetProperties {
/** /**
* The TTL (time-to-live) of the records in the record set. * The TTL (time-to-live) of the records in the record set.
*/ */
@projectedName("json", "TTL") @encodedName("application/json", "TTL")
ttlInSeconds?: int64; ttlInSeconds?: int64;
/** /**
@ -71,13 +71,13 @@ model RecordSetProperties {
/** /**
* The list of A records in the record set. * The list of A records in the record set.
*/ */
@projectedName("json", "ARecords") @encodedName("application/json", "ARecords")
aRecords?: ARecord[]; aRecords?: ARecord[];
/** /**
* The list of AAAA records in the record set. * The list of AAAA records in the record set.
*/ */
@projectedName("json", "AAAARecords") @encodedName("application/json", "AAAARecords")
aaaaRecords?: AaaaRecord[]; aaaaRecords?: AaaaRecord[];
/** /**
@ -93,31 +93,31 @@ model RecordSetProperties {
/** /**
* The list of PTR records in the record set. * The list of PTR records in the record set.
*/ */
@projectedName("json", "PTRRecords") @encodedName("application/json", "PTRRecords")
ptrRecords?: PtrRecord[]; ptrRecords?: PtrRecord[];
/** /**
* The list of SRV records in the record set. * The list of SRV records in the record set.
*/ */
@projectedName("json", "SRVRecords") @encodedName("application/json", "SRVRecords")
srvRecords?: SrvRecord[]; srvRecords?: SrvRecord[];
/** /**
* The list of TXT records in the record set. * The list of TXT records in the record set.
*/ */
@projectedName("json", "TXTRecords") @encodedName("application/json", "TXTRecords")
txtRecords?: TxtRecord[]; txtRecords?: TxtRecord[];
/** /**
* The CNAME record in the record set. * The CNAME record in the record set.
*/ */
@projectedName("json", "CNAMERecord") @encodedName("application/json", "CNAMERecord")
cnameRecord?: CnameRecord; cnameRecord?: CnameRecord;
/** /**
* The SOA record in the record set. * The SOA record in the record set.
*/ */
@projectedName("json", "SOARecord") @encodedName("application/json", "SOARecord")
soaRecord?: SoaRecord; soaRecord?: SoaRecord;
/** /**
@ -178,7 +178,7 @@ model NsRecord {
/** /**
* The name server name for this NS record. * The name server name for this NS record.
*/ */
@projectedName("json", "nsdname") @encodedName("application/json", "nsdname")
dnsNSDomainName?: string; dnsNSDomainName?: string;
} }
@ -189,7 +189,7 @@ model PtrRecord {
/** /**
* The PTR target domain name for this PTR record. * The PTR target domain name for this PTR record.
*/ */
@projectedName("json", "ptrdname") @encodedName("application/json", "ptrdname")
dnsPtrDomainName?: string; dnsPtrDomainName?: string;
} }
@ -225,7 +225,7 @@ model TxtRecord {
/** /**
* The text value of this TXT record. * The text value of this TXT record.
*/ */
@projectedName("json", "value") @encodedName("application/json", "value")
values?: string[]; values?: string[];
} }
@ -261,25 +261,25 @@ model SoaRecord {
/** /**
* The refresh value for this SOA record. * The refresh value for this SOA record.
*/ */
@projectedName("json", "refreshTime") @encodedName("application/json", "refreshTime")
refreshTimeInSeconds?: int64; refreshTimeInSeconds?: int64;
/** /**
* The retry time for this SOA record. * The retry time for this SOA record.
*/ */
@projectedName("json", "retryTime") @encodedName("application/json", "retryTime")
retryTimeInSeconds?: int64; retryTimeInSeconds?: int64;
/** /**
* The expire time for this SOA record. * The expire time for this SOA record.
*/ */
@projectedName("json", "expireTime") @encodedName("application/json", "expireTime")
expireTimeInSeconds?: int64; expireTimeInSeconds?: int64;
/** /**
* The minimum value for this SOA record. By convention this is used to determine the negative caching duration. * The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
*/ */
@projectedName("json", "minimumTTL") @encodedName("application/json", "minimumTTL")
minimumTtlInSeconds?: int64; minimumTtlInSeconds?: int64;
} }
@ -347,21 +347,21 @@ model ZoneProperties {
* The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
*/ */
@visibility("read") @visibility("read")
@projectedName("json", "maxNumberOfRecordSets") @encodedName("application/json", "maxNumberOfRecordSets")
maxNumberOfRecords?: int64; maxNumberOfRecords?: int64;
/** /**
* The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
*/ */
@visibility("read") @visibility("read")
@projectedName("json", "maxNumberOfRecordsPerRecordSet") @encodedName("application/json", "maxNumberOfRecordsPerRecordSet")
maxNumberOfRecordsPerRecord?: int64; maxNumberOfRecordsPerRecord?: int64;
/** /**
* The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
*/ */
@visibility("read") @visibility("read")
@projectedName("json", "numberOfRecordSets") @encodedName("application/json", "numberOfRecordSets")
numberOfRecords?: int64; numberOfRecords?: int64;
/** /**
@ -494,6 +494,6 @@ model RecordSetUpdateParameters {
/** /**
* Specifies information about the record set being updated. * Specifies information about the record set being updated.
*/ */
@projectedName("json", "RecordSet") @encodedName("application/json", "RecordSet")
recordSet?: DnsRecord; recordSet?: DnsRecord;
} }

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше