@Override public StorageAccountImpl withSystemAssignedManagedServiceIdentity() { if (this.inner().identity() == null) { if (isInCreateMode()) { createParameters.withIdentity(new Identity().withType("SystemAssigned")); } else { updateParameters.withIdentity(new Identity().withType("SystemAssigned")); } } return this; }
@Override public StorageAccountImpl withSystemAssignedManagedServiceIdentity() { if (this.inner().identity() == null) { if (isInCreateMode()) { createParameters.withIdentity(new Identity().withType("SystemAssigned")); } else { updateParameters.withIdentity(new Identity().withType("SystemAssigned")); } } return this; }