@longvansoftware/service-js-client 2.7.6 → 2.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -603,7 +603,7 @@ const COMPUTING_DETAIL_DYNAMIC = (fields = []) => {
|
|
|
603
603
|
};
|
|
604
604
|
exports.COMPUTING_DETAIL_DYNAMIC = COMPUTING_DETAIL_DYNAMIC;
|
|
605
605
|
exports.IS_TEMPLATE_SUPPORT_EXTEND_DISK_AUTO = (0, graphql_tag_1.gql) `
|
|
606
|
-
query IsTemplateSupportExtendDiskAuto($
|
|
607
|
-
isTemplateSupportExtendDiskAuto(
|
|
606
|
+
query IsTemplateSupportExtendDiskAuto($templateId: String!, $diskIndex: Int!) {
|
|
607
|
+
isTemplateSupportExtendDiskAuto(templateId: $templateId, diskIndex: $diskIndex)
|
|
608
608
|
}
|
|
609
609
|
`;
|
|
@@ -68,5 +68,5 @@ export declare class ComputingService extends Service {
|
|
|
68
68
|
addDisk(computingId: string, size: number, unit: string, datastoreId: string): Promise<any>;
|
|
69
69
|
extendDisk(computingId: string): Promise<any>;
|
|
70
70
|
resizeDisk(computingId: string, diskIndex: number, size: number, unit: string): Promise<any>;
|
|
71
|
-
isTemplateSupportExtendDiskAuto(
|
|
71
|
+
isTemplateSupportExtendDiskAuto(templateId: string, diskIndex: number): Promise<any>;
|
|
72
72
|
}
|
|
@@ -1048,11 +1048,11 @@ class ComputingService extends serviceSDK_1.Service {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
});
|
|
1050
1050
|
}
|
|
1051
|
-
isTemplateSupportExtendDiskAuto(
|
|
1051
|
+
isTemplateSupportExtendDiskAuto(templateId, diskIndex) {
|
|
1052
1052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1053
1053
|
const query = queries_1.IS_TEMPLATE_SUPPORT_EXTEND_DISK_AUTO;
|
|
1054
1054
|
const variables = {
|
|
1055
|
-
|
|
1055
|
+
templateId,
|
|
1056
1056
|
diskIndex
|
|
1057
1057
|
};
|
|
1058
1058
|
try {
|