зеркало из https://github.com/Azure/autorest.git
Родитель
1819fe1d8d
Коммит
1a40a3af06
|
@ -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 { generateObjectClientDecorator } from "../generate/generate-client";
|
||||
import { generateArmResourceClientDecorator, generateObjectClientDecorator } from "../generate/generate-client";
|
||||
import { TypespecProgram } from "../interfaces";
|
||||
import { getOptions } from "../options";
|
||||
import { formatTypespecFile } from "../utils/format";
|
||||
import { getClientImports } from "../utils/imports";
|
||||
import { getNamespace } from "../utils/namespace";
|
||||
|
@ -8,16 +9,33 @@ import { getNamespace } from "../utils/namespace";
|
|||
export async function emitClient(filePath: string, program: TypespecProgram): Promise<void> {
|
||||
const content = generateClient(program);
|
||||
|
||||
if (content === "") {
|
||||
return;
|
||||
}
|
||||
const session = getSession();
|
||||
session.writeFile({ filename: filePath, content: await formatTypespecFile(content, filePath) });
|
||||
}
|
||||
|
||||
function generateClient(program: TypespecProgram) {
|
||||
const { isArm } = getOptions();
|
||||
const { models } = program;
|
||||
const { modules, namespaces: namespacesSet } = getClientImports(program);
|
||||
const imports = [...new Set<string>([`import "./main.tsp";`, ...modules])].join("\n");
|
||||
|
||||
const namespaces = [...new Set<string>([...namespacesSet, `using ${getNamespace(program)};`])].join("\n");
|
||||
const objects = models.objects.map(generateObjectClientDecorator).join("\n\n");
|
||||
return [imports, "\n", namespaces, "\n", objects].join("\n");
|
||||
const objects = models.objects
|
||||
.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");
|
||||
|
||||
for (const o of resource.resourceOperations) {
|
||||
for (const d of o.augmentedDecorators ?? []) {
|
||||
for (const d of o.customizations ?? []) {
|
||||
definitions.push(`${d}`);
|
||||
}
|
||||
}
|
||||
|
@ -107,7 +107,6 @@ function generateArmResourceOperation(resource: TspArmResource): string {
|
|||
|
||||
definitions.push("@armResourceOperations");
|
||||
if (resource.name === formalOperationGroupName) {
|
||||
definitions.push(`@projectedName("client", "${formalOperationGroupName}")`);
|
||||
definitions.push(`interface ${formalOperationGroupName}OperationGroup {`);
|
||||
} else {
|
||||
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";
|
||||
|
||||
export function generateObjectClientDecorator(typespecObject: TypespecObject) {
|
||||
|
@ -7,10 +8,19 @@ export function generateObjectClientDecorator(typespecObject: TypespecObject) {
|
|||
for (const property of typespecObject.properties) {
|
||||
const decorators = generateAugmentedDecorators(
|
||||
`${typespecObject.name}.${property.name}`,
|
||||
property.augmentedDecorators,
|
||||
property.clientDecorators,
|
||||
);
|
||||
decorators && definitions.push(decorators);
|
||||
}
|
||||
|
||||
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;
|
||||
type: string;
|
||||
decorators?: TypespecDecorator[];
|
||||
augmentedDecorators?: TypespecDecorator[];
|
||||
clientDecorators?: TypespecDecorator[];
|
||||
defaultValue?: any;
|
||||
}
|
||||
|
||||
|
@ -202,7 +202,7 @@ export interface TspArmResourceOperationBase extends WithDoc, WithFixMe {
|
|||
decorators?: TypespecDecorator[];
|
||||
operationId?: string;
|
||||
examples?: Record<string, Record<string, unknown>>;
|
||||
augmentedDecorators?: string[];
|
||||
customizations?: string[];
|
||||
}
|
||||
|
||||
export type TspArmResourceOperation =
|
||||
|
|
|
@ -244,18 +244,18 @@ function convertResourceCreateOrReplaceOperation(
|
|||
}
|
||||
const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName);
|
||||
const operationName = getOperationName(operation.OperationID);
|
||||
const augmentedDecorators = [];
|
||||
const customizations = [];
|
||||
if (bodyParam) {
|
||||
if (bodyParam.language.default.name !== "resource") {
|
||||
augmentedDecorators.push(
|
||||
`@@projectedName(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "json", "${bodyParam.language.default.name}");`,
|
||||
customizations.push(
|
||||
`@@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}");`,
|
||||
);
|
||||
}
|
||||
if (bodyParam.language.default.description !== "Resource create parameters.") {
|
||||
augmentedDecorators.push(
|
||||
customizations.push(
|
||||
`@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.resource, "${bodyParam.language.default.description}");`,
|
||||
);
|
||||
}
|
||||
|
@ -268,7 +268,7 @@ function convertResourceCreateOrReplaceOperation(
|
|||
operationId: operation.OperationID,
|
||||
templateParameters: templateParameters,
|
||||
examples: swaggerOperation.extensions?.["x-ms-examples"],
|
||||
augmentedDecorators,
|
||||
customizations,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
@ -297,7 +297,7 @@ function convertResourceUpdateOperation(
|
|||
}
|
||||
let kind;
|
||||
const templateParameters = [resourceMetadata.SwaggerModelName];
|
||||
const augmentedDecorators = [];
|
||||
const customizations = [];
|
||||
if (bodyParam) {
|
||||
kind = isLongRunning ? "ArmCustomPatchAsync" : "ArmCustomPatchSync";
|
||||
templateParameters.push(bodyParam.schema.language.default.name);
|
||||
|
@ -305,15 +305,15 @@ function convertResourceUpdateOperation(
|
|||
const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName);
|
||||
const operationName = getOperationName(operation.OperationID);
|
||||
if (bodyParam.language.default.name !== "properties") {
|
||||
augmentedDecorators.push(
|
||||
`@@projectedName(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "json", "${bodyParam.language.default.name}");`,
|
||||
customizations.push(
|
||||
`@@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}");`,
|
||||
);
|
||||
}
|
||||
if (bodyParam.language.default.description !== "The resource properties to be updated.") {
|
||||
augmentedDecorators.push(
|
||||
customizations.push(
|
||||
`@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.properties, "${bodyParam.language.default.description}");`,
|
||||
);
|
||||
}
|
||||
|
@ -333,7 +333,7 @@ function convertResourceUpdateOperation(
|
|||
operationId: operation.OperationID,
|
||||
templateParameters,
|
||||
examples: swaggerOperation.extensions?.["x-ms-examples"],
|
||||
augmentedDecorators,
|
||||
customizations,
|
||||
// To resolve auto-generate update model with proper visibility
|
||||
decorators: [{ name: "parameterVisibility", arguments: ["read"] }],
|
||||
},
|
||||
|
@ -525,18 +525,18 @@ function convertResourceActionOperations(
|
|||
|
||||
const tspOperationGroupName = getTSPOperationGroupName(resourceMetadata.SwaggerModelName);
|
||||
const operationName = getOperationName(operation.OperationID);
|
||||
const augmentedDecorators = [];
|
||||
const customizations = [];
|
||||
if (bodyParam) {
|
||||
if (bodyParam.language.default.name !== "body") {
|
||||
augmentedDecorators.push(
|
||||
`@@projectedName(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "json", "${bodyParam.language.default.name}");`,
|
||||
customizations.push(
|
||||
`@@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}");`,
|
||||
);
|
||||
}
|
||||
if (bodyParam.language.default.description !== "The content of the action request") {
|
||||
augmentedDecorators.push(
|
||||
customizations.push(
|
||||
`@@doc(${tspOperationGroupName}.\`${operationName}\`::parameters.body, "${bodyParam.language.default.description}");`,
|
||||
);
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ function convertResourceActionOperations(
|
|||
operationId: operation.OperationID,
|
||||
templateParameters,
|
||||
examples: swaggerOperation.extensions?.["x-ms-examples"],
|
||||
augmentedDecorators,
|
||||
customizations,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ import { get } from "lodash";
|
|||
import { getDataTypes } from "../data-types";
|
||||
import { TypespecObject, TypespecObjectProperty } from "../interfaces";
|
||||
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 { getLogger } from "../utils/logger";
|
||||
import {
|
||||
|
@ -127,7 +127,7 @@ export function transformObjectProperty(propertySchema: Property, codeModel: Cod
|
|||
isOptional: propertySchema.required !== true,
|
||||
type: visited.name,
|
||||
decorators: getPropertyDecorators(propertySchema),
|
||||
augmentedDecorators: getPropertyAugmentedDecorators(propertySchema),
|
||||
clientDecorators: getPropertyClientDecorators(propertySchema),
|
||||
defaultValue: getDefaultValue(visited.name, propertySchema.schema),
|
||||
};
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ export function transformObjectProperty(propertySchema: Property, codeModel: Cod
|
|||
isOptional: propertySchema.required !== true,
|
||||
type,
|
||||
decorators: getPropertyDecorators(propertySchema),
|
||||
augmentedDecorators: getPropertyAugmentedDecorators(propertySchema),
|
||||
clientDecorators: getPropertyClientDecorators(propertySchema),
|
||||
fixMe: getFixme(propertySchema, codeModel),
|
||||
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) {
|
||||
decorators.push({
|
||||
name: "projectedName",
|
||||
arguments: ["json", (element as Property).serializedName],
|
||||
name: "encodedName",
|
||||
arguments: ["application/json", (element as Property).serializedName],
|
||||
});
|
||||
}
|
||||
|
||||
return decorators;
|
||||
}
|
||||
|
||||
export function getPropertyAugmentedDecorators(element: Property | Parameter): TypespecDecorator[] {
|
||||
export function getPropertyClientDecorators(element: Property | Parameter): TypespecDecorator[] {
|
||||
const decorators: TypespecDecorator[] = [];
|
||||
|
||||
if (element.extensions?.["x-ms-client-flatten"]) {
|
||||
|
|
|
@ -48,7 +48,7 @@ export function getClientImports(program: TypespecProgram) {
|
|||
const namespaces = new Set<string>();
|
||||
for (const model of program.models.objects) {
|
||||
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.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,
|
||||
"json",
|
||||
@@encodedName(DataConnectors.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"body"
|
||||
);
|
||||
@@extension(DataConnectors.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -111,8 +111,8 @@ interface DataManagerForAgricultures {
|
|||
listBySubscription is ArmListBySubscription<DataManagerForAgriculture>;
|
||||
}
|
||||
|
||||
@@projectedName(DataManagerForAgricultures.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DataManagerForAgricultures.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"request"
|
||||
);
|
||||
@@extension(DataManagerForAgricultures.createOrUpdate::parameters.resource,
|
||||
|
@ -122,8 +122,8 @@ interface DataManagerForAgricultures {
|
|||
@@doc(DataManagerForAgricultures.createOrUpdate::parameters.resource,
|
||||
"Data Manager For Agriculture resource create or update request object."
|
||||
);
|
||||
@@projectedName(DataManagerForAgricultures.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(DataManagerForAgricultures.update::parameters.properties,
|
||||
"application/json",
|
||||
"request"
|
||||
);
|
||||
@@extension(DataManagerForAgricultures.update::parameters.properties,
|
||||
|
|
|
@ -102,8 +102,8 @@ interface Extensions {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(Extensions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(Extensions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"requestBody"
|
||||
);
|
||||
@@extension(Extensions.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -64,8 +64,8 @@ interface PrivateEndpointConnections {
|
|||
listByResource is ArmResourceListByParent<PrivateEndpointConnection>;
|
||||
}
|
||||
|
||||
@@projectedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"request"
|
||||
);
|
||||
@@extension(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -155,8 +155,8 @@ interface Solutions {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(Solutions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(Solutions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"requestBody"
|
||||
);
|
||||
@@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");
|
||||
@@doc(Alerts.changeState::parameters.body, "reason of change alert state");
|
||||
|
|
|
@ -73,8 +73,8 @@ interface AlertProcessingRules {
|
|||
listBySubscription is ArmListBySubscription<AlertProcessingRule>;
|
||||
}
|
||||
|
||||
@@projectedName(AlertProcessingRules.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(AlertProcessingRules.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"alertProcessingRule"
|
||||
);
|
||||
@@extension(AlertProcessingRules.createOrUpdate::parameters.resource,
|
||||
|
@ -84,8 +84,8 @@ interface AlertProcessingRules {
|
|||
@@doc(AlertProcessingRules.createOrUpdate::parameters.resource,
|
||||
"Alert processing rule to be created/updated."
|
||||
);
|
||||
@@projectedName(AlertProcessingRules.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(AlertProcessingRules.update::parameters.properties,
|
||||
"application/json",
|
||||
"alertProcessingRulePatch"
|
||||
);
|
||||
@@extension(AlertProcessingRules.update::parameters.properties,
|
||||
|
|
|
@ -176,8 +176,8 @@ interface AnalysisServicesServers {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(AnalysisServicesServers.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(AnalysisServicesServers.create::parameters.resource,
|
||||
"application/json",
|
||||
"serverParameters"
|
||||
);
|
||||
@@extension(AnalysisServicesServers.create::parameters.resource,
|
||||
|
@ -187,8 +187,8 @@ interface AnalysisServicesServers {
|
|||
@@doc(AnalysisServicesServers.create::parameters.resource,
|
||||
"Contains the information used to provision the Analysis Services server."
|
||||
);
|
||||
@@projectedName(AnalysisServicesServers.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(AnalysisServicesServers.update::parameters.properties,
|
||||
"application/json",
|
||||
"serverUpdateParameters"
|
||||
);
|
||||
@@extension(AnalysisServicesServers.update::parameters.properties,
|
||||
|
|
|
@ -169,8 +169,8 @@ interface AccessInformationContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(AccessInformationContracts.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(AccessInformationContracts.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(AccessInformationContracts.create::parameters.resource,
|
||||
|
@ -180,8 +180,8 @@ interface AccessInformationContracts {
|
|||
@@doc(AccessInformationContracts.create::parameters.resource,
|
||||
"Parameters supplied to retrieve the Tenant Access Information."
|
||||
);
|
||||
@@projectedName(AccessInformationContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(AccessInformationContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(AccessInformationContracts.update::parameters.properties,
|
||||
|
|
|
@ -355,8 +355,8 @@ interface ApiContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(ApiContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(ApiContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -366,8 +366,8 @@ interface ApiContracts {
|
|||
@@doc(ApiContracts.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(ApiContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(ApiContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiContracts.update::parameters.properties,
|
||||
|
|
|
@ -1371,8 +1371,8 @@ interface ApiManagementServiceResources {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(ApiManagementServiceResources.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.createOrUpdate::parameters.resource,
|
||||
|
@ -1382,8 +1382,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the CreateOrUpdate API Management service operation."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.update::parameters.properties,
|
||||
|
@ -1393,8 +1393,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.update::parameters.properties,
|
||||
"Parameters supplied to the CreateOrUpdate API Management service operation."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
|
||||
"application/json",
|
||||
"connectivityCheckRequestParams"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
|
||||
|
@ -1404,8 +1404,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.performConnectivityCheckAsync::parameters.body,
|
||||
"Connectivity Check request parameters."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.restore::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.restore::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.restore::parameters.body,
|
||||
|
@ -1415,8 +1415,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.restore::parameters.body,
|
||||
"Parameters supplied to the Restore API Management service from backup operation."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.backup::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.backup::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.backup::parameters.body,
|
||||
|
@ -1426,8 +1426,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.backup::parameters.body,
|
||||
"Parameters supplied to the ApiManagementService_Backup operation."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.applyNetworkConfigurationUpdates::parameters.body,
|
||||
|
@ -1437,8 +1437,8 @@ interface ApiManagementServiceResources {
|
|||
@@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."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.deploy::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.deploy::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.deploy::parameters.body,
|
||||
|
@ -1448,8 +1448,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.deploy::parameters.body,
|
||||
"Deploy Configuration parameters."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.save::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.save::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.save::parameters.body,
|
||||
|
@ -1459,8 +1459,8 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResources.save::parameters.body,
|
||||
"Save Configuration parameters."
|
||||
);
|
||||
@@projectedName(ApiManagementServiceResources.validate::parameters.body,
|
||||
"json",
|
||||
@@encodedName(ApiManagementServiceResources.validate::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiManagementServiceResources.validate::parameters.body,
|
||||
|
|
|
@ -150,8 +150,8 @@ interface ApiReleaseContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(ApiReleaseContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(ApiReleaseContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiReleaseContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -161,8 +161,8 @@ interface ApiReleaseContracts {
|
|||
@@doc(ApiReleaseContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(ApiReleaseContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(ApiReleaseContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiReleaseContracts.update::parameters.properties,
|
||||
|
|
|
@ -152,8 +152,8 @@ interface ApiVersionSetContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(ApiVersionSetContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(ApiVersionSetContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiVersionSetContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -163,8 +163,8 @@ interface ApiVersionSetContracts {
|
|||
@@doc(ApiVersionSetContracts.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(ApiVersionSetContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(ApiVersionSetContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ApiVersionSetContracts.update::parameters.properties,
|
||||
|
|
|
@ -163,8 +163,8 @@ interface AuthorizationServerContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(AuthorizationServerContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(AuthorizationServerContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(AuthorizationServerContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -174,8 +174,8 @@ interface AuthorizationServerContracts {
|
|||
@@doc(AuthorizationServerContracts.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(AuthorizationServerContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(AuthorizationServerContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(AuthorizationServerContracts.update::parameters.properties,
|
||||
|
|
|
@ -159,8 +159,8 @@ interface BackendContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(BackendContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(BackendContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(BackendContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -170,8 +170,8 @@ interface BackendContracts {
|
|||
@@doc(BackendContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(BackendContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(BackendContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(BackendContracts.update::parameters.properties,
|
||||
|
@ -179,8 +179,8 @@ interface BackendContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(BackendContracts.update::parameters.properties, "Update parameters.");
|
||||
@@projectedName(BackendContracts.reconnect::parameters.body,
|
||||
"json",
|
||||
@@encodedName(BackendContracts.reconnect::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(BackendContracts.reconnect::parameters.body,
|
||||
|
|
|
@ -141,8 +141,8 @@ interface CacheContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(CacheContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(CacheContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CacheContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -152,8 +152,8 @@ interface CacheContracts {
|
|||
@@doc(CacheContracts.createOrUpdate::parameters.resource,
|
||||
"Create or Update parameters."
|
||||
);
|
||||
@@projectedName(CacheContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(CacheContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CacheContracts.update::parameters.properties,
|
||||
|
|
|
@ -149,8 +149,8 @@ interface CertificateContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(CertificateContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(CertificateContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CertificateContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -150,8 +150,8 @@ interface DiagnosticContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(DiagnosticContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DiagnosticContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DiagnosticContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -161,8 +161,8 @@ interface DiagnosticContracts {
|
|||
@@doc(DiagnosticContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(DiagnosticContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(DiagnosticContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DiagnosticContracts.update::parameters.properties,
|
||||
|
|
|
@ -149,8 +149,8 @@ interface EmailTemplateContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(EmailTemplateContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(EmailTemplateContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(EmailTemplateContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -160,8 +160,8 @@ interface EmailTemplateContracts {
|
|||
@@doc(EmailTemplateContracts.createOrUpdate::parameters.resource,
|
||||
"Email Template update parameters."
|
||||
);
|
||||
@@projectedName(EmailTemplateContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(EmailTemplateContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(EmailTemplateContracts.update::parameters.properties,
|
||||
|
|
|
@ -132,8 +132,8 @@ interface GatewayCertificateAuthorityContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -238,8 +238,8 @@ interface GatewayContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(GatewayContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GatewayContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GatewayContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -247,8 +247,8 @@ interface GatewayContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(GatewayContracts.createOrUpdate::parameters.resource, "");
|
||||
@@projectedName(GatewayContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(GatewayContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GatewayContracts.update::parameters.properties,
|
||||
|
@ -256,8 +256,8 @@ interface GatewayContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(GatewayContracts.update::parameters.properties, "");
|
||||
@@projectedName(GatewayContracts.regenerateKey::parameters.body,
|
||||
"json",
|
||||
@@encodedName(GatewayContracts.regenerateKey::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GatewayContracts.regenerateKey::parameters.body,
|
||||
|
@ -265,8 +265,8 @@ interface GatewayContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(GatewayContracts.regenerateKey::parameters.body, "");
|
||||
@@projectedName(GatewayContracts.generateToken::parameters.body,
|
||||
"json",
|
||||
@@encodedName(GatewayContracts.generateToken::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GatewayContracts.generateToken::parameters.body,
|
||||
|
|
|
@ -131,8 +131,8 @@ interface GatewayHostnameConfigurationContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -131,8 +131,8 @@ interface GlobalSchemaContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(GlobalSchemaContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GlobalSchemaContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GlobalSchemaContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -207,8 +207,8 @@ interface GroupContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(GroupContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GroupContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GroupContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -216,8 +216,8 @@ interface GroupContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(GroupContracts.createOrUpdate::parameters.resource, "Create parameters.");
|
||||
@@projectedName(GroupContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(GroupContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(GroupContracts.update::parameters.properties,
|
||||
|
|
|
@ -136,8 +136,8 @@ interface IdentityProviderContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(IdentityProviderContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(IdentityProviderContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(IdentityProviderContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -147,8 +147,8 @@ interface IdentityProviderContracts {
|
|||
@@doc(IdentityProviderContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(IdentityProviderContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(IdentityProviderContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(IdentityProviderContracts.update::parameters.properties,
|
||||
|
|
|
@ -132,8 +132,8 @@ interface IssueAttachmentContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(IssueAttachmentContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(IssueAttachmentContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(IssueAttachmentContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -132,8 +132,8 @@ interface IssueCommentContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(IssueCommentContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(IssueCommentContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(IssueCommentContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -164,8 +164,8 @@ interface IssueContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(IssueContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(IssueContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(IssueContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -173,8 +173,8 @@ interface IssueContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(IssueContracts.createOrUpdate::parameters.resource, "Create parameters.");
|
||||
@@projectedName(IssueContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(IssueContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(IssueContracts.update::parameters.properties,
|
||||
|
|
|
@ -149,8 +149,8 @@ interface LoggerContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(LoggerContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(LoggerContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(LoggerContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -160,8 +160,8 @@ interface LoggerContracts {
|
|||
@@doc(LoggerContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(LoggerContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(LoggerContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(LoggerContracts.update::parameters.properties,
|
||||
|
|
|
@ -177,8 +177,8 @@ interface NamedValueContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(NamedValueContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(NamedValueContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(NamedValueContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -188,8 +188,8 @@ interface NamedValueContracts {
|
|||
@@doc(NamedValueContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(NamedValueContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(NamedValueContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(NamedValueContracts.update::parameters.properties,
|
||||
|
|
|
@ -197,8 +197,8 @@ interface OpenidConnectProviderContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -208,8 +208,8 @@ interface OpenidConnectProviderContracts {
|
|||
@@doc(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(OpenidConnectProviderContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(OpenidConnectProviderContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(OpenidConnectProviderContracts.update::parameters.properties,
|
||||
|
|
|
@ -155,8 +155,8 @@ interface OperationContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(OperationContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(OperationContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(OperationContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -166,8 +166,8 @@ interface OperationContracts {
|
|||
@@doc(OperationContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(OperationContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(OperationContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(OperationContracts.update::parameters.properties,
|
||||
|
|
|
@ -114,8 +114,8 @@ interface PolicyContracts {
|
|||
listByOperation is ArmResourceListByParent<PolicyContract>;
|
||||
}
|
||||
|
||||
@@projectedName(PolicyContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PolicyContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PolicyContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -37,7 +37,6 @@ model PortalDelegationSettings extends ProxyResourceBase {
|
|||
}
|
||||
|
||||
@armResourceOperations
|
||||
@projectedName("client", "PortalDelegationSettings")
|
||||
interface PortalDelegationSettingsOperationGroup {
|
||||
/**
|
||||
* Get Delegation Settings for the Portal.
|
||||
|
@ -116,8 +115,8 @@ interface PortalDelegationSettingsOperationGroup {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
|
@ -127,8 +126,8 @@ interface PortalDelegationSettingsOperationGroup {
|
|||
@@doc(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(PortalDelegationSettingsOperationGroup.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(PortalDelegationSettingsOperationGroup.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalDelegationSettingsOperationGroup.update::parameters.properties,
|
||||
|
|
|
@ -128,8 +128,8 @@ interface PortalRevisionContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(PortalRevisionContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PortalRevisionContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalRevisionContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -137,8 +137,8 @@ interface PortalRevisionContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(PortalRevisionContracts.createOrUpdate::parameters.resource, "");
|
||||
@@projectedName(PortalRevisionContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(PortalRevisionContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalRevisionContracts.update::parameters.properties,
|
||||
|
|
|
@ -37,7 +37,6 @@ model PortalSigninSettings extends ProxyResourceBase {
|
|||
}
|
||||
|
||||
@armResourceOperations
|
||||
@projectedName("client", "PortalSigninSettings")
|
||||
interface PortalSigninSettingsOperationGroup {
|
||||
/**
|
||||
* Get Sign In Settings for the Portal
|
||||
|
@ -105,8 +104,8 @@ interface PortalSigninSettingsOperationGroup {
|
|||
listByService is ArmResourceListByParent<PortalSigninSettings>;
|
||||
}
|
||||
|
||||
@@projectedName(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
|
@ -116,8 +115,8 @@ interface PortalSigninSettingsOperationGroup {
|
|||
@@doc(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(PortalSigninSettingsOperationGroup.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(PortalSigninSettingsOperationGroup.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalSigninSettingsOperationGroup.update::parameters.properties,
|
||||
|
|
|
@ -37,7 +37,6 @@ model PortalSignupSettings extends ProxyResourceBase {
|
|||
}
|
||||
|
||||
@armResourceOperations
|
||||
@projectedName("client", "PortalSignupSettings")
|
||||
interface PortalSignupSettingsOperationGroup {
|
||||
/**
|
||||
* Get Sign Up Settings for the Portal
|
||||
|
@ -105,8 +104,8 @@ interface PortalSignupSettingsOperationGroup {
|
|||
listByService is ArmResourceListByParent<PortalSignupSettings>;
|
||||
}
|
||||
|
||||
@@projectedName(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
|
@ -116,8 +115,8 @@ interface PortalSignupSettingsOperationGroup {
|
|||
@@doc(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(PortalSignupSettingsOperationGroup.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(PortalSignupSettingsOperationGroup.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(PortalSignupSettingsOperationGroup.update::parameters.properties,
|
||||
|
|
|
@ -70,8 +70,8 @@ interface PrivateEndpointConnections {
|
|||
listByService is ArmResourceListByParent<PrivateEndpointConnection>;
|
||||
}
|
||||
|
||||
@@projectedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"privateEndpointConnectionRequest"
|
||||
);
|
||||
@@extension(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -350,8 +350,8 @@ interface ProductContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(ProductContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(ProductContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ProductContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -361,8 +361,8 @@ interface ProductContracts {
|
|||
@@doc(ProductContracts.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(ProductContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(ProductContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ProductContracts.update::parameters.properties,
|
||||
|
|
|
@ -135,8 +135,8 @@ interface SchemaContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(SchemaContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(SchemaContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(SchemaContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -208,8 +208,8 @@ interface SubscriptionContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(SubscriptionContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(SubscriptionContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(SubscriptionContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -219,8 +219,8 @@ interface SubscriptionContracts {
|
|||
@@doc(SubscriptionContracts.createOrUpdate::parameters.resource,
|
||||
"Create parameters."
|
||||
);
|
||||
@@projectedName(SubscriptionContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(SubscriptionContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(SubscriptionContracts.update::parameters.properties,
|
||||
|
|
|
@ -132,8 +132,8 @@ interface TagDescriptionContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(TagDescriptionContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(TagDescriptionContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(TagDescriptionContracts.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -320,8 +320,8 @@ interface UserContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(UserContracts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(UserContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(UserContracts.createOrUpdate::parameters.resource,
|
||||
|
@ -331,8 +331,8 @@ interface UserContracts {
|
|||
@@doc(UserContracts.createOrUpdate::parameters.resource,
|
||||
"Create or update parameters."
|
||||
);
|
||||
@@projectedName(UserContracts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(UserContracts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(UserContracts.update::parameters.properties,
|
||||
|
@ -340,8 +340,8 @@ interface UserContracts {
|
|||
"parameters"
|
||||
);
|
||||
@@doc(UserContracts.update::parameters.properties, "Update parameters.");
|
||||
@@projectedName(UserContracts.getSharedAccessToken::parameters.body,
|
||||
"json",
|
||||
@@encodedName(UserContracts.getSharedAccessToken::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(UserContracts.getSharedAccessToken::parameters.body,
|
||||
|
|
|
@ -141,3 +141,11 @@ using Azure.ResourceManager.ApiManagement;
|
|||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(QuotaCounterValueContract.value);
|
||||
|
||||
@@clientName(PortalSigninSettingsOperationGroup, "PortalSigninSettings");
|
||||
|
||||
@@clientName(PortalSignupSettingsOperationGroup, "PortalSignupSettings");
|
||||
|
||||
@@clientName(PortalDelegationSettingsOperationGroup,
|
||||
"PortalDelegationSettings"
|
||||
);
|
||||
|
|
|
@ -1087,7 +1087,7 @@ model ApiEntityBaseContract {
|
|||
/**
|
||||
* Type of API.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
apiType?: ApiType;
|
||||
|
||||
/**
|
||||
|
@ -1134,7 +1134,7 @@ model ApiEntityBaseContract {
|
|||
/**
|
||||
* Specifies whether an API or Product subscription is required for accessing the API.
|
||||
*/
|
||||
@projectedName("json", "subscriptionRequired")
|
||||
@encodedName("application/json", "subscriptionRequired")
|
||||
IsSubscriptionRequired?: boolean;
|
||||
|
||||
/**
|
||||
|
@ -1347,7 +1347,7 @@ model ApiCreateOrUpdateProperties extends ApiContractProperties {
|
|||
* * `websocket` creates websocket API
|
||||
* * `graphql` creates GraphQL API.
|
||||
*/
|
||||
@projectedName("json", "apiType")
|
||||
@encodedName("application/json", "apiType")
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "subscriptionRequired")
|
||||
@encodedName("application/json", "subscriptionRequired")
|
||||
IsSubscriptionRequired?: boolean;
|
||||
|
||||
/**
|
||||
* whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s 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;
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*/
|
||||
@projectedName("json", "format")
|
||||
@encodedName("application/json", "format")
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "clientAuthenticationMethod")
|
||||
@encodedName("application/json", "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.
|
||||
*/
|
||||
@projectedName("json", "supportState")
|
||||
@encodedName("application/json", "supportState")
|
||||
doesSupportState?: boolean;
|
||||
|
||||
/**
|
||||
|
@ -2877,7 +2877,7 @@ model CacheContractProperties {
|
|||
* Original uri of entity in external system cache points to
|
||||
*/
|
||||
@maxLength(2000)
|
||||
@projectedName("json", "resourceId")
|
||||
@encodedName("application/json", "resourceId")
|
||||
resourceUri?: string;
|
||||
}
|
||||
|
||||
|
@ -2917,7 +2917,7 @@ model CacheUpdateProperties {
|
|||
* Original uri of entity in external system cache points to
|
||||
*/
|
||||
@maxLength(2000)
|
||||
@projectedName("json", "resourceId")
|
||||
@encodedName("application/json", "resourceId")
|
||||
resourceUri?: string;
|
||||
}
|
||||
|
||||
|
@ -3092,7 +3092,7 @@ model ConnectivityCheckRequestProtocolConfiguration {
|
|||
/**
|
||||
* Configuration for HTTP or HTTPS requests.
|
||||
*/
|
||||
@projectedName("json", "HTTPConfiguration")
|
||||
@encodedName("application/json", "HTTPConfiguration")
|
||||
httpConfiguration?: ConnectivityCheckRequestProtocolConfigurationHttpConfiguration;
|
||||
}
|
||||
|
||||
|
@ -4556,13 +4556,13 @@ model IdentityProviderBaseParameters {
|
|||
/**
|
||||
* Identity Provider Type identifier.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
identityProviderType?: IdentityProviderType;
|
||||
|
||||
/**
|
||||
* The TenantId to use instead of Common when logging into Active Directory
|
||||
*/
|
||||
@projectedName("json", "signinTenant")
|
||||
@encodedName("application/json", "signinTenant")
|
||||
signInTenant?: string;
|
||||
|
||||
/**
|
||||
|
@ -4579,14 +4579,14 @@ model IdentityProviderBaseParameters {
|
|||
* Signup Policy Name. Only applies to AAD B2C Identity Provider.
|
||||
*/
|
||||
@minLength(1)
|
||||
@projectedName("json", "signupPolicyName")
|
||||
@encodedName("application/json", "signupPolicyName")
|
||||
signUpPolicyName?: string;
|
||||
|
||||
/**
|
||||
* Signin Policy Name. Only applies to AAD B2C Identity Provider.
|
||||
*/
|
||||
@minLength(1)
|
||||
@projectedName("json", "signinPolicyName")
|
||||
@encodedName("application/json", "signinPolicyName")
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "secret")
|
||||
@encodedName("application/json", "secret")
|
||||
IsSecret?: boolean;
|
||||
}
|
||||
|
||||
|
@ -5294,13 +5294,13 @@ model PortalSettingsContractProperties {
|
|||
/**
|
||||
* Subscriptions delegation settings.
|
||||
*/
|
||||
@projectedName("json", "subscriptions")
|
||||
@encodedName("application/json", "subscriptions")
|
||||
IsSubscriptions?: SubscriptionsDelegationSettingsProperties;
|
||||
|
||||
/**
|
||||
* User registration delegation settings.
|
||||
*/
|
||||
@projectedName("json", "userRegistration")
|
||||
@encodedName("application/json", "userRegistration")
|
||||
IsUserRegistration?: RegistrationDelegationSettingsProperties;
|
||||
|
||||
/**
|
||||
|
|
|
@ -43,7 +43,6 @@ model ProviderOperationsMetadata is ProxyResource<{}> {
|
|||
}
|
||||
|
||||
@armResourceOperations
|
||||
@projectedName("client", "ProviderOperationsMetadata")
|
||||
interface ProviderOperationsMetadataOperationGroup {
|
||||
/**
|
||||
* Gets provider operations metadata for the specified resource provider.
|
||||
|
|
|
@ -105,8 +105,8 @@ interface RoleAssignments {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(RoleAssignments.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RoleAssignments.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleAssignments.create::parameters.resource,
|
||||
|
|
|
@ -82,8 +82,8 @@ interface RoleAssignmentScheduleRequests {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(RoleAssignmentScheduleRequests.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RoleAssignmentScheduleRequests.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleAssignmentScheduleRequests.create::parameters.resource,
|
||||
|
@ -93,8 +93,8 @@ interface RoleAssignmentScheduleRequests {
|
|||
@@doc(RoleAssignmentScheduleRequests.create::parameters.resource,
|
||||
"Parameters for the role assignment schedule request."
|
||||
);
|
||||
@@projectedName(RoleAssignmentScheduleRequests.validate::parameters.body,
|
||||
"json",
|
||||
@@encodedName(RoleAssignmentScheduleRequests.validate::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleAssignmentScheduleRequests.validate::parameters.body,
|
||||
|
|
|
@ -71,8 +71,8 @@ interface RoleDefinitions {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(RoleDefinitions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RoleDefinitions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"roleDefinition"
|
||||
);
|
||||
@@extension(RoleDefinitions.createOrUpdate::parameters.resource,
|
||||
|
|
|
@ -82,8 +82,8 @@ interface RoleEligibilityScheduleRequests {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(RoleEligibilityScheduleRequests.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RoleEligibilityScheduleRequests.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleEligibilityScheduleRequests.create::parameters.resource,
|
||||
|
@ -93,8 +93,8 @@ interface RoleEligibilityScheduleRequests {
|
|||
@@doc(RoleEligibilityScheduleRequests.create::parameters.resource,
|
||||
"Parameters for the role eligibility schedule request."
|
||||
);
|
||||
@@projectedName(RoleEligibilityScheduleRequests.validate::parameters.body,
|
||||
"json",
|
||||
@@encodedName(RoleEligibilityScheduleRequests.validate::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleEligibilityScheduleRequests.validate::parameters.body,
|
||||
|
|
|
@ -58,8 +58,8 @@ interface RoleManagementPolicies {
|
|||
listForScope is ArmResourceListByParent<RoleManagementPolicy>;
|
||||
}
|
||||
|
||||
@@projectedName(RoleManagementPolicies.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(RoleManagementPolicies.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleManagementPolicies.update::parameters.properties,
|
||||
|
|
|
@ -57,8 +57,8 @@ interface RoleManagementPolicyAssignments {
|
|||
listForScope is ArmResourceListByParent<RoleManagementPolicyAssignment>;
|
||||
}
|
||||
|
||||
@@projectedName(RoleManagementPolicyAssignments.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RoleManagementPolicyAssignments.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RoleManagementPolicyAssignments.create::parameters.resource,
|
||||
|
|
|
@ -43,3 +43,7 @@ using Azure.ResourceManager.Authorization;
|
|||
@@flattenProperty(PolicyAssignmentProperties.roleDefinition);
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PolicyAssignmentProperties.policy);
|
||||
|
||||
@@clientName(ProviderOperationsMetadataOperationGroup,
|
||||
"ProviderOperationsMetadata"
|
||||
);
|
||||
|
|
|
@ -322,7 +322,7 @@ model Principal {
|
|||
/**
|
||||
* Type of the principal.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
principalType?: PrincipalType;
|
||||
|
||||
/**
|
||||
|
@ -513,7 +513,7 @@ model RoleDefinitionProperties {
|
|||
/**
|
||||
* The role type.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
roleType?: RoleType;
|
||||
|
||||
/**
|
||||
|
@ -693,19 +693,19 @@ model ExpandedPropertiesScope {
|
|||
/**
|
||||
* Scope id of the resource
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
scopeId?: string;
|
||||
|
||||
/**
|
||||
* Display name of the resource
|
||||
*/
|
||||
@projectedName("json", "displayName")
|
||||
@encodedName("application/json", "displayName")
|
||||
scopeDisplayName?: string;
|
||||
|
||||
/**
|
||||
* Type of the scope.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
scopeType?: ScopeType;
|
||||
}
|
||||
|
||||
|
@ -716,19 +716,19 @@ model ExpandedPropertiesRoleDefinition {
|
|||
/**
|
||||
* Id of the role definition
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
roleDefinitionId?: string;
|
||||
|
||||
/**
|
||||
* Display name of the role definition
|
||||
*/
|
||||
@projectedName("json", "displayName")
|
||||
@encodedName("application/json", "displayName")
|
||||
roleDefinitionDisplayName?: string;
|
||||
|
||||
/**
|
||||
* The role type.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
roleType?: RoleType;
|
||||
}
|
||||
|
||||
|
@ -739,13 +739,13 @@ model ExpandedPropertiesPrincipal {
|
|||
/**
|
||||
* Id of the principal
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
principalId?: string;
|
||||
|
||||
/**
|
||||
* Display name of the principal
|
||||
*/
|
||||
@projectedName("json", "displayName")
|
||||
@encodedName("application/json", "displayName")
|
||||
principalDisplayName?: string;
|
||||
|
||||
/**
|
||||
|
@ -756,7 +756,7 @@ model ExpandedPropertiesPrincipal {
|
|||
/**
|
||||
* Type of the principal.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
principalType?: PrincipalType;
|
||||
}
|
||||
|
||||
|
@ -975,7 +975,7 @@ model RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration {
|
|||
/**
|
||||
* Type of the role assignment schedule expiration
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
expirationType?: RoleManagementScheduleExpirationType;
|
||||
|
||||
/**
|
||||
|
@ -1272,7 +1272,7 @@ model RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration {
|
|||
/**
|
||||
* Type of the role eligibility schedule expiration
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
expirationType?: RoleManagementScheduleExpirationType;
|
||||
|
||||
/**
|
||||
|
@ -1426,19 +1426,19 @@ model PolicyPropertiesScope {
|
|||
/**
|
||||
* Scope id of the resource
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
scopeId?: string;
|
||||
|
||||
/**
|
||||
* Display name of the resource
|
||||
*/
|
||||
@projectedName("json", "displayName")
|
||||
@encodedName("application/json", "displayName")
|
||||
scopeDisplayName?: string;
|
||||
|
||||
/**
|
||||
* Type of the scope.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
scopeType?: ScopeType;
|
||||
}
|
||||
|
||||
|
@ -1501,19 +1501,19 @@ model PolicyAssignmentPropertiesScope {
|
|||
/**
|
||||
* Scope id of the resource
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
scopeId?: string;
|
||||
|
||||
/**
|
||||
* Display name of the resource
|
||||
*/
|
||||
@projectedName("json", "displayName")
|
||||
@encodedName("application/json", "displayName")
|
||||
scopeDisplayName?: string;
|
||||
|
||||
/**
|
||||
* Type of the scope.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
scopeType?: ScopeType;
|
||||
}
|
||||
|
||||
|
@ -1524,19 +1524,19 @@ model PolicyAssignmentPropertiesRoleDefinition {
|
|||
/**
|
||||
* Id of the role definition
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
roleDefinitionId?: string;
|
||||
|
||||
/**
|
||||
* Display name of the role definition
|
||||
*/
|
||||
@projectedName("json", "displayName")
|
||||
@encodedName("application/json", "displayName")
|
||||
roleDefinitionDisplayName?: string;
|
||||
|
||||
/**
|
||||
* The role type.
|
||||
*/
|
||||
@projectedName("json", "type")
|
||||
@encodedName("application/json", "type")
|
||||
roleType?: RoleType;
|
||||
}
|
||||
|
||||
|
@ -1547,7 +1547,7 @@ model PolicyAssignmentPropertiesPolicy {
|
|||
/**
|
||||
* Id of the policy
|
||||
*/
|
||||
@projectedName("json", "id")
|
||||
@encodedName("application/json", "id")
|
||||
policyId?: string;
|
||||
|
||||
/**
|
||||
|
|
|
@ -412,7 +412,7 @@ model TrackingProfileDefinition {
|
|||
/**
|
||||
* The tracking definition schema uri.
|
||||
*/
|
||||
@projectedName("json", "$schema")
|
||||
@encodedName("application/json", "$schema")
|
||||
schema?: string;
|
||||
|
||||
/**
|
||||
|
|
|
@ -104,8 +104,8 @@ interface AvailabilitySets {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(AvailabilitySets.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(AvailabilitySets.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(AvailabilitySets.createOrUpdate::parameters.resource,
|
||||
|
@ -115,8 +115,8 @@ interface AvailabilitySets {
|
|||
@@doc(AvailabilitySets.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Availability Set operation."
|
||||
);
|
||||
@@projectedName(AvailabilitySets.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(AvailabilitySets.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(AvailabilitySets.update::parameters.properties,
|
||||
|
|
|
@ -88,8 +88,8 @@ interface CapacityReservations {
|
|||
listByCapacityReservationGroup is ArmResourceListByParent<CapacityReservation>;
|
||||
}
|
||||
|
||||
@@projectedName(CapacityReservations.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(CapacityReservations.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CapacityReservations.createOrUpdate::parameters.resource,
|
||||
|
@ -99,8 +99,8 @@ interface CapacityReservations {
|
|||
@@doc(CapacityReservations.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create capacity reservation."
|
||||
);
|
||||
@@projectedName(CapacityReservations.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(CapacityReservations.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CapacityReservations.update::parameters.properties,
|
||||
|
|
|
@ -100,8 +100,8 @@ interface CapacityReservationGroups {
|
|||
listBySubscription is ArmListBySubscription<CapacityReservationGroup>;
|
||||
}
|
||||
|
||||
@@projectedName(CapacityReservationGroups.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(CapacityReservationGroups.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CapacityReservationGroups.createOrUpdate::parameters.resource,
|
||||
|
@ -111,8 +111,8 @@ interface CapacityReservationGroups {
|
|||
@@doc(CapacityReservationGroups.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create capacity reservation Group."
|
||||
);
|
||||
@@projectedName(CapacityReservationGroups.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(CapacityReservationGroups.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CapacityReservationGroups.update::parameters.properties,
|
||||
|
|
|
@ -230,8 +230,8 @@ interface CloudServices {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(CloudServices.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(CloudServices.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CloudServices.createOrUpdate::parameters.resource,
|
||||
|
@ -241,8 +241,8 @@ interface CloudServices {
|
|||
@@doc(CloudServices.createOrUpdate::parameters.resource,
|
||||
"The cloud service object."
|
||||
);
|
||||
@@projectedName(CloudServices.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(CloudServices.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CloudServices.update::parameters.properties,
|
||||
|
@ -250,7 +250,10 @@ interface CloudServices {
|
|||
"parameters"
|
||||
);
|
||||
@@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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
@ -258,7 +261,10 @@ interface CloudServices {
|
|||
@@doc(CloudServices.restart::parameters.body,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
@ -266,7 +272,10 @@ interface CloudServices {
|
|||
@@doc(CloudServices.reimage::parameters.body,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
@ -274,8 +283,8 @@ interface CloudServices {
|
|||
@@doc(CloudServices.rebuild::parameters.body,
|
||||
"List of cloud service role instance names."
|
||||
);
|
||||
@@projectedName(CloudServices.deleteInstances::parameters.body,
|
||||
"json",
|
||||
@@encodedName(CloudServices.deleteInstances::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(CloudServices.deleteInstances::parameters.body,
|
||||
|
|
|
@ -94,8 +94,8 @@ interface DedicatedHosts {
|
|||
listAvailableSizes is Azure.Core.ResourceList<string>;
|
||||
}
|
||||
|
||||
@@projectedName(DedicatedHosts.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DedicatedHosts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DedicatedHosts.createOrUpdate::parameters.resource,
|
||||
|
@ -105,8 +105,8 @@ interface DedicatedHosts {
|
|||
@@doc(DedicatedHosts.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Dedicated Host."
|
||||
);
|
||||
@@projectedName(DedicatedHosts.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(DedicatedHosts.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DedicatedHosts.update::parameters.properties,
|
||||
|
|
|
@ -86,8 +86,8 @@ interface DedicatedHostGroups {
|
|||
listBySubscription is ArmListBySubscription<DedicatedHostGroup>;
|
||||
}
|
||||
|
||||
@@projectedName(DedicatedHostGroups.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DedicatedHostGroups.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DedicatedHostGroups.createOrUpdate::parameters.resource,
|
||||
|
@ -97,8 +97,8 @@ interface DedicatedHostGroups {
|
|||
@@doc(DedicatedHostGroups.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Dedicated Host Group."
|
||||
);
|
||||
@@projectedName(DedicatedHostGroups.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(DedicatedHostGroups.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DedicatedHostGroups.update::parameters.properties,
|
||||
|
|
|
@ -107,7 +107,10 @@ interface Disks {
|
|||
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,
|
||||
"x-ms-client-name",
|
||||
"disk"
|
||||
|
@ -115,12 +118,15 @@ interface Disks {
|
|||
@@doc(Disks.createOrUpdate::parameters.resource,
|
||||
"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");
|
||||
@@doc(Disks.update::parameters.properties,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"grantAccessData"
|
||||
|
|
|
@ -101,8 +101,8 @@ interface DiskAccesses {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(DiskAccesses.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DiskAccesses.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"diskAccess"
|
||||
);
|
||||
@@extension(DiskAccesses.createOrUpdate::parameters.resource,
|
||||
|
@ -112,8 +112,8 @@ interface DiskAccesses {
|
|||
@@doc(DiskAccesses.createOrUpdate::parameters.resource,
|
||||
"disk access object supplied in the body of the Put disk access operation."
|
||||
);
|
||||
@@projectedName(DiskAccesses.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(DiskAccesses.update::parameters.properties,
|
||||
"application/json",
|
||||
"diskAccess"
|
||||
);
|
||||
@@extension(DiskAccesses.update::parameters.properties,
|
||||
|
|
|
@ -78,8 +78,8 @@ interface DiskEncryptionSets {
|
|||
listAssociatedResources is Azure.Core.ResourceList<string>;
|
||||
}
|
||||
|
||||
@@projectedName(DiskEncryptionSets.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DiskEncryptionSets.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"diskEncryptionSet"
|
||||
);
|
||||
@@extension(DiskEncryptionSets.createOrUpdate::parameters.resource,
|
||||
|
@ -89,8 +89,8 @@ interface DiskEncryptionSets {
|
|||
@@doc(DiskEncryptionSets.createOrUpdate::parameters.resource,
|
||||
"disk encryption set object supplied in the body of the Put disk encryption set operation."
|
||||
);
|
||||
@@projectedName(DiskEncryptionSets.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(DiskEncryptionSets.update::parameters.properties,
|
||||
"application/json",
|
||||
"diskEncryptionSet"
|
||||
);
|
||||
@@extension(DiskEncryptionSets.update::parameters.properties,
|
||||
|
|
|
@ -115,8 +115,8 @@ interface DiskRestorePoints {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(DiskRestorePoints.grantAccess::parameters.body,
|
||||
"json",
|
||||
@@encodedName(DiskRestorePoints.grantAccess::parameters.body,
|
||||
"application/json",
|
||||
"grantAccessData"
|
||||
);
|
||||
@@extension(DiskRestorePoints.grantAccess::parameters.body,
|
||||
|
|
|
@ -94,8 +94,8 @@ interface Galleries {
|
|||
update is ArmResourceActionAsync<Gallery, SharingUpdate, SharingUpdate>;
|
||||
}
|
||||
|
||||
@@projectedName(Galleries.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(Galleries.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"gallery"
|
||||
);
|
||||
@@extension(Galleries.createOrUpdate::parameters.resource,
|
||||
|
@ -105,7 +105,10 @@ interface Galleries {
|
|||
@@doc(Galleries.createOrUpdate::parameters.resource,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"gallery"
|
||||
|
@ -113,7 +116,10 @@ interface Galleries {
|
|||
@@doc(Galleries.update::parameters.properties,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"sharingUpdate"
|
||||
|
|
|
@ -67,8 +67,8 @@ interface GalleryApplications {
|
|||
listByGallery is ArmResourceListByParent<GalleryApplication>;
|
||||
}
|
||||
|
||||
@@projectedName(GalleryApplications.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GalleryApplications.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"galleryApplication"
|
||||
);
|
||||
@@extension(GalleryApplications.createOrUpdate::parameters.resource,
|
||||
|
@ -78,8 +78,8 @@ interface GalleryApplications {
|
|||
@@doc(GalleryApplications.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the create or update gallery Application operation."
|
||||
);
|
||||
@@projectedName(GalleryApplications.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(GalleryApplications.update::parameters.properties,
|
||||
"application/json",
|
||||
"galleryApplication"
|
||||
);
|
||||
@@extension(GalleryApplications.update::parameters.properties,
|
||||
|
|
|
@ -81,8 +81,8 @@ interface GalleryApplicationVersions {
|
|||
listByGalleryApplication is ArmResourceListByParent<GalleryApplicationVersion>;
|
||||
}
|
||||
|
||||
@@projectedName(GalleryApplicationVersions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GalleryApplicationVersions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"galleryApplicationVersion"
|
||||
);
|
||||
@@extension(GalleryApplicationVersions.createOrUpdate::parameters.resource,
|
||||
|
@ -92,8 +92,8 @@ interface GalleryApplicationVersions {
|
|||
@@doc(GalleryApplicationVersions.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the create or update gallery Application Version operation."
|
||||
);
|
||||
@@projectedName(GalleryApplicationVersions.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(GalleryApplicationVersions.update::parameters.properties,
|
||||
"application/json",
|
||||
"galleryApplicationVersion"
|
||||
);
|
||||
@@extension(GalleryApplicationVersions.update::parameters.properties,
|
||||
|
|
|
@ -67,8 +67,8 @@ interface GalleryImages {
|
|||
listByGallery is ArmResourceListByParent<GalleryImage>;
|
||||
}
|
||||
|
||||
@@projectedName(GalleryImages.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GalleryImages.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"galleryImage"
|
||||
);
|
||||
@@extension(GalleryImages.createOrUpdate::parameters.resource,
|
||||
|
@ -78,8 +78,8 @@ interface GalleryImages {
|
|||
@@doc(GalleryImages.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the create or update gallery image operation."
|
||||
);
|
||||
@@projectedName(GalleryImages.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(GalleryImages.update::parameters.properties,
|
||||
"application/json",
|
||||
"galleryImage"
|
||||
);
|
||||
@@extension(GalleryImages.update::parameters.properties,
|
||||
|
|
|
@ -78,8 +78,8 @@ interface GalleryImageVersions {
|
|||
listByGalleryImage is ArmResourceListByParent<GalleryImageVersion>;
|
||||
}
|
||||
|
||||
@@projectedName(GalleryImageVersions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(GalleryImageVersions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"galleryImageVersion"
|
||||
);
|
||||
@@extension(GalleryImageVersions.createOrUpdate::parameters.resource,
|
||||
|
@ -89,8 +89,8 @@ interface GalleryImageVersions {
|
|||
@@doc(GalleryImageVersions.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the create or update gallery image version operation."
|
||||
);
|
||||
@@projectedName(GalleryImageVersions.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(GalleryImageVersions.update::parameters.properties,
|
||||
"application/json",
|
||||
"galleryImageVersion"
|
||||
);
|
||||
@@extension(GalleryImageVersions.update::parameters.properties,
|
||||
|
|
|
@ -86,8 +86,8 @@ interface Images {
|
|||
list is ArmListBySubscription<Image>;
|
||||
}
|
||||
|
||||
@@projectedName(Images.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(Images.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(Images.createOrUpdate::parameters.resource,
|
||||
|
@ -97,7 +97,10 @@ interface Images {
|
|||
@@doc(Images.createOrUpdate::parameters.resource,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
|
|
@ -79,8 +79,8 @@ interface PrivateEndpointConnections {
|
|||
listPrivateEndpointConnections is ArmResourceListByParent<PrivateEndpointConnection>;
|
||||
}
|
||||
|
||||
@@projectedName(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource,
|
||||
"application/json",
|
||||
"privateEndpointConnection"
|
||||
);
|
||||
@@extension(PrivateEndpointConnections.updateAPrivateEndpointConnection::parameters.resource,
|
||||
|
|
|
@ -89,8 +89,8 @@ interface ProximityPlacementGroups {
|
|||
listBySubscription is ArmListBySubscription<ProximityPlacementGroup>;
|
||||
}
|
||||
|
||||
@@projectedName(ProximityPlacementGroups.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(ProximityPlacementGroups.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ProximityPlacementGroups.createOrUpdate::parameters.resource,
|
||||
|
@ -100,8 +100,8 @@ interface ProximityPlacementGroups {
|
|||
@@doc(ProximityPlacementGroups.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Proximity Placement Group operation."
|
||||
);
|
||||
@@projectedName(ProximityPlacementGroups.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(ProximityPlacementGroups.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(ProximityPlacementGroups.update::parameters.properties,
|
||||
|
|
|
@ -93,8 +93,8 @@ interface RestorePoints {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(RestorePoints.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RestorePoints.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RestorePoints.create::parameters.resource,
|
||||
|
|
|
@ -121,8 +121,8 @@ interface RestorePointCollections {
|
|||
listAll is ArmListBySubscription<RestorePointCollection>;
|
||||
}
|
||||
|
||||
@@projectedName(RestorePointCollections.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(RestorePointCollections.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RestorePointCollections.createOrUpdate::parameters.resource,
|
||||
|
@ -132,8 +132,8 @@ interface RestorePointCollections {
|
|||
@@doc(RestorePointCollections.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create or Update restore point collection operation."
|
||||
);
|
||||
@@projectedName(RestorePointCollections.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(RestorePointCollections.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(RestorePointCollections.update::parameters.properties,
|
||||
|
|
|
@ -96,8 +96,8 @@ interface Snapshots {
|
|||
revokeAccess is ArmResourceActionAsync<Snapshot, void, void>;
|
||||
}
|
||||
|
||||
@@projectedName(Snapshots.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(Snapshots.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"snapshot"
|
||||
);
|
||||
@@extension(Snapshots.createOrUpdate::parameters.resource,
|
||||
|
@ -107,7 +107,10 @@ interface Snapshots {
|
|||
@@doc(Snapshots.createOrUpdate::parameters.resource,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"snapshot"
|
||||
|
@ -115,8 +118,8 @@ interface Snapshots {
|
|||
@@doc(Snapshots.update::parameters.properties,
|
||||
"Snapshot object supplied in the body of the Patch snapshot operation."
|
||||
);
|
||||
@@projectedName(Snapshots.grantAccess::parameters.body,
|
||||
"json",
|
||||
@@encodedName(Snapshots.grantAccess::parameters.body,
|
||||
"application/json",
|
||||
"grantAccessData"
|
||||
);
|
||||
@@extension(Snapshots.grantAccess::parameters.body,
|
||||
|
|
|
@ -94,8 +94,8 @@ interface SshPublicKeyResources {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(SshPublicKeyResources.create::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(SshPublicKeyResources.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(SshPublicKeyResources.create::parameters.resource,
|
||||
|
@ -105,8 +105,8 @@ interface SshPublicKeyResources {
|
|||
@@doc(SshPublicKeyResources.create::parameters.resource,
|
||||
"Parameters supplied to create the SSH public key."
|
||||
);
|
||||
@@projectedName(SshPublicKeyResources.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(SshPublicKeyResources.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(SshPublicKeyResources.update::parameters.properties,
|
||||
|
|
|
@ -350,8 +350,8 @@ interface VirtualMachines {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachines.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachines.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachines.createOrUpdate::parameters.resource,
|
||||
|
@ -361,8 +361,8 @@ interface VirtualMachines {
|
|||
@@doc(VirtualMachines.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Virtual Machine operation."
|
||||
);
|
||||
@@projectedName(VirtualMachines.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(VirtualMachines.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachines.update::parameters.properties,
|
||||
|
@ -372,7 +372,10 @@ interface VirtualMachines {
|
|||
@@doc(VirtualMachines.update::parameters.properties,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
@ -380,7 +383,10 @@ interface VirtualMachines {
|
|||
@@doc(VirtualMachines.capture::parameters.body,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
@ -388,8 +394,8 @@ interface VirtualMachines {
|
|||
@@doc(VirtualMachines.reimage::parameters.body,
|
||||
"Parameters supplied to the Reimage Virtual Machine operation."
|
||||
);
|
||||
@@projectedName(VirtualMachines.installPatches::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachines.installPatches::parameters.body,
|
||||
"application/json",
|
||||
"installPatchesInput"
|
||||
);
|
||||
@@extension(VirtualMachines.installPatches::parameters.body,
|
||||
|
@ -399,8 +405,8 @@ interface VirtualMachines {
|
|||
@@doc(VirtualMachines.installPatches::parameters.body,
|
||||
"Input for InstallPatches as directly received by the API"
|
||||
);
|
||||
@@projectedName(VirtualMachines.runCommand::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachines.runCommand::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachines.runCommand::parameters.body,
|
||||
|
|
|
@ -92,8 +92,8 @@ interface VirtualMachineExtensions {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachineExtensions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineExtensions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"extensionParameters"
|
||||
);
|
||||
@@extension(VirtualMachineExtensions.createOrUpdate::parameters.resource,
|
||||
|
@ -103,8 +103,8 @@ interface VirtualMachineExtensions {
|
|||
@@doc(VirtualMachineExtensions.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Virtual Machine Extension operation."
|
||||
);
|
||||
@@projectedName(VirtualMachineExtensions.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineExtensions.update::parameters.properties,
|
||||
"application/json",
|
||||
"extensionParameters"
|
||||
);
|
||||
@@extension(VirtualMachineExtensions.update::parameters.properties,
|
||||
|
|
|
@ -110,8 +110,8 @@ interface VirtualMachineRunCommands {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"runCommand"
|
||||
);
|
||||
@@extension(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
|
||||
|
@ -121,8 +121,8 @@ interface VirtualMachineRunCommands {
|
|||
@@doc(VirtualMachineRunCommands.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Virtual Machine RunCommand operation."
|
||||
);
|
||||
@@projectedName(VirtualMachineRunCommands.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineRunCommands.update::parameters.properties,
|
||||
"application/json",
|
||||
"runCommand"
|
||||
);
|
||||
@@extension(VirtualMachineRunCommands.update::parameters.properties,
|
||||
|
|
|
@ -607,8 +607,8 @@ interface VirtualMachineScaleSets {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
|
||||
|
@ -618,8 +618,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.createOrUpdate::parameters.resource,
|
||||
"The scale set object."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.update::parameters.properties,
|
||||
|
@ -629,8 +629,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.update::parameters.properties,
|
||||
"The scale set object."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.deallocate::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.deallocate::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.deallocate::parameters.body,
|
||||
|
@ -640,8 +640,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.deallocate::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.deleteInstances::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.deleteInstances::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.deleteInstances::parameters.body,
|
||||
|
@ -651,8 +651,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.deleteInstances::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.powerOff::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.powerOff::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.powerOff::parameters.body,
|
||||
|
@ -662,8 +662,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.powerOff::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.restart::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.restart::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.restart::parameters.body,
|
||||
|
@ -673,8 +673,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.restart::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.start::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.start::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.start::parameters.body,
|
||||
|
@ -684,8 +684,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.start::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.redeploy::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.redeploy::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.redeploy::parameters.body,
|
||||
|
@ -695,8 +695,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.redeploy::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.performMaintenance::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.performMaintenance::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.performMaintenance::parameters.body,
|
||||
|
@ -706,8 +706,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.performMaintenance::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.updateInstances::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.updateInstances::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.updateInstances::parameters.body,
|
||||
|
@ -717,8 +717,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.updateInstances::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.reimage::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.reimage::parameters.body,
|
||||
"application/json",
|
||||
"vmScaleSetReimageInput"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.reimage::parameters.body,
|
||||
|
@ -728,8 +728,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.reimage::parameters.body,
|
||||
"Parameters for Reimaging VM ScaleSet."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.reimageAll::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.reimageAll::parameters.body,
|
||||
"application/json",
|
||||
"vmInstanceIDs"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.reimageAll::parameters.body,
|
||||
|
@ -739,8 +739,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.reimageAll::parameters.body,
|
||||
"A list of virtual machine instance IDs from the VM scale set."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
|
||||
|
@ -750,8 +750,8 @@ interface VirtualMachineScaleSets {
|
|||
@@doc(VirtualMachineScaleSets.convertToSinglePlacementGroup::parameters.body,
|
||||
"The input object for ConvertToSinglePlacementGroup API."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSets.setOrchestrationServiceState::parameters.body,
|
||||
|
|
|
@ -135,8 +135,8 @@ interface VirtualMachineScaleSetExtensions {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"extensionParameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
|
||||
|
@ -146,8 +146,8 @@ interface VirtualMachineScaleSetExtensions {
|
|||
@@doc(VirtualMachineScaleSetExtensions.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create VM scale set Extension operation."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSetExtensions.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetExtensions.update::parameters.properties,
|
||||
"application/json",
|
||||
"extensionParameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSetExtensions.update::parameters.properties,
|
||||
|
|
|
@ -437,8 +437,8 @@ interface VirtualMachineScaleSetVMS {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachineScaleSetVMS.update::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetVMS.update::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSetVMS.update::parameters.resource,
|
||||
|
@ -448,8 +448,8 @@ interface VirtualMachineScaleSetVMS {
|
|||
@@doc(VirtualMachineScaleSetVMS.update::parameters.resource,
|
||||
"Parameters supplied to the Update Virtual Machine Scale Sets VM operation."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSetVMS.reimage::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetVMS.reimage::parameters.body,
|
||||
"application/json",
|
||||
"vmScaleSetVMReimageInput"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSetVMS.reimage::parameters.body,
|
||||
|
@ -459,8 +459,8 @@ interface VirtualMachineScaleSetVMS {
|
|||
@@doc(VirtualMachineScaleSetVMS.reimage::parameters.body,
|
||||
"Parameters for the Reimaging Virtual machine in ScaleSet."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSetVMS.runCommand::parameters.body,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetVMS.runCommand::parameters.body,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSetVMS.runCommand::parameters.body,
|
||||
|
|
|
@ -155,8 +155,8 @@ interface VirtualMachineScaleSetVMExtensions {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"extensionParameters"
|
||||
);
|
||||
@@extension(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
|
||||
|
@ -166,8 +166,8 @@ interface VirtualMachineScaleSetVMExtensions {
|
|||
@@doc(VirtualMachineScaleSetVMExtensions.createOrUpdate::parameters.resource,
|
||||
"Parameters supplied to the Create Virtual Machine Extension operation."
|
||||
);
|
||||
@@projectedName(VirtualMachineScaleSetVMExtensions.update::parameters.properties,
|
||||
"json",
|
||||
@@encodedName(VirtualMachineScaleSetVMExtensions.update::parameters.properties,
|
||||
"application/json",
|
||||
"extensionParameters"
|
||||
);
|
||||
@@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.
|
||||
*/
|
||||
@projectedName("json", "diskIOPSReadWrite")
|
||||
@encodedName("application/json", "diskIOPSReadWrite")
|
||||
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.
|
||||
*/
|
||||
@visibility("read")
|
||||
@projectedName("json", "diskIOPSReadWrite")
|
||||
@encodedName("application/json", "diskIOPSReadWrite")
|
||||
diskIopsReadWrite?: int64;
|
||||
|
||||
/**
|
||||
|
@ -5841,7 +5841,7 @@ model VirtualMachineCaptureResult extends SubResource {
|
|||
* the schema of the captured virtual machine
|
||||
*/
|
||||
@visibility("read")
|
||||
@projectedName("json", "$schema")
|
||||
@encodedName("application/json", "$schema")
|
||||
schema?: string;
|
||||
|
||||
/**
|
||||
|
@ -7085,7 +7085,7 @@ model RestorePointSourceVMStorageProfile {
|
|||
/**
|
||||
* 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[];
|
||||
}
|
||||
|
||||
|
@ -7533,7 +7533,7 @@ model RunCommandDocumentBase {
|
|||
/**
|
||||
* The VM run command schema.
|
||||
*/
|
||||
@projectedName("json", "$schema")
|
||||
@encodedName("application/json", "$schema")
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "diskIOPSReadWrite")
|
||||
@encodedName("application/json", "diskIOPSReadWrite")
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "diskIOPSReadOnly")
|
||||
@encodedName("application/json", "diskIOPSReadOnly")
|
||||
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.
|
||||
*/
|
||||
@visibility("read")
|
||||
@projectedName("json", "LastOwnershipUpdateTime")
|
||||
@encodedName("application/json", "LastOwnershipUpdateTime")
|
||||
// FIXME: (utcDateTime) Please double check that this is the correct type for your scenario.
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "diskIOPSReadWrite")
|
||||
@encodedName("application/json", "diskIOPSReadWrite")
|
||||
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.
|
||||
*/
|
||||
@projectedName("json", "diskIOPSReadOnly")
|
||||
@encodedName("application/json", "diskIOPSReadOnly")
|
||||
diskIopsReadOnly?: int64;
|
||||
|
||||
/**
|
||||
|
|
|
@ -184,8 +184,8 @@ interface DnsRecords {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(DnsRecords.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DnsRecords.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DnsRecords.createOrUpdate::parameters.resource,
|
||||
|
@ -195,7 +195,10 @@ interface DnsRecords {
|
|||
@@doc(DnsRecords.createOrUpdate::parameters.resource,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
|
|
@ -179,8 +179,8 @@ interface DnsZones {
|
|||
>;
|
||||
}
|
||||
|
||||
@@projectedName(DnsZones.createOrUpdate::parameters.resource,
|
||||
"json",
|
||||
@@encodedName(DnsZones.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
);
|
||||
@@extension(DnsZones.createOrUpdate::parameters.resource,
|
||||
|
@ -190,7 +190,10 @@ interface DnsZones {
|
|||
@@doc(DnsZones.createOrUpdate::parameters.resource,
|
||||
"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,
|
||||
"x-ms-client-name",
|
||||
"parameters"
|
||||
|
|
|
@ -48,7 +48,7 @@ model RecordSetProperties {
|
|||
/**
|
||||
* The TTL (time-to-live) of the records in the record set.
|
||||
*/
|
||||
@projectedName("json", "TTL")
|
||||
@encodedName("application/json", "TTL")
|
||||
ttlInSeconds?: int64;
|
||||
|
||||
/**
|
||||
|
@ -71,13 +71,13 @@ model RecordSetProperties {
|
|||
/**
|
||||
* The list of A records in the record set.
|
||||
*/
|
||||
@projectedName("json", "ARecords")
|
||||
@encodedName("application/json", "ARecords")
|
||||
aRecords?: ARecord[];
|
||||
|
||||
/**
|
||||
* The list of AAAA records in the record set.
|
||||
*/
|
||||
@projectedName("json", "AAAARecords")
|
||||
@encodedName("application/json", "AAAARecords")
|
||||
aaaaRecords?: AaaaRecord[];
|
||||
|
||||
/**
|
||||
|
@ -93,31 +93,31 @@ model RecordSetProperties {
|
|||
/**
|
||||
* The list of PTR records in the record set.
|
||||
*/
|
||||
@projectedName("json", "PTRRecords")
|
||||
@encodedName("application/json", "PTRRecords")
|
||||
ptrRecords?: PtrRecord[];
|
||||
|
||||
/**
|
||||
* The list of SRV records in the record set.
|
||||
*/
|
||||
@projectedName("json", "SRVRecords")
|
||||
@encodedName("application/json", "SRVRecords")
|
||||
srvRecords?: SrvRecord[];
|
||||
|
||||
/**
|
||||
* The list of TXT records in the record set.
|
||||
*/
|
||||
@projectedName("json", "TXTRecords")
|
||||
@encodedName("application/json", "TXTRecords")
|
||||
txtRecords?: TxtRecord[];
|
||||
|
||||
/**
|
||||
* The CNAME record in the record set.
|
||||
*/
|
||||
@projectedName("json", "CNAMERecord")
|
||||
@encodedName("application/json", "CNAMERecord")
|
||||
cnameRecord?: CnameRecord;
|
||||
|
||||
/**
|
||||
* The SOA record in the record set.
|
||||
*/
|
||||
@projectedName("json", "SOARecord")
|
||||
@encodedName("application/json", "SOARecord")
|
||||
soaRecord?: SoaRecord;
|
||||
|
||||
/**
|
||||
|
@ -178,7 +178,7 @@ model NsRecord {
|
|||
/**
|
||||
* The name server name for this NS record.
|
||||
*/
|
||||
@projectedName("json", "nsdname")
|
||||
@encodedName("application/json", "nsdname")
|
||||
dnsNSDomainName?: string;
|
||||
}
|
||||
|
||||
|
@ -189,7 +189,7 @@ model PtrRecord {
|
|||
/**
|
||||
* The PTR target domain name for this PTR record.
|
||||
*/
|
||||
@projectedName("json", "ptrdname")
|
||||
@encodedName("application/json", "ptrdname")
|
||||
dnsPtrDomainName?: string;
|
||||
}
|
||||
|
||||
|
@ -225,7 +225,7 @@ model TxtRecord {
|
|||
/**
|
||||
* The text value of this TXT record.
|
||||
*/
|
||||
@projectedName("json", "value")
|
||||
@encodedName("application/json", "value")
|
||||
values?: string[];
|
||||
}
|
||||
|
||||
|
@ -261,25 +261,25 @@ model SoaRecord {
|
|||
/**
|
||||
* The refresh value for this SOA record.
|
||||
*/
|
||||
@projectedName("json", "refreshTime")
|
||||
@encodedName("application/json", "refreshTime")
|
||||
refreshTimeInSeconds?: int64;
|
||||
|
||||
/**
|
||||
* The retry time for this SOA record.
|
||||
*/
|
||||
@projectedName("json", "retryTime")
|
||||
@encodedName("application/json", "retryTime")
|
||||
retryTimeInSeconds?: int64;
|
||||
|
||||
/**
|
||||
* The expire time for this SOA record.
|
||||
*/
|
||||
@projectedName("json", "expireTime")
|
||||
@encodedName("application/json", "expireTime")
|
||||
expireTimeInSeconds?: int64;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*/
|
||||
@visibility("read")
|
||||
@projectedName("json", "maxNumberOfRecordSets")
|
||||
@encodedName("application/json", "maxNumberOfRecordSets")
|
||||
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.
|
||||
*/
|
||||
@visibility("read")
|
||||
@projectedName("json", "maxNumberOfRecordsPerRecordSet")
|
||||
@encodedName("application/json", "maxNumberOfRecordsPerRecordSet")
|
||||
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.
|
||||
*/
|
||||
@visibility("read")
|
||||
@projectedName("json", "numberOfRecordSets")
|
||||
@encodedName("application/json", "numberOfRecordSets")
|
||||
numberOfRecords?: int64;
|
||||
|
||||
/**
|
||||
|
@ -494,6 +494,6 @@ model RecordSetUpdateParameters {
|
|||
/**
|
||||
* Specifies information about the record set being updated.
|
||||
*/
|
||||
@projectedName("json", "RecordSet")
|
||||
@encodedName("application/json", "RecordSet")
|
||||
recordSet?: DnsRecord;
|
||||
}
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче