Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions sdk/resources/arm-resources/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ export interface OperationDisplay {
/**
* Microsoft.Resources operation
*/
export interface Operation1 {
export interface Operation {
/**
* Operation name: {provider}/{resource}/{operation}
*/
Expand Down Expand Up @@ -1348,7 +1348,7 @@ export interface TagsPatchResource {
/**
* The operation type for the patch API. Possible values include: 'Replace', 'Merge', 'Delete'
*/
operation?: Operation;
operation?: TagsPatchOperation;
/**
* The set of tags.
*/
Expand Down Expand Up @@ -1708,9 +1708,9 @@ export interface DeploymentsWhatIfHeaders {
* @interface
* Result of the request to list Microsoft.Resources operations. It contains a list of operations
* and a URL link to get the next set of results.
* @extends Array<Operation1>
* @extends Array<Operation>
*/
export interface OperationListResult extends Array<Operation1> {
export interface OperationListResult extends Array<Operation> {
/**
* URL to get the next set of operation list results if there are any.
*/
Expand Down Expand Up @@ -1897,12 +1897,12 @@ export type PropertyChangeType = 'Create' | 'Delete' | 'Modify' | 'Array';
export type ChangeType = 'Create' | 'Delete' | 'Ignore' | 'Deploy' | 'NoChange' | 'Modify';

/**
* Defines values for Operation.
* Defines values for TagsPatchOperation.
* Possible values include: 'Replace', 'Merge', 'Delete'
* @readonly
* @enum {string}
*/
export type Operation = 'Replace' | 'Merge' | 'Delete';
export type TagsPatchOperation = 'Replace' | 'Merge' | 'Delete';

/**
* Contains response data for the list operation.
Expand Down
6 changes: 3 additions & 3 deletions sdk/resources/arm-resources/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2037,11 +2037,11 @@ export const OperationDisplay: msRest.CompositeMapper = {
}
};

export const Operation1: msRest.CompositeMapper = {
export const Operation: msRest.CompositeMapper = {
serializedName: "Operation",
type: {
name: "Composite",
className: "Operation1",
className: "Operation",
modelProperties: {
name: {
serializedName: "name",
Expand Down Expand Up @@ -2411,7 +2411,7 @@ export const OperationListResult: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
className: "Operation1"
className: "Operation"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export {
CloudError,
ErrorAdditionalInfo,
ErrorResponse,
Operation1,
Operation,
OperationDisplay,
OperationListResult
} from "../models/mappers";