@alicloud/oos20190601 1.0.6 → 1.0.8
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.
- package/dist/client.d.ts +8 -0
- package/dist/client.js +22 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +32 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -730,6 +730,7 @@ export class CreatePatchBaselineRequest extends $tea.Model {
|
|
|
730
730
|
regionId?: string;
|
|
731
731
|
rejectedPatches?: string[];
|
|
732
732
|
rejectedPatchesAction?: string;
|
|
733
|
+
resourceGroupId?: string;
|
|
733
734
|
sources?: string[];
|
|
734
735
|
tags?: CreatePatchBaselineRequestTags[];
|
|
735
736
|
static names(): { [key: string]: string } {
|
|
@@ -744,6 +745,7 @@ export class CreatePatchBaselineRequest extends $tea.Model {
|
|
|
744
745
|
regionId: 'RegionId',
|
|
745
746
|
rejectedPatches: 'RejectedPatches',
|
|
746
747
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
748
|
+
resourceGroupId: 'ResourceGroupId',
|
|
747
749
|
sources: 'Sources',
|
|
748
750
|
tags: 'Tags',
|
|
749
751
|
};
|
|
@@ -761,6 +763,7 @@ export class CreatePatchBaselineRequest extends $tea.Model {
|
|
|
761
763
|
regionId: 'string',
|
|
762
764
|
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
763
765
|
rejectedPatchesAction: 'string',
|
|
766
|
+
resourceGroupId: 'string',
|
|
764
767
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
765
768
|
tags: { 'type': 'array', 'itemType': CreatePatchBaselineRequestTags },
|
|
766
769
|
};
|
|
@@ -782,6 +785,7 @@ export class CreatePatchBaselineShrinkRequest extends $tea.Model {
|
|
|
782
785
|
regionId?: string;
|
|
783
786
|
rejectedPatchesShrink?: string;
|
|
784
787
|
rejectedPatchesAction?: string;
|
|
788
|
+
resourceGroupId?: string;
|
|
785
789
|
sourcesShrink?: string;
|
|
786
790
|
tagsShrink?: string;
|
|
787
791
|
static names(): { [key: string]: string } {
|
|
@@ -796,6 +800,7 @@ export class CreatePatchBaselineShrinkRequest extends $tea.Model {
|
|
|
796
800
|
regionId: 'RegionId',
|
|
797
801
|
rejectedPatchesShrink: 'RejectedPatches',
|
|
798
802
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
803
|
+
resourceGroupId: 'ResourceGroupId',
|
|
799
804
|
sourcesShrink: 'Sources',
|
|
800
805
|
tagsShrink: 'Tags',
|
|
801
806
|
};
|
|
@@ -813,6 +818,7 @@ export class CreatePatchBaselineShrinkRequest extends $tea.Model {
|
|
|
813
818
|
regionId: 'string',
|
|
814
819
|
rejectedPatchesShrink: 'string',
|
|
815
820
|
rejectedPatchesAction: 'string',
|
|
821
|
+
resourceGroupId: 'string',
|
|
816
822
|
sourcesShrink: 'string',
|
|
817
823
|
tagsShrink: 'string',
|
|
818
824
|
};
|
|
@@ -7068,6 +7074,7 @@ export class UpdatePatchBaselineRequest extends $tea.Model {
|
|
|
7068
7074
|
regionId?: string;
|
|
7069
7075
|
rejectedPatches?: string[];
|
|
7070
7076
|
rejectedPatchesAction?: string;
|
|
7077
|
+
resourceGroupId?: string;
|
|
7071
7078
|
sources?: string[];
|
|
7072
7079
|
tags?: UpdatePatchBaselineRequestTags[];
|
|
7073
7080
|
static names(): { [key: string]: string } {
|
|
@@ -7081,6 +7088,7 @@ export class UpdatePatchBaselineRequest extends $tea.Model {
|
|
|
7081
7088
|
regionId: 'RegionId',
|
|
7082
7089
|
rejectedPatches: 'RejectedPatches',
|
|
7083
7090
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
7091
|
+
resourceGroupId: 'ResourceGroupId',
|
|
7084
7092
|
sources: 'Sources',
|
|
7085
7093
|
tags: 'Tags',
|
|
7086
7094
|
};
|
|
@@ -7097,6 +7105,7 @@ export class UpdatePatchBaselineRequest extends $tea.Model {
|
|
|
7097
7105
|
regionId: 'string',
|
|
7098
7106
|
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
7099
7107
|
rejectedPatchesAction: 'string',
|
|
7108
|
+
resourceGroupId: 'string',
|
|
7100
7109
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
7101
7110
|
tags: { 'type': 'array', 'itemType': UpdatePatchBaselineRequestTags },
|
|
7102
7111
|
};
|
|
@@ -7117,6 +7126,7 @@ export class UpdatePatchBaselineShrinkRequest extends $tea.Model {
|
|
|
7117
7126
|
regionId?: string;
|
|
7118
7127
|
rejectedPatchesShrink?: string;
|
|
7119
7128
|
rejectedPatchesAction?: string;
|
|
7129
|
+
resourceGroupId?: string;
|
|
7120
7130
|
sourcesShrink?: string;
|
|
7121
7131
|
tagsShrink?: string;
|
|
7122
7132
|
static names(): { [key: string]: string } {
|
|
@@ -7130,6 +7140,7 @@ export class UpdatePatchBaselineShrinkRequest extends $tea.Model {
|
|
|
7130
7140
|
regionId: 'RegionId',
|
|
7131
7141
|
rejectedPatchesShrink: 'RejectedPatches',
|
|
7132
7142
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
7143
|
+
resourceGroupId: 'ResourceGroupId',
|
|
7133
7144
|
sourcesShrink: 'Sources',
|
|
7134
7145
|
tagsShrink: 'Tags',
|
|
7135
7146
|
};
|
|
@@ -7146,6 +7157,7 @@ export class UpdatePatchBaselineShrinkRequest extends $tea.Model {
|
|
|
7146
7157
|
regionId: 'string',
|
|
7147
7158
|
rejectedPatchesShrink: 'string',
|
|
7148
7159
|
rejectedPatchesAction: 'string',
|
|
7160
|
+
resourceGroupId: 'string',
|
|
7149
7161
|
sourcesShrink: 'string',
|
|
7150
7162
|
tagsShrink: 'string',
|
|
7151
7163
|
};
|
|
@@ -7936,6 +7948,7 @@ export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
7936
7948
|
operationSystem?: string;
|
|
7937
7949
|
rejectedPatches?: string[];
|
|
7938
7950
|
rejectedPatchesAction?: string;
|
|
7951
|
+
resourceGroupId?: string;
|
|
7939
7952
|
shareType?: string;
|
|
7940
7953
|
sources?: string[];
|
|
7941
7954
|
tags?: CreatePatchBaselineResponseBodyPatchBaselineTags[];
|
|
@@ -7954,6 +7967,7 @@ export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
7954
7967
|
operationSystem: 'OperationSystem',
|
|
7955
7968
|
rejectedPatches: 'RejectedPatches',
|
|
7956
7969
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
7970
|
+
resourceGroupId: 'ResourceGroupId',
|
|
7957
7971
|
shareType: 'ShareType',
|
|
7958
7972
|
sources: 'Sources',
|
|
7959
7973
|
tags: 'Tags',
|
|
@@ -7975,6 +7989,7 @@ export class CreatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
7975
7989
|
operationSystem: 'string',
|
|
7976
7990
|
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
7977
7991
|
rejectedPatchesAction: 'string',
|
|
7992
|
+
resourceGroupId: 'string',
|
|
7978
7993
|
shareType: 'string',
|
|
7979
7994
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
7980
7995
|
tags: { 'type': 'array', 'itemType': CreatePatchBaselineResponseBodyPatchBaselineTags },
|
|
@@ -8682,6 +8697,7 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8682
8697
|
operationSystem?: string;
|
|
8683
8698
|
rejectedPatches?: string[];
|
|
8684
8699
|
rejectedPatchesAction?: string;
|
|
8700
|
+
resourceGroupId?: string;
|
|
8685
8701
|
shareType?: string;
|
|
8686
8702
|
sources?: string[];
|
|
8687
8703
|
tags?: GetPatchBaselineResponseBodyPatchBaselineTags[];
|
|
@@ -8701,6 +8717,7 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8701
8717
|
operationSystem: 'OperationSystem',
|
|
8702
8718
|
rejectedPatches: 'RejectedPatches',
|
|
8703
8719
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
8720
|
+
resourceGroupId: 'ResourceGroupId',
|
|
8704
8721
|
shareType: 'ShareType',
|
|
8705
8722
|
sources: 'Sources',
|
|
8706
8723
|
tags: 'Tags',
|
|
@@ -8723,6 +8740,7 @@ export class GetPatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
8723
8740
|
operationSystem: 'string',
|
|
8724
8741
|
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
8725
8742
|
rejectedPatchesAction: 'string',
|
|
8743
|
+
resourceGroupId: 'string',
|
|
8726
8744
|
shareType: 'string',
|
|
8727
8745
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
8728
8746
|
tags: { 'type': 'array', 'itemType': GetPatchBaselineResponseBodyPatchBaselineTags },
|
|
@@ -10132,6 +10150,7 @@ export class RegisterDefaultPatchBaselineResponseBodyPatchBaseline extends $tea.
|
|
|
10132
10150
|
id?: string;
|
|
10133
10151
|
name?: string;
|
|
10134
10152
|
operationSystem?: string;
|
|
10153
|
+
resourceGroupId?: string;
|
|
10135
10154
|
shareType?: string;
|
|
10136
10155
|
updatedBy?: string;
|
|
10137
10156
|
updatedDate?: string;
|
|
@@ -10144,6 +10163,7 @@ export class RegisterDefaultPatchBaselineResponseBodyPatchBaseline extends $tea.
|
|
|
10144
10163
|
id: 'Id',
|
|
10145
10164
|
name: 'Name',
|
|
10146
10165
|
operationSystem: 'OperationSystem',
|
|
10166
|
+
resourceGroupId: 'ResourceGroupId',
|
|
10147
10167
|
shareType: 'ShareType',
|
|
10148
10168
|
updatedBy: 'UpdatedBy',
|
|
10149
10169
|
updatedDate: 'UpdatedDate',
|
|
@@ -10159,6 +10179,7 @@ export class RegisterDefaultPatchBaselineResponseBodyPatchBaseline extends $tea.
|
|
|
10159
10179
|
id: 'string',
|
|
10160
10180
|
name: 'string',
|
|
10161
10181
|
operationSystem: 'string',
|
|
10182
|
+
resourceGroupId: 'string',
|
|
10162
10183
|
shareType: 'string',
|
|
10163
10184
|
updatedBy: 'string',
|
|
10164
10185
|
updatedDate: 'string',
|
|
@@ -10619,6 +10640,7 @@ export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
10619
10640
|
operationSystem?: string;
|
|
10620
10641
|
rejectedPatches?: string[];
|
|
10621
10642
|
rejectedPatchesAction?: string;
|
|
10643
|
+
resourceGroupId?: string;
|
|
10622
10644
|
shareType?: string;
|
|
10623
10645
|
sources?: string[];
|
|
10624
10646
|
tags?: UpdatePatchBaselineResponseBodyPatchBaselineTags[];
|
|
@@ -10637,6 +10659,7 @@ export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
10637
10659
|
operationSystem: 'OperationSystem',
|
|
10638
10660
|
rejectedPatches: 'RejectedPatches',
|
|
10639
10661
|
rejectedPatchesAction: 'RejectedPatchesAction',
|
|
10662
|
+
resourceGroupId: 'ResourceGroupId',
|
|
10640
10663
|
shareType: 'ShareType',
|
|
10641
10664
|
sources: 'Sources',
|
|
10642
10665
|
tags: 'Tags',
|
|
@@ -10658,6 +10681,7 @@ export class UpdatePatchBaselineResponseBodyPatchBaseline extends $tea.Model {
|
|
|
10658
10681
|
operationSystem: 'string',
|
|
10659
10682
|
rejectedPatches: { 'type': 'array', 'itemType': 'string' },
|
|
10660
10683
|
rejectedPatchesAction: 'string',
|
|
10684
|
+
resourceGroupId: 'string',
|
|
10661
10685
|
shareType: 'string',
|
|
10662
10686
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
10663
10687
|
tags: { 'type': 'array', 'itemType': UpdatePatchBaselineResponseBodyPatchBaselineTags },
|
|
@@ -11349,6 +11373,10 @@ export default class Client extends OpenApi {
|
|
|
11349
11373
|
query["RejectedPatchesAction"] = request.rejectedPatchesAction;
|
|
11350
11374
|
}
|
|
11351
11375
|
|
|
11376
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
11377
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
11378
|
+
}
|
|
11379
|
+
|
|
11352
11380
|
if (!Util.isUnset(request.sourcesShrink)) {
|
|
11353
11381
|
query["Sources"] = request.sourcesShrink;
|
|
11354
11382
|
}
|
|
@@ -14724,6 +14752,10 @@ export default class Client extends OpenApi {
|
|
|
14724
14752
|
query["RejectedPatchesAction"] = request.rejectedPatchesAction;
|
|
14725
14753
|
}
|
|
14726
14754
|
|
|
14755
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
14756
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
14757
|
+
}
|
|
14758
|
+
|
|
14727
14759
|
if (!Util.isUnset(request.sourcesShrink)) {
|
|
14728
14760
|
query["Sources"] = request.sourcesShrink;
|
|
14729
14761
|
}
|