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
255 changes: 255 additions & 0 deletions sdk/resources/arm-resources/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,11 @@ export interface DeploymentOperationProperties {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly timestamp?: Date;
/**
* The duration of the operation.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly duration?: string;
/**
* Deployment operation service request id.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -950,6 +955,21 @@ export interface Operation {
display?: OperationDisplay;
}

/**
* Optional Parameters.
*/
export interface DeploymentsListAtManagementGroupScopeOptionalParams extends msRest.RequestOptionsBase {
/**
* The filter to apply on the operation. For example, you can use $filter=provisioningState eq
* '{state}'.
*/
filter?: string;
/**
* The number of results to get. If null is passed, returns all deployments.
*/
top?: number;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -1085,6 +1105,16 @@ export interface ResourceGroupsListOptionalParams extends msRest.RequestOptionsB
top?: number;
}

/**
* Optional Parameters.
*/
export interface DeploymentOperationsListAtManagementGroupScopeOptionalParams extends msRest.RequestOptionsBase {
/**
* The number of results to return.
*/
top?: number;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -1268,6 +1298,131 @@ export type OperationsListNextResponse = OperationListResult & {
};
};

/**
* Contains response data for the checkExistenceAtManagementGroupScope operation.
*/
export type DeploymentsCheckExistenceAtManagementGroupScopeResponse = {
/**
* The parsed response body.
*/
body: boolean;

/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: boolean;
};
};

/**
* Contains response data for the createOrUpdateAtManagementGroupScope operation.
*/
export type DeploymentsCreateOrUpdateAtManagementGroupScopeResponse = DeploymentExtended & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentExtended;
};
};

/**
* Contains response data for the getAtManagementGroupScope operation.
*/
export type DeploymentsGetAtManagementGroupScopeResponse = DeploymentExtended & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentExtended;
};
};

/**
* Contains response data for the validateAtManagementGroupScope operation.
*/
export type DeploymentsValidateAtManagementGroupScopeResponse = DeploymentValidateResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentValidateResult;
};
};

/**
* Contains response data for the exportTemplateAtManagementGroupScope operation.
*/
export type DeploymentsExportTemplateAtManagementGroupScopeResponse = DeploymentExportResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentExportResult;
};
};

/**
* Contains response data for the listAtManagementGroupScope operation.
*/
export type DeploymentsListAtManagementGroupScopeResponse = DeploymentListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentListResult;
};
};

/**
* Contains response data for the checkExistenceAtSubscriptionScope operation.
*/
Expand Down Expand Up @@ -1518,6 +1673,26 @@ export type DeploymentsListByResourceGroupResponse = DeploymentListResult & {
};
};

/**
* Contains response data for the beginCreateOrUpdateAtManagementGroupScope operation.
*/
export type DeploymentsBeginCreateOrUpdateAtManagementGroupScopeResponse = DeploymentExtended & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentExtended;
};
};

/**
* Contains response data for the beginCreateOrUpdateAtSubscriptionScope operation.
*/
Expand Down Expand Up @@ -1558,6 +1733,26 @@ export type DeploymentsBeginCreateOrUpdateResponse = DeploymentExtended & {
};
};

/**
* Contains response data for the listAtManagementGroupScopeNext operation.
*/
export type DeploymentsListAtManagementGroupScopeNextResponse = DeploymentListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentListResult;
};
};

/**
* Contains response data for the listAtSubscriptionScopeNext operation.
*/
Expand Down Expand Up @@ -2253,6 +2448,46 @@ export type TagsListNextResponse = TagsListResult & {
};
};

/**
* Contains response data for the getAtManagementGroupScope operation.
*/
export type DeploymentOperationsGetAtManagementGroupScopeResponse = DeploymentOperation & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentOperation;
};
};

/**
* Contains response data for the listAtManagementGroupScope operation.
*/
export type DeploymentOperationsListAtManagementGroupScopeResponse = DeploymentOperationsListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentOperationsListResult;
};
};

/**
* Contains response data for the getAtSubscriptionScope operation.
*/
Expand Down Expand Up @@ -2333,6 +2568,26 @@ export type DeploymentOperationsListResponse = DeploymentOperationsListResult &
};
};

/**
* Contains response data for the listAtManagementGroupScopeNext operation.
*/
export type DeploymentOperationsListAtManagementGroupScopeNextResponse = DeploymentOperationsListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DeploymentOperationsListResult;
};
};

/**
* Contains response data for the listAtSubscriptionScopeNext operation.
*/
Expand Down
7 changes: 7 additions & 0 deletions sdk/resources/arm-resources/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,13 @@ export const DeploymentOperationProperties: msRest.CompositeMapper = {
name: "DateTime"
}
},
duration: {
readOnly: true,
serializedName: "duration",
type: {
name: "String"
}
},
serviceRequestId: {
readOnly: true,
serializedName: "serviceRequestId",
Expand Down
14 changes: 14 additions & 0 deletions sdk/resources/arm-resources/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@ export const filter: msRest.OperationQueryParameter = {
}
}
};
export const groupId: msRest.OperationURLParameter = {
parameterPath: "groupId",
mapper: {
required: true,
serializedName: "groupId",
constraints: {
MaxLength: 90,
MinLength: 1
},
type: {
name: "String"
}
}
};
export const nextPageLink: msRest.OperationURLParameter = {
parameterPath: "nextPageLink",
mapper: {
Expand Down
Loading