@huaweicloud/huaweicloud-sdk-vpc 3.0.48-rc → 3.0.52-rc

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-vpc",
3
- "version": "3.0.48-rc",
3
+ "version": "3.0.52-rc",
4
4
  "description": "Huaweicloud SDK for vpc",
5
5
  "main": "huaweicloud-sdk-vpc.js",
6
6
  "typings": "huaweicloud-sdk-vpc.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.0.48-rc"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.0.52-rc"
18
18
  }
19
19
  }
@@ -1,7 +1,15 @@
1
1
  export declare class BindingVifDetails {
2
2
  private 'primary_interface'?;
3
+ private 'port_filter'?;
4
+ private 'ovs_hybrid_plug'?;
3
5
  constructor();
4
6
  withPrimaryInterface(primaryInterface: boolean): BindingVifDetails;
5
7
  set primaryInterface(primaryInterface: boolean | undefined);
6
8
  get primaryInterface(): boolean | undefined;
9
+ withPortFilter(portFilter: boolean): BindingVifDetails;
10
+ set portFilter(portFilter: boolean | undefined);
11
+ get portFilter(): boolean | undefined;
12
+ withOvsHybridPlug(ovsHybridPlug: boolean): BindingVifDetails;
13
+ set ovsHybridPlug(ovsHybridPlug: boolean | undefined);
14
+ get ovsHybridPlug(): boolean | undefined;
7
15
  }
@@ -18,6 +18,34 @@ var BindingVifDetails = /** @class */ (function () {
18
18
  enumerable: false,
19
19
  configurable: true
20
20
  });
21
+ BindingVifDetails.prototype.withPortFilter = function (portFilter) {
22
+ this['port_filter'] = portFilter;
23
+ return this;
24
+ };
25
+ Object.defineProperty(BindingVifDetails.prototype, "portFilter", {
26
+ get: function () {
27
+ return this['port_filter'];
28
+ },
29
+ set: function (portFilter) {
30
+ this['port_filter'] = portFilter;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ BindingVifDetails.prototype.withOvsHybridPlug = function (ovsHybridPlug) {
36
+ this['ovs_hybrid_plug'] = ovsHybridPlug;
37
+ return this;
38
+ };
39
+ Object.defineProperty(BindingVifDetails.prototype, "ovsHybridPlug", {
40
+ get: function () {
41
+ return this['ovs_hybrid_plug'];
42
+ },
43
+ set: function (ovsHybridPlug) {
44
+ this['ovs_hybrid_plug'] = ovsHybridPlug;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
21
49
  return BindingVifDetails;
22
50
  }());
23
51
  exports.BindingVifDetails = BindingVifDetails;
@@ -1,9 +1,14 @@
1
+ import { NeutronPageLink } from './NeutronPageLink';
1
2
  import { NeutronSecurityGroupRule } from './NeutronSecurityGroupRule';
2
3
  import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
4
  export declare class NeutronListSecurityGroupRulesResponse extends SdkResponse {
4
5
  private 'security_group_rules'?;
6
+ private 'security_group_rules_links'?;
5
7
  constructor();
6
8
  withSecurityGroupRules(securityGroupRules: Array<NeutronSecurityGroupRule>): NeutronListSecurityGroupRulesResponse;
7
9
  set securityGroupRules(securityGroupRules: Array<NeutronSecurityGroupRule> | undefined);
8
10
  get securityGroupRules(): Array<NeutronSecurityGroupRule> | undefined;
11
+ withSecurityGroupRulesLinks(securityGroupRulesLinks: Array<NeutronPageLink>): NeutronListSecurityGroupRulesResponse;
12
+ set securityGroupRulesLinks(securityGroupRulesLinks: Array<NeutronPageLink> | undefined);
13
+ get securityGroupRulesLinks(): Array<NeutronPageLink> | undefined;
9
14
  }
@@ -36,6 +36,20 @@ var NeutronListSecurityGroupRulesResponse = /** @class */ (function (_super) {
36
36
  enumerable: false,
37
37
  configurable: true
38
38
  });
39
+ NeutronListSecurityGroupRulesResponse.prototype.withSecurityGroupRulesLinks = function (securityGroupRulesLinks) {
40
+ this['security_group_rules_links'] = securityGroupRulesLinks;
41
+ return this;
42
+ };
43
+ Object.defineProperty(NeutronListSecurityGroupRulesResponse.prototype, "securityGroupRulesLinks", {
44
+ get: function () {
45
+ return this['security_group_rules_links'];
46
+ },
47
+ set: function (securityGroupRulesLinks) {
48
+ this['security_group_rules_links'] = securityGroupRulesLinks;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
39
53
  return NeutronListSecurityGroupRulesResponse;
40
54
  }(SdkResponse_1.SdkResponse));
41
55
  exports.NeutronListSecurityGroupRulesResponse = NeutronListSecurityGroupRulesResponse;
@@ -8,6 +8,7 @@ export declare class NeutronSecurityGroupRule {
8
8
  protocol: string;
9
9
  private 'remote_group_id';
10
10
  private 'remote_ip_prefix';
11
+ private 'remote_address_group_id'?;
11
12
  private 'security_group_id';
12
13
  private 'tenant_id';
13
14
  private 'project_id';
@@ -31,6 +32,9 @@ export declare class NeutronSecurityGroupRule {
31
32
  withRemoteIpPrefix(remoteIpPrefix: string): NeutronSecurityGroupRule;
32
33
  set remoteIpPrefix(remoteIpPrefix: string | undefined);
33
34
  get remoteIpPrefix(): string | undefined;
35
+ withRemoteAddressGroupId(remoteAddressGroupId: string): NeutronSecurityGroupRule;
36
+ set remoteAddressGroupId(remoteAddressGroupId: string | undefined);
37
+ get remoteAddressGroupId(): string | undefined;
34
38
  withSecurityGroupId(securityGroupId: string): NeutronSecurityGroupRule;
35
39
  set securityGroupId(securityGroupId: string | undefined);
36
40
  get securityGroupId(): string | undefined;
@@ -94,6 +94,20 @@ var NeutronSecurityGroupRule = /** @class */ (function () {
94
94
  enumerable: false,
95
95
  configurable: true
96
96
  });
97
+ NeutronSecurityGroupRule.prototype.withRemoteAddressGroupId = function (remoteAddressGroupId) {
98
+ this['remote_address_group_id'] = remoteAddressGroupId;
99
+ return this;
100
+ };
101
+ Object.defineProperty(NeutronSecurityGroupRule.prototype, "remoteAddressGroupId", {
102
+ get: function () {
103
+ return this['remote_address_group_id'];
104
+ },
105
+ set: function (remoteAddressGroupId) {
106
+ this['remote_address_group_id'] = remoteAddressGroupId;
107
+ },
108
+ enumerable: false,
109
+ configurable: true
110
+ });
97
111
  NeutronSecurityGroupRule.prototype.withSecurityGroupId = function (securityGroupId) {
98
112
  this['security_group_id'] = securityGroupId;
99
113
  return this;
@@ -9,6 +9,7 @@ export declare class SecurityGroupRule {
9
9
  private 'port_range_max';
10
10
  private 'remote_ip_prefix';
11
11
  private 'remote_group_id';
12
+ private 'remote_address_group_id'?;
12
13
  private 'tenant_id';
13
14
  constructor(id?: any, description?: any, securityGroupId?: any, direction?: any, ethertype?: any, protocol?: any, portRangeMin?: any, portRangeMax?: any, remoteIpPrefix?: any, remoteGroupId?: any, tenantId?: any);
14
15
  withId(id: string): SecurityGroupRule;
@@ -31,6 +32,9 @@ export declare class SecurityGroupRule {
31
32
  withRemoteGroupId(remoteGroupId: string): SecurityGroupRule;
32
33
  set remoteGroupId(remoteGroupId: string | undefined);
33
34
  get remoteGroupId(): string | undefined;
35
+ withRemoteAddressGroupId(remoteAddressGroupId: string): SecurityGroupRule;
36
+ set remoteAddressGroupId(remoteAddressGroupId: string | undefined);
37
+ get remoteAddressGroupId(): string | undefined;
34
38
  withTenantId(tenantId: string): SecurityGroupRule;
35
39
  set tenantId(tenantId: string | undefined);
36
40
  get tenantId(): string | undefined;
@@ -105,6 +105,20 @@ var SecurityGroupRule = /** @class */ (function () {
105
105
  enumerable: false,
106
106
  configurable: true
107
107
  });
108
+ SecurityGroupRule.prototype.withRemoteAddressGroupId = function (remoteAddressGroupId) {
109
+ this['remote_address_group_id'] = remoteAddressGroupId;
110
+ return this;
111
+ };
112
+ Object.defineProperty(SecurityGroupRule.prototype, "remoteAddressGroupId", {
113
+ get: function () {
114
+ return this['remote_address_group_id'];
115
+ },
116
+ set: function (remoteAddressGroupId) {
117
+ this['remote_address_group_id'] = remoteAddressGroupId;
118
+ },
119
+ enumerable: false,
120
+ configurable: true
121
+ });
108
122
  SecurityGroupRule.prototype.withTenantId = function (tenantId) {
109
123
  this['tenant_id'] = tenantId;
110
124
  return this;