@alicloud/eiam20211201 1.6.1 → 1.7.0

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 CHANGED
@@ -4100,6 +4100,60 @@ export declare class GetInstanceResponse extends $tea.Model {
4100
4100
  [key: string]: any;
4101
4101
  });
4102
4102
  }
4103
+ export declare class GetInstanceLicenseRequest extends $tea.Model {
4104
+ /**
4105
+ * @remarks
4106
+ * IDaaS EIAM的实例id
4107
+ *
4108
+ * This parameter is required.
4109
+ *
4110
+ * @example
4111
+ * idaas_ue2jvisn35ea5lmthk2676xxxx
4112
+ */
4113
+ instanceId?: string;
4114
+ static names(): {
4115
+ [key: string]: string;
4116
+ };
4117
+ static types(): {
4118
+ [key: string]: any;
4119
+ };
4120
+ constructor(map?: {
4121
+ [key: string]: any;
4122
+ });
4123
+ }
4124
+ export declare class GetInstanceLicenseResponseBody extends $tea.Model {
4125
+ license?: GetInstanceLicenseResponseBodyLicense;
4126
+ /**
4127
+ * @example
4128
+ * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
4129
+ */
4130
+ requestId?: string;
4131
+ static names(): {
4132
+ [key: string]: string;
4133
+ };
4134
+ static types(): {
4135
+ [key: string]: any;
4136
+ };
4137
+ constructor(map?: {
4138
+ [key: string]: any;
4139
+ });
4140
+ }
4141
+ export declare class GetInstanceLicenseResponse extends $tea.Model {
4142
+ headers?: {
4143
+ [key: string]: string;
4144
+ };
4145
+ statusCode?: number;
4146
+ body?: GetInstanceLicenseResponseBody;
4147
+ static names(): {
4148
+ [key: string]: string;
4149
+ };
4150
+ static types(): {
4151
+ [key: string]: any;
4152
+ };
4153
+ constructor(map?: {
4154
+ [key: string]: any;
4155
+ });
4156
+ }
4103
4157
  export declare class GetNetworkAccessEndpointRequest extends $tea.Model {
4104
4158
  /**
4105
4159
  * @remarks
@@ -12701,6 +12755,105 @@ export declare class GetInstanceResponseBodyInstance extends $tea.Model {
12701
12755
  [key: string]: any;
12702
12756
  });
12703
12757
  }
12758
+ export declare class GetInstanceLicenseResponseBodyLicense extends $tea.Model {
12759
+ /**
12760
+ * @remarks
12761
+ * License 的版本型号,free-免费版,trail-试用版,enterprise-企业版
12762
+ *
12763
+ * @example
12764
+ * free
12765
+ */
12766
+ edition?: string;
12767
+ /**
12768
+ * @remarks
12769
+ * License 的有效期终止日期
12770
+ *
12771
+ * @example
12772
+ * 1723996800000
12773
+ */
12774
+ endTime?: number;
12775
+ /**
12776
+ * @remarks
12777
+ * License 的付费类型,prepay-预付费,postpay-后付费
12778
+ *
12779
+ * @example
12780
+ * prepay
12781
+ */
12782
+ licenseChargeType?: string;
12783
+ /**
12784
+ * @remarks
12785
+ * License 详细配置JSON
12786
+ *
12787
+ * @example
12788
+ * {"modules":[{"features":[{"name":"urn:alibaba:idaas:license:module:ud:customField","status":"enabled"}]……{"name":"urn:alibaba:idaas:license:tag:enterprise","status":"enabled"}],"version":"1.0"}
12789
+ */
12790
+ licenseConfigJson?: string;
12791
+ /**
12792
+ * @remarks
12793
+ * License 的创建时间
12794
+ *
12795
+ * @example
12796
+ * 1720509699000
12797
+ */
12798
+ licenseCreateTime?: number;
12799
+ /**
12800
+ * @remarks
12801
+ * License 的唯一标识
12802
+ *
12803
+ * @example
12804
+ * license_1234xxxx
12805
+ */
12806
+ licenseId?: string;
12807
+ /**
12808
+ * @remarks
12809
+ * License 的状态,valid-有效,expired-已过期,released-已释放
12810
+ *
12811
+ * @example
12812
+ * valid
12813
+ */
12814
+ licenseStatus?: string;
12815
+ /**
12816
+ * @remarks
12817
+ * License 的购买渠道
12818
+ *
12819
+ * @example
12820
+ * alibaba_cloud
12821
+ */
12822
+ purchaseChannel?: string;
12823
+ /**
12824
+ * @remarks
12825
+ * License 对应的外部商品唯一标识
12826
+ *
12827
+ * @example
12828
+ * eiam-cn-xxxxx
12829
+ */
12830
+ purchaseInstanceId?: string;
12831
+ /**
12832
+ * @remarks
12833
+ * License 的有效期开始日期
12834
+ *
12835
+ * @example
12836
+ * 1720509699000
12837
+ */
12838
+ startTime?: number;
12839
+ /**
12840
+ * @remarks
12841
+ * License 的用户配额
12842
+ *
12843
+ * @example
12844
+ * 100
12845
+ */
12846
+ userQuota?: number;
12847
+ static names(): {
12848
+ [key: string]: string;
12849
+ };
12850
+ static types(): {
12851
+ [key: string]: any;
12852
+ };
12853
+ constructor(map?: {
12854
+ [key: string]: any;
12855
+ });
12856
+ }
12704
12857
  export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $tea.Model {
12705
12858
  /**
12706
12859
  * @remarks
@@ -19772,6 +19925,21 @@ export default class Client extends OpenApi {
19772
19925
  * @returns GetInstanceResponse
19773
19926
  */
19774
19927
  getInstance(request: GetInstanceRequest): Promise<GetInstanceResponse>;
19928
+ /**
19929
+ * 查询实例当前生效的 License 信息
19930
+ *
19931
+ * @param request - GetInstanceLicenseRequest
19932
+ * @param runtime - runtime options for this request RuntimeOptions
19933
+ * @returns GetInstanceLicenseResponse
19934
+ */
19935
+ getInstanceLicenseWithOptions(request: GetInstanceLicenseRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceLicenseResponse>;
19936
+ /**
19937
+ * 查询实例当前生效的 License 信息
19938
+ *
19939
+ * @param request - GetInstanceLicenseRequest
19940
+ * @returns GetInstanceLicenseResponse
19941
+ */
19942
+ getInstanceLicense(request: GetInstanceLicenseRequest): Promise<GetInstanceLicenseResponse>;
19775
19943
  /**
19776
19944
  * 查询一个专属网络端点的详细信息。
19777
19945
  *