alibabacloud-eiam20211201 2.10.0__py3-none-any.whl → 2.11.0__py3-none-any.whl
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.
- alibabacloud_eiam20211201/__init__.py +1 -1
- alibabacloud_eiam20211201/client.py +1474 -102
- alibabacloud_eiam20211201/models/__init__.py +158 -0
- alibabacloud_eiam20211201/models/_check_application_provisioning_user_primary_organizational_unit_request.py +58 -0
- alibabacloud_eiam20211201/models/_check_application_provisioning_user_primary_organizational_unit_response.py +54 -0
- alibabacloud_eiam20211201/models/_check_application_provisioning_user_primary_organizational_unit_response_body.py +90 -0
- alibabacloud_eiam20211201/models/_check_instance_for_delete_request.py +36 -0
- alibabacloud_eiam20211201/models/_check_instance_for_delete_response.py +54 -0
- alibabacloud_eiam20211201/models/_check_instance_for_delete_response_body.py +137 -0
- alibabacloud_eiam20211201/models/_check_instance_module_status_request.py +64 -0
- alibabacloud_eiam20211201/models/_check_instance_module_status_response.py +54 -0
- alibabacloud_eiam20211201/models/_check_instance_module_status_response_body.py +72 -0
- alibabacloud_eiam20211201/models/_create_custom_field_request.py +241 -0
- alibabacloud_eiam20211201/models/_create_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_create_custom_field_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_create_instance_trial_license_request.py +36 -0
- alibabacloud_eiam20211201/models/_create_instance_trial_license_response.py +54 -0
- alibabacloud_eiam20211201/models/_create_instance_trial_license_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_delete_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_delete_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_delete_custom_field_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_disable_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_disable_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_disable_custom_field_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_enable_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_enable_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_enable_custom_field_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_get_application_provisioning_user_primary_organizational_unit_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_application_provisioning_user_primary_organizational_unit_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_application_provisioning_user_primary_organizational_unit_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_get_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_custom_field_response_body.py +302 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_advanced_configuration_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_advanced_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_advanced_configuration_response_body.py +129 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_status_check_job_request.py +58 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_status_check_job_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_status_check_job_response_body.py +248 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_response_body.py +278 -0
- alibabacloud_eiam20211201/models/_get_instance_control_configuration_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_instance_control_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_control_configuration_response_body.py +156 -0
- alibabacloud_eiam20211201/models/_get_instance_globalization_config_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_instance_globalization_config_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_globalization_config_response_body.py +81 -0
- alibabacloud_eiam20211201/models/_get_instance_module_info_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_instance_module_info_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_module_info_response_body.py +137 -0
- alibabacloud_eiam20211201/models/_get_instance_quota_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_instance_quota_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_quota_response_body.py +81 -0
- alibabacloud_eiam20211201/models/_get_instance_trial_status_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_instance_trial_status_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_trial_status_response_body.py +41 -0
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/METADATA +1 -1
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/RECORD +62 -8
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/top_level.txt +0 -0
|
@@ -1384,6 +1384,236 @@ class Client(OpenApiClient):
|
|
|
1384
1384
|
runtime = RuntimeOptions()
|
|
1385
1385
|
return await self.bind_user_authn_source_mapping_with_options_async(request, runtime)
|
|
1386
1386
|
|
|
1387
|
+
def check_application_provisioning_user_primary_organizational_unit_with_options(
|
|
1388
|
+
self,
|
|
1389
|
+
request: main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
1390
|
+
runtime: RuntimeOptions,
|
|
1391
|
+
) -> main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
1392
|
+
request.validate()
|
|
1393
|
+
query = {}
|
|
1394
|
+
if not DaraCore.is_null(request.application_id):
|
|
1395
|
+
query['ApplicationId'] = request.application_id
|
|
1396
|
+
if not DaraCore.is_null(request.instance_id):
|
|
1397
|
+
query['InstanceId'] = request.instance_id
|
|
1398
|
+
if not DaraCore.is_null(request.user_primary_organizational_unit_id):
|
|
1399
|
+
query['UserPrimaryOrganizationalUnitId'] = request.user_primary_organizational_unit_id
|
|
1400
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1401
|
+
query = Utils.query(query)
|
|
1402
|
+
)
|
|
1403
|
+
params = open_api_util_models.Params(
|
|
1404
|
+
action = 'CheckApplicationProvisioningUserPrimaryOrganizationalUnit',
|
|
1405
|
+
version = '2021-12-01',
|
|
1406
|
+
protocol = 'HTTPS',
|
|
1407
|
+
pathname = '/',
|
|
1408
|
+
method = 'POST',
|
|
1409
|
+
auth_type = 'AK',
|
|
1410
|
+
style = 'RPC',
|
|
1411
|
+
req_body_type = 'formData',
|
|
1412
|
+
body_type = 'json'
|
|
1413
|
+
)
|
|
1414
|
+
return DaraCore.from_map(
|
|
1415
|
+
main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponse(),
|
|
1416
|
+
self.call_api(params, req, runtime)
|
|
1417
|
+
)
|
|
1418
|
+
|
|
1419
|
+
async def check_application_provisioning_user_primary_organizational_unit_with_options_async(
|
|
1420
|
+
self,
|
|
1421
|
+
request: main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
1422
|
+
runtime: RuntimeOptions,
|
|
1423
|
+
) -> main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
1424
|
+
request.validate()
|
|
1425
|
+
query = {}
|
|
1426
|
+
if not DaraCore.is_null(request.application_id):
|
|
1427
|
+
query['ApplicationId'] = request.application_id
|
|
1428
|
+
if not DaraCore.is_null(request.instance_id):
|
|
1429
|
+
query['InstanceId'] = request.instance_id
|
|
1430
|
+
if not DaraCore.is_null(request.user_primary_organizational_unit_id):
|
|
1431
|
+
query['UserPrimaryOrganizationalUnitId'] = request.user_primary_organizational_unit_id
|
|
1432
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1433
|
+
query = Utils.query(query)
|
|
1434
|
+
)
|
|
1435
|
+
params = open_api_util_models.Params(
|
|
1436
|
+
action = 'CheckApplicationProvisioningUserPrimaryOrganizationalUnit',
|
|
1437
|
+
version = '2021-12-01',
|
|
1438
|
+
protocol = 'HTTPS',
|
|
1439
|
+
pathname = '/',
|
|
1440
|
+
method = 'POST',
|
|
1441
|
+
auth_type = 'AK',
|
|
1442
|
+
style = 'RPC',
|
|
1443
|
+
req_body_type = 'formData',
|
|
1444
|
+
body_type = 'json'
|
|
1445
|
+
)
|
|
1446
|
+
return DaraCore.from_map(
|
|
1447
|
+
main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponse(),
|
|
1448
|
+
await self.call_api_async(params, req, runtime)
|
|
1449
|
+
)
|
|
1450
|
+
|
|
1451
|
+
def check_application_provisioning_user_primary_organizational_unit(
|
|
1452
|
+
self,
|
|
1453
|
+
request: main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
1454
|
+
) -> main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
1455
|
+
runtime = RuntimeOptions()
|
|
1456
|
+
return self.check_application_provisioning_user_primary_organizational_unit_with_options(request, runtime)
|
|
1457
|
+
|
|
1458
|
+
async def check_application_provisioning_user_primary_organizational_unit_async(
|
|
1459
|
+
self,
|
|
1460
|
+
request: main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
1461
|
+
) -> main_models.CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
1462
|
+
runtime = RuntimeOptions()
|
|
1463
|
+
return await self.check_application_provisioning_user_primary_organizational_unit_with_options_async(request, runtime)
|
|
1464
|
+
|
|
1465
|
+
def check_instance_for_delete_with_options(
|
|
1466
|
+
self,
|
|
1467
|
+
request: main_models.CheckInstanceForDeleteRequest,
|
|
1468
|
+
runtime: RuntimeOptions,
|
|
1469
|
+
) -> main_models.CheckInstanceForDeleteResponse:
|
|
1470
|
+
request.validate()
|
|
1471
|
+
query = {}
|
|
1472
|
+
if not DaraCore.is_null(request.instance_id):
|
|
1473
|
+
query['InstanceId'] = request.instance_id
|
|
1474
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1475
|
+
query = Utils.query(query)
|
|
1476
|
+
)
|
|
1477
|
+
params = open_api_util_models.Params(
|
|
1478
|
+
action = 'CheckInstanceForDelete',
|
|
1479
|
+
version = '2021-12-01',
|
|
1480
|
+
protocol = 'HTTPS',
|
|
1481
|
+
pathname = '/',
|
|
1482
|
+
method = 'POST',
|
|
1483
|
+
auth_type = 'AK',
|
|
1484
|
+
style = 'RPC',
|
|
1485
|
+
req_body_type = 'formData',
|
|
1486
|
+
body_type = 'json'
|
|
1487
|
+
)
|
|
1488
|
+
return DaraCore.from_map(
|
|
1489
|
+
main_models.CheckInstanceForDeleteResponse(),
|
|
1490
|
+
self.call_api(params, req, runtime)
|
|
1491
|
+
)
|
|
1492
|
+
|
|
1493
|
+
async def check_instance_for_delete_with_options_async(
|
|
1494
|
+
self,
|
|
1495
|
+
request: main_models.CheckInstanceForDeleteRequest,
|
|
1496
|
+
runtime: RuntimeOptions,
|
|
1497
|
+
) -> main_models.CheckInstanceForDeleteResponse:
|
|
1498
|
+
request.validate()
|
|
1499
|
+
query = {}
|
|
1500
|
+
if not DaraCore.is_null(request.instance_id):
|
|
1501
|
+
query['InstanceId'] = request.instance_id
|
|
1502
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1503
|
+
query = Utils.query(query)
|
|
1504
|
+
)
|
|
1505
|
+
params = open_api_util_models.Params(
|
|
1506
|
+
action = 'CheckInstanceForDelete',
|
|
1507
|
+
version = '2021-12-01',
|
|
1508
|
+
protocol = 'HTTPS',
|
|
1509
|
+
pathname = '/',
|
|
1510
|
+
method = 'POST',
|
|
1511
|
+
auth_type = 'AK',
|
|
1512
|
+
style = 'RPC',
|
|
1513
|
+
req_body_type = 'formData',
|
|
1514
|
+
body_type = 'json'
|
|
1515
|
+
)
|
|
1516
|
+
return DaraCore.from_map(
|
|
1517
|
+
main_models.CheckInstanceForDeleteResponse(),
|
|
1518
|
+
await self.call_api_async(params, req, runtime)
|
|
1519
|
+
)
|
|
1520
|
+
|
|
1521
|
+
def check_instance_for_delete(
|
|
1522
|
+
self,
|
|
1523
|
+
request: main_models.CheckInstanceForDeleteRequest,
|
|
1524
|
+
) -> main_models.CheckInstanceForDeleteResponse:
|
|
1525
|
+
runtime = RuntimeOptions()
|
|
1526
|
+
return self.check_instance_for_delete_with_options(request, runtime)
|
|
1527
|
+
|
|
1528
|
+
async def check_instance_for_delete_async(
|
|
1529
|
+
self,
|
|
1530
|
+
request: main_models.CheckInstanceForDeleteRequest,
|
|
1531
|
+
) -> main_models.CheckInstanceForDeleteResponse:
|
|
1532
|
+
runtime = RuntimeOptions()
|
|
1533
|
+
return await self.check_instance_for_delete_with_options_async(request, runtime)
|
|
1534
|
+
|
|
1535
|
+
def check_instance_module_status_with_options(
|
|
1536
|
+
self,
|
|
1537
|
+
request: main_models.CheckInstanceModuleStatusRequest,
|
|
1538
|
+
runtime: RuntimeOptions,
|
|
1539
|
+
) -> main_models.CheckInstanceModuleStatusResponse:
|
|
1540
|
+
request.validate()
|
|
1541
|
+
query = {}
|
|
1542
|
+
if not DaraCore.is_null(request.feature_key):
|
|
1543
|
+
query['FeatureKey'] = request.feature_key
|
|
1544
|
+
if not DaraCore.is_null(request.instance_id):
|
|
1545
|
+
query['InstanceId'] = request.instance_id
|
|
1546
|
+
if not DaraCore.is_null(request.module_key):
|
|
1547
|
+
query['ModuleKey'] = request.module_key
|
|
1548
|
+
if not DaraCore.is_null(request.sub_feature_key):
|
|
1549
|
+
query['SubFeatureKey'] = request.sub_feature_key
|
|
1550
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1551
|
+
query = Utils.query(query)
|
|
1552
|
+
)
|
|
1553
|
+
params = open_api_util_models.Params(
|
|
1554
|
+
action = 'CheckInstanceModuleStatus',
|
|
1555
|
+
version = '2021-12-01',
|
|
1556
|
+
protocol = 'HTTPS',
|
|
1557
|
+
pathname = '/',
|
|
1558
|
+
method = 'POST',
|
|
1559
|
+
auth_type = 'AK',
|
|
1560
|
+
style = 'RPC',
|
|
1561
|
+
req_body_type = 'formData',
|
|
1562
|
+
body_type = 'json'
|
|
1563
|
+
)
|
|
1564
|
+
return DaraCore.from_map(
|
|
1565
|
+
main_models.CheckInstanceModuleStatusResponse(),
|
|
1566
|
+
self.call_api(params, req, runtime)
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
async def check_instance_module_status_with_options_async(
|
|
1570
|
+
self,
|
|
1571
|
+
request: main_models.CheckInstanceModuleStatusRequest,
|
|
1572
|
+
runtime: RuntimeOptions,
|
|
1573
|
+
) -> main_models.CheckInstanceModuleStatusResponse:
|
|
1574
|
+
request.validate()
|
|
1575
|
+
query = {}
|
|
1576
|
+
if not DaraCore.is_null(request.feature_key):
|
|
1577
|
+
query['FeatureKey'] = request.feature_key
|
|
1578
|
+
if not DaraCore.is_null(request.instance_id):
|
|
1579
|
+
query['InstanceId'] = request.instance_id
|
|
1580
|
+
if not DaraCore.is_null(request.module_key):
|
|
1581
|
+
query['ModuleKey'] = request.module_key
|
|
1582
|
+
if not DaraCore.is_null(request.sub_feature_key):
|
|
1583
|
+
query['SubFeatureKey'] = request.sub_feature_key
|
|
1584
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1585
|
+
query = Utils.query(query)
|
|
1586
|
+
)
|
|
1587
|
+
params = open_api_util_models.Params(
|
|
1588
|
+
action = 'CheckInstanceModuleStatus',
|
|
1589
|
+
version = '2021-12-01',
|
|
1590
|
+
protocol = 'HTTPS',
|
|
1591
|
+
pathname = '/',
|
|
1592
|
+
method = 'POST',
|
|
1593
|
+
auth_type = 'AK',
|
|
1594
|
+
style = 'RPC',
|
|
1595
|
+
req_body_type = 'formData',
|
|
1596
|
+
body_type = 'json'
|
|
1597
|
+
)
|
|
1598
|
+
return DaraCore.from_map(
|
|
1599
|
+
main_models.CheckInstanceModuleStatusResponse(),
|
|
1600
|
+
await self.call_api_async(params, req, runtime)
|
|
1601
|
+
)
|
|
1602
|
+
|
|
1603
|
+
def check_instance_module_status(
|
|
1604
|
+
self,
|
|
1605
|
+
request: main_models.CheckInstanceModuleStatusRequest,
|
|
1606
|
+
) -> main_models.CheckInstanceModuleStatusResponse:
|
|
1607
|
+
runtime = RuntimeOptions()
|
|
1608
|
+
return self.check_instance_module_status_with_options(request, runtime)
|
|
1609
|
+
|
|
1610
|
+
async def check_instance_module_status_async(
|
|
1611
|
+
self,
|
|
1612
|
+
request: main_models.CheckInstanceModuleStatusRequest,
|
|
1613
|
+
) -> main_models.CheckInstanceModuleStatusResponse:
|
|
1614
|
+
runtime = RuntimeOptions()
|
|
1615
|
+
return await self.check_instance_module_status_with_options_async(request, runtime)
|
|
1616
|
+
|
|
1387
1617
|
def create_application_with_options(
|
|
1388
1618
|
self,
|
|
1389
1619
|
request: main_models.CreateApplicationRequest,
|
|
@@ -2456,6 +2686,124 @@ class Client(OpenApiClient):
|
|
|
2456
2686
|
runtime = RuntimeOptions()
|
|
2457
2687
|
return await self.create_conditional_access_policy_with_options_async(request, runtime)
|
|
2458
2688
|
|
|
2689
|
+
def create_custom_field_with_options(
|
|
2690
|
+
self,
|
|
2691
|
+
request: main_models.CreateCustomFieldRequest,
|
|
2692
|
+
runtime: RuntimeOptions,
|
|
2693
|
+
) -> main_models.CreateCustomFieldResponse:
|
|
2694
|
+
request.validate()
|
|
2695
|
+
query = {}
|
|
2696
|
+
if not DaraCore.is_null(request.default_value):
|
|
2697
|
+
query['DefaultValue'] = request.default_value
|
|
2698
|
+
if not DaraCore.is_null(request.description):
|
|
2699
|
+
query['Description'] = request.description
|
|
2700
|
+
if not DaraCore.is_null(request.encrypted):
|
|
2701
|
+
query['Encrypted'] = request.encrypted
|
|
2702
|
+
if not DaraCore.is_null(request.entity_type):
|
|
2703
|
+
query['EntityType'] = request.entity_type
|
|
2704
|
+
if not DaraCore.is_null(request.field_data_config):
|
|
2705
|
+
query['FieldDataConfig'] = request.field_data_config
|
|
2706
|
+
if not DaraCore.is_null(request.field_data_type):
|
|
2707
|
+
query['FieldDataType'] = request.field_data_type
|
|
2708
|
+
if not DaraCore.is_null(request.field_display_name):
|
|
2709
|
+
query['FieldDisplayName'] = request.field_display_name
|
|
2710
|
+
if not DaraCore.is_null(request.field_display_type):
|
|
2711
|
+
query['FieldDisplayType'] = request.field_display_type
|
|
2712
|
+
if not DaraCore.is_null(request.field_name):
|
|
2713
|
+
query['FieldName'] = request.field_name
|
|
2714
|
+
if not DaraCore.is_null(request.instance_id):
|
|
2715
|
+
query['InstanceId'] = request.instance_id
|
|
2716
|
+
if not DaraCore.is_null(request.required):
|
|
2717
|
+
query['Required'] = request.required
|
|
2718
|
+
if not DaraCore.is_null(request.unique):
|
|
2719
|
+
query['Unique'] = request.unique
|
|
2720
|
+
if not DaraCore.is_null(request.user_permission):
|
|
2721
|
+
query['UserPermission'] = request.user_permission
|
|
2722
|
+
req = open_api_util_models.OpenApiRequest(
|
|
2723
|
+
query = Utils.query(query)
|
|
2724
|
+
)
|
|
2725
|
+
params = open_api_util_models.Params(
|
|
2726
|
+
action = 'CreateCustomField',
|
|
2727
|
+
version = '2021-12-01',
|
|
2728
|
+
protocol = 'HTTPS',
|
|
2729
|
+
pathname = '/',
|
|
2730
|
+
method = 'POST',
|
|
2731
|
+
auth_type = 'AK',
|
|
2732
|
+
style = 'RPC',
|
|
2733
|
+
req_body_type = 'formData',
|
|
2734
|
+
body_type = 'json'
|
|
2735
|
+
)
|
|
2736
|
+
return DaraCore.from_map(
|
|
2737
|
+
main_models.CreateCustomFieldResponse(),
|
|
2738
|
+
self.call_api(params, req, runtime)
|
|
2739
|
+
)
|
|
2740
|
+
|
|
2741
|
+
async def create_custom_field_with_options_async(
|
|
2742
|
+
self,
|
|
2743
|
+
request: main_models.CreateCustomFieldRequest,
|
|
2744
|
+
runtime: RuntimeOptions,
|
|
2745
|
+
) -> main_models.CreateCustomFieldResponse:
|
|
2746
|
+
request.validate()
|
|
2747
|
+
query = {}
|
|
2748
|
+
if not DaraCore.is_null(request.default_value):
|
|
2749
|
+
query['DefaultValue'] = request.default_value
|
|
2750
|
+
if not DaraCore.is_null(request.description):
|
|
2751
|
+
query['Description'] = request.description
|
|
2752
|
+
if not DaraCore.is_null(request.encrypted):
|
|
2753
|
+
query['Encrypted'] = request.encrypted
|
|
2754
|
+
if not DaraCore.is_null(request.entity_type):
|
|
2755
|
+
query['EntityType'] = request.entity_type
|
|
2756
|
+
if not DaraCore.is_null(request.field_data_config):
|
|
2757
|
+
query['FieldDataConfig'] = request.field_data_config
|
|
2758
|
+
if not DaraCore.is_null(request.field_data_type):
|
|
2759
|
+
query['FieldDataType'] = request.field_data_type
|
|
2760
|
+
if not DaraCore.is_null(request.field_display_name):
|
|
2761
|
+
query['FieldDisplayName'] = request.field_display_name
|
|
2762
|
+
if not DaraCore.is_null(request.field_display_type):
|
|
2763
|
+
query['FieldDisplayType'] = request.field_display_type
|
|
2764
|
+
if not DaraCore.is_null(request.field_name):
|
|
2765
|
+
query['FieldName'] = request.field_name
|
|
2766
|
+
if not DaraCore.is_null(request.instance_id):
|
|
2767
|
+
query['InstanceId'] = request.instance_id
|
|
2768
|
+
if not DaraCore.is_null(request.required):
|
|
2769
|
+
query['Required'] = request.required
|
|
2770
|
+
if not DaraCore.is_null(request.unique):
|
|
2771
|
+
query['Unique'] = request.unique
|
|
2772
|
+
if not DaraCore.is_null(request.user_permission):
|
|
2773
|
+
query['UserPermission'] = request.user_permission
|
|
2774
|
+
req = open_api_util_models.OpenApiRequest(
|
|
2775
|
+
query = Utils.query(query)
|
|
2776
|
+
)
|
|
2777
|
+
params = open_api_util_models.Params(
|
|
2778
|
+
action = 'CreateCustomField',
|
|
2779
|
+
version = '2021-12-01',
|
|
2780
|
+
protocol = 'HTTPS',
|
|
2781
|
+
pathname = '/',
|
|
2782
|
+
method = 'POST',
|
|
2783
|
+
auth_type = 'AK',
|
|
2784
|
+
style = 'RPC',
|
|
2785
|
+
req_body_type = 'formData',
|
|
2786
|
+
body_type = 'json'
|
|
2787
|
+
)
|
|
2788
|
+
return DaraCore.from_map(
|
|
2789
|
+
main_models.CreateCustomFieldResponse(),
|
|
2790
|
+
await self.call_api_async(params, req, runtime)
|
|
2791
|
+
)
|
|
2792
|
+
|
|
2793
|
+
def create_custom_field(
|
|
2794
|
+
self,
|
|
2795
|
+
request: main_models.CreateCustomFieldRequest,
|
|
2796
|
+
) -> main_models.CreateCustomFieldResponse:
|
|
2797
|
+
runtime = RuntimeOptions()
|
|
2798
|
+
return self.create_custom_field_with_options(request, runtime)
|
|
2799
|
+
|
|
2800
|
+
async def create_custom_field_async(
|
|
2801
|
+
self,
|
|
2802
|
+
request: main_models.CreateCustomFieldRequest,
|
|
2803
|
+
) -> main_models.CreateCustomFieldResponse:
|
|
2804
|
+
runtime = RuntimeOptions()
|
|
2805
|
+
return await self.create_custom_field_with_options_async(request, runtime)
|
|
2806
|
+
|
|
2459
2807
|
def create_custom_privacy_policy_with_options(
|
|
2460
2808
|
self,
|
|
2461
2809
|
request: main_models.CreateCustomPrivacyPolicyRequest,
|
|
@@ -3160,30 +3508,20 @@ class Client(OpenApiClient):
|
|
|
3160
3508
|
runtime = RuntimeOptions()
|
|
3161
3509
|
return await self.create_instance_with_options_async(request, runtime)
|
|
3162
3510
|
|
|
3163
|
-
def
|
|
3511
|
+
def create_instance_trial_license_with_options(
|
|
3164
3512
|
self,
|
|
3165
|
-
request: main_models.
|
|
3513
|
+
request: main_models.CreateInstanceTrialLicenseRequest,
|
|
3166
3514
|
runtime: RuntimeOptions,
|
|
3167
|
-
) -> main_models.
|
|
3515
|
+
) -> main_models.CreateInstanceTrialLicenseResponse:
|
|
3168
3516
|
request.validate()
|
|
3169
3517
|
query = {}
|
|
3170
|
-
if not DaraCore.is_null(request.client_token):
|
|
3171
|
-
query['ClientToken'] = request.client_token
|
|
3172
3518
|
if not DaraCore.is_null(request.instance_id):
|
|
3173
3519
|
query['InstanceId'] = request.instance_id
|
|
3174
|
-
if not DaraCore.is_null(request.network_access_endpoint_name):
|
|
3175
|
-
query['NetworkAccessEndpointName'] = request.network_access_endpoint_name
|
|
3176
|
-
if not DaraCore.is_null(request.v_switch_ids):
|
|
3177
|
-
query['VSwitchIds'] = request.v_switch_ids
|
|
3178
|
-
if not DaraCore.is_null(request.vpc_id):
|
|
3179
|
-
query['VpcId'] = request.vpc_id
|
|
3180
|
-
if not DaraCore.is_null(request.vpc_region_id):
|
|
3181
|
-
query['VpcRegionId'] = request.vpc_region_id
|
|
3182
3520
|
req = open_api_util_models.OpenApiRequest(
|
|
3183
3521
|
query = Utils.query(query)
|
|
3184
3522
|
)
|
|
3185
3523
|
params = open_api_util_models.Params(
|
|
3186
|
-
action = '
|
|
3524
|
+
action = 'CreateInstanceTrialLicense',
|
|
3187
3525
|
version = '2021-12-01',
|
|
3188
3526
|
protocol = 'HTTPS',
|
|
3189
3527
|
pathname = '/',
|
|
@@ -3194,34 +3532,24 @@ class Client(OpenApiClient):
|
|
|
3194
3532
|
body_type = 'json'
|
|
3195
3533
|
)
|
|
3196
3534
|
return DaraCore.from_map(
|
|
3197
|
-
main_models.
|
|
3535
|
+
main_models.CreateInstanceTrialLicenseResponse(),
|
|
3198
3536
|
self.call_api(params, req, runtime)
|
|
3199
3537
|
)
|
|
3200
3538
|
|
|
3201
|
-
async def
|
|
3539
|
+
async def create_instance_trial_license_with_options_async(
|
|
3202
3540
|
self,
|
|
3203
|
-
request: main_models.
|
|
3541
|
+
request: main_models.CreateInstanceTrialLicenseRequest,
|
|
3204
3542
|
runtime: RuntimeOptions,
|
|
3205
|
-
) -> main_models.
|
|
3543
|
+
) -> main_models.CreateInstanceTrialLicenseResponse:
|
|
3206
3544
|
request.validate()
|
|
3207
3545
|
query = {}
|
|
3208
|
-
if not DaraCore.is_null(request.client_token):
|
|
3209
|
-
query['ClientToken'] = request.client_token
|
|
3210
3546
|
if not DaraCore.is_null(request.instance_id):
|
|
3211
3547
|
query['InstanceId'] = request.instance_id
|
|
3212
|
-
if not DaraCore.is_null(request.network_access_endpoint_name):
|
|
3213
|
-
query['NetworkAccessEndpointName'] = request.network_access_endpoint_name
|
|
3214
|
-
if not DaraCore.is_null(request.v_switch_ids):
|
|
3215
|
-
query['VSwitchIds'] = request.v_switch_ids
|
|
3216
|
-
if not DaraCore.is_null(request.vpc_id):
|
|
3217
|
-
query['VpcId'] = request.vpc_id
|
|
3218
|
-
if not DaraCore.is_null(request.vpc_region_id):
|
|
3219
|
-
query['VpcRegionId'] = request.vpc_region_id
|
|
3220
3548
|
req = open_api_util_models.OpenApiRequest(
|
|
3221
3549
|
query = Utils.query(query)
|
|
3222
3550
|
)
|
|
3223
3551
|
params = open_api_util_models.Params(
|
|
3224
|
-
action = '
|
|
3552
|
+
action = 'CreateInstanceTrialLicense',
|
|
3225
3553
|
version = '2021-12-01',
|
|
3226
3554
|
protocol = 'HTTPS',
|
|
3227
3555
|
pathname = '/',
|
|
@@ -3232,20 +3560,110 @@ class Client(OpenApiClient):
|
|
|
3232
3560
|
body_type = 'json'
|
|
3233
3561
|
)
|
|
3234
3562
|
return DaraCore.from_map(
|
|
3235
|
-
main_models.
|
|
3563
|
+
main_models.CreateInstanceTrialLicenseResponse(),
|
|
3236
3564
|
await self.call_api_async(params, req, runtime)
|
|
3237
3565
|
)
|
|
3238
3566
|
|
|
3239
|
-
def
|
|
3567
|
+
def create_instance_trial_license(
|
|
3240
3568
|
self,
|
|
3241
|
-
request: main_models.
|
|
3242
|
-
) -> main_models.
|
|
3569
|
+
request: main_models.CreateInstanceTrialLicenseRequest,
|
|
3570
|
+
) -> main_models.CreateInstanceTrialLicenseResponse:
|
|
3243
3571
|
runtime = RuntimeOptions()
|
|
3244
|
-
return self.
|
|
3572
|
+
return self.create_instance_trial_license_with_options(request, runtime)
|
|
3245
3573
|
|
|
3246
|
-
async def
|
|
3574
|
+
async def create_instance_trial_license_async(
|
|
3247
3575
|
self,
|
|
3248
|
-
request: main_models.
|
|
3576
|
+
request: main_models.CreateInstanceTrialLicenseRequest,
|
|
3577
|
+
) -> main_models.CreateInstanceTrialLicenseResponse:
|
|
3578
|
+
runtime = RuntimeOptions()
|
|
3579
|
+
return await self.create_instance_trial_license_with_options_async(request, runtime)
|
|
3580
|
+
|
|
3581
|
+
def create_network_access_endpoint_with_options(
|
|
3582
|
+
self,
|
|
3583
|
+
request: main_models.CreateNetworkAccessEndpointRequest,
|
|
3584
|
+
runtime: RuntimeOptions,
|
|
3585
|
+
) -> main_models.CreateNetworkAccessEndpointResponse:
|
|
3586
|
+
request.validate()
|
|
3587
|
+
query = {}
|
|
3588
|
+
if not DaraCore.is_null(request.client_token):
|
|
3589
|
+
query['ClientToken'] = request.client_token
|
|
3590
|
+
if not DaraCore.is_null(request.instance_id):
|
|
3591
|
+
query['InstanceId'] = request.instance_id
|
|
3592
|
+
if not DaraCore.is_null(request.network_access_endpoint_name):
|
|
3593
|
+
query['NetworkAccessEndpointName'] = request.network_access_endpoint_name
|
|
3594
|
+
if not DaraCore.is_null(request.v_switch_ids):
|
|
3595
|
+
query['VSwitchIds'] = request.v_switch_ids
|
|
3596
|
+
if not DaraCore.is_null(request.vpc_id):
|
|
3597
|
+
query['VpcId'] = request.vpc_id
|
|
3598
|
+
if not DaraCore.is_null(request.vpc_region_id):
|
|
3599
|
+
query['VpcRegionId'] = request.vpc_region_id
|
|
3600
|
+
req = open_api_util_models.OpenApiRequest(
|
|
3601
|
+
query = Utils.query(query)
|
|
3602
|
+
)
|
|
3603
|
+
params = open_api_util_models.Params(
|
|
3604
|
+
action = 'CreateNetworkAccessEndpoint',
|
|
3605
|
+
version = '2021-12-01',
|
|
3606
|
+
protocol = 'HTTPS',
|
|
3607
|
+
pathname = '/',
|
|
3608
|
+
method = 'POST',
|
|
3609
|
+
auth_type = 'AK',
|
|
3610
|
+
style = 'RPC',
|
|
3611
|
+
req_body_type = 'formData',
|
|
3612
|
+
body_type = 'json'
|
|
3613
|
+
)
|
|
3614
|
+
return DaraCore.from_map(
|
|
3615
|
+
main_models.CreateNetworkAccessEndpointResponse(),
|
|
3616
|
+
self.call_api(params, req, runtime)
|
|
3617
|
+
)
|
|
3618
|
+
|
|
3619
|
+
async def create_network_access_endpoint_with_options_async(
|
|
3620
|
+
self,
|
|
3621
|
+
request: main_models.CreateNetworkAccessEndpointRequest,
|
|
3622
|
+
runtime: RuntimeOptions,
|
|
3623
|
+
) -> main_models.CreateNetworkAccessEndpointResponse:
|
|
3624
|
+
request.validate()
|
|
3625
|
+
query = {}
|
|
3626
|
+
if not DaraCore.is_null(request.client_token):
|
|
3627
|
+
query['ClientToken'] = request.client_token
|
|
3628
|
+
if not DaraCore.is_null(request.instance_id):
|
|
3629
|
+
query['InstanceId'] = request.instance_id
|
|
3630
|
+
if not DaraCore.is_null(request.network_access_endpoint_name):
|
|
3631
|
+
query['NetworkAccessEndpointName'] = request.network_access_endpoint_name
|
|
3632
|
+
if not DaraCore.is_null(request.v_switch_ids):
|
|
3633
|
+
query['VSwitchIds'] = request.v_switch_ids
|
|
3634
|
+
if not DaraCore.is_null(request.vpc_id):
|
|
3635
|
+
query['VpcId'] = request.vpc_id
|
|
3636
|
+
if not DaraCore.is_null(request.vpc_region_id):
|
|
3637
|
+
query['VpcRegionId'] = request.vpc_region_id
|
|
3638
|
+
req = open_api_util_models.OpenApiRequest(
|
|
3639
|
+
query = Utils.query(query)
|
|
3640
|
+
)
|
|
3641
|
+
params = open_api_util_models.Params(
|
|
3642
|
+
action = 'CreateNetworkAccessEndpoint',
|
|
3643
|
+
version = '2021-12-01',
|
|
3644
|
+
protocol = 'HTTPS',
|
|
3645
|
+
pathname = '/',
|
|
3646
|
+
method = 'POST',
|
|
3647
|
+
auth_type = 'AK',
|
|
3648
|
+
style = 'RPC',
|
|
3649
|
+
req_body_type = 'formData',
|
|
3650
|
+
body_type = 'json'
|
|
3651
|
+
)
|
|
3652
|
+
return DaraCore.from_map(
|
|
3653
|
+
main_models.CreateNetworkAccessEndpointResponse(),
|
|
3654
|
+
await self.call_api_async(params, req, runtime)
|
|
3655
|
+
)
|
|
3656
|
+
|
|
3657
|
+
def create_network_access_endpoint(
|
|
3658
|
+
self,
|
|
3659
|
+
request: main_models.CreateNetworkAccessEndpointRequest,
|
|
3660
|
+
) -> main_models.CreateNetworkAccessEndpointResponse:
|
|
3661
|
+
runtime = RuntimeOptions()
|
|
3662
|
+
return self.create_network_access_endpoint_with_options(request, runtime)
|
|
3663
|
+
|
|
3664
|
+
async def create_network_access_endpoint_async(
|
|
3665
|
+
self,
|
|
3666
|
+
request: main_models.CreateNetworkAccessEndpointRequest,
|
|
3249
3667
|
) -> main_models.CreateNetworkAccessEndpointResponse:
|
|
3250
3668
|
runtime = RuntimeOptions()
|
|
3251
3669
|
return await self.create_network_access_endpoint_with_options_async(request, runtime)
|
|
@@ -4570,6 +4988,80 @@ class Client(OpenApiClient):
|
|
|
4570
4988
|
runtime = RuntimeOptions()
|
|
4571
4989
|
return await self.delete_conditional_access_policy_with_options_async(request, runtime)
|
|
4572
4990
|
|
|
4991
|
+
def delete_custom_field_with_options(
|
|
4992
|
+
self,
|
|
4993
|
+
request: main_models.DeleteCustomFieldRequest,
|
|
4994
|
+
runtime: RuntimeOptions,
|
|
4995
|
+
) -> main_models.DeleteCustomFieldResponse:
|
|
4996
|
+
request.validate()
|
|
4997
|
+
query = {}
|
|
4998
|
+
if not DaraCore.is_null(request.field_id):
|
|
4999
|
+
query['FieldId'] = request.field_id
|
|
5000
|
+
if not DaraCore.is_null(request.instance_id):
|
|
5001
|
+
query['InstanceId'] = request.instance_id
|
|
5002
|
+
req = open_api_util_models.OpenApiRequest(
|
|
5003
|
+
query = Utils.query(query)
|
|
5004
|
+
)
|
|
5005
|
+
params = open_api_util_models.Params(
|
|
5006
|
+
action = 'DeleteCustomField',
|
|
5007
|
+
version = '2021-12-01',
|
|
5008
|
+
protocol = 'HTTPS',
|
|
5009
|
+
pathname = '/',
|
|
5010
|
+
method = 'POST',
|
|
5011
|
+
auth_type = 'AK',
|
|
5012
|
+
style = 'RPC',
|
|
5013
|
+
req_body_type = 'formData',
|
|
5014
|
+
body_type = 'json'
|
|
5015
|
+
)
|
|
5016
|
+
return DaraCore.from_map(
|
|
5017
|
+
main_models.DeleteCustomFieldResponse(),
|
|
5018
|
+
self.call_api(params, req, runtime)
|
|
5019
|
+
)
|
|
5020
|
+
|
|
5021
|
+
async def delete_custom_field_with_options_async(
|
|
5022
|
+
self,
|
|
5023
|
+
request: main_models.DeleteCustomFieldRequest,
|
|
5024
|
+
runtime: RuntimeOptions,
|
|
5025
|
+
) -> main_models.DeleteCustomFieldResponse:
|
|
5026
|
+
request.validate()
|
|
5027
|
+
query = {}
|
|
5028
|
+
if not DaraCore.is_null(request.field_id):
|
|
5029
|
+
query['FieldId'] = request.field_id
|
|
5030
|
+
if not DaraCore.is_null(request.instance_id):
|
|
5031
|
+
query['InstanceId'] = request.instance_id
|
|
5032
|
+
req = open_api_util_models.OpenApiRequest(
|
|
5033
|
+
query = Utils.query(query)
|
|
5034
|
+
)
|
|
5035
|
+
params = open_api_util_models.Params(
|
|
5036
|
+
action = 'DeleteCustomField',
|
|
5037
|
+
version = '2021-12-01',
|
|
5038
|
+
protocol = 'HTTPS',
|
|
5039
|
+
pathname = '/',
|
|
5040
|
+
method = 'POST',
|
|
5041
|
+
auth_type = 'AK',
|
|
5042
|
+
style = 'RPC',
|
|
5043
|
+
req_body_type = 'formData',
|
|
5044
|
+
body_type = 'json'
|
|
5045
|
+
)
|
|
5046
|
+
return DaraCore.from_map(
|
|
5047
|
+
main_models.DeleteCustomFieldResponse(),
|
|
5048
|
+
await self.call_api_async(params, req, runtime)
|
|
5049
|
+
)
|
|
5050
|
+
|
|
5051
|
+
def delete_custom_field(
|
|
5052
|
+
self,
|
|
5053
|
+
request: main_models.DeleteCustomFieldRequest,
|
|
5054
|
+
) -> main_models.DeleteCustomFieldResponse:
|
|
5055
|
+
runtime = RuntimeOptions()
|
|
5056
|
+
return self.delete_custom_field_with_options(request, runtime)
|
|
5057
|
+
|
|
5058
|
+
async def delete_custom_field_async(
|
|
5059
|
+
self,
|
|
5060
|
+
request: main_models.DeleteCustomFieldRequest,
|
|
5061
|
+
) -> main_models.DeleteCustomFieldResponse:
|
|
5062
|
+
runtime = RuntimeOptions()
|
|
5063
|
+
return await self.delete_custom_field_with_options_async(request, runtime)
|
|
5064
|
+
|
|
4573
5065
|
def delete_custom_privacy_policy_with_options(
|
|
4574
5066
|
self,
|
|
4575
5067
|
request: main_models.DeleteCustomPrivacyPolicyRequest,
|
|
@@ -6760,6 +7252,80 @@ class Client(OpenApiClient):
|
|
|
6760
7252
|
runtime = RuntimeOptions()
|
|
6761
7253
|
return await self.disable_conditional_access_policy_with_options_async(request, runtime)
|
|
6762
7254
|
|
|
7255
|
+
def disable_custom_field_with_options(
|
|
7256
|
+
self,
|
|
7257
|
+
request: main_models.DisableCustomFieldRequest,
|
|
7258
|
+
runtime: RuntimeOptions,
|
|
7259
|
+
) -> main_models.DisableCustomFieldResponse:
|
|
7260
|
+
request.validate()
|
|
7261
|
+
query = {}
|
|
7262
|
+
if not DaraCore.is_null(request.field_id):
|
|
7263
|
+
query['FieldId'] = request.field_id
|
|
7264
|
+
if not DaraCore.is_null(request.instance_id):
|
|
7265
|
+
query['InstanceId'] = request.instance_id
|
|
7266
|
+
req = open_api_util_models.OpenApiRequest(
|
|
7267
|
+
query = Utils.query(query)
|
|
7268
|
+
)
|
|
7269
|
+
params = open_api_util_models.Params(
|
|
7270
|
+
action = 'DisableCustomField',
|
|
7271
|
+
version = '2021-12-01',
|
|
7272
|
+
protocol = 'HTTPS',
|
|
7273
|
+
pathname = '/',
|
|
7274
|
+
method = 'POST',
|
|
7275
|
+
auth_type = 'AK',
|
|
7276
|
+
style = 'RPC',
|
|
7277
|
+
req_body_type = 'formData',
|
|
7278
|
+
body_type = 'json'
|
|
7279
|
+
)
|
|
7280
|
+
return DaraCore.from_map(
|
|
7281
|
+
main_models.DisableCustomFieldResponse(),
|
|
7282
|
+
self.call_api(params, req, runtime)
|
|
7283
|
+
)
|
|
7284
|
+
|
|
7285
|
+
async def disable_custom_field_with_options_async(
|
|
7286
|
+
self,
|
|
7287
|
+
request: main_models.DisableCustomFieldRequest,
|
|
7288
|
+
runtime: RuntimeOptions,
|
|
7289
|
+
) -> main_models.DisableCustomFieldResponse:
|
|
7290
|
+
request.validate()
|
|
7291
|
+
query = {}
|
|
7292
|
+
if not DaraCore.is_null(request.field_id):
|
|
7293
|
+
query['FieldId'] = request.field_id
|
|
7294
|
+
if not DaraCore.is_null(request.instance_id):
|
|
7295
|
+
query['InstanceId'] = request.instance_id
|
|
7296
|
+
req = open_api_util_models.OpenApiRequest(
|
|
7297
|
+
query = Utils.query(query)
|
|
7298
|
+
)
|
|
7299
|
+
params = open_api_util_models.Params(
|
|
7300
|
+
action = 'DisableCustomField',
|
|
7301
|
+
version = '2021-12-01',
|
|
7302
|
+
protocol = 'HTTPS',
|
|
7303
|
+
pathname = '/',
|
|
7304
|
+
method = 'POST',
|
|
7305
|
+
auth_type = 'AK',
|
|
7306
|
+
style = 'RPC',
|
|
7307
|
+
req_body_type = 'formData',
|
|
7308
|
+
body_type = 'json'
|
|
7309
|
+
)
|
|
7310
|
+
return DaraCore.from_map(
|
|
7311
|
+
main_models.DisableCustomFieldResponse(),
|
|
7312
|
+
await self.call_api_async(params, req, runtime)
|
|
7313
|
+
)
|
|
7314
|
+
|
|
7315
|
+
def disable_custom_field(
|
|
7316
|
+
self,
|
|
7317
|
+
request: main_models.DisableCustomFieldRequest,
|
|
7318
|
+
) -> main_models.DisableCustomFieldResponse:
|
|
7319
|
+
runtime = RuntimeOptions()
|
|
7320
|
+
return self.disable_custom_field_with_options(request, runtime)
|
|
7321
|
+
|
|
7322
|
+
async def disable_custom_field_async(
|
|
7323
|
+
self,
|
|
7324
|
+
request: main_models.DisableCustomFieldRequest,
|
|
7325
|
+
) -> main_models.DisableCustomFieldResponse:
|
|
7326
|
+
runtime = RuntimeOptions()
|
|
7327
|
+
return await self.disable_custom_field_with_options_async(request, runtime)
|
|
7328
|
+
|
|
6763
7329
|
def disable_custom_privacy_policy_with_options(
|
|
6764
7330
|
self,
|
|
6765
7331
|
request: main_models.DisableCustomPrivacyPolicyRequest,
|
|
@@ -8572,6 +9138,80 @@ class Client(OpenApiClient):
|
|
|
8572
9138
|
runtime = RuntimeOptions()
|
|
8573
9139
|
return await self.enable_conditional_access_policy_with_options_async(request, runtime)
|
|
8574
9140
|
|
|
9141
|
+
def enable_custom_field_with_options(
|
|
9142
|
+
self,
|
|
9143
|
+
request: main_models.EnableCustomFieldRequest,
|
|
9144
|
+
runtime: RuntimeOptions,
|
|
9145
|
+
) -> main_models.EnableCustomFieldResponse:
|
|
9146
|
+
request.validate()
|
|
9147
|
+
query = {}
|
|
9148
|
+
if not DaraCore.is_null(request.field_id):
|
|
9149
|
+
query['FieldId'] = request.field_id
|
|
9150
|
+
if not DaraCore.is_null(request.instance_id):
|
|
9151
|
+
query['InstanceId'] = request.instance_id
|
|
9152
|
+
req = open_api_util_models.OpenApiRequest(
|
|
9153
|
+
query = Utils.query(query)
|
|
9154
|
+
)
|
|
9155
|
+
params = open_api_util_models.Params(
|
|
9156
|
+
action = 'EnableCustomField',
|
|
9157
|
+
version = '2021-12-01',
|
|
9158
|
+
protocol = 'HTTPS',
|
|
9159
|
+
pathname = '/',
|
|
9160
|
+
method = 'POST',
|
|
9161
|
+
auth_type = 'AK',
|
|
9162
|
+
style = 'RPC',
|
|
9163
|
+
req_body_type = 'formData',
|
|
9164
|
+
body_type = 'json'
|
|
9165
|
+
)
|
|
9166
|
+
return DaraCore.from_map(
|
|
9167
|
+
main_models.EnableCustomFieldResponse(),
|
|
9168
|
+
self.call_api(params, req, runtime)
|
|
9169
|
+
)
|
|
9170
|
+
|
|
9171
|
+
async def enable_custom_field_with_options_async(
|
|
9172
|
+
self,
|
|
9173
|
+
request: main_models.EnableCustomFieldRequest,
|
|
9174
|
+
runtime: RuntimeOptions,
|
|
9175
|
+
) -> main_models.EnableCustomFieldResponse:
|
|
9176
|
+
request.validate()
|
|
9177
|
+
query = {}
|
|
9178
|
+
if not DaraCore.is_null(request.field_id):
|
|
9179
|
+
query['FieldId'] = request.field_id
|
|
9180
|
+
if not DaraCore.is_null(request.instance_id):
|
|
9181
|
+
query['InstanceId'] = request.instance_id
|
|
9182
|
+
req = open_api_util_models.OpenApiRequest(
|
|
9183
|
+
query = Utils.query(query)
|
|
9184
|
+
)
|
|
9185
|
+
params = open_api_util_models.Params(
|
|
9186
|
+
action = 'EnableCustomField',
|
|
9187
|
+
version = '2021-12-01',
|
|
9188
|
+
protocol = 'HTTPS',
|
|
9189
|
+
pathname = '/',
|
|
9190
|
+
method = 'POST',
|
|
9191
|
+
auth_type = 'AK',
|
|
9192
|
+
style = 'RPC',
|
|
9193
|
+
req_body_type = 'formData',
|
|
9194
|
+
body_type = 'json'
|
|
9195
|
+
)
|
|
9196
|
+
return DaraCore.from_map(
|
|
9197
|
+
main_models.EnableCustomFieldResponse(),
|
|
9198
|
+
await self.call_api_async(params, req, runtime)
|
|
9199
|
+
)
|
|
9200
|
+
|
|
9201
|
+
def enable_custom_field(
|
|
9202
|
+
self,
|
|
9203
|
+
request: main_models.EnableCustomFieldRequest,
|
|
9204
|
+
) -> main_models.EnableCustomFieldResponse:
|
|
9205
|
+
runtime = RuntimeOptions()
|
|
9206
|
+
return self.enable_custom_field_with_options(request, runtime)
|
|
9207
|
+
|
|
9208
|
+
async def enable_custom_field_async(
|
|
9209
|
+
self,
|
|
9210
|
+
request: main_models.EnableCustomFieldRequest,
|
|
9211
|
+
) -> main_models.EnableCustomFieldResponse:
|
|
9212
|
+
runtime = RuntimeOptions()
|
|
9213
|
+
return await self.enable_custom_field_with_options_async(request, runtime)
|
|
9214
|
+
|
|
8575
9215
|
def enable_custom_privacy_policy_with_options(
|
|
8576
9216
|
self,
|
|
8577
9217
|
request: main_models.EnableCustomPrivacyPolicyRequest,
|
|
@@ -9986,24 +10626,22 @@ class Client(OpenApiClient):
|
|
|
9986
10626
|
runtime = RuntimeOptions()
|
|
9987
10627
|
return await self.get_application_provisioning_scope_with_options_async(request, runtime)
|
|
9988
10628
|
|
|
9989
|
-
def
|
|
10629
|
+
def get_application_provisioning_user_primary_organizational_unit_with_options(
|
|
9990
10630
|
self,
|
|
9991
|
-
request: main_models.
|
|
10631
|
+
request: main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
9992
10632
|
runtime: RuntimeOptions,
|
|
9993
|
-
) -> main_models.
|
|
10633
|
+
) -> main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
9994
10634
|
request.validate()
|
|
9995
10635
|
query = {}
|
|
9996
10636
|
if not DaraCore.is_null(request.application_id):
|
|
9997
10637
|
query['ApplicationId'] = request.application_id
|
|
9998
|
-
if not DaraCore.is_null(request.application_role_id):
|
|
9999
|
-
query['ApplicationRoleId'] = request.application_role_id
|
|
10000
10638
|
if not DaraCore.is_null(request.instance_id):
|
|
10001
10639
|
query['InstanceId'] = request.instance_id
|
|
10002
10640
|
req = open_api_util_models.OpenApiRequest(
|
|
10003
10641
|
query = Utils.query(query)
|
|
10004
10642
|
)
|
|
10005
10643
|
params = open_api_util_models.Params(
|
|
10006
|
-
action = '
|
|
10644
|
+
action = 'GetApplicationProvisioningUserPrimaryOrganizationalUnit',
|
|
10007
10645
|
version = '2021-12-01',
|
|
10008
10646
|
protocol = 'HTTPS',
|
|
10009
10647
|
pathname = '/',
|
|
@@ -10014,21 +10652,97 @@ class Client(OpenApiClient):
|
|
|
10014
10652
|
body_type = 'json'
|
|
10015
10653
|
)
|
|
10016
10654
|
return DaraCore.from_map(
|
|
10017
|
-
main_models.
|
|
10655
|
+
main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitResponse(),
|
|
10018
10656
|
self.call_api(params, req, runtime)
|
|
10019
10657
|
)
|
|
10020
10658
|
|
|
10021
|
-
async def
|
|
10659
|
+
async def get_application_provisioning_user_primary_organizational_unit_with_options_async(
|
|
10022
10660
|
self,
|
|
10023
|
-
request: main_models.
|
|
10661
|
+
request: main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
10024
10662
|
runtime: RuntimeOptions,
|
|
10025
|
-
) -> main_models.
|
|
10663
|
+
) -> main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
10026
10664
|
request.validate()
|
|
10027
10665
|
query = {}
|
|
10028
10666
|
if not DaraCore.is_null(request.application_id):
|
|
10029
10667
|
query['ApplicationId'] = request.application_id
|
|
10030
|
-
if not DaraCore.is_null(request.
|
|
10031
|
-
query['
|
|
10668
|
+
if not DaraCore.is_null(request.instance_id):
|
|
10669
|
+
query['InstanceId'] = request.instance_id
|
|
10670
|
+
req = open_api_util_models.OpenApiRequest(
|
|
10671
|
+
query = Utils.query(query)
|
|
10672
|
+
)
|
|
10673
|
+
params = open_api_util_models.Params(
|
|
10674
|
+
action = 'GetApplicationProvisioningUserPrimaryOrganizationalUnit',
|
|
10675
|
+
version = '2021-12-01',
|
|
10676
|
+
protocol = 'HTTPS',
|
|
10677
|
+
pathname = '/',
|
|
10678
|
+
method = 'POST',
|
|
10679
|
+
auth_type = 'AK',
|
|
10680
|
+
style = 'RPC',
|
|
10681
|
+
req_body_type = 'formData',
|
|
10682
|
+
body_type = 'json'
|
|
10683
|
+
)
|
|
10684
|
+
return DaraCore.from_map(
|
|
10685
|
+
main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitResponse(),
|
|
10686
|
+
await self.call_api_async(params, req, runtime)
|
|
10687
|
+
)
|
|
10688
|
+
|
|
10689
|
+
def get_application_provisioning_user_primary_organizational_unit(
|
|
10690
|
+
self,
|
|
10691
|
+
request: main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
10692
|
+
) -> main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
10693
|
+
runtime = RuntimeOptions()
|
|
10694
|
+
return self.get_application_provisioning_user_primary_organizational_unit_with_options(request, runtime)
|
|
10695
|
+
|
|
10696
|
+
async def get_application_provisioning_user_primary_organizational_unit_async(
|
|
10697
|
+
self,
|
|
10698
|
+
request: main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitRequest,
|
|
10699
|
+
) -> main_models.GetApplicationProvisioningUserPrimaryOrganizationalUnitResponse:
|
|
10700
|
+
runtime = RuntimeOptions()
|
|
10701
|
+
return await self.get_application_provisioning_user_primary_organizational_unit_with_options_async(request, runtime)
|
|
10702
|
+
|
|
10703
|
+
def get_application_role_with_options(
|
|
10704
|
+
self,
|
|
10705
|
+
request: main_models.GetApplicationRoleRequest,
|
|
10706
|
+
runtime: RuntimeOptions,
|
|
10707
|
+
) -> main_models.GetApplicationRoleResponse:
|
|
10708
|
+
request.validate()
|
|
10709
|
+
query = {}
|
|
10710
|
+
if not DaraCore.is_null(request.application_id):
|
|
10711
|
+
query['ApplicationId'] = request.application_id
|
|
10712
|
+
if not DaraCore.is_null(request.application_role_id):
|
|
10713
|
+
query['ApplicationRoleId'] = request.application_role_id
|
|
10714
|
+
if not DaraCore.is_null(request.instance_id):
|
|
10715
|
+
query['InstanceId'] = request.instance_id
|
|
10716
|
+
req = open_api_util_models.OpenApiRequest(
|
|
10717
|
+
query = Utils.query(query)
|
|
10718
|
+
)
|
|
10719
|
+
params = open_api_util_models.Params(
|
|
10720
|
+
action = 'GetApplicationRole',
|
|
10721
|
+
version = '2021-12-01',
|
|
10722
|
+
protocol = 'HTTPS',
|
|
10723
|
+
pathname = '/',
|
|
10724
|
+
method = 'POST',
|
|
10725
|
+
auth_type = 'AK',
|
|
10726
|
+
style = 'RPC',
|
|
10727
|
+
req_body_type = 'formData',
|
|
10728
|
+
body_type = 'json'
|
|
10729
|
+
)
|
|
10730
|
+
return DaraCore.from_map(
|
|
10731
|
+
main_models.GetApplicationRoleResponse(),
|
|
10732
|
+
self.call_api(params, req, runtime)
|
|
10733
|
+
)
|
|
10734
|
+
|
|
10735
|
+
async def get_application_role_with_options_async(
|
|
10736
|
+
self,
|
|
10737
|
+
request: main_models.GetApplicationRoleRequest,
|
|
10738
|
+
runtime: RuntimeOptions,
|
|
10739
|
+
) -> main_models.GetApplicationRoleResponse:
|
|
10740
|
+
request.validate()
|
|
10741
|
+
query = {}
|
|
10742
|
+
if not DaraCore.is_null(request.application_id):
|
|
10743
|
+
query['ApplicationId'] = request.application_id
|
|
10744
|
+
if not DaraCore.is_null(request.application_role_id):
|
|
10745
|
+
query['ApplicationRoleId'] = request.application_role_id
|
|
10032
10746
|
if not DaraCore.is_null(request.instance_id):
|
|
10033
10747
|
query['InstanceId'] = request.instance_id
|
|
10034
10748
|
req = open_api_util_models.OpenApiRequest(
|
|
@@ -10738,6 +11452,80 @@ class Client(OpenApiClient):
|
|
|
10738
11452
|
runtime = RuntimeOptions()
|
|
10739
11453
|
return await self.get_conditional_access_policy_with_options_async(request, runtime)
|
|
10740
11454
|
|
|
11455
|
+
def get_custom_field_with_options(
|
|
11456
|
+
self,
|
|
11457
|
+
request: main_models.GetCustomFieldRequest,
|
|
11458
|
+
runtime: RuntimeOptions,
|
|
11459
|
+
) -> main_models.GetCustomFieldResponse:
|
|
11460
|
+
request.validate()
|
|
11461
|
+
query = {}
|
|
11462
|
+
if not DaraCore.is_null(request.field_id):
|
|
11463
|
+
query['FieldId'] = request.field_id
|
|
11464
|
+
if not DaraCore.is_null(request.instance_id):
|
|
11465
|
+
query['InstanceId'] = request.instance_id
|
|
11466
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11467
|
+
query = Utils.query(query)
|
|
11468
|
+
)
|
|
11469
|
+
params = open_api_util_models.Params(
|
|
11470
|
+
action = 'GetCustomField',
|
|
11471
|
+
version = '2021-12-01',
|
|
11472
|
+
protocol = 'HTTPS',
|
|
11473
|
+
pathname = '/',
|
|
11474
|
+
method = 'POST',
|
|
11475
|
+
auth_type = 'AK',
|
|
11476
|
+
style = 'RPC',
|
|
11477
|
+
req_body_type = 'formData',
|
|
11478
|
+
body_type = 'json'
|
|
11479
|
+
)
|
|
11480
|
+
return DaraCore.from_map(
|
|
11481
|
+
main_models.GetCustomFieldResponse(),
|
|
11482
|
+
self.call_api(params, req, runtime)
|
|
11483
|
+
)
|
|
11484
|
+
|
|
11485
|
+
async def get_custom_field_with_options_async(
|
|
11486
|
+
self,
|
|
11487
|
+
request: main_models.GetCustomFieldRequest,
|
|
11488
|
+
runtime: RuntimeOptions,
|
|
11489
|
+
) -> main_models.GetCustomFieldResponse:
|
|
11490
|
+
request.validate()
|
|
11491
|
+
query = {}
|
|
11492
|
+
if not DaraCore.is_null(request.field_id):
|
|
11493
|
+
query['FieldId'] = request.field_id
|
|
11494
|
+
if not DaraCore.is_null(request.instance_id):
|
|
11495
|
+
query['InstanceId'] = request.instance_id
|
|
11496
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11497
|
+
query = Utils.query(query)
|
|
11498
|
+
)
|
|
11499
|
+
params = open_api_util_models.Params(
|
|
11500
|
+
action = 'GetCustomField',
|
|
11501
|
+
version = '2021-12-01',
|
|
11502
|
+
protocol = 'HTTPS',
|
|
11503
|
+
pathname = '/',
|
|
11504
|
+
method = 'POST',
|
|
11505
|
+
auth_type = 'AK',
|
|
11506
|
+
style = 'RPC',
|
|
11507
|
+
req_body_type = 'formData',
|
|
11508
|
+
body_type = 'json'
|
|
11509
|
+
)
|
|
11510
|
+
return DaraCore.from_map(
|
|
11511
|
+
main_models.GetCustomFieldResponse(),
|
|
11512
|
+
await self.call_api_async(params, req, runtime)
|
|
11513
|
+
)
|
|
11514
|
+
|
|
11515
|
+
def get_custom_field(
|
|
11516
|
+
self,
|
|
11517
|
+
request: main_models.GetCustomFieldRequest,
|
|
11518
|
+
) -> main_models.GetCustomFieldResponse:
|
|
11519
|
+
runtime = RuntimeOptions()
|
|
11520
|
+
return self.get_custom_field_with_options(request, runtime)
|
|
11521
|
+
|
|
11522
|
+
async def get_custom_field_async(
|
|
11523
|
+
self,
|
|
11524
|
+
request: main_models.GetCustomFieldRequest,
|
|
11525
|
+
) -> main_models.GetCustomFieldResponse:
|
|
11526
|
+
runtime = RuntimeOptions()
|
|
11527
|
+
return await self.get_custom_field_with_options_async(request, runtime)
|
|
11528
|
+
|
|
10741
11529
|
def get_custom_privacy_policy_with_options(
|
|
10742
11530
|
self,
|
|
10743
11531
|
request: main_models.GetCustomPrivacyPolicyRequest,
|
|
@@ -11252,11 +12040,11 @@ class Client(OpenApiClient):
|
|
|
11252
12040
|
runtime = RuntimeOptions()
|
|
11253
12041
|
return await self.get_identity_provider_with_options_async(request, runtime)
|
|
11254
12042
|
|
|
11255
|
-
def
|
|
12043
|
+
def get_identity_provider_advanced_configuration_with_options(
|
|
11256
12044
|
self,
|
|
11257
|
-
request: main_models.
|
|
12045
|
+
request: main_models.GetIdentityProviderAdvancedConfigurationRequest,
|
|
11258
12046
|
runtime: RuntimeOptions,
|
|
11259
|
-
) -> main_models.
|
|
12047
|
+
) -> main_models.GetIdentityProviderAdvancedConfigurationResponse:
|
|
11260
12048
|
request.validate()
|
|
11261
12049
|
query = {}
|
|
11262
12050
|
if not DaraCore.is_null(request.identity_provider_id):
|
|
@@ -11267,7 +12055,7 @@ class Client(OpenApiClient):
|
|
|
11267
12055
|
query = Utils.query(query)
|
|
11268
12056
|
)
|
|
11269
12057
|
params = open_api_util_models.Params(
|
|
11270
|
-
action = '
|
|
12058
|
+
action = 'GetIdentityProviderAdvancedConfiguration',
|
|
11271
12059
|
version = '2021-12-01',
|
|
11272
12060
|
protocol = 'HTTPS',
|
|
11273
12061
|
pathname = '/',
|
|
@@ -11278,15 +12066,15 @@ class Client(OpenApiClient):
|
|
|
11278
12066
|
body_type = 'json'
|
|
11279
12067
|
)
|
|
11280
12068
|
return DaraCore.from_map(
|
|
11281
|
-
main_models.
|
|
12069
|
+
main_models.GetIdentityProviderAdvancedConfigurationResponse(),
|
|
11282
12070
|
self.call_api(params, req, runtime)
|
|
11283
12071
|
)
|
|
11284
12072
|
|
|
11285
|
-
async def
|
|
12073
|
+
async def get_identity_provider_advanced_configuration_with_options_async(
|
|
11286
12074
|
self,
|
|
11287
|
-
request: main_models.
|
|
12075
|
+
request: main_models.GetIdentityProviderAdvancedConfigurationRequest,
|
|
11288
12076
|
runtime: RuntimeOptions,
|
|
11289
|
-
) -> main_models.
|
|
12077
|
+
) -> main_models.GetIdentityProviderAdvancedConfigurationResponse:
|
|
11290
12078
|
request.validate()
|
|
11291
12079
|
query = {}
|
|
11292
12080
|
if not DaraCore.is_null(request.identity_provider_id):
|
|
@@ -11297,7 +12085,7 @@ class Client(OpenApiClient):
|
|
|
11297
12085
|
query = Utils.query(query)
|
|
11298
12086
|
)
|
|
11299
12087
|
params = open_api_util_models.Params(
|
|
11300
|
-
action = '
|
|
12088
|
+
action = 'GetIdentityProviderAdvancedConfiguration',
|
|
11301
12089
|
version = '2021-12-01',
|
|
11302
12090
|
protocol = 'HTTPS',
|
|
11303
12091
|
pathname = '/',
|
|
@@ -11308,38 +12096,42 @@ class Client(OpenApiClient):
|
|
|
11308
12096
|
body_type = 'json'
|
|
11309
12097
|
)
|
|
11310
12098
|
return DaraCore.from_map(
|
|
11311
|
-
main_models.
|
|
12099
|
+
main_models.GetIdentityProviderAdvancedConfigurationResponse(),
|
|
11312
12100
|
await self.call_api_async(params, req, runtime)
|
|
11313
12101
|
)
|
|
11314
12102
|
|
|
11315
|
-
def
|
|
12103
|
+
def get_identity_provider_advanced_configuration(
|
|
11316
12104
|
self,
|
|
11317
|
-
request: main_models.
|
|
11318
|
-
) -> main_models.
|
|
12105
|
+
request: main_models.GetIdentityProviderAdvancedConfigurationRequest,
|
|
12106
|
+
) -> main_models.GetIdentityProviderAdvancedConfigurationResponse:
|
|
11319
12107
|
runtime = RuntimeOptions()
|
|
11320
|
-
return self.
|
|
12108
|
+
return self.get_identity_provider_advanced_configuration_with_options(request, runtime)
|
|
11321
12109
|
|
|
11322
|
-
async def
|
|
12110
|
+
async def get_identity_provider_advanced_configuration_async(
|
|
11323
12111
|
self,
|
|
11324
|
-
request: main_models.
|
|
11325
|
-
) -> main_models.
|
|
12112
|
+
request: main_models.GetIdentityProviderAdvancedConfigurationRequest,
|
|
12113
|
+
) -> main_models.GetIdentityProviderAdvancedConfigurationResponse:
|
|
11326
12114
|
runtime = RuntimeOptions()
|
|
11327
|
-
return await self.
|
|
12115
|
+
return await self.get_identity_provider_advanced_configuration_with_options_async(request, runtime)
|
|
11328
12116
|
|
|
11329
|
-
def
|
|
12117
|
+
def get_identity_provider_status_check_job_with_options(
|
|
11330
12118
|
self,
|
|
11331
|
-
request: main_models.
|
|
12119
|
+
request: main_models.GetIdentityProviderStatusCheckJobRequest,
|
|
11332
12120
|
runtime: RuntimeOptions,
|
|
11333
|
-
) -> main_models.
|
|
12121
|
+
) -> main_models.GetIdentityProviderStatusCheckJobResponse:
|
|
11334
12122
|
request.validate()
|
|
11335
12123
|
query = {}
|
|
12124
|
+
if not DaraCore.is_null(request.identity_provider_id):
|
|
12125
|
+
query['IdentityProviderId'] = request.identity_provider_id
|
|
12126
|
+
if not DaraCore.is_null(request.identity_provider_status_check_job_id):
|
|
12127
|
+
query['IdentityProviderStatusCheckJobId'] = request.identity_provider_status_check_job_id
|
|
11336
12128
|
if not DaraCore.is_null(request.instance_id):
|
|
11337
12129
|
query['InstanceId'] = request.instance_id
|
|
11338
12130
|
req = open_api_util_models.OpenApiRequest(
|
|
11339
12131
|
query = Utils.query(query)
|
|
11340
12132
|
)
|
|
11341
12133
|
params = open_api_util_models.Params(
|
|
11342
|
-
action = '
|
|
12134
|
+
action = 'GetIdentityProviderStatusCheckJob',
|
|
11343
12135
|
version = '2021-12-01',
|
|
11344
12136
|
protocol = 'HTTPS',
|
|
11345
12137
|
pathname = '/',
|
|
@@ -11350,24 +12142,28 @@ class Client(OpenApiClient):
|
|
|
11350
12142
|
body_type = 'json'
|
|
11351
12143
|
)
|
|
11352
12144
|
return DaraCore.from_map(
|
|
11353
|
-
main_models.
|
|
12145
|
+
main_models.GetIdentityProviderStatusCheckJobResponse(),
|
|
11354
12146
|
self.call_api(params, req, runtime)
|
|
11355
12147
|
)
|
|
11356
12148
|
|
|
11357
|
-
async def
|
|
12149
|
+
async def get_identity_provider_status_check_job_with_options_async(
|
|
11358
12150
|
self,
|
|
11359
|
-
request: main_models.
|
|
12151
|
+
request: main_models.GetIdentityProviderStatusCheckJobRequest,
|
|
11360
12152
|
runtime: RuntimeOptions,
|
|
11361
|
-
) -> main_models.
|
|
12153
|
+
) -> main_models.GetIdentityProviderStatusCheckJobResponse:
|
|
11362
12154
|
request.validate()
|
|
11363
12155
|
query = {}
|
|
12156
|
+
if not DaraCore.is_null(request.identity_provider_id):
|
|
12157
|
+
query['IdentityProviderId'] = request.identity_provider_id
|
|
12158
|
+
if not DaraCore.is_null(request.identity_provider_status_check_job_id):
|
|
12159
|
+
query['IdentityProviderStatusCheckJobId'] = request.identity_provider_status_check_job_id
|
|
11364
12160
|
if not DaraCore.is_null(request.instance_id):
|
|
11365
12161
|
query['InstanceId'] = request.instance_id
|
|
11366
12162
|
req = open_api_util_models.OpenApiRequest(
|
|
11367
12163
|
query = Utils.query(query)
|
|
11368
12164
|
)
|
|
11369
12165
|
params = open_api_util_models.Params(
|
|
11370
|
-
action = '
|
|
12166
|
+
action = 'GetIdentityProviderStatusCheckJob',
|
|
11371
12167
|
version = '2021-12-01',
|
|
11372
12168
|
protocol = 'HTTPS',
|
|
11373
12169
|
pathname = '/',
|
|
@@ -11378,38 +12174,40 @@ class Client(OpenApiClient):
|
|
|
11378
12174
|
body_type = 'json'
|
|
11379
12175
|
)
|
|
11380
12176
|
return DaraCore.from_map(
|
|
11381
|
-
main_models.
|
|
12177
|
+
main_models.GetIdentityProviderStatusCheckJobResponse(),
|
|
11382
12178
|
await self.call_api_async(params, req, runtime)
|
|
11383
12179
|
)
|
|
11384
12180
|
|
|
11385
|
-
def
|
|
12181
|
+
def get_identity_provider_status_check_job(
|
|
11386
12182
|
self,
|
|
11387
|
-
request: main_models.
|
|
11388
|
-
) -> main_models.
|
|
12183
|
+
request: main_models.GetIdentityProviderStatusCheckJobRequest,
|
|
12184
|
+
) -> main_models.GetIdentityProviderStatusCheckJobResponse:
|
|
11389
12185
|
runtime = RuntimeOptions()
|
|
11390
|
-
return self.
|
|
12186
|
+
return self.get_identity_provider_status_check_job_with_options(request, runtime)
|
|
11391
12187
|
|
|
11392
|
-
async def
|
|
12188
|
+
async def get_identity_provider_status_check_job_async(
|
|
11393
12189
|
self,
|
|
11394
|
-
request: main_models.
|
|
11395
|
-
) -> main_models.
|
|
12190
|
+
request: main_models.GetIdentityProviderStatusCheckJobRequest,
|
|
12191
|
+
) -> main_models.GetIdentityProviderStatusCheckJobResponse:
|
|
11396
12192
|
runtime = RuntimeOptions()
|
|
11397
|
-
return await self.
|
|
12193
|
+
return await self.get_identity_provider_status_check_job_with_options_async(request, runtime)
|
|
11398
12194
|
|
|
11399
|
-
def
|
|
12195
|
+
def get_identity_provider_ud_pull_configuration_with_options(
|
|
11400
12196
|
self,
|
|
11401
|
-
request: main_models.
|
|
12197
|
+
request: main_models.GetIdentityProviderUdPullConfigurationRequest,
|
|
11402
12198
|
runtime: RuntimeOptions,
|
|
11403
|
-
) -> main_models.
|
|
12199
|
+
) -> main_models.GetIdentityProviderUdPullConfigurationResponse:
|
|
11404
12200
|
request.validate()
|
|
11405
12201
|
query = {}
|
|
12202
|
+
if not DaraCore.is_null(request.identity_provider_id):
|
|
12203
|
+
query['IdentityProviderId'] = request.identity_provider_id
|
|
11406
12204
|
if not DaraCore.is_null(request.instance_id):
|
|
11407
12205
|
query['InstanceId'] = request.instance_id
|
|
11408
12206
|
req = open_api_util_models.OpenApiRequest(
|
|
11409
12207
|
query = Utils.query(query)
|
|
11410
12208
|
)
|
|
11411
12209
|
params = open_api_util_models.Params(
|
|
11412
|
-
action = '
|
|
12210
|
+
action = 'GetIdentityProviderUdPullConfiguration',
|
|
11413
12211
|
version = '2021-12-01',
|
|
11414
12212
|
protocol = 'HTTPS',
|
|
11415
12213
|
pathname = '/',
|
|
@@ -11420,24 +12218,26 @@ class Client(OpenApiClient):
|
|
|
11420
12218
|
body_type = 'json'
|
|
11421
12219
|
)
|
|
11422
12220
|
return DaraCore.from_map(
|
|
11423
|
-
main_models.
|
|
12221
|
+
main_models.GetIdentityProviderUdPullConfigurationResponse(),
|
|
11424
12222
|
self.call_api(params, req, runtime)
|
|
11425
12223
|
)
|
|
11426
12224
|
|
|
11427
|
-
async def
|
|
12225
|
+
async def get_identity_provider_ud_pull_configuration_with_options_async(
|
|
11428
12226
|
self,
|
|
11429
|
-
request: main_models.
|
|
12227
|
+
request: main_models.GetIdentityProviderUdPullConfigurationRequest,
|
|
11430
12228
|
runtime: RuntimeOptions,
|
|
11431
|
-
) -> main_models.
|
|
12229
|
+
) -> main_models.GetIdentityProviderUdPullConfigurationResponse:
|
|
11432
12230
|
request.validate()
|
|
11433
12231
|
query = {}
|
|
12232
|
+
if not DaraCore.is_null(request.identity_provider_id):
|
|
12233
|
+
query['IdentityProviderId'] = request.identity_provider_id
|
|
11434
12234
|
if not DaraCore.is_null(request.instance_id):
|
|
11435
12235
|
query['InstanceId'] = request.instance_id
|
|
11436
12236
|
req = open_api_util_models.OpenApiRequest(
|
|
11437
12237
|
query = Utils.query(query)
|
|
11438
12238
|
)
|
|
11439
12239
|
params = open_api_util_models.Params(
|
|
11440
|
-
action = '
|
|
12240
|
+
action = 'GetIdentityProviderUdPullConfiguration',
|
|
11441
12241
|
version = '2021-12-01',
|
|
11442
12242
|
protocol = 'HTTPS',
|
|
11443
12243
|
pathname = '/',
|
|
@@ -11448,23 +12248,595 @@ class Client(OpenApiClient):
|
|
|
11448
12248
|
body_type = 'json'
|
|
11449
12249
|
)
|
|
11450
12250
|
return DaraCore.from_map(
|
|
11451
|
-
main_models.
|
|
12251
|
+
main_models.GetIdentityProviderUdPullConfigurationResponse(),
|
|
11452
12252
|
await self.call_api_async(params, req, runtime)
|
|
11453
12253
|
)
|
|
11454
12254
|
|
|
11455
|
-
def
|
|
12255
|
+
def get_identity_provider_ud_pull_configuration(
|
|
11456
12256
|
self,
|
|
11457
|
-
request: main_models.
|
|
11458
|
-
) -> main_models.
|
|
12257
|
+
request: main_models.GetIdentityProviderUdPullConfigurationRequest,
|
|
12258
|
+
) -> main_models.GetIdentityProviderUdPullConfigurationResponse:
|
|
11459
12259
|
runtime = RuntimeOptions()
|
|
11460
|
-
return self.
|
|
12260
|
+
return self.get_identity_provider_ud_pull_configuration_with_options(request, runtime)
|
|
11461
12261
|
|
|
11462
|
-
async def
|
|
12262
|
+
async def get_identity_provider_ud_pull_configuration_async(
|
|
11463
12263
|
self,
|
|
11464
|
-
request: main_models.
|
|
11465
|
-
) -> main_models.
|
|
12264
|
+
request: main_models.GetIdentityProviderUdPullConfigurationRequest,
|
|
12265
|
+
) -> main_models.GetIdentityProviderUdPullConfigurationResponse:
|
|
11466
12266
|
runtime = RuntimeOptions()
|
|
11467
|
-
return await self.
|
|
12267
|
+
return await self.get_identity_provider_ud_pull_configuration_with_options_async(request, runtime)
|
|
12268
|
+
|
|
12269
|
+
def get_identity_provider_ud_push_configuration_with_options(
|
|
12270
|
+
self,
|
|
12271
|
+
request: main_models.GetIdentityProviderUdPushConfigurationRequest,
|
|
12272
|
+
runtime: RuntimeOptions,
|
|
12273
|
+
) -> main_models.GetIdentityProviderUdPushConfigurationResponse:
|
|
12274
|
+
request.validate()
|
|
12275
|
+
query = {}
|
|
12276
|
+
if not DaraCore.is_null(request.identity_provider_id):
|
|
12277
|
+
query['IdentityProviderId'] = request.identity_provider_id
|
|
12278
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12279
|
+
query['InstanceId'] = request.instance_id
|
|
12280
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12281
|
+
query = Utils.query(query)
|
|
12282
|
+
)
|
|
12283
|
+
params = open_api_util_models.Params(
|
|
12284
|
+
action = 'GetIdentityProviderUdPushConfiguration',
|
|
12285
|
+
version = '2021-12-01',
|
|
12286
|
+
protocol = 'HTTPS',
|
|
12287
|
+
pathname = '/',
|
|
12288
|
+
method = 'POST',
|
|
12289
|
+
auth_type = 'AK',
|
|
12290
|
+
style = 'RPC',
|
|
12291
|
+
req_body_type = 'formData',
|
|
12292
|
+
body_type = 'json'
|
|
12293
|
+
)
|
|
12294
|
+
return DaraCore.from_map(
|
|
12295
|
+
main_models.GetIdentityProviderUdPushConfigurationResponse(),
|
|
12296
|
+
self.call_api(params, req, runtime)
|
|
12297
|
+
)
|
|
12298
|
+
|
|
12299
|
+
async def get_identity_provider_ud_push_configuration_with_options_async(
|
|
12300
|
+
self,
|
|
12301
|
+
request: main_models.GetIdentityProviderUdPushConfigurationRequest,
|
|
12302
|
+
runtime: RuntimeOptions,
|
|
12303
|
+
) -> main_models.GetIdentityProviderUdPushConfigurationResponse:
|
|
12304
|
+
request.validate()
|
|
12305
|
+
query = {}
|
|
12306
|
+
if not DaraCore.is_null(request.identity_provider_id):
|
|
12307
|
+
query['IdentityProviderId'] = request.identity_provider_id
|
|
12308
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12309
|
+
query['InstanceId'] = request.instance_id
|
|
12310
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12311
|
+
query = Utils.query(query)
|
|
12312
|
+
)
|
|
12313
|
+
params = open_api_util_models.Params(
|
|
12314
|
+
action = 'GetIdentityProviderUdPushConfiguration',
|
|
12315
|
+
version = '2021-12-01',
|
|
12316
|
+
protocol = 'HTTPS',
|
|
12317
|
+
pathname = '/',
|
|
12318
|
+
method = 'POST',
|
|
12319
|
+
auth_type = 'AK',
|
|
12320
|
+
style = 'RPC',
|
|
12321
|
+
req_body_type = 'formData',
|
|
12322
|
+
body_type = 'json'
|
|
12323
|
+
)
|
|
12324
|
+
return DaraCore.from_map(
|
|
12325
|
+
main_models.GetIdentityProviderUdPushConfigurationResponse(),
|
|
12326
|
+
await self.call_api_async(params, req, runtime)
|
|
12327
|
+
)
|
|
12328
|
+
|
|
12329
|
+
def get_identity_provider_ud_push_configuration(
|
|
12330
|
+
self,
|
|
12331
|
+
request: main_models.GetIdentityProviderUdPushConfigurationRequest,
|
|
12332
|
+
) -> main_models.GetIdentityProviderUdPushConfigurationResponse:
|
|
12333
|
+
runtime = RuntimeOptions()
|
|
12334
|
+
return self.get_identity_provider_ud_push_configuration_with_options(request, runtime)
|
|
12335
|
+
|
|
12336
|
+
async def get_identity_provider_ud_push_configuration_async(
|
|
12337
|
+
self,
|
|
12338
|
+
request: main_models.GetIdentityProviderUdPushConfigurationRequest,
|
|
12339
|
+
) -> main_models.GetIdentityProviderUdPushConfigurationResponse:
|
|
12340
|
+
runtime = RuntimeOptions()
|
|
12341
|
+
return await self.get_identity_provider_ud_push_configuration_with_options_async(request, runtime)
|
|
12342
|
+
|
|
12343
|
+
def get_instance_with_options(
|
|
12344
|
+
self,
|
|
12345
|
+
request: main_models.GetInstanceRequest,
|
|
12346
|
+
runtime: RuntimeOptions,
|
|
12347
|
+
) -> main_models.GetInstanceResponse:
|
|
12348
|
+
request.validate()
|
|
12349
|
+
query = {}
|
|
12350
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12351
|
+
query['InstanceId'] = request.instance_id
|
|
12352
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12353
|
+
query = Utils.query(query)
|
|
12354
|
+
)
|
|
12355
|
+
params = open_api_util_models.Params(
|
|
12356
|
+
action = 'GetInstance',
|
|
12357
|
+
version = '2021-12-01',
|
|
12358
|
+
protocol = 'HTTPS',
|
|
12359
|
+
pathname = '/',
|
|
12360
|
+
method = 'POST',
|
|
12361
|
+
auth_type = 'AK',
|
|
12362
|
+
style = 'RPC',
|
|
12363
|
+
req_body_type = 'formData',
|
|
12364
|
+
body_type = 'json'
|
|
12365
|
+
)
|
|
12366
|
+
return DaraCore.from_map(
|
|
12367
|
+
main_models.GetInstanceResponse(),
|
|
12368
|
+
self.call_api(params, req, runtime)
|
|
12369
|
+
)
|
|
12370
|
+
|
|
12371
|
+
async def get_instance_with_options_async(
|
|
12372
|
+
self,
|
|
12373
|
+
request: main_models.GetInstanceRequest,
|
|
12374
|
+
runtime: RuntimeOptions,
|
|
12375
|
+
) -> main_models.GetInstanceResponse:
|
|
12376
|
+
request.validate()
|
|
12377
|
+
query = {}
|
|
12378
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12379
|
+
query['InstanceId'] = request.instance_id
|
|
12380
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12381
|
+
query = Utils.query(query)
|
|
12382
|
+
)
|
|
12383
|
+
params = open_api_util_models.Params(
|
|
12384
|
+
action = 'GetInstance',
|
|
12385
|
+
version = '2021-12-01',
|
|
12386
|
+
protocol = 'HTTPS',
|
|
12387
|
+
pathname = '/',
|
|
12388
|
+
method = 'POST',
|
|
12389
|
+
auth_type = 'AK',
|
|
12390
|
+
style = 'RPC',
|
|
12391
|
+
req_body_type = 'formData',
|
|
12392
|
+
body_type = 'json'
|
|
12393
|
+
)
|
|
12394
|
+
return DaraCore.from_map(
|
|
12395
|
+
main_models.GetInstanceResponse(),
|
|
12396
|
+
await self.call_api_async(params, req, runtime)
|
|
12397
|
+
)
|
|
12398
|
+
|
|
12399
|
+
def get_instance(
|
|
12400
|
+
self,
|
|
12401
|
+
request: main_models.GetInstanceRequest,
|
|
12402
|
+
) -> main_models.GetInstanceResponse:
|
|
12403
|
+
runtime = RuntimeOptions()
|
|
12404
|
+
return self.get_instance_with_options(request, runtime)
|
|
12405
|
+
|
|
12406
|
+
async def get_instance_async(
|
|
12407
|
+
self,
|
|
12408
|
+
request: main_models.GetInstanceRequest,
|
|
12409
|
+
) -> main_models.GetInstanceResponse:
|
|
12410
|
+
runtime = RuntimeOptions()
|
|
12411
|
+
return await self.get_instance_with_options_async(request, runtime)
|
|
12412
|
+
|
|
12413
|
+
def get_instance_control_configuration_with_options(
|
|
12414
|
+
self,
|
|
12415
|
+
request: main_models.GetInstanceControlConfigurationRequest,
|
|
12416
|
+
runtime: RuntimeOptions,
|
|
12417
|
+
) -> main_models.GetInstanceControlConfigurationResponse:
|
|
12418
|
+
request.validate()
|
|
12419
|
+
query = {}
|
|
12420
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12421
|
+
query['InstanceId'] = request.instance_id
|
|
12422
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12423
|
+
query = Utils.query(query)
|
|
12424
|
+
)
|
|
12425
|
+
params = open_api_util_models.Params(
|
|
12426
|
+
action = 'GetInstanceControlConfiguration',
|
|
12427
|
+
version = '2021-12-01',
|
|
12428
|
+
protocol = 'HTTPS',
|
|
12429
|
+
pathname = '/',
|
|
12430
|
+
method = 'POST',
|
|
12431
|
+
auth_type = 'AK',
|
|
12432
|
+
style = 'RPC',
|
|
12433
|
+
req_body_type = 'formData',
|
|
12434
|
+
body_type = 'json'
|
|
12435
|
+
)
|
|
12436
|
+
return DaraCore.from_map(
|
|
12437
|
+
main_models.GetInstanceControlConfigurationResponse(),
|
|
12438
|
+
self.call_api(params, req, runtime)
|
|
12439
|
+
)
|
|
12440
|
+
|
|
12441
|
+
async def get_instance_control_configuration_with_options_async(
|
|
12442
|
+
self,
|
|
12443
|
+
request: main_models.GetInstanceControlConfigurationRequest,
|
|
12444
|
+
runtime: RuntimeOptions,
|
|
12445
|
+
) -> main_models.GetInstanceControlConfigurationResponse:
|
|
12446
|
+
request.validate()
|
|
12447
|
+
query = {}
|
|
12448
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12449
|
+
query['InstanceId'] = request.instance_id
|
|
12450
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12451
|
+
query = Utils.query(query)
|
|
12452
|
+
)
|
|
12453
|
+
params = open_api_util_models.Params(
|
|
12454
|
+
action = 'GetInstanceControlConfiguration',
|
|
12455
|
+
version = '2021-12-01',
|
|
12456
|
+
protocol = 'HTTPS',
|
|
12457
|
+
pathname = '/',
|
|
12458
|
+
method = 'POST',
|
|
12459
|
+
auth_type = 'AK',
|
|
12460
|
+
style = 'RPC',
|
|
12461
|
+
req_body_type = 'formData',
|
|
12462
|
+
body_type = 'json'
|
|
12463
|
+
)
|
|
12464
|
+
return DaraCore.from_map(
|
|
12465
|
+
main_models.GetInstanceControlConfigurationResponse(),
|
|
12466
|
+
await self.call_api_async(params, req, runtime)
|
|
12467
|
+
)
|
|
12468
|
+
|
|
12469
|
+
def get_instance_control_configuration(
|
|
12470
|
+
self,
|
|
12471
|
+
request: main_models.GetInstanceControlConfigurationRequest,
|
|
12472
|
+
) -> main_models.GetInstanceControlConfigurationResponse:
|
|
12473
|
+
runtime = RuntimeOptions()
|
|
12474
|
+
return self.get_instance_control_configuration_with_options(request, runtime)
|
|
12475
|
+
|
|
12476
|
+
async def get_instance_control_configuration_async(
|
|
12477
|
+
self,
|
|
12478
|
+
request: main_models.GetInstanceControlConfigurationRequest,
|
|
12479
|
+
) -> main_models.GetInstanceControlConfigurationResponse:
|
|
12480
|
+
runtime = RuntimeOptions()
|
|
12481
|
+
return await self.get_instance_control_configuration_with_options_async(request, runtime)
|
|
12482
|
+
|
|
12483
|
+
def get_instance_globalization_config_with_options(
|
|
12484
|
+
self,
|
|
12485
|
+
request: main_models.GetInstanceGlobalizationConfigRequest,
|
|
12486
|
+
runtime: RuntimeOptions,
|
|
12487
|
+
) -> main_models.GetInstanceGlobalizationConfigResponse:
|
|
12488
|
+
request.validate()
|
|
12489
|
+
query = {}
|
|
12490
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12491
|
+
query['InstanceId'] = request.instance_id
|
|
12492
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12493
|
+
query = Utils.query(query)
|
|
12494
|
+
)
|
|
12495
|
+
params = open_api_util_models.Params(
|
|
12496
|
+
action = 'GetInstanceGlobalizationConfig',
|
|
12497
|
+
version = '2021-12-01',
|
|
12498
|
+
protocol = 'HTTPS',
|
|
12499
|
+
pathname = '/',
|
|
12500
|
+
method = 'POST',
|
|
12501
|
+
auth_type = 'AK',
|
|
12502
|
+
style = 'RPC',
|
|
12503
|
+
req_body_type = 'formData',
|
|
12504
|
+
body_type = 'json'
|
|
12505
|
+
)
|
|
12506
|
+
return DaraCore.from_map(
|
|
12507
|
+
main_models.GetInstanceGlobalizationConfigResponse(),
|
|
12508
|
+
self.call_api(params, req, runtime)
|
|
12509
|
+
)
|
|
12510
|
+
|
|
12511
|
+
async def get_instance_globalization_config_with_options_async(
|
|
12512
|
+
self,
|
|
12513
|
+
request: main_models.GetInstanceGlobalizationConfigRequest,
|
|
12514
|
+
runtime: RuntimeOptions,
|
|
12515
|
+
) -> main_models.GetInstanceGlobalizationConfigResponse:
|
|
12516
|
+
request.validate()
|
|
12517
|
+
query = {}
|
|
12518
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12519
|
+
query['InstanceId'] = request.instance_id
|
|
12520
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12521
|
+
query = Utils.query(query)
|
|
12522
|
+
)
|
|
12523
|
+
params = open_api_util_models.Params(
|
|
12524
|
+
action = 'GetInstanceGlobalizationConfig',
|
|
12525
|
+
version = '2021-12-01',
|
|
12526
|
+
protocol = 'HTTPS',
|
|
12527
|
+
pathname = '/',
|
|
12528
|
+
method = 'POST',
|
|
12529
|
+
auth_type = 'AK',
|
|
12530
|
+
style = 'RPC',
|
|
12531
|
+
req_body_type = 'formData',
|
|
12532
|
+
body_type = 'json'
|
|
12533
|
+
)
|
|
12534
|
+
return DaraCore.from_map(
|
|
12535
|
+
main_models.GetInstanceGlobalizationConfigResponse(),
|
|
12536
|
+
await self.call_api_async(params, req, runtime)
|
|
12537
|
+
)
|
|
12538
|
+
|
|
12539
|
+
def get_instance_globalization_config(
|
|
12540
|
+
self,
|
|
12541
|
+
request: main_models.GetInstanceGlobalizationConfigRequest,
|
|
12542
|
+
) -> main_models.GetInstanceGlobalizationConfigResponse:
|
|
12543
|
+
runtime = RuntimeOptions()
|
|
12544
|
+
return self.get_instance_globalization_config_with_options(request, runtime)
|
|
12545
|
+
|
|
12546
|
+
async def get_instance_globalization_config_async(
|
|
12547
|
+
self,
|
|
12548
|
+
request: main_models.GetInstanceGlobalizationConfigRequest,
|
|
12549
|
+
) -> main_models.GetInstanceGlobalizationConfigResponse:
|
|
12550
|
+
runtime = RuntimeOptions()
|
|
12551
|
+
return await self.get_instance_globalization_config_with_options_async(request, runtime)
|
|
12552
|
+
|
|
12553
|
+
def get_instance_license_with_options(
|
|
12554
|
+
self,
|
|
12555
|
+
request: main_models.GetInstanceLicenseRequest,
|
|
12556
|
+
runtime: RuntimeOptions,
|
|
12557
|
+
) -> main_models.GetInstanceLicenseResponse:
|
|
12558
|
+
request.validate()
|
|
12559
|
+
query = {}
|
|
12560
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12561
|
+
query['InstanceId'] = request.instance_id
|
|
12562
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12563
|
+
query = Utils.query(query)
|
|
12564
|
+
)
|
|
12565
|
+
params = open_api_util_models.Params(
|
|
12566
|
+
action = 'GetInstanceLicense',
|
|
12567
|
+
version = '2021-12-01',
|
|
12568
|
+
protocol = 'HTTPS',
|
|
12569
|
+
pathname = '/',
|
|
12570
|
+
method = 'POST',
|
|
12571
|
+
auth_type = 'AK',
|
|
12572
|
+
style = 'RPC',
|
|
12573
|
+
req_body_type = 'formData',
|
|
12574
|
+
body_type = 'json'
|
|
12575
|
+
)
|
|
12576
|
+
return DaraCore.from_map(
|
|
12577
|
+
main_models.GetInstanceLicenseResponse(),
|
|
12578
|
+
self.call_api(params, req, runtime)
|
|
12579
|
+
)
|
|
12580
|
+
|
|
12581
|
+
async def get_instance_license_with_options_async(
|
|
12582
|
+
self,
|
|
12583
|
+
request: main_models.GetInstanceLicenseRequest,
|
|
12584
|
+
runtime: RuntimeOptions,
|
|
12585
|
+
) -> main_models.GetInstanceLicenseResponse:
|
|
12586
|
+
request.validate()
|
|
12587
|
+
query = {}
|
|
12588
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12589
|
+
query['InstanceId'] = request.instance_id
|
|
12590
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12591
|
+
query = Utils.query(query)
|
|
12592
|
+
)
|
|
12593
|
+
params = open_api_util_models.Params(
|
|
12594
|
+
action = 'GetInstanceLicense',
|
|
12595
|
+
version = '2021-12-01',
|
|
12596
|
+
protocol = 'HTTPS',
|
|
12597
|
+
pathname = '/',
|
|
12598
|
+
method = 'POST',
|
|
12599
|
+
auth_type = 'AK',
|
|
12600
|
+
style = 'RPC',
|
|
12601
|
+
req_body_type = 'formData',
|
|
12602
|
+
body_type = 'json'
|
|
12603
|
+
)
|
|
12604
|
+
return DaraCore.from_map(
|
|
12605
|
+
main_models.GetInstanceLicenseResponse(),
|
|
12606
|
+
await self.call_api_async(params, req, runtime)
|
|
12607
|
+
)
|
|
12608
|
+
|
|
12609
|
+
def get_instance_license(
|
|
12610
|
+
self,
|
|
12611
|
+
request: main_models.GetInstanceLicenseRequest,
|
|
12612
|
+
) -> main_models.GetInstanceLicenseResponse:
|
|
12613
|
+
runtime = RuntimeOptions()
|
|
12614
|
+
return self.get_instance_license_with_options(request, runtime)
|
|
12615
|
+
|
|
12616
|
+
async def get_instance_license_async(
|
|
12617
|
+
self,
|
|
12618
|
+
request: main_models.GetInstanceLicenseRequest,
|
|
12619
|
+
) -> main_models.GetInstanceLicenseResponse:
|
|
12620
|
+
runtime = RuntimeOptions()
|
|
12621
|
+
return await self.get_instance_license_with_options_async(request, runtime)
|
|
12622
|
+
|
|
12623
|
+
def get_instance_module_info_with_options(
|
|
12624
|
+
self,
|
|
12625
|
+
request: main_models.GetInstanceModuleInfoRequest,
|
|
12626
|
+
runtime: RuntimeOptions,
|
|
12627
|
+
) -> main_models.GetInstanceModuleInfoResponse:
|
|
12628
|
+
request.validate()
|
|
12629
|
+
query = {}
|
|
12630
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12631
|
+
query['InstanceId'] = request.instance_id
|
|
12632
|
+
if not DaraCore.is_null(request.module_key):
|
|
12633
|
+
query['ModuleKey'] = request.module_key
|
|
12634
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12635
|
+
query = Utils.query(query)
|
|
12636
|
+
)
|
|
12637
|
+
params = open_api_util_models.Params(
|
|
12638
|
+
action = 'GetInstanceModuleInfo',
|
|
12639
|
+
version = '2021-12-01',
|
|
12640
|
+
protocol = 'HTTPS',
|
|
12641
|
+
pathname = '/',
|
|
12642
|
+
method = 'POST',
|
|
12643
|
+
auth_type = 'AK',
|
|
12644
|
+
style = 'RPC',
|
|
12645
|
+
req_body_type = 'formData',
|
|
12646
|
+
body_type = 'json'
|
|
12647
|
+
)
|
|
12648
|
+
return DaraCore.from_map(
|
|
12649
|
+
main_models.GetInstanceModuleInfoResponse(),
|
|
12650
|
+
self.call_api(params, req, runtime)
|
|
12651
|
+
)
|
|
12652
|
+
|
|
12653
|
+
async def get_instance_module_info_with_options_async(
|
|
12654
|
+
self,
|
|
12655
|
+
request: main_models.GetInstanceModuleInfoRequest,
|
|
12656
|
+
runtime: RuntimeOptions,
|
|
12657
|
+
) -> main_models.GetInstanceModuleInfoResponse:
|
|
12658
|
+
request.validate()
|
|
12659
|
+
query = {}
|
|
12660
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12661
|
+
query['InstanceId'] = request.instance_id
|
|
12662
|
+
if not DaraCore.is_null(request.module_key):
|
|
12663
|
+
query['ModuleKey'] = request.module_key
|
|
12664
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12665
|
+
query = Utils.query(query)
|
|
12666
|
+
)
|
|
12667
|
+
params = open_api_util_models.Params(
|
|
12668
|
+
action = 'GetInstanceModuleInfo',
|
|
12669
|
+
version = '2021-12-01',
|
|
12670
|
+
protocol = 'HTTPS',
|
|
12671
|
+
pathname = '/',
|
|
12672
|
+
method = 'POST',
|
|
12673
|
+
auth_type = 'AK',
|
|
12674
|
+
style = 'RPC',
|
|
12675
|
+
req_body_type = 'formData',
|
|
12676
|
+
body_type = 'json'
|
|
12677
|
+
)
|
|
12678
|
+
return DaraCore.from_map(
|
|
12679
|
+
main_models.GetInstanceModuleInfoResponse(),
|
|
12680
|
+
await self.call_api_async(params, req, runtime)
|
|
12681
|
+
)
|
|
12682
|
+
|
|
12683
|
+
def get_instance_module_info(
|
|
12684
|
+
self,
|
|
12685
|
+
request: main_models.GetInstanceModuleInfoRequest,
|
|
12686
|
+
) -> main_models.GetInstanceModuleInfoResponse:
|
|
12687
|
+
runtime = RuntimeOptions()
|
|
12688
|
+
return self.get_instance_module_info_with_options(request, runtime)
|
|
12689
|
+
|
|
12690
|
+
async def get_instance_module_info_async(
|
|
12691
|
+
self,
|
|
12692
|
+
request: main_models.GetInstanceModuleInfoRequest,
|
|
12693
|
+
) -> main_models.GetInstanceModuleInfoResponse:
|
|
12694
|
+
runtime = RuntimeOptions()
|
|
12695
|
+
return await self.get_instance_module_info_with_options_async(request, runtime)
|
|
12696
|
+
|
|
12697
|
+
def get_instance_quota_with_options(
|
|
12698
|
+
self,
|
|
12699
|
+
request: main_models.GetInstanceQuotaRequest,
|
|
12700
|
+
runtime: RuntimeOptions,
|
|
12701
|
+
) -> main_models.GetInstanceQuotaResponse:
|
|
12702
|
+
request.validate()
|
|
12703
|
+
query = {}
|
|
12704
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12705
|
+
query['InstanceId'] = request.instance_id
|
|
12706
|
+
if not DaraCore.is_null(request.quota_key):
|
|
12707
|
+
query['QuotaKey'] = request.quota_key
|
|
12708
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12709
|
+
query = Utils.query(query)
|
|
12710
|
+
)
|
|
12711
|
+
params = open_api_util_models.Params(
|
|
12712
|
+
action = 'GetInstanceQuota',
|
|
12713
|
+
version = '2021-12-01',
|
|
12714
|
+
protocol = 'HTTPS',
|
|
12715
|
+
pathname = '/',
|
|
12716
|
+
method = 'POST',
|
|
12717
|
+
auth_type = 'AK',
|
|
12718
|
+
style = 'RPC',
|
|
12719
|
+
req_body_type = 'formData',
|
|
12720
|
+
body_type = 'json'
|
|
12721
|
+
)
|
|
12722
|
+
return DaraCore.from_map(
|
|
12723
|
+
main_models.GetInstanceQuotaResponse(),
|
|
12724
|
+
self.call_api(params, req, runtime)
|
|
12725
|
+
)
|
|
12726
|
+
|
|
12727
|
+
async def get_instance_quota_with_options_async(
|
|
12728
|
+
self,
|
|
12729
|
+
request: main_models.GetInstanceQuotaRequest,
|
|
12730
|
+
runtime: RuntimeOptions,
|
|
12731
|
+
) -> main_models.GetInstanceQuotaResponse:
|
|
12732
|
+
request.validate()
|
|
12733
|
+
query = {}
|
|
12734
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12735
|
+
query['InstanceId'] = request.instance_id
|
|
12736
|
+
if not DaraCore.is_null(request.quota_key):
|
|
12737
|
+
query['QuotaKey'] = request.quota_key
|
|
12738
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12739
|
+
query = Utils.query(query)
|
|
12740
|
+
)
|
|
12741
|
+
params = open_api_util_models.Params(
|
|
12742
|
+
action = 'GetInstanceQuota',
|
|
12743
|
+
version = '2021-12-01',
|
|
12744
|
+
protocol = 'HTTPS',
|
|
12745
|
+
pathname = '/',
|
|
12746
|
+
method = 'POST',
|
|
12747
|
+
auth_type = 'AK',
|
|
12748
|
+
style = 'RPC',
|
|
12749
|
+
req_body_type = 'formData',
|
|
12750
|
+
body_type = 'json'
|
|
12751
|
+
)
|
|
12752
|
+
return DaraCore.from_map(
|
|
12753
|
+
main_models.GetInstanceQuotaResponse(),
|
|
12754
|
+
await self.call_api_async(params, req, runtime)
|
|
12755
|
+
)
|
|
12756
|
+
|
|
12757
|
+
def get_instance_quota(
|
|
12758
|
+
self,
|
|
12759
|
+
request: main_models.GetInstanceQuotaRequest,
|
|
12760
|
+
) -> main_models.GetInstanceQuotaResponse:
|
|
12761
|
+
runtime = RuntimeOptions()
|
|
12762
|
+
return self.get_instance_quota_with_options(request, runtime)
|
|
12763
|
+
|
|
12764
|
+
async def get_instance_quota_async(
|
|
12765
|
+
self,
|
|
12766
|
+
request: main_models.GetInstanceQuotaRequest,
|
|
12767
|
+
) -> main_models.GetInstanceQuotaResponse:
|
|
12768
|
+
runtime = RuntimeOptions()
|
|
12769
|
+
return await self.get_instance_quota_with_options_async(request, runtime)
|
|
12770
|
+
|
|
12771
|
+
def get_instance_trial_status_with_options(
|
|
12772
|
+
self,
|
|
12773
|
+
request: main_models.GetInstanceTrialStatusRequest,
|
|
12774
|
+
runtime: RuntimeOptions,
|
|
12775
|
+
) -> main_models.GetInstanceTrialStatusResponse:
|
|
12776
|
+
request.validate()
|
|
12777
|
+
query = {}
|
|
12778
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12779
|
+
query['InstanceId'] = request.instance_id
|
|
12780
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12781
|
+
query = Utils.query(query)
|
|
12782
|
+
)
|
|
12783
|
+
params = open_api_util_models.Params(
|
|
12784
|
+
action = 'GetInstanceTrialStatus',
|
|
12785
|
+
version = '2021-12-01',
|
|
12786
|
+
protocol = 'HTTPS',
|
|
12787
|
+
pathname = '/',
|
|
12788
|
+
method = 'POST',
|
|
12789
|
+
auth_type = 'AK',
|
|
12790
|
+
style = 'RPC',
|
|
12791
|
+
req_body_type = 'formData',
|
|
12792
|
+
body_type = 'json'
|
|
12793
|
+
)
|
|
12794
|
+
return DaraCore.from_map(
|
|
12795
|
+
main_models.GetInstanceTrialStatusResponse(),
|
|
12796
|
+
self.call_api(params, req, runtime)
|
|
12797
|
+
)
|
|
12798
|
+
|
|
12799
|
+
async def get_instance_trial_status_with_options_async(
|
|
12800
|
+
self,
|
|
12801
|
+
request: main_models.GetInstanceTrialStatusRequest,
|
|
12802
|
+
runtime: RuntimeOptions,
|
|
12803
|
+
) -> main_models.GetInstanceTrialStatusResponse:
|
|
12804
|
+
request.validate()
|
|
12805
|
+
query = {}
|
|
12806
|
+
if not DaraCore.is_null(request.instance_id):
|
|
12807
|
+
query['InstanceId'] = request.instance_id
|
|
12808
|
+
req = open_api_util_models.OpenApiRequest(
|
|
12809
|
+
query = Utils.query(query)
|
|
12810
|
+
)
|
|
12811
|
+
params = open_api_util_models.Params(
|
|
12812
|
+
action = 'GetInstanceTrialStatus',
|
|
12813
|
+
version = '2021-12-01',
|
|
12814
|
+
protocol = 'HTTPS',
|
|
12815
|
+
pathname = '/',
|
|
12816
|
+
method = 'POST',
|
|
12817
|
+
auth_type = 'AK',
|
|
12818
|
+
style = 'RPC',
|
|
12819
|
+
req_body_type = 'formData',
|
|
12820
|
+
body_type = 'json'
|
|
12821
|
+
)
|
|
12822
|
+
return DaraCore.from_map(
|
|
12823
|
+
main_models.GetInstanceTrialStatusResponse(),
|
|
12824
|
+
await self.call_api_async(params, req, runtime)
|
|
12825
|
+
)
|
|
12826
|
+
|
|
12827
|
+
def get_instance_trial_status(
|
|
12828
|
+
self,
|
|
12829
|
+
request: main_models.GetInstanceTrialStatusRequest,
|
|
12830
|
+
) -> main_models.GetInstanceTrialStatusResponse:
|
|
12831
|
+
runtime = RuntimeOptions()
|
|
12832
|
+
return self.get_instance_trial_status_with_options(request, runtime)
|
|
12833
|
+
|
|
12834
|
+
async def get_instance_trial_status_async(
|
|
12835
|
+
self,
|
|
12836
|
+
request: main_models.GetInstanceTrialStatusRequest,
|
|
12837
|
+
) -> main_models.GetInstanceTrialStatusResponse:
|
|
12838
|
+
runtime = RuntimeOptions()
|
|
12839
|
+
return await self.get_instance_trial_status_with_options_async(request, runtime)
|
|
11468
12840
|
|
|
11469
12841
|
def get_login_redirect_application_for_brand_with_options(
|
|
11470
12842
|
self,
|