@alicloud/eiam20211201 2.17.1 → 2.17.2
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 +154 -154
- package/dist/client.js +175 -154
- package/dist/client.js.map +1 -1
- package/dist/models/AddApplicationAccountToUserRequest.d.ts +1 -1
- package/dist/models/AddApplicationAccountToUserResponseBody.d.ts +1 -1
- package/dist/models/AuthorizeApplicationToGroupsRequest.d.ts +2 -2
- package/dist/models/AuthorizeApplicationToUsersRequest.d.ts +2 -2
- package/dist/models/AuthorizeResourceServerScopesToClientRequest.d.ts +3 -3
- package/dist/models/AuthorizeResourceServerScopesToGroupRequest.d.ts +3 -3
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitRequest.d.ts +4 -4
- package/dist/models/AuthorizeResourceServerScopesToUserRequest.d.ts +4 -4
- package/dist/models/AuthorizeResourceServerToClientRequest.d.ts +2 -2
- package/dist/models/CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponseBody.d.ts +1 -1
- package/dist/models/CreateApplicationClientSecretRequest.d.ts +1 -1
- package/dist/models/CreateApplicationClientSecretResponseBody.d.ts +3 -3
- package/dist/models/CreateApplicationFederatedCredentialRequest.d.ts +165 -3
- package/dist/models/CreateApplicationFederatedCredentialRequest.js +170 -1
- package/dist/models/CreateApplicationFederatedCredentialRequest.js.map +1 -1
- package/dist/models/CreateApplicationFederatedCredentialResponseBody.d.ts +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +10 -16
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationRoleRequest.d.ts +3 -3
- package/dist/models/CreateApplicationRoleResponseBody.d.ts +1 -1
- package/dist/models/CreateClientPublicKeyRequest.d.ts +2 -2
- package/dist/models/CreateClientPublicKeyResponseBody.d.ts +1 -1
- package/dist/models/CreateCloudAccountRequest.d.ts +9 -10
- package/dist/models/CreateCloudAccountRequest.js.map +1 -1
- package/dist/models/CreateCloudAccountResponseBody.d.ts +2 -2
- package/dist/models/CreateCredentialProviderRequest.d.ts +25 -34
- package/dist/models/CreateCredentialProviderRequest.js.map +1 -1
- package/dist/models/CreateCredentialProviderResponseBody.d.ts +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +14 -19
- package/dist/models/CreateCredentialRequest.js.map +1 -1
- package/dist/models/CreateFederatedCredentialProviderRequest.d.ts +24 -24
- package/dist/models/CreateFederatedCredentialProviderResponseBody.d.ts +1 -1
- package/dist/models/DeleteApplicationClientSecretRequest.d.ts +3 -3
- package/dist/models/DeleteApplicationClientSecretResponseBody.d.ts +1 -1
- package/dist/models/DeleteApplicationFederatedCredentialRequest.d.ts +1 -1
- package/dist/models/DeleteApplicationRequest.d.ts +2 -2
- package/dist/models/DeleteApplicationResponseBody.d.ts +1 -1
- package/dist/models/DeleteApplicationTokenRequest.d.ts +1 -1
- package/dist/models/DeleteCredentialProviderRequest.d.ts +2 -2
- package/dist/models/DeleteCredentialProviderResponseBody.d.ts +1 -1
- package/dist/models/DeleteResourceServerScopeRequest.d.ts +3 -3
- package/dist/models/DeleteResourceServerScopeResponseBody.d.ts +1 -1
- package/dist/models/DisableApplicationFederatedCredentialRequest.d.ts +1 -1
- package/dist/models/DisableApplicationRequest.d.ts +2 -2
- package/dist/models/DisableApplicationResponseBody.d.ts +1 -1
- package/dist/models/DisableApplicationTokenRequest.d.ts +1 -1
- package/dist/models/DisableClientPublicKeyRequest.d.ts +2 -2
- package/dist/models/EnableClientPublicKeyRequest.d.ts +2 -2
- package/dist/models/EnableCredentialRequest.d.ts +1 -1
- package/dist/models/GenerateOauthTokenRequest.d.ts +1 -1
- package/dist/models/GenerateOauthTokenResponseBody.d.ts +3 -3
- package/dist/models/GetApplicationFederatedCredentialRequest.d.ts +1 -1
- package/dist/models/GetApplicationFederatedCredentialResponseBody.d.ts +150 -6
- package/dist/models/GetApplicationFederatedCredentialResponseBody.js +170 -1
- package/dist/models/GetApplicationFederatedCredentialResponseBody.js.map +1 -1
- package/dist/models/GetApplicationGrantScopeRequest.d.ts +2 -2
- package/dist/models/GetApplicationGrantScopeResponseBody.d.ts +3 -3
- package/dist/models/GetApplicationResponseBody.d.ts +34 -75
- package/dist/models/GetApplicationResponseBody.js.map +1 -1
- package/dist/models/GetApplicationRoleRequest.d.ts +3 -3
- package/dist/models/GetApplicationRoleResponseBody.d.ts +8 -8
- package/dist/models/GetApplicationTemplateRequest.d.ts +1 -1
- package/dist/models/GetApplicationTemplateResponseBody.d.ts +10 -10
- package/dist/models/GetClientPublicKeyRequest.d.ts +1 -1
- package/dist/models/GetClientPublicKeyResponseBody.d.ts +5 -5
- package/dist/models/GetCloudAccountResponseBody.d.ts +1 -1
- package/dist/models/GetCloudAccountRoleRequest.d.ts +2 -2
- package/dist/models/GetCloudAccountRoleResponseBody.d.ts +27 -34
- package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
- package/dist/models/GetCredentialProviderRequest.d.ts +2 -2
- package/dist/models/GetCredentialProviderResponseBody.d.ts +34 -39
- package/dist/models/GetCredentialProviderResponseBody.js.map +1 -1
- package/dist/models/GetCredentialRequest.d.ts +2 -2
- package/dist/models/GetCredentialResponseBody.d.ts +25 -34
- package/dist/models/GetCredentialResponseBody.js.map +1 -1
- package/dist/models/ListApplicationAccountsRequest.d.ts +1 -1
- package/dist/models/ListApplicationAccountsResponseBody.d.ts +5 -5
- package/dist/models/ListApplicationFederatedCredentialsForProviderRequest.d.ts +4 -4
- package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.d.ts +158 -9
- package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.js +172 -1
- package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.js.map +1 -1
- package/dist/models/ListApplicationFederatedCredentialsRequest.d.ts +4 -4
- package/dist/models/ListApplicationFederatedCredentialsResponseBody.d.ts +158 -9
- package/dist/models/ListApplicationFederatedCredentialsResponseBody.js +172 -1
- package/dist/models/ListApplicationFederatedCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListApplicationSupportedProvisionProtocolTypesResponseBody.d.ts +4 -6
- package/dist/models/ListApplicationSupportedProvisionProtocolTypesResponseBody.js.map +1 -1
- package/dist/models/ListApplicationTokensRequest.d.ts +1 -1
- package/dist/models/ListApplicationTokensResponseBody.d.ts +7 -7
- package/dist/models/ListApplicationsRequest.d.ts +16 -19
- package/dist/models/ListApplicationsRequest.js +4 -0
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListApplicationsResponseBody.d.ts +33 -49
- package/dist/models/ListApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountRolesRequest.d.ts +9 -13
- package/dist/models/ListCloudAccountRolesRequest.js.map +1 -1
- package/dist/models/ListCloudAccountRolesResponseBody.d.ts +27 -36
- package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountsResponseBody.d.ts +4 -4
- package/dist/models/ListCredentialProvidersRequest.d.ts +11 -12
- package/dist/models/ListCredentialProvidersRequest.js.map +1 -1
- package/dist/models/ListCredentialProvidersResponseBody.d.ts +35 -40
- package/dist/models/ListCredentialProvidersResponseBody.js.map +1 -1
- package/dist/models/ListCredentialsRequest.d.ts +7 -10
- package/dist/models/ListCredentialsRequest.js.map +1 -1
- package/dist/models/ListCredentialsResponseBody.d.ts +29 -38
- package/dist/models/ListCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListFederatedCredentialProvidersRequest.d.ts +5 -5
- package/dist/models/ListFederatedCredentialProvidersResponseBody.d.ts +33 -33
- package/dist/models/ListResourceServerScopesRequest.d.ts +10 -10
- package/dist/models/ListResourceServerScopesResponseBody.d.ts +13 -13
- package/dist/models/ListResourceServersForUserRequest.d.ts +2 -2
- package/dist/models/ListResourceServersForUserResponseBody.d.ts +10 -8
- package/dist/models/ListResourceServersForUserResponseBody.js.map +1 -1
- package/dist/models/ObtainApplicationClientSecretResponseBody.d.ts +5 -7
- package/dist/models/ObtainApplicationClientSecretResponseBody.js.map +1 -1
- package/dist/models/ObtainApplicationTokenResponseBody.d.ts +4 -4
- package/dist/models/ObtainCredentialResponseBody.d.ts +23 -32
- package/dist/models/ObtainCredentialResponseBody.js.map +1 -1
- package/dist/models/RemoveApplicationAccountFromUserRequest.d.ts +4 -4
- package/dist/models/RemoveApplicationAccountFromUserResponseBody.d.ts +1 -1
- package/dist/models/RevokeApplicationFromGroupsRequest.d.ts +2 -2
- package/dist/models/RevokeApplicationFromUsersRequest.d.ts +2 -2
- package/dist/models/RevokeResourceServerFromClientRequest.d.ts +2 -2
- package/dist/models/RevokeResourceServerScopesFromClientRequest.d.ts +3 -3
- package/dist/models/RevokeResourceServerScopesFromGroupRequest.d.ts +2 -2
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitRequest.d.ts +3 -3
- package/dist/models/RevokeResourceServerScopesFromUserRequest.d.ts +2 -2
- package/dist/models/SetApplicationProvisioningConfigRequest.d.ts +31 -48
- package/dist/models/SetApplicationProvisioningConfigRequest.js.map +1 -1
- package/dist/models/SetApplicationSsoConfigRequest.d.ts +48 -56
- package/dist/models/SetApplicationSsoConfigRequest.js.map +1 -1
- package/dist/models/UpdateApplicationAdvancedConfigRequest.d.ts +3 -3
- package/dist/models/UpdateApplicationClientSecretExpirationTimeRequest.d.ts +2 -2
- package/dist/models/UpdateApplicationFederatedCredentialRequest.d.ts +147 -1
- package/dist/models/UpdateApplicationFederatedCredentialRequest.js +168 -1
- package/dist/models/UpdateApplicationFederatedCredentialRequest.js.map +1 -1
- package/dist/models/UpdateApplicationInfoRequest.d.ts +2 -2
- package/dist/models/UpdateApplicationInfoResponseBody.d.ts +1 -1
- package/dist/models/UpdateCredentialDescriptionRequest.d.ts +3 -3
- package/dist/models/UpdateCredentialDescriptionResponseBody.d.ts +1 -1
- package/dist/models/UpdateCredentialProviderRequest.d.ts +23 -33
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/dist/models/UpdateCredentialProviderResponseBody.d.ts +1 -1
- package/dist/models/UpdateFederatedCredentialProviderDescriptionRequest.d.ts +2 -2
- package/dist/models/UpdateFederatedCredentialProviderRequest.d.ts +12 -12
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +104 -44
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +182 -154
- package/src/models/AddApplicationAccountToUserRequest.ts +1 -1
- package/src/models/AddApplicationAccountToUserResponseBody.ts +1 -1
- package/src/models/AuthorizeApplicationToGroupsRequest.ts +2 -2
- package/src/models/AuthorizeApplicationToUsersRequest.ts +2 -2
- package/src/models/AuthorizeResourceServerScopesToClientRequest.ts +3 -3
- package/src/models/AuthorizeResourceServerScopesToGroupRequest.ts +3 -3
- package/src/models/AuthorizeResourceServerScopesToOrganizationalUnitRequest.ts +4 -4
- package/src/models/AuthorizeResourceServerScopesToUserRequest.ts +4 -4
- package/src/models/AuthorizeResourceServerToClientRequest.ts +2 -2
- package/src/models/CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponseBody.ts +1 -1
- package/src/models/CreateApplicationClientSecretRequest.ts +1 -1
- package/src/models/CreateApplicationClientSecretResponseBody.ts +3 -3
- package/src/models/CreateApplicationFederatedCredentialRequest.ts +280 -3
- package/src/models/CreateApplicationFederatedCredentialResponseBody.ts +1 -1
- package/src/models/CreateApplicationRequest.ts +10 -16
- package/src/models/CreateApplicationRoleRequest.ts +3 -3
- package/src/models/CreateApplicationRoleResponseBody.ts +1 -1
- package/src/models/CreateClientPublicKeyRequest.ts +2 -2
- package/src/models/CreateClientPublicKeyResponseBody.ts +1 -1
- package/src/models/CreateCloudAccountRequest.ts +9 -10
- package/src/models/CreateCloudAccountResponseBody.ts +2 -2
- package/src/models/CreateCredentialProviderRequest.ts +25 -34
- package/src/models/CreateCredentialProviderResponseBody.ts +1 -1
- package/src/models/CreateCredentialRequest.ts +14 -19
- package/src/models/CreateFederatedCredentialProviderRequest.ts +24 -24
- package/src/models/CreateFederatedCredentialProviderResponseBody.ts +1 -1
- package/src/models/DeleteApplicationClientSecretRequest.ts +3 -3
- package/src/models/DeleteApplicationClientSecretResponseBody.ts +1 -1
- package/src/models/DeleteApplicationFederatedCredentialRequest.ts +1 -1
- package/src/models/DeleteApplicationRequest.ts +2 -2
- package/src/models/DeleteApplicationResponseBody.ts +1 -1
- package/src/models/DeleteApplicationTokenRequest.ts +1 -1
- package/src/models/DeleteCredentialProviderRequest.ts +2 -2
- package/src/models/DeleteCredentialProviderResponseBody.ts +1 -1
- package/src/models/DeleteResourceServerScopeRequest.ts +3 -3
- package/src/models/DeleteResourceServerScopeResponseBody.ts +1 -1
- package/src/models/DisableApplicationFederatedCredentialRequest.ts +1 -1
- package/src/models/DisableApplicationRequest.ts +2 -2
- package/src/models/DisableApplicationResponseBody.ts +1 -1
- package/src/models/DisableApplicationTokenRequest.ts +1 -1
- package/src/models/DisableClientPublicKeyRequest.ts +2 -2
- package/src/models/EnableClientPublicKeyRequest.ts +2 -2
- package/src/models/EnableCredentialRequest.ts +1 -1
- package/src/models/GenerateOauthTokenRequest.ts +1 -1
- package/src/models/GenerateOauthTokenResponseBody.ts +3 -3
- package/src/models/GetApplicationFederatedCredentialRequest.ts +1 -1
- package/src/models/GetApplicationFederatedCredentialResponseBody.ts +265 -6
- package/src/models/GetApplicationGrantScopeRequest.ts +2 -2
- package/src/models/GetApplicationGrantScopeResponseBody.ts +3 -3
- package/src/models/GetApplicationResponseBody.ts +34 -75
- package/src/models/GetApplicationRoleRequest.ts +3 -3
- package/src/models/GetApplicationRoleResponseBody.ts +8 -8
- package/src/models/GetApplicationTemplateRequest.ts +1 -1
- package/src/models/GetApplicationTemplateResponseBody.ts +10 -10
- package/src/models/GetClientPublicKeyRequest.ts +1 -1
- package/src/models/GetClientPublicKeyResponseBody.ts +5 -5
- package/src/models/GetCloudAccountResponseBody.ts +1 -1
- package/src/models/GetCloudAccountRoleRequest.ts +2 -2
- package/src/models/GetCloudAccountRoleResponseBody.ts +27 -34
- package/src/models/GetCredentialProviderRequest.ts +2 -2
- package/src/models/GetCredentialProviderResponseBody.ts +34 -39
- package/src/models/GetCredentialRequest.ts +2 -2
- package/src/models/GetCredentialResponseBody.ts +25 -34
- package/src/models/ListApplicationAccountsRequest.ts +1 -1
- package/src/models/ListApplicationAccountsResponseBody.ts +5 -5
- package/src/models/ListApplicationFederatedCredentialsForProviderRequest.ts +4 -4
- package/src/models/ListApplicationFederatedCredentialsForProviderResponseBody.ts +275 -9
- package/src/models/ListApplicationFederatedCredentialsRequest.ts +4 -4
- package/src/models/ListApplicationFederatedCredentialsResponseBody.ts +275 -9
- package/src/models/ListApplicationSupportedProvisionProtocolTypesResponseBody.ts +4 -6
- package/src/models/ListApplicationTokensRequest.ts +1 -1
- package/src/models/ListApplicationTokensResponseBody.ts +7 -7
- package/src/models/ListApplicationsRequest.ts +20 -19
- package/src/models/ListApplicationsResponseBody.ts +33 -49
- package/src/models/ListCloudAccountRolesRequest.ts +9 -13
- package/src/models/ListCloudAccountRolesResponseBody.ts +27 -36
- package/src/models/ListCloudAccountsResponseBody.ts +4 -4
- package/src/models/ListCredentialProvidersRequest.ts +11 -12
- package/src/models/ListCredentialProvidersResponseBody.ts +35 -40
- package/src/models/ListCredentialsRequest.ts +7 -10
- package/src/models/ListCredentialsResponseBody.ts +29 -38
- package/src/models/ListFederatedCredentialProvidersRequest.ts +5 -5
- package/src/models/ListFederatedCredentialProvidersResponseBody.ts +33 -33
- package/src/models/ListResourceServerScopesRequest.ts +10 -10
- package/src/models/ListResourceServerScopesResponseBody.ts +13 -13
- package/src/models/ListResourceServersForUserRequest.ts +2 -2
- package/src/models/ListResourceServersForUserResponseBody.ts +10 -8
- package/src/models/ObtainApplicationClientSecretResponseBody.ts +5 -7
- package/src/models/ObtainApplicationTokenResponseBody.ts +4 -4
- package/src/models/ObtainCredentialResponseBody.ts +23 -32
- package/src/models/RemoveApplicationAccountFromUserRequest.ts +4 -4
- package/src/models/RemoveApplicationAccountFromUserResponseBody.ts +1 -1
- package/src/models/RevokeApplicationFromGroupsRequest.ts +2 -2
- package/src/models/RevokeApplicationFromUsersRequest.ts +2 -2
- package/src/models/RevokeResourceServerFromClientRequest.ts +2 -2
- package/src/models/RevokeResourceServerScopesFromClientRequest.ts +3 -3
- package/src/models/RevokeResourceServerScopesFromGroupRequest.ts +2 -2
- package/src/models/RevokeResourceServerScopesFromOrganizationalUnitRequest.ts +3 -3
- package/src/models/RevokeResourceServerScopesFromUserRequest.ts +2 -2
- package/src/models/SetApplicationProvisioningConfigRequest.ts +31 -48
- package/src/models/SetApplicationSsoConfigRequest.ts +48 -56
- package/src/models/UpdateApplicationAdvancedConfigRequest.ts +3 -3
- package/src/models/UpdateApplicationClientSecretExpirationTimeRequest.ts +2 -2
- package/src/models/UpdateApplicationFederatedCredentialRequest.ts +260 -1
- package/src/models/UpdateApplicationInfoRequest.ts +2 -2
- package/src/models/UpdateApplicationInfoResponseBody.ts +1 -1
- package/src/models/UpdateCredentialDescriptionRequest.ts +3 -3
- package/src/models/UpdateCredentialDescriptionResponseBody.ts +1 -1
- package/src/models/UpdateCredentialProviderRequest.ts +23 -33
- package/src/models/UpdateCredentialProviderResponseBody.ts +1 -1
- package/src/models/UpdateFederatedCredentialProviderDescriptionRequest.ts +2 -2
- package/src/models/UpdateFederatedCredentialProviderRequest.ts +12 -12
- package/src/models/model.ts +30 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddApplicationAccountToUserResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The application account ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* aac_m6z7awz5kresi2ezgajsbkxxxx
|
|
@@ -15,7 +15,7 @@ export class AuthorizeApplicationToGroupsRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The application role ID.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* app_role_mkv7rgt4ds8d8v0qtzev2mxxxx
|
|
@@ -23,7 +23,7 @@ export class AuthorizeApplicationToGroupsRequest extends $dara.Model {
|
|
|
23
23
|
applicationRoleId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The list of group IDs. You can specify up to 100 group IDs.
|
|
26
|
+
* The list of group IDs. You can specify up to 100 group IDs in a single request.
|
|
27
27
|
*
|
|
28
28
|
* This parameter is required.
|
|
29
29
|
*
|
|
@@ -15,7 +15,7 @@ export class AuthorizeApplicationToUsersRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The application role ID.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* app_role_mkv7rgt4ds8d8v0qtzev2mxxxx
|
|
@@ -33,7 +33,7 @@ export class AuthorizeApplicationToUsersRequest extends $dara.Model {
|
|
|
33
33
|
instanceId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The
|
|
36
|
+
* The list of account IDs. You can specify up to 100 account IDs in a single request.
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AuthorizeResourceServerScopesToClientRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The unique identifier of the Client application.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -25,7 +25,7 @@ export class AuthorizeResourceServerScopesToClientRequest extends $dara.Model {
|
|
|
25
25
|
instanceId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The unique identifier of the ResourceServer application.
|
|
29
29
|
*
|
|
30
30
|
* This parameter is required.
|
|
31
31
|
*
|
|
@@ -35,7 +35,7 @@ export class AuthorizeResourceServerScopesToClientRequest extends $dara.Model {
|
|
|
35
35
|
resourceServerApplicationId?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The list of
|
|
38
|
+
* The list of Scope permission IDs under the ResourceServer.
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AuthorizeResourceServerScopesToGroupRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the ResourceServer
|
|
8
|
+
* The application ID of the ResourceServer.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class AuthorizeResourceServerScopesToGroupRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate a parameter value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see References [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -45,7 +45,7 @@ export class AuthorizeResourceServerScopesToGroupRequest extends $dara.Model {
|
|
|
45
45
|
instanceId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* The list of Scope permission IDs under the ResourceServer.
|
|
49
49
|
*
|
|
50
50
|
* This parameter is required.
|
|
51
51
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AuthorizeResourceServerScopesToOrganizationalUnitRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The application ID of the ResourceServer.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class AuthorizeResourceServerScopesToOrganizationalUnitRequest extends $d
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate a parameter value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see References: [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -35,7 +35,7 @@ export class AuthorizeResourceServerScopesToOrganizationalUnitRequest extends $d
|
|
|
35
35
|
instanceId?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The organizational unit ID.
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|
|
@@ -45,7 +45,7 @@ export class AuthorizeResourceServerScopesToOrganizationalUnitRequest extends $d
|
|
|
45
45
|
organizationalUnitId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* The list of scope permission IDs under the ResourceServer.
|
|
49
49
|
*
|
|
50
50
|
* This parameter is required.
|
|
51
51
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AuthorizeResourceServerScopesToUserRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The application ID of the ResourceServer.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class AuthorizeResourceServerScopesToUserRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate a parameter value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see References: [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -35,7 +35,7 @@ export class AuthorizeResourceServerScopesToUserRequest extends $dara.Model {
|
|
|
35
35
|
instanceId?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
*
|
|
38
|
+
* The list of Scope permission IDs under the ResourceServer.
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|
|
@@ -45,7 +45,7 @@ export class AuthorizeResourceServerScopesToUserRequest extends $dara.Model {
|
|
|
45
45
|
resourceServerScopeIds?: string[];
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The ID
|
|
48
|
+
* The account ID.
|
|
49
49
|
*
|
|
50
50
|
* This parameter is required.
|
|
51
51
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AuthorizeResourceServerToClientRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The unique
|
|
8
|
+
* The unique identifier of the Client application.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -25,7 +25,7 @@ export class AuthorizeResourceServerToClientRequest extends $dara.Model {
|
|
|
25
25
|
instanceId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The ID of the
|
|
28
|
+
* The ID of the ResourceServer application.
|
|
29
29
|
*
|
|
30
30
|
* This parameter is required.
|
|
31
31
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponseBodyCheckApplicationProvisioningUserPrimaryOuResult extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates
|
|
8
|
+
* Indicates whether authorization is allowed.
|
|
9
9
|
*/
|
|
10
10
|
allowAuthorization?: boolean;
|
|
11
11
|
/**
|
|
@@ -15,7 +15,7 @@ export class CreateApplicationClientSecretRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The expiration time
|
|
18
|
+
* The expiration time in UNIX timestamp format, in milliseconds. If this parameter is left empty, the client secret is permanently valid. The minimum validity period that you can set is 1 day, and the maximum validity period is 3 years.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 1735530123762
|
|
@@ -13,7 +13,7 @@ export class CreateApplicationClientSecretResponseBodyApplicationClientSecret ex
|
|
|
13
13
|
clientId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The client secret of the application.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* CSEHDcHcrUKHw1CuxkJEHPveWRXBGqVqRsxxxx
|
|
@@ -21,7 +21,7 @@ export class CreateApplicationClientSecretResponseBodyApplicationClientSecret ex
|
|
|
21
21
|
clientSecret?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID of the
|
|
24
|
+
* The client secret ID of the application.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* sci_k52x2ru63rlkflina5utgkxxxx
|
|
@@ -55,7 +55,7 @@ export class CreateApplicationClientSecretResponseBodyApplicationClientSecret ex
|
|
|
55
55
|
export class CreateApplicationClientSecretResponseBody extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The
|
|
58
|
+
* The client secret information.
|
|
59
59
|
*/
|
|
60
60
|
applicationClientSecret?: CreateApplicationClientSecretResponseBodyApplicationClientSecret;
|
|
61
61
|
/**
|
|
@@ -42,10 +42,254 @@ export class CreateApplicationFederatedCredentialRequestAttributeMappings extend
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigAzureVmConfig extends $dara.Model {
|
|
46
|
+
principalId?: string;
|
|
47
|
+
resourceGroupName?: string;
|
|
48
|
+
subscriptionId?: string;
|
|
49
|
+
vmNames?: string[];
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
principalId: 'PrincipalId',
|
|
53
|
+
resourceGroupName: 'ResourceGroupName',
|
|
54
|
+
subscriptionId: 'SubscriptionId',
|
|
55
|
+
vmNames: 'VmNames',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
principalId: 'string',
|
|
62
|
+
resourceGroupName: 'string',
|
|
63
|
+
subscriptionId: 'string',
|
|
64
|
+
vmNames: { 'type': 'array', 'itemType': 'string' },
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validate() {
|
|
69
|
+
if(Array.isArray(this.vmNames)) {
|
|
70
|
+
$dara.Model.validateArray(this.vmNames);
|
|
71
|
+
}
|
|
72
|
+
super.validate();
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
constructor(map?: { [key: string]: any }) {
|
|
76
|
+
super(map);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigGcpVmConfig extends $dara.Model {
|
|
81
|
+
instanceIds?: string[];
|
|
82
|
+
projectId?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The sub claim that corresponds to the service account.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 123456789
|
|
89
|
+
*/
|
|
90
|
+
serviceAccountId?: string;
|
|
91
|
+
static names(): { [key: string]: string } {
|
|
92
|
+
return {
|
|
93
|
+
instanceIds: 'InstanceIds',
|
|
94
|
+
projectId: 'ProjectId',
|
|
95
|
+
serviceAccountId: 'ServiceAccountId',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
102
|
+
projectId: 'string',
|
|
103
|
+
serviceAccountId: 'string',
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
validate() {
|
|
108
|
+
if(Array.isArray(this.instanceIds)) {
|
|
109
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
110
|
+
}
|
|
111
|
+
super.validate();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
constructor(map?: { [key: string]: any }) {
|
|
115
|
+
super(map);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigGenericConfig extends $dara.Model {
|
|
120
|
+
subject?: string;
|
|
121
|
+
static names(): { [key: string]: string } {
|
|
122
|
+
return {
|
|
123
|
+
subject: 'Subject',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static types(): { [key: string]: any } {
|
|
128
|
+
return {
|
|
129
|
+
subject: 'string',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
validate() {
|
|
134
|
+
super.validate();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
constructor(map?: { [key: string]: any }) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigKubernetesConfig extends $dara.Model {
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The Kubernetes namespace.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* default
|
|
149
|
+
*/
|
|
150
|
+
namespace?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The pod name prefix.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* my-pod-
|
|
157
|
+
*/
|
|
158
|
+
podNamePrefix?: string;
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The Kubernetes service account name.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* my-sa
|
|
165
|
+
*/
|
|
166
|
+
serviceAccountName?: string;
|
|
167
|
+
static names(): { [key: string]: string } {
|
|
168
|
+
return {
|
|
169
|
+
namespace: 'Namespace',
|
|
170
|
+
podNamePrefix: 'PodNamePrefix',
|
|
171
|
+
serviceAccountName: 'ServiceAccountName',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
static types(): { [key: string]: any } {
|
|
176
|
+
return {
|
|
177
|
+
namespace: 'string',
|
|
178
|
+
podNamePrefix: 'string',
|
|
179
|
+
serviceAccountName: 'string',
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
validate() {
|
|
184
|
+
super.validate();
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
constructor(map?: { [key: string]: any }) {
|
|
188
|
+
super(map);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfig extends $dara.Model {
|
|
193
|
+
/**
|
|
194
|
+
* @remarks
|
|
195
|
+
* The Azure VM scenario configuration.
|
|
196
|
+
*/
|
|
197
|
+
azureVmConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigAzureVmConfig;
|
|
198
|
+
/**
|
|
199
|
+
* @remarks
|
|
200
|
+
* The GCP VM scenario configuration.
|
|
201
|
+
*/
|
|
202
|
+
gcpVmConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigGcpVmConfig;
|
|
203
|
+
genericConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigGenericConfig;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The Kubernetes scenario configuration.
|
|
207
|
+
*/
|
|
208
|
+
kubernetesConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigKubernetesConfig;
|
|
209
|
+
/**
|
|
210
|
+
* @remarks
|
|
211
|
+
* The OIDC scenario profile. Valid values:
|
|
212
|
+
*
|
|
213
|
+
* - generic
|
|
214
|
+
* - kubernetes
|
|
215
|
+
* - gcp_vm
|
|
216
|
+
* - azure_vm
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* kubernetes
|
|
220
|
+
*/
|
|
221
|
+
profile?: string;
|
|
222
|
+
static names(): { [key: string]: string } {
|
|
223
|
+
return {
|
|
224
|
+
azureVmConfig: 'AzureVmConfig',
|
|
225
|
+
gcpVmConfig: 'GcpVmConfig',
|
|
226
|
+
genericConfig: 'GenericConfig',
|
|
227
|
+
kubernetesConfig: 'KubernetesConfig',
|
|
228
|
+
profile: 'Profile',
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
static types(): { [key: string]: any } {
|
|
233
|
+
return {
|
|
234
|
+
azureVmConfig: CreateApplicationFederatedCredentialRequestOidcVerificationConfigAzureVmConfig,
|
|
235
|
+
gcpVmConfig: CreateApplicationFederatedCredentialRequestOidcVerificationConfigGcpVmConfig,
|
|
236
|
+
genericConfig: CreateApplicationFederatedCredentialRequestOidcVerificationConfigGenericConfig,
|
|
237
|
+
kubernetesConfig: CreateApplicationFederatedCredentialRequestOidcVerificationConfigKubernetesConfig,
|
|
238
|
+
profile: 'string',
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
validate() {
|
|
243
|
+
if(this.azureVmConfig && typeof (this.azureVmConfig as any).validate === 'function') {
|
|
244
|
+
(this.azureVmConfig as any).validate();
|
|
245
|
+
}
|
|
246
|
+
if(this.gcpVmConfig && typeof (this.gcpVmConfig as any).validate === 'function') {
|
|
247
|
+
(this.gcpVmConfig as any).validate();
|
|
248
|
+
}
|
|
249
|
+
if(this.genericConfig && typeof (this.genericConfig as any).validate === 'function') {
|
|
250
|
+
(this.genericConfig as any).validate();
|
|
251
|
+
}
|
|
252
|
+
if(this.kubernetesConfig && typeof (this.kubernetesConfig as any).validate === 'function') {
|
|
253
|
+
(this.kubernetesConfig as any).validate();
|
|
254
|
+
}
|
|
255
|
+
super.validate();
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
constructor(map?: { [key: string]: any }) {
|
|
259
|
+
super(map);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export class CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig extends $dara.Model {
|
|
264
|
+
instanceIds?: string[];
|
|
265
|
+
static names(): { [key: string]: string } {
|
|
266
|
+
return {
|
|
267
|
+
instanceIds: 'InstanceIds',
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
static types(): { [key: string]: any } {
|
|
272
|
+
return {
|
|
273
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
validate() {
|
|
278
|
+
if(Array.isArray(this.instanceIds)) {
|
|
279
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
280
|
+
}
|
|
281
|
+
super.validate();
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
constructor(map?: { [key: string]: any }) {
|
|
285
|
+
super(map);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
45
289
|
export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
46
290
|
/**
|
|
47
291
|
* @remarks
|
|
48
|
-
* The name of the application federated credential.
|
|
292
|
+
* The name of the application federated identity credential.
|
|
49
293
|
*
|
|
50
294
|
* This parameter is required.
|
|
51
295
|
*
|
|
@@ -55,7 +299,7 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
55
299
|
applicationFederatedCredentialName?: string;
|
|
56
300
|
/**
|
|
57
301
|
* @remarks
|
|
58
|
-
* The type of the application federated credential.
|
|
302
|
+
* The type of the application federated identity credential.
|
|
59
303
|
*
|
|
60
304
|
* This parameter is required.
|
|
61
305
|
*
|
|
@@ -88,7 +332,7 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
88
332
|
description?: string;
|
|
89
333
|
/**
|
|
90
334
|
* @remarks
|
|
91
|
-
* The
|
|
335
|
+
* The federated credential provider ID.
|
|
92
336
|
*
|
|
93
337
|
* This parameter is required.
|
|
94
338
|
*
|
|
@@ -106,6 +350,16 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
106
350
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
107
351
|
*/
|
|
108
352
|
instanceId?: string;
|
|
353
|
+
/**
|
|
354
|
+
* @remarks
|
|
355
|
+
* The OIDC structured configuration. This parameter applies when the verification mode is structured and the credential type is oidc.
|
|
356
|
+
*/
|
|
357
|
+
oidcVerificationConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfig;
|
|
358
|
+
/**
|
|
359
|
+
* @remarks
|
|
360
|
+
* The PKCS#7 structured configuration. This parameter applies when the verification mode is structured and the credential type is pkcs7.
|
|
361
|
+
*/
|
|
362
|
+
pkcs7VerificationConfig?: CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig;
|
|
109
363
|
/**
|
|
110
364
|
* @remarks
|
|
111
365
|
* The verification condition.
|
|
@@ -114,6 +368,17 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
114
368
|
* IsNullOrEmpty("jwt.issuer")
|
|
115
369
|
*/
|
|
116
370
|
verificationCondition?: string;
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The verification mode. Valid values:
|
|
374
|
+
*
|
|
375
|
+
* - freedom (default)
|
|
376
|
+
* - structured
|
|
377
|
+
*
|
|
378
|
+
* @example
|
|
379
|
+
* freedom
|
|
380
|
+
*/
|
|
381
|
+
verificationMode?: string;
|
|
117
382
|
static names(): { [key: string]: string } {
|
|
118
383
|
return {
|
|
119
384
|
applicationFederatedCredentialName: 'ApplicationFederatedCredentialName',
|
|
@@ -123,7 +388,10 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
123
388
|
description: 'Description',
|
|
124
389
|
federatedCredentialProviderId: 'FederatedCredentialProviderId',
|
|
125
390
|
instanceId: 'InstanceId',
|
|
391
|
+
oidcVerificationConfig: 'OidcVerificationConfig',
|
|
392
|
+
pkcs7VerificationConfig: 'Pkcs7VerificationConfig',
|
|
126
393
|
verificationCondition: 'VerificationCondition',
|
|
394
|
+
verificationMode: 'VerificationMode',
|
|
127
395
|
};
|
|
128
396
|
}
|
|
129
397
|
|
|
@@ -136,7 +404,10 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
136
404
|
description: 'string',
|
|
137
405
|
federatedCredentialProviderId: 'string',
|
|
138
406
|
instanceId: 'string',
|
|
407
|
+
oidcVerificationConfig: CreateApplicationFederatedCredentialRequestOidcVerificationConfig,
|
|
408
|
+
pkcs7VerificationConfig: CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig,
|
|
139
409
|
verificationCondition: 'string',
|
|
410
|
+
verificationMode: 'string',
|
|
140
411
|
};
|
|
141
412
|
}
|
|
142
413
|
|
|
@@ -144,6 +415,12 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
144
415
|
if(Array.isArray(this.attributeMappings)) {
|
|
145
416
|
$dara.Model.validateArray(this.attributeMappings);
|
|
146
417
|
}
|
|
418
|
+
if(this.oidcVerificationConfig && typeof (this.oidcVerificationConfig as any).validate === 'function') {
|
|
419
|
+
(this.oidcVerificationConfig as any).validate();
|
|
420
|
+
}
|
|
421
|
+
if(this.pkcs7VerificationConfig && typeof (this.pkcs7VerificationConfig as any).validate === 'function') {
|
|
422
|
+
(this.pkcs7VerificationConfig as any).validate();
|
|
423
|
+
}
|
|
147
424
|
super.validate();
|
|
148
425
|
}
|
|
149
426
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateApplicationFederatedCredentialResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The application federated identity credential ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* afc_asd123daxxxx
|
|
@@ -63,11 +63,9 @@ export class CreateApplicationRequestCustomFields extends $dara.Model {
|
|
|
63
63
|
export class CreateApplicationRequest extends $dara.Model {
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The identity type
|
|
67
|
-
*
|
|
68
|
-
* -
|
|
69
|
-
*
|
|
70
|
-
* - agent: An automated agent.
|
|
66
|
+
* The application identity type. Default value: application. Valid values:
|
|
67
|
+
* - application: application.
|
|
68
|
+
* - agent: agent.
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* application
|
|
@@ -86,11 +84,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
86
84
|
applicationOwner?: CreateApplicationRequestApplicationOwner;
|
|
87
85
|
/**
|
|
88
86
|
* @remarks
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* - urn:alibaba:idaas:app:source:
|
|
92
|
-
*
|
|
93
|
-
* - urn:alibaba:idaas:app:source:standard: Creates the application from a standard protocol.
|
|
87
|
+
* The source from which the application is created. Valid values:
|
|
88
|
+
* - urn:alibaba:idaas:app:source:template: application template.
|
|
89
|
+
* - urn:alibaba:idaas:app:source:standard: standard protocol.
|
|
94
90
|
*
|
|
95
91
|
* This parameter is required.
|
|
96
92
|
*
|
|
@@ -100,7 +96,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
100
96
|
applicationSourceType?: string;
|
|
101
97
|
/**
|
|
102
98
|
* @remarks
|
|
103
|
-
* The
|
|
99
|
+
* The application template ID. This parameter is required when ApplicationSourceType is set to urn:alibaba:idaas:app:source:template.
|
|
104
100
|
*
|
|
105
101
|
* @example
|
|
106
102
|
* apt_ramuser_mjqrsi
|
|
@@ -135,11 +131,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
135
131
|
logoUrl?: string;
|
|
136
132
|
/**
|
|
137
133
|
* @remarks
|
|
138
|
-
* The single sign-on
|
|
139
|
-
*
|
|
140
|
-
* -
|
|
141
|
-
*
|
|
142
|
-
* - oidc: OpenID Connect
|
|
134
|
+
* The single sign-on protocol. Valid values:
|
|
135
|
+
* - saml2: SAML 2.0 protocol.
|
|
136
|
+
* - oidc: OpenID Connect protocol.
|
|
143
137
|
*
|
|
144
138
|
* This parameter is required.
|
|
145
139
|
*
|
|
@@ -15,7 +15,7 @@ export class CreateApplicationRoleRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The
|
|
18
|
+
* The application role name.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,7 @@ export class CreateApplicationRoleRequest extends $dara.Model {
|
|
|
25
25
|
applicationRoleName?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The application role value.
|
|
29
29
|
*
|
|
30
30
|
* This parameter is required.
|
|
31
31
|
*
|
|
@@ -35,7 +35,7 @@ export class CreateApplicationRoleRequest extends $dara.Model {
|
|
|
35
35
|
applicationRoleValue?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
*
|
|
38
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate a parameter value, but you must make sure that the value is unique among different requests. The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see References: [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|