Validation codes 1
This commit is contained in:
Родитель
361306c808
Коммит
bf64a86bbe
|
@ -288,6 +288,7 @@ public class FunctionAppDraft extends FunctionApp implements AzResource.Draft<Fu
|
|||
.withBuiltInRole(BuiltInRole.STORAGE_BLOB_DATA_CONTRIBUTOR)
|
||||
.withScope(scope).create();
|
||||
final RoleAssignment existingRoleAssignment = getExistingRoleAssignment(identityId, scope);
|
||||
AzureMessager.getMessager().error("**********\n" + SerializerFactory.createDefaultManagementSerializerAdapter().serializeRaw(existingRoleAssignment) + "**********\n");
|
||||
if (Objects.isNull(existingRoleAssignment)) {
|
||||
AzureMessager.getMessager().error(String.format(ROLE_NOT_AFFECT, BuiltInRole.STORAGE_BLOB_DATA_CONTRIBUTOR, identityId));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче